:root{
  /* Light green theme */
  --bg: #f7faf9;
  --fg: #0f172a;
  --muted:#64748b;
  --brand:#16a34a;
  --brand-2:#22c55e;
  --card: #ffffff;
  --border: #e5e7eb;
  --radius:16px;
  --shadow: 0 10px 30px rgba(2, 6, 23, .06);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color:var(--fg);
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(34,197,94,.10) 0%, transparent 50%) no-repeat,
    radial-gradient(900px 500px at 110% 0%, rgba(16,185,129,.08) 0%, transparent 55%) no-repeat,
    linear-gradient(180deg,var(--bg) 0%, #ffffff 60%, var(--bg) 100%);
  line-height:1.6;
}

.caps{ text-transform: uppercase; letter-spacing:.08em }
.container{max-width:980px;margin-inline:auto;padding:20px}

.site-header{
  position: sticky; top:0; z-index:100;
  backdrop-filter: saturate(1.2) blur(8px);
  background: rgba(255,255,255,.85);
  border-bottom: 1px solid var(--border);
}
.nav{
  max-width:1100px; margin:0 auto; padding:12px 20px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand__logo{
  width:36px; height:36px; border-radius:10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 6px 18px rgba(22,163,74,.25);
}
.brand__name{ font-weight:800; letter-spacing:.3px; color:var(--fg); }
.nav__links{display:flex; gap:8px; align-items:center; flex-wrap:wrap}
.nav__links a{
  color:var(--fg); text-decoration:none; font-weight:700; opacity:.95;
  padding:10px 12px; border-radius:12px;
}
.nav__links a:hover{ background: #f0fdf4; }
.nav__toggle{
  display:none; border:1px solid var(--border); background:#ffffff;
  color:var(--fg); border-radius:12px; padding:8px 10px; cursor:pointer;
}

.hero{
  padding:64px 0 36px;
  text-align:center;
  background: linear-gradient(180deg, rgba(34,197,94,.10), rgba(16,185,129,.06));
  border-bottom:1px solid var(--border);
}
.hero__title{font-size:clamp(28px,4.5vw,48px);margin:0 0 8px}
.couple{ background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero__subtitle{margin:0;color:var(--muted);font-size:clamp(14px,2.5vw,18px)}
.hero__date{margin-top:10px;color:#065f46}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 22px 0;
  box-shadow: var(--shadow);
}
.card__title{margin-top:0;margin-bottom:16px;font-size:22px; color:#064e3b}

.form-row{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
label{font-weight:700; color:#1f2937}
input, textarea, select{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:12px;
  font-size:16px;
  background: #ffffff;
  color:var(--fg);
}
select{ cursor:pointer }
input::placeholder, textarea::placeholder{color:#94a3b8}
input:focus, textarea:focus, select:focus{
  outline: none;
  border-color: rgba(34,197,94,.65);
  box-shadow: 0 0 0 3px rgba(34,197,94,.20);
}

.btn{
  display:inline-block;
  padding:12px 18px;
  border-radius:999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color:#ffffff;
  border:none;
  font-weight:900;
  letter-spacing:.04em;
  cursor:pointer;
  box-shadow: 0 8px 24px rgba(16,185,129,.28);
  transition: transform .15s ease, box-shadow .2s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 10px 28px rgba(16,185,129,.32); }
.btn:active{ transform: translateY(0); }
.btn:disabled{opacity:.6;cursor:not-allowed}
.form-status{min-height:22px;margin-top:10px;color:var(--muted)}

.gallery .grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.grid__item{
  position: relative;
  display:block;
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--border);
  background:#ffffff;
  box-shadow: var(--shadow);
}
.grid__item img{
  width:100%;
  aspect-ratio: 2 / 3;
  height:auto;
  object-fit: cover;
  transition: transform .3s ease, box-shadow .3s ease;
  display:block;
}
.grid__item:hover img{ transform: scale(1.02); }
.grid__item .caption{
  position:absolute; inset-inline:8px; bottom:8px;
  padding:10px 12px; border-radius:12px; font-size:12px;
  background: linear-gradient(180deg, rgba(2,6,23,.02), rgba(2,6,23,.55));
  color:#f8fafc; backdrop-filter: blur(4px);
}

@media (max-width: 980px){
  .gallery .grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px){
  .nav{padding:10px 14px}
  .nav__toggle{ display:block }
  .nav__links{ 
    display:none; flex-direction:column; gap:6px; width:100%;
    position:absolute; left:0; right:0; top:56px; padding:10px 14px;
    background:#ffffff; border-bottom:1px solid var(--border);
  }
  .nav__links.is-open{ display:flex }
  .nav__links a{ padding:12px; }
  .hero{ padding:40px 0 22px }
  .hero__title{ font-size:28px }
  .hero__subtitle{ font-size:14px }
  .gallery .grid{ grid-template-columns: 1fr; }
}

.lightbox{
  position:fixed; inset:0;
  background: radial-gradient(60% 60% at 50% 50%, rgba(2,6,23,.25), rgba(2,6,23,.55));
  display:grid; place-items:center;
  padding:20px; z-index:1000;
}
.lightbox[hidden]{ display: none !important; }
.lightbox__close{
  position:absolute; top:16px; right:16px;
  background: #ffffff;
  border:1px solid var(--border); border-radius:999px;
  width:42px; height:42px; font-size:26px; line-height:42px;
  color:var(--fg); cursor:pointer;
  box-shadow: var(--shadow);
}
.lightbox img{
  max-width:min(100%, 900px);
  max-height:75vh;
  border-radius:14px;
  background:#fff;
  box-shadow: var(--shadow);
}
.lightbox__caption{ margin-top:12px; text-align:center; color:#0f172a; background:#ffffff; padding:8px 12px; border-radius:12px; box-shadow: var(--shadow) }

.footer{color:#334155; text-align:center; padding:40px 20px}
