/* ==========================================================================
   DEER FOREST RESIDENCE - 100% GYÁRI PC KÓD + TISZTA RESPOND-PACK A VÉGÉN
   ========================================================================== */

:root {
  --df-black: #000000;
  --df-forest: #1c2b24;
  --df-bronze: #b87333;
  --df-sand: #e6dcc8;
  --df-white: #f5f2ec;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--df-white);
  background: radial-gradient(circle at top, #0f1512 0%, #000 60%);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  margin: 0 0 16px;
}

p {
  margin: 0 0 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  font-family: "Playfair Display", serif;
  letter-spacing: 0.5px;
  font-size: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(../images/IMG_9227\ \(1\).JPG)
      center/cover no-repeat;
  filter: saturate(0.7) contrast(1.1);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(34px, 4.5vw, 64px);
  max-width: 720px;
}

.hero p {
  max-width: 540px;
  color: var(--df-sand);
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.btn-solid {
  background: var(--df-bronze);
  color: var(--df-black);
}

.btn-ghost {
  border: 1px solid var(--df-bronze);
  color: var(--df-bronze);
}

.overview,
.silence,
.contact {
  padding: 90px 0;
  background: #040606;
}

.overview .split,
.silence .split {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 36px;
  align-items: start;
}

.split-content {
  min-width: 0;
}

.split-media {
  height: 500px;
  background: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1000&q=80")
    center/cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.split-media.alt {
  background: url("../images/IMG_emberek.PNG")
    center/cover no-repeat;
}

.split-media.pig-media {
  background: url("../images/IMG_1485.PNG") center/cover no-repeat;
}

.split-media.little-media {
  background: url("../images/deerf-6.JPEG") center/cover no-repeat;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  background: #0c0f0d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--df-white);
  padding: 12px;
  font-family: inherit;
}

.site-footer {
  background: #000;
  padding: 30px 0 50px;
  text-align: center;
  color: var(--df-sand);
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .overview .split,
  .silence .split,
  .contact-inner {
    grid-template-columns: 1fr;
  }
}

/* Enhancement pack */
:focus-visible {
  outline: 2px solid var(--df-bronze);
  outline-offset: 2px;
}

.logo a {
  color: inherit;
  text-decoration: none;
}

.nav a {
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 1;
}

.btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.card-media {
  transition: transform 0.35s ease;
}

.card-media:hover {
  transform: scale(1.02);
}

.hero {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.85));
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--df-bronze);
  box-shadow: 0 0 0 2px rgba(184, 115, 51, 0.2);
  outline: none;
}

/* Visual polish */
.section-head h2 {
  letter-spacing: 0.3px;
}

.section-head p {
  color: var(--df-sand);
}

.card p,
.split-content p,
.contact-copy p {
  color: var(--df-sand);
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--df-white);
}

.card a.card-media {
  display: block;
}

.site-header::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, rgba(184, 115, 51, 0.6), rgba(255, 255, 255, 0));
}

.hero-content p {
  font-size: 16px;
}

.hero-content .btn {
  margin-top: 8px;
}

.contact-form button,
.contact-form .btn {
  width: 100%;
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* Bootstrap layout overrides */
.card-grid.row {
  display: flex;
}

.split.row {
  display: flex;
}

.contact-inner.row {
  display: flex;
}

.form-row.row {
  display: flex;
}

.card.col-12 {
  width: 100%;
}

/* Language switcher */
.lang-switch .dropdown-toggle::after {
  margin-left: 8px;
}

.lang-switch .dropdown-menu {
  background: #0c0f0d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 0;
}

.lang-switch .dropdown-item {
  color: var(--df-white);
  padding: 8px 14px;
}

.lang-switch .dropdown-item:hover,
.lang-switch .dropdown-item:focus {
  background: rgba(184, 115, 51, 0.15);
  color: var(--df-white);
}

/* Footer social */
.site-footer .social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #0c0f0d;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--df-white);
  text-transform: lowercase;
  font-weight: 600;
}

.social-btn:hover {
  border-color: var(--df-bronze);
  color: var(--df-bronze);
}

/* Header social */
.header-social {
  margin-left: 10px;
}

