/* @import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Plus+Jakarta+Sans:wght@300;400;500&display=swap'); */

:root {
  --bg-dark: #0b1514;
  --bg-glass: rgba(18, 36, 33, 0.65);
  --bg-glass-light: rgba(30, 53, 49, 0.4);
  --accent-gold: #d4af37;
  --accent-gold-hover: #e5c158;
  --text-light: #f4f7f5;
  --text-muted: #a3b899;
  --border-color: rgba(212, 175, 55, 0.2);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(
      circle at 10% 20%,
      rgba(26, 54, 49, 0.4) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(20, 38, 35, 0.6) 0%,
      transparent 60%
    );
  background-attachment: fixed;
}

/* Typography */
h1,
h2,
h3,
.nav-logo {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.03em;
}

h2 {
  font-size: 2.8rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

h2 span {
  font-style: italic;
  color: var(--accent-gold);
}

p {
  font-size: 1.05rem;
  color: #cbd5e1;
  font-weight: 300;
}

/* Buttons & Links */
.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  border-radius: 4px 24px 4px 24px;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: all 0.4s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b8932a 100%);
  color: #122421;
  font-weight: 500;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
  background: linear-gradient(
    135deg,
    var(--accent-gold-hover) 0%,
    var(--accent-gold) 100%
  );
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.05);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* Layout Sections */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  padding: 120px 2rem 60px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 21, 20, 0.5) 0%,
    rgba(11, 21, 20, 0.85) 80%,
    #0b1514 100%
  );
}

.hero-content {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  font-style: italic;
  color: var(--accent-gold);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* Content Blocks & Grids */
.section-padding {
  padding: 8rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.organic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
  align-items: center;
}

.organic-grid.reverse {
  direction: rtl;
}

.organic-grid.reverse .text-side {
  direction: ltr;
}

.text-side {
  padding-right: 1rem;
}

.image-side {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: 24px 4px 60px 4px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.image-wrapper:hover img {
  transform: scale(1.03);
}

.image-decor-frame {
  position: absolute;
  inset: -15px;
  border: 1px solid var(--border-color);
  border-radius: 30px 6px 66px 6px;
  z-index: -1;
  pointer-events: none;
}

/* Feature Cards */
.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.atrium-card {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(163, 184, 153, 0.15);
  padding: 3rem 2rem;
  border-radius: 8px 4px 32px 4px;
  transition: all 0.4s ease;
}

.atrium-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  background: var(--bg-glass-light);
}

.atrium-card h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--accent-gold);
}

/* Form Styles */
.glass-form {
  background: var(--bg-glass);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(163, 184, 153, 0.2);
  padding: 4rem;
  border-radius: 16px 4px 48px 4px;
  max-width: 800px;
  margin: 3rem auto 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(11, 21, 20, 0.6);
  border: 1px solid rgba(163, 184, 153, 0.3);
  padding: 1rem;
  border-radius: 4px;
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
}

/* Footer Style: Airy and Elegant */
footer {
  border-top: 1px solid rgba(163, 184, 153, 0.1);
  background: linear-gradient(to bottom, #0b1514, #060b0a);
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.footer-links {
  display: flex;
  gap: 5rem;
}

.footer-column h4 {
  font-family: var(--font-serif);
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  font-weight: 400;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-column a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(163, 184, 153, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive Utilities */
@media (max-width: 968px) {
  .organic-grid,
  .organic-grid.reverse {
    grid-template-columns: 1fr;
    gap: 3rem;
    direction: ltr;
  }
  .organic-grid.reverse .text-side {
    direction: ltr;
  }
  .cards-row {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .footer-links {
    gap: 2.5rem;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
}

/* --- JAVÍTOTT HEADER & NAVIGATION STYLE --- */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(163, 184, 153, 0.1);
  backdrop-filter: blur(12px);
  background: rgba(
    11,
    21,
    20,
    0.75
  ); /* Kicsit sötétebb háttér az olvashatóságért */
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
}

.nav-logo {
  font-size: 1.8rem;
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap; /* Megakadályozza, hogy a logó eltörjön */
}

.nav-logo span {
  color: var(--accent-gold);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.nav-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-gold);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--accent-gold);
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column; /* Egymás alá rakja a logót és a menüt */
    gap: 1rem;
    padding: 1rem;
  }

  .nav-menu {
    gap: 1.5rem; /* Kisebb távolság a linkek között, hogy elférjenek */
    width: 100%;
    justify-content: center; /* Középre igazítja a linkeket */
    padding: 0;
  }

  .nav-menu a {
    font-size: 0.85rem; /* Kicsit kisebb betűméret mobilon */
    letter-spacing: 0.05em;
  }

  .hero {
    padding-top: 160px;
  }
}
