/* assets/style.css
   New design based on styles_v2.css look & feel,
   but keeps the STATS section styling exactly as before.
*/

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Allura&family=Cormorant+Garamond:wght@400;600;700&family=Inter:wght@400;500;600&display=swap");

:root{
  /* v2-inspired palette */
  --bg: #ffffff;
  --text: #151515;
  --ink: #151515; /* v2 kompat */
  --muted: rgba(21,21,21,.68);

  --gold: #b08b2e;
  --gold-soft: rgba(176,139,46,.25);

  --card: rgba(255,255,255,.86);
  --card-strong: rgba(255,255,255,.92);
  --line: rgba(0,0,0,.10);
  --shadow: 0 20px 60px rgba(0,0,0,.08);

  --radius: 18px;
  --radius-lg: 26px;

  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;

  --container: 1100px;
}

/* Base */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(900px 500px at 18% 10%, rgba(176,139,46,.12), transparent 60%),
    radial-gradient(900px 500px at 85% 18%, rgba(0,0,0,.04), transparent 60%),
    var(--bg);
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
p{ line-height: 1.65; }

.container{
  width: min(100% - 32px, var(--container));
  margin-inline:auto;
}

.sr-only{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:12px;
  background: var(--card-strong);
  border: 1px solid var(--line);
  padding:10px 12px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 9999;
}
.skip-link:focus{ left: 12px; }

/* Header / Nav */
.site-header{
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: max-content;
}
.brand-mark{
  height: 20px;
  width: auto; 
  display: block;
}

/* ✅ v2-hez igazított felirat */
.brand-text{
  font-family: var(--font-display);
  font-weight: 600;          /* v2 .title: 600 */
  letter-spacing: 0;
  font-size: 18px;
}

.lang-switch{
  display:flex;
  align-items:center;
  gap: 8px;
  margin-left: auto;
}
.lang-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.70);
  color: rgba(21,21,21,.80);
  font-weight: 600;
  font-size: 12px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.lang-pill:hover{ transform: translateY(-1px); }
.lang-pill.is-active{
  border-color: rgba(176,139,46,.45);
  background: rgba(176,139,46,.12);
  color: rgba(21,21,21,.95);
}

.site-nav{
  display:flex;
  align-items:center;
  gap: 8px;
}
.site-nav a{
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 14px;
  color: rgba(21,21,21,.75);
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.site-nav a:hover{
  background: rgba(176,139,46,.10);
  border-color: rgba(176,139,46,.22);
  color: var(--text);
}
.site-nav a.is-active{
  background: rgba(0,0,0,.05);
  border-color: rgba(0,0,0,.12);
  color: var(--text);
}

.nav-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.85);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
  cursor:pointer;
}
.nav-toggle-lines{
  width: 18px; height: 12px;
  position: relative;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after{
  content:"";
  position:absolute;
  left:0; right:0;
  height:2px;
  background: var(--text);
  border-radius: 99px;
}
.nav-toggle-lines::before{ top:0; }
.nav-toggle-lines::after{ bottom:0; }

/* Sections */
.section{ padding: 64px 0; }
.section-head{ margin-bottom: 18px; }
.section-title{
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  margin: 0 0 8px;
}
.section-lead{
  color: var(--muted);
  margin: 0;
  max-width: 62ch;
}

/* Hero */
.hero{ padding: 54px 0 36px; }
.hero-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}
.hero-card{
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card-strong);
  box-shadow: var(--shadow);
  padding: 26px;
  position: relative;
  overflow:hidden;
}

/* ✅ v2-hez igazított Csilla & Viktor (v2 .title) */
.hero-title{
  font-family: "Allura", cursive;
  font-weight: 400;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  margin: 0 0 12px;
  letter-spacing: .6px;
  color: var(--gold);
  text-shadow: 0 1px 0 rgba(255,255,255,.55);
}

.hero-card { text-align: center; }
.hero-subtitle { margin-left: auto; margin-right: auto; }

.hero-subtitle{
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 65ch;
}