.header-social .social-btn {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

/* Contrast boost: logo + language switcher */
.logo {
  color: var(--df-white);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.logo a {
  color: var(--df-white);
}

.lang-switch .dropdown-toggle {
  color: var(--df-white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.35);
}

.lang-switch .dropdown-toggle:hover {
  border-color: var(--df-bronze);
  color: var(--df-bronze);
}

/* Dynamic content cards */
.dynamic-section {
  padding: 90px 0;
  background: #040606;
}

.dynamic-section .section-head p {
  color: var(--df-sand);
}

.price-tag {
  margin-top: 12px;
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid rgba(184, 115, 51, 0.6);
  color: var(--df-bronze);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header alignment: keep socials next to language selector */
.nav {
  flex-wrap: nowrap;
}

.header-social {
  margin-left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Round image logo */
.logo {
  min-width: 104px;
}

.logo-image {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #ffffff;
  padding: 4px;
}

/* Header right image + balanced nav offset */
.site-header {
  position: sticky;
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 260px;
  height: 100%;
  background: url("../images/IMG_4908.JPG") right center / cover no-repeat;
  opacity: 0.48;
  pointer-events: none;
  z-index: 0;
}

.header-inner {
  position: relative;
  z-index: 1;
}

@media (min-width: 1100px) {
  .header-inner {
    transform: translateX(-34px);
  }
}

/* Header right logo size + social spacing override */
.site-header::before {
  content: none;
}

.nav a {
  white-space: nowrap;
}

@media (min-width: 1100px) {
  .header-inner {
    transform: none;
    padding-right: 0;
  }

  .nav {
    gap: 14px;
  }

  .header-social {
    margin-left: 8px;
    margin-right: 8px;
    gap: 4px;
  }
}

/* Social icon PNG override */
.social-btn {
  position: relative;
  font-size: 0;
  overflow: hidden;
  border-radius: 50%;
}

.social-btn::before {
  content: "";
  position: absolute;
  inset: 4px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.social-btn[aria-label="Facebook"]::before {
  background-image: url("../images/facebooklogo.png");
}

.social-btn[aria-label="Instagram"]::before {
  background-image: url("../images/instagramlogo.png");
}

.header-social .social-btn,
.site-footer .social-btn {
  width: 22px;
  height: 22px;
}

/* Ensure language dropdown always overlays hero/content */
.site-header {
  overflow: visible !important;
}

.lang-switch {
  position: relative;
}

.lang-switch .dropdown-menu {
  z-index: 4000;
}


/* ==========================================================================
   INTERAKTÍV MOBIL JAVÍTÁSOK (JAVÍTOTT LOGÓ ÉS BIZTOS KÉP MEGJELENÍTÉS)
   ========================================================================== */
@media (max-width: 900px) {
  /* 1. KEREK LOGÓ FIXÁLÁSA MOBILON (Hogy ne legyen hatalmas) */
  .logo {
    min-width: auto !important;
    width: 60px !important; /* Fix kicsi méret mobilon */
    height: 60px !important;
  }

  .logo-image {
    width: 60px !important; /* Összenyomja a fehér kört normális méretűre */
    height: 60px !important;
    padding: 2px !important;
  }

  /* 2. KÉPEK BIZTOS MEGJELENÍTÉSE (ÁLLÓ KÉPEKHEZ IGAZÍTOTT MAGASSÁG) */
  .split-media, 
  .about-team-media, 
  .card-media, 
  .wedding-mood-grid,
  .home-gallery-tile {
    width: 100% !important;
    height: 500px !important; /* Nagyobb magasság, hogy a hosszú, álló képek is kényelmesen elférjenek */
    padding-top: 0 !important;
    background-size: contain !important; /* Szigorúan a teljes képet mutatja vágás nélkül */
    background-position: center center !important;
    background-repeat: no-repeat !important;
    display: block !important;
  }

  /* Ha valódi <img> tag van az oldalon, az is tartalom-helyesen jelenik meg */
  img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  /* Ha valódi <img> tag van az oldalon, az is igazodik */
  img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* ==========================================================================
     HERO MOBIL JAVÍTÁS: A SZÖVEG ÉS A GOMB A VÁGÁS NÉLKÜLI KÉPEN VAN!
     ========================================================================== */

  .hero {
    min-height: 45vh !important; /* Rugalmas magasság mobilon, ami igazodik a képhez */
    display: flex !important;
    flex-direction: row !important; /* Visszaállítjuk az eredeti elrendezést */
    align-items: center !important;
    justify-content: center !important;
    padding: 60px 0 !important;
    position: relative !important;
    background: #000000 !important;
  }

  /* A kép doboza: Teljes kép látszik vágás nélkül, de a szöveg mögött van */
  .hero-media {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    order: 0 !important;
    background-size: contain !important; /* Szigorúan a teljes képet mutatja vágás nélkül */
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 1 !important;
  }

  /* Sötétítő réteg a kép felett, hogy a fehér szöveg tökéletesen olvasható legyen */
  .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* Finom sötétítés mobilon is */
    z-index: 2;
  }

  /* Ha a Hero-ban valódi <img> tag van, az is így viselkedik */
  .hero-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
  }

  /* A szöveg és gomb konténere: Ráfekszik a képre középre igazítva */
  .hero-content {
    position: relative !important;
    z-index: 3 !important; /* Magasabb réteg, mint a kép, így ráfekszik a tetejére */
    width: 100% !important;
    text-align: center !important;
    padding: 0 20px !important;
    margin: 0 auto !important;
  }

  /* Kisebb, de jól olvasható betűméretek mobilon */
  .hero h1 {
    font-size: clamp(22px, 5vw, 32px) !important;
    max-width: 90% !important;
    margin: 0 auto 12px !important;
    text-align: center !important;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important; /* Árnyék a biztos olvashatóságért */
  }

  .hero p {
    font-size: clamp(13px, 3.5vw, 16px) !important;
    max-width: 85% !important;
    margin: 0 auto 20px !important;
    text-align: center !important;
    color: var(--df-sand) !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) !important;
  }

  /* Az Ajánlatkérés gomb igazítása a képen belül */
  .hero-content .btn {
    display: inline-block !important;
    width: auto !important;
    min-width: 180px !important;
    max-width: 260px !important;
    margin: 0 auto !important;
    padding: 12px 24px !important;
    font-size: 11px !important;
  }

  /* 2. AZ ÖSSZES TÖBBI KÉP BIZTOS MEGJELENÍTÉSE (ÁLLÓ KÉPEKHEZ IS) */
  .split-media, 
  .about-team-media, 
  .card-media, 
  .wedding-mood-grid,
  .home-gallery-tile {
    width: 100% !important;
    height: 500px !important; /* Magas álló képekhez optimalizálva */
    padding-top: 0 !important;
    background-size: contain !important; /* Teljes kép vágás nélkül */
    background-position: center center !important;
    background-repeat: no-repeat !important;
    display: block !important;
  }

  /* Minden egyéb beágyazott kép kezelése */
  img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  /* Gombok teljes szélessége */
  .contact-form button, .contact-form .btn, .btn {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 14px 20px !important;
  }

  /* 4. Mobilmenü stílusok */
  .site-header .nav {
    display: none !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 30px 20px !important;
    margin: 0 !important;
    background: #0c0f0d !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 99999 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }

  .site-header.mobile-open .nav {
    display: flex !important;
  }

  .header-inner {
    position: relative !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  .header-inner::after {
    content: "☰ MENÜ" !important;
    display: inline-block !important;
    background-color: var(--df-bronze) !important;
    color: #000000 !important;
    padding: 10px 20px !important;
    font-family: "Montserrat", sans-serif;
    font-size: 13px !important;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    z-index: 100010 !important;
    position: relative !important;
  }

  .site-header.mobile-open .header-inner::after {
    content: "✕ BEZÁR" !important;
    background-color: #333333 !important;
    color: #ffffff !important;
  }

  .site-header .nav a {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    color: #ffffff !important;
    font-size: 18px !important;
    padding: 14px 0 !important;
  }

  .site-header .nav .btn-solid {
    width: 100% !important;
    max-width: 280px !important;
    margin: 15px auto !important;
    background-color: var(--df-bronze) !important;
    color: #000000 !important;
    padding: 12px !important;
  }

  .lang-switch { width: 100% !important; text-align: center !important; margin: 10px 0 !important; }
  .lang-switch .dropdown-menu { position: static !important; float: none !important; margin: 10px auto 0 !important; width: 180px !important; }
  .header-social { display: flex !important; justify-content: center !important; gap: 20px !important; width: 100% !important; margin-top: 15px !important; }
  .site-header .nav .logo:last-of-type { display: none !important; }

  .card-media-triple {
    grid-template-columns: 1fr !important;
    height: auto !important;
    gap: 6px !important;
  }
  .card-media-triple .triple-img {
    height: 130px !important;
    display: block !important;
    object-fit: cover !important;
  }
}
@media (max-width: 900px) { .site-header { overflow: visible !important; } }