/* assets/style.css
   Light, modern, white-dominant design with eucalyptus green + gold accents
*/

:root{
  --bg: #ffffff;
  --card: #ffffff;
  --text: #1f2a24;
  --muted: #5d6a62;

  --euca: #2a7a63;
  --euca-2: #1f5f4e;

  --gold: #c9a44f;
  --gold-2: #b9923f;

  --line: rgba(31, 42, 36, 0.10);
  --shadow: 0 14px 40px rgba(31,42,36,.08);

  --radius: 18px;
  --radius-lg: 26px;

  --font-body: "Source Sans 3", 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 15% 10%, rgba(42,122,99,.08), transparent 60%),
              radial-gradient(900px 500px at 85% 20%, rgba(201,164,79,.08), transparent 60%),
              var(--bg);
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
p{ line-height: 1.65; }
code{ background: rgba(42,122,99,.08); padding: .15em .35em; border-radius: 8px; }

.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);
  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(10px);
  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{
  width: 34px; height: 34px;
  display:grid; place-items:center;
  border-radius: 12px;
  border: 1px solid rgba(201,164,79,.35);
  background: linear-gradient(180deg, rgba(201,164,79,.18), rgba(42,122,99,.08));
  color: var(--euca);
  font-size: 18px;
}
.brand-text{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .2px;
  font-size: 20px;
}

.site-nav{
  display:flex;
  align-items:center;
  gap: 8px;
}
.site-nav a{
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.site-nav a:hover{
  background: rgba(42,122,99,.06);
  border-color: rgba(42,122,99,.16);
  color: var(--text);
}
.site-nav a.is-active{
  background: rgba(201,164,79,.10);
  border-color: rgba(201,164,79,.28);
  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: var(--card);
  box-shadow: 0 10px 22px rgba(31,42,36,.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: 1.15fr .85fr;
  gap: 26px;
  align-items: center;
}
.hero-card{
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow);
  padding: 26px;
  position: relative;
  overflow:hidden;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(42,122,99,.16);
  background: rgba(42,122,99,.06);
  color: var(--euca-2);
  margin: 0 0 12px;
  font-weight: 600;
  font-size: 14px;
}
.hero-title{
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  margin: 0 0 10px;
  letter-spacing: .2px;
}
.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(260px 240px at 20% 20%, rgba(42,122,99,.20), transparent 55%),
              radial-gradient(260px 240px at 80% 30%, rgba(201,164,79,.22), transparent 55%);
  filter: blur(10px);
  z-index: -1;
}

.photo-frame{
  border-radius: var(--radius-lg);
  overflow:hidden;
  border: 1px solid rgba(31,42,36,.10);
  box-shadow: var(--shadow);
  background: var(--card);
}
.photo-frame img{
  width: 100%;
  aspect-ratio: 4/5;
  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(201,164,79,.24);
  background: linear-gradient(
    180deg,
    rgba(201,164,79,.10),
    rgba(42,122,99,.06)
  );
}

.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,.85);
  border: 1px solid rgba(31,42,36,.10);
  box-shadow: 0 12px 28px rgba(31,42,36,.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);
}

/* mobilon egymás alá */
@media (max-width: 520px){
  .countdown{
    width: 100%;
    flex-direction: column;
    align-items: stretch;   /* ne balra, hanem töltse ki */
    gap: 12px;
  }

  .countdown-cards{
    width: 100%;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: nowrap;      /* egy sorban marad */
  }

  .countdown-card{
    flex: 1 1 0;            /* mindhárom ugyanakkora legyen */
    min-width: 0;           /* kulcs: ne lógjon ki */
    padding: 12px 8px;      /* picit kompaktabb */
  }

  .countdown-card .countdown-num{
    font-size: 30px;        /* hogy biztosan beférjen */
  }

  .countdown-meta{
    width: 100%;
  }
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 8px;
}
.note{
  color: rgba(93,106,98,.95);
  font-size: 14px;
  margin: 16px 0 0;
}

/* Cards & prose */
.card{
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 45px rgba(31,42,36,.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{
  color: var(--muted);
  font-weight: 600;
}
.info-val{
  margin-left: 8px;
}

.hint{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px dashed rgba(42,122,99,.20);
  background: rgba(42,122,99,.06);
  color: var(--muted);
}

/* Venue */
.venue-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  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(42,122,99,.18);
  background: rgba(42,122,99,.06);
  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(201,164,79,.12);
  border: 1px solid rgba(201,164,79,.22);
  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(31,42,36,.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);
}

/* 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; /* szín variánsok felülírják */
}

.stat-value{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 3.2vw, 52px);
  color: rgba(255, 126, 160, .95); /* finom pink, mint a mintán */
  letter-spacing: .5px;
}

.stat-label{
  margin-top: 8px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

/* Border colors */
.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); }

/* Responsive grid */
@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; }
}


.inline-actions{
  margin-top: 12px;
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}

.center{
  display:flex;
  justify-content:center;
  margin-top: 18px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  border-radius: 16px;
  padding: 12px 16px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  user-select:none;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); }

.btn-primary{
  background: linear-gradient(180deg, rgba(42,122,99,.95), rgba(31,95,78,.95));
  color: #fff;
  box-shadow: 0 18px 36px rgba(42,122,99,.18);
  border-color: rgba(255,255,255,.18);
}
.btn-primary:hover{
  box-shadow: 0 22px 44px rgba(42,122,99,.22);
}

.btn-ghost{
  background: rgba(255,255,255,.75);
  border-color: rgba(31,42,36,.12);
  color: var(--text);
}
.btn-ghost:hover{
  background: rgba(42,122,99,.06);
  border-color: rgba(42,122,99,.20);
}

.btn-small{
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14px;
}

/* 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(31,42,36,.07);
  border: 1px solid rgba(31,42,36,.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(15,18,16,.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;
}

/* Notice */
.notice{
  display:flex;
  gap: 14px;
  align-items:flex-start;
}
.notice-icon{
  width: 34px;
  height: 34px;
  display:grid;
  place-items:center;
  border-radius: 12px;
  background: rgba(201,164,79,.14);
  border: 1px solid rgba(201,164,79,.26);
  font-weight: 800;
  font-family: var(--font-display);
}
.notice-title{
  margin: 0 0 6px;
  font-weight: 700;
}
.notice-body{
  margin: 0;
  color: var(--muted);
}

/* Footer */
.footer{
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.60);
}
.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;
}
.footer-muted{
  color: var(--muted);
  margin-top: 4px;
}
.footer-right{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.footer-right a{
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.footer-right a:hover{
  color: var(--text);
  background: rgba(42,122,99,.06);
  border-color: rgba(42,122,99,.16);
}

/* 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{ flex-direction: column; align-items:flex-start; }
  .countdown-box{ width: 100%; display:flex; align-items:baseline; justify-content:space-between; }
  .countdown-num{ font-size: 34px; }
  .gallery-grid{ grid-template-columns: 1fr; }
}