.hero-media{ position: relative; }
.hero-glow{
  position:absolute;
  inset: -20px -10px -30px -10px;
  background:
    radial-gradient(280px 240px at 20% 20%, rgba(176,139,46,.22), transparent 55%),
    radial-gradient(280px 240px at 80% 30%, rgba(0,0,0,.10), transparent 55%);
  filter: blur(12px);
  z-index: -1;
}

.photo-frame{
  border-radius: var(--radius-lg);
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.92);
}
.photo-frame img{
  width: 100%;
  aspect-ratio: 20/10;
  object-fit: cover;
}
.photo-frame--wide img{ aspect-ratio: 16/10; }

/* Countdown */
.countdown{
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(176,139,46,.24);
  background: linear-gradient(180deg, rgba(176,139,46,.14), rgba(255,255,255,.55));
}
.countdown-caption{
  font-weight: 600;
  font-size: 14px;
  color: rgba(21,21,21,.78);
}
.countdown-date{
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}
.countdown-cards{
  display: flex;
  gap: 12px;
}
.countdown-card{
  min-width: 90px;
  padding: 14px 10px;
  text-align: center;
  border-radius: 18px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}
.countdown-card .countdown-num{
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}
.countdown-card .countdown-label{
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

/* Cards & prose */
.card{
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 18px 45px rgba(0,0,0,.07);
  padding: 22px;
}
.prose p{ margin: 0 0 12px; }
.prose p:last-child{ margin-bottom: 0; }
.mini-title{
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 8px;
}

.info-list{
  list-style:none;
  padding:0;
  margin: 14px 0 0;
  display:grid;
  gap: 8px;
}
.info-key{
  
  font-weight: 800;
}


/* Venue */
.venue-grid{
  display:grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 18px;
  align-items: start;
}

/* Timeline */
.timeline{
  display:grid;
  gap: 14px;
  margin-top: 18px;
}
.timeline-item{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  align-items: stretch;
}
.time-pill{
  border-radius: 20px;
  border: 1px solid rgba(176,139,46,.22);
  background: rgba(176,139,46,.10);
  padding: 14px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap: 6px;
}
.time{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
}
.tag{
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.05);
  border: 1px solid rgba(0,0,0,.10);
  color: var(--text);
  font-weight: 600;
  font-size: 12px;
}
.timeline-card{
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  box-shadow: 0 16px 36px rgba(0,0,0,.06);
  padding: 18px 20px;
}
.timeline-card h3{
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 22px;
}
.timeline-card p{
  margin: 0;
  color: var(--muted);
}

/* ✅ Buttons – v2-vel egyező */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 14px; /* v2 */
  border-radius: 16px; /* v2 */
  border: 1px solid rgba(0,0,0,.14); /* v2 */
  background: linear-gradient(180deg, rgba(176,139,46,.13), rgba(176,139,46,.06)); /* v2 */
  color: var(--ink); /* v2 */
  cursor: pointer;
  font-weight: 600;
  transition: transform .15s ease, border-color .15s ease;
  user-select:none;
  white-space: nowrap;
}
.btn:hover{
  transform: translateY(-1px);
  border-color: var(--gold); /* v2 */
}

/* maradhat külön “ghost” gomb a többi helyen */
.btn-ghost{
  background: rgba(255,255,255,.78);
  border-color: rgba(0,0,0,.12);
  color: var(--text);
}
.btn-ghost:hover{
  background: rgba(176,139,46,.10);
  border-color: rgba(176,139,46,.24);
}

/* Page wrapper */
.page{ min-height: calc(100vh - 72px); }

/* Gallery */
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.gallery-item{
  border: 0;
  padding: 0;
  background: transparent;
  cursor:pointer;
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 16px 34px rgba(0,0,0,.07);
  border: 1px solid rgba(0,0,0,.10);
  transition: transform .15s ease;
}
.gallery-item:hover{ transform: translateY(-2px); }
.gallery-item img{
  width:100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  display:none;
  place-items:center;
  background: rgba(0,0,0,.72);
  padding: 24px;
  z-index: 200;
}
.lightbox.is-open{ display:grid; }
.lightbox-img{
  max-width: min(100%, 980px);
  max-height: 80vh;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
  background: #fff;
}
.lightbox-close{
  position:absolute;
  top: 18px;
  right: 18px;
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.10);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor:pointer;
}
.lightbox-hint{
  color: rgba(255,255,255,.85);
  font-size: 14px;
  margin-top: 10px;
}

.center{
  display:flex;
  justify-content:center;
  margin-top: 18px;
}

/* Footer (BLACK background) */
.footer{
  padding: 34px 0 52px;
  background: #000;
  border-top: 1px solid rgba(255,255,255,.10);
}
.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 14px;
}
.footer-brand{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: rgba(255,255,255,.92);
}
.footer-muted{
  margin-top: 6px;
  color: rgba(255,255,255,.68);
}
.footer-mark{
  margin-top: 14px;
  max-width: 220px;
  height: auto;
  opacity: .9;
}

.footer-image{
  display: block;
  margin: 0 auto;          /* EZ teszi vízszintesen középre */
}


/* ---------------------------------------------
   STATS SECTION (kept exactly as before)
---------------------------------------------- */

/* Stats section (Főbb mutatószámaink) */
.section-head--center{
  text-align: center;
}

.section-divider{
  height: 2px;
  width: min(720px, 92%);
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, rgba(31,42,36,.25), transparent);
  border-radius: 999px;
}

.stats-card{
  padding: 18px;
}

.chart-wrap{
  width: 100%;
  height: 360px;
}

@media (max-width: 520px){
  .chart-wrap{ height: 300px; }
}

/* Stat boxes */
.stats-grid{
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-box{
  background: rgba(255,255,255,.86);
  border-radius: 26px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 18px 45px rgba(31,42,36,.07);
  border: 10px solid transparent;
}

.stat-value{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 3.2vw, 52px);
  color: rgba(255, 126, 160, .95);
  letter-spacing: .5px;
}

.stat-label{
  margin-top: 8px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.stat-box--purple{ border-color: rgba(186, 85, 211, .85); }
.stat-box--blue{ border-color: rgba(60, 90, 255, .85); }
.stat-box--slate{ border-color: rgba(55, 65, 81, .90); }
.stat-box--green{ border-color: rgba(0, 128, 0, .85); }

@media (max-width: 920px){
  .stats-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px){
  .stats-grid{ grid-template-columns: 1fr; }
  .stat-box{ border-width: 8px; }
}

/* Responsive */
@media (max-width: 920px){
  .hero-grid{ grid-template-columns: 1fr; }
  .photo-frame img{ aspect-ratio: 16/10; }
  .venue-grid{ grid-template-columns: 1fr; }
  .timeline-item{ grid-template-columns: 1fr; }
  .time-pill{ flex-direction: row; align-items:center; justify-content: space-between; }
}

@media (max-width: 820px){
  .nav-toggle{ display:inline-flex; }
  .site-nav{
    position:absolute;
    top: 64px;
    right: 16px;
    left: 16px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap: 6px;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.92);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open{ display:flex; }
  .site-nav a{ width: 100%; }

  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px){
  .section{ padding: 52px 0; }

  .countdown{
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .countdown-cards{
    width: 100%;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  .countdown-card{
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 8px;
  }
  .countdown-card .countdown-num{ font-size: 30px; }

  .gallery-grid{ grid-template-columns: 1fr; }
}

/* Mobilon a kép legyen előbb */
@media (max-width: 920px){
  .hero-grid{
    grid-template-columns: 1fr;
  }

  .hero-media{
    order: -1;   /* kép kerül előre */
  }
}

@media (max-width: 920px){

  .photo-frame{
    overflow: visible;      /* ne vágjon */
    border-radius: 20px;    /* maradhat lekerekítés */
  }

  .photo-frame img{
    aspect-ratio: auto;     /* ne kényszerített arány */
    height: auto;
    object-fit: contain;    /* teljes kép látszódjon */
  }

}

/* Footer full width image – keep aspect ratio, no distortion */
/* Footer image wrapper */
.footer-image-wrap{
  width: 100%;
  display: flex;
  justify-content: center;
  background: #000;
}

/* Kép */
.footer-image{
  width: 100%;
  height: auto;            /* arányt tart */
  max-height: 260px;       /* desktop maximum */
  object-fit: contain;
  display: block;
}


/* ---- MOBILE HEADER FIX ---- */
@media (max-width: 820px){

  .header-inner{
    flex-wrap: nowrap;
    gap: 8px;
  }

  .brand{
    flex: 1 1 auto;     /* logo kap rugalmas helyet */
    min-width: 0;
  }

  .lang-switch{
    flex: 0 0 auto;
    gap: 4px;
  }

  .lang-pill{
    padding: 6px 8px;   /* kisebb legyen mobilon */
    font-size: 11px;
  }

  .nav-toggle{
    flex: 0 0 auto;
    margin-left: 4px;
  }

  body{
    overflow-x: hidden; /* biztosan ne lehessen oldalra görgetni */
  }
}

/* Lightbox navigation */
.lightbox-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.10);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
}

.lightbox-prev{ left: 18px; }
.lightbox-next{ right: 18px; }

.lightbox-nav:hover{
  background: rgba(255,255,255,.16);
}

.lightbox-footer{
  margin-top: 10px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.lightbox-counter{
  color: rgba(255,255,255,.92);
  font-weight: 600;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.18);
}

/* Mobilon a nyilak ne legyenek túl közel a széléhez */
@media (max-width: 520px){
  .lightbox-prev{ left: 10px; }
  .lightbox-next{ right: 10px; }
}

/* Mobil swipe támogatás */
.lightbox-img{
  touch-action: pan-y; /* függőleges scroll oké, vízszintes swipe-ot mi kezeljük */
}

/* ---------------------------------------------
   MENU PAGE
---------------------------------------------- */

.menu-hero{
  padding-bottom: 18px;
}

.menu-hero-card{
  text-align: center;
  padding: 30px 24px;
}

.menu-hero-actions{
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.menu-section{
  padding-top: 18px;
}

.menu-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.menu-card{
  height: 100%;
}

.menu-card--legend{
  margin-top: 18px;
}

.menu-list{
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.menu-list li{
  line-height: 1.65;
  color: var(--text);
}

.menu-legend{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 920px){
  .menu-grid{
    grid-template-columns: 1fr;
  }
}

.text-green{
  color: #2f6f4f;
  font-weight: 800;
  text-decoration: underline;
}

/* ----------------------------------------------
   PHOTO & VIDEO GALLERY (post-wedding home page)
---------------------------------------------- */

.section-lead--center{
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Hero (egyszerűsített, fotós kezdőlap) */
.hero--photos{ padding: 56px 0 20px; }
.hero-card--photos{
  max-width: 760px;
  margin: 0 auto;
}

/* Albumonkénti highlight blokk */
.album-block{ margin-top: 40px; }
.album-block:first-of-type{ margin-top: 24px; }
.album-title{
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 700;
  margin: 0 0 14px;
  text-align: center;
  color: var(--ink);
}
.album-actions{
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

/* Videó kártyák */
.video-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.video-card{
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 16px 34px rgba(0,0,0,.10);
  transition: transform .15s ease;
  background: #000;
}
.video-card:hover{ transform: translateY(-2px); }
.video-card img{
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  opacity: .92;
  transition: opacity .15s ease;
}
.video-card:hover img{ opacity: 1; }
.video-play{
  position: absolute;
  top: 50%; left: 50%;
  width: 64px; height: 64px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  display: grid;
  place-items: center;
}
.video-play::after{
  content: "";
  display: block;
  margin-left: 4px;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--gold);
}
.video-badge{
  position: absolute;
  left: 12px; bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
}

@media (max-width: 820px){
  .video-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
  .video-grid{ grid-template-columns: 1fr; }
  .video-card img{ aspect-ratio: 16/9; }
}