:root{
  --bg:#0b0b10;

  /* világosabb panelek */
  --panel: rgba(255,255,255,.10);
  --panel2: rgba(255,255,255,.14);

  --text: rgba(255,255,255,.94);
  --muted: rgba(255,255,255,.72);
  --border: rgba(255,255,255,.18);

  --shadow: 0 22px 70px rgba(0,0,0,.55);
  --radius: 18px;

  --gold: rgba(235, 206, 150, .9);
}

/* tipó: elegánsabb esküvői */
html,body{
  margin:0; padding:0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background:var(--bg);
}
h1,h2,h3{
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  letter-spacing: .2px;
}
a{ color:inherit; }
*{ box-sizing:border-box; }

.bg{
  position:fixed; inset:0;
  background:
    radial-gradient(1100px 600px at 15% 10%, rgba(255,180,190,.22), transparent 60%),
    radial-gradient(900px 520px at 85% 20%, rgba(180,220,255,.18), transparent 55%),
    radial-gradient(900px 560px at 50% 92%, rgba(235,206,150,.12), transparent 60%),
    radial-gradient(900px 560px at 40% 82%, rgba(200,255,210,.10), transparent 60%);
  pointer-events:none;
}

.container{ width:min(980px, 92vw); margin:0 auto; position:relative; }

.hero{
  padding: 48px 0 24px;
  position: relative;
}

/* HERO borítókép */
.hero-cover{
  height: 280px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.16);
  overflow: hidden;
  box-shadow: var(--shadow);
  background:
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.55)),
    url("https://source.unsplash.com/4CK2T9ZcR_E/1600x900") center/cover no-repeat;
  margin-bottom: 18px;
}

/* kis fény “glow” a cover alatt */
.hero-cover::after{
  content:"";
  position:absolute;
  width: 100%;
  height: 100%;
  left:0; top:0;
  pointer-events:none;
}

.badge{
  display:inline-flex; align-items:center; gap:10px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  margin-bottom: 14px;
}

h1{ font-size: clamp(36px, 4vw, 56px); margin: 10px 0 10px; }
.lead{ font-size: 16.5px; color: var(--muted); line-height: 1.65; max-width: 72ch; }

.info-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin: 22px 0 16px;
}
.card{
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,.42);
  backdrop-filter: blur(10px);
}
.card h3{ margin:0 0 8px; font-size: 16px; font-family: "Inter", system-ui, sans-serif; letter-spacing: .2px; }
.card p{ margin:0; color: var(--muted); line-height: 1.5; font-size: 14px; }
.card strong{ color: var(--text); }

.cta{
  display:inline-block;
  margin-top: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(235,206,150,.30);
  text-decoration:none;
  box-shadow: 0 16px 40px rgba(0,0,0,.30);
}

/* Ornament divider */
.ornament{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 12px;
  margin: 18px 0 6px;
  opacity: .92;
}
.ornament span{
  height: 1px;
  width: min(220px, 30vw);
  background: linear-gradient(90deg, transparent, rgba(235,206,150,.55), transparent);
}
.ornament em{
  font-style: normal;
  color: var(--gold);
  transform: translateY(-1px);
}
.ornament.mini{ margin: 14px 0 0; opacity: .85; }

/* map */
.map-wrap{
  width:100%;
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  margin: 10px 0 10px;
}
.map-wrap iframe{ display:block; width:100%; height:160px; border:0; }

.link{
  display:inline-block;
  font-size: 14px;
  color: rgba(255,255,255,.86);
  text-decoration: none;
  border-bottom: 1px dashed rgba(235,206,150,.45);
  padding-bottom: 2px;
}
.link:hover{ border-bottom-style: solid; }

/* calendar buttons layout */
.calendar-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Gallery section */
.gallery{
  margin: 10px 0 18px;
}
.gallery-title{
  margin: 0 0 6px;
  font-size: 28px;
}
.gallery-sub{
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
}
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.gcard{
  margin:0;
  border-radius: 20px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  box-shadow: 0 18px 60px rgba(0,0,0,.42);
}
.gcard img{
  width:100%;
  height: 210px;
  object-fit: cover;
  display:block;
  filter: saturate(1.05) contrast(1.02);
}

/* RSVP panel */
.panel{
  margin: 18px 0 46px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 20px 70px rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
}

h2{ margin: 0 0 6px; font-size: 28px; }
.muted{ margin: 0 0 16px; color: var(--muted); }

.form{ display:flex; flex-direction:column; gap: 14px; }
.row{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label{ display:flex; flex-direction:column; gap: 8px; font-size: 14px; color: rgba(255,255,255,.78); }

input, select, textarea{
  width:100%;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.20);
  color: var(--text);
  border-radius: 14px;
  padding: 12px 12px;
  outline: none;
}
input::placeholder, textarea::placeholder{ color: rgba(255,255,255,.55); }
textarea{ resize: vertical; min-height: 88px; }

.checks{ display:flex; gap: 16px; flex-wrap: wrap; }
.check{ flex-direction: row; align-items:center; gap:10px; color: var(--text); }
.check input{ width:18px; height:18px; }

.btn{
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(235,206,150,.35);
  background: rgba(255,255,255,.16);
  color: rgba(255,255,255,.96);
  font-weight: 700;
  cursor: pointer;
}
.btn:hover{ background: rgba(255,255,255,.22); }

.btn.small{
  margin-top: 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
}
.btn.ghost{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.20);
}

.status{ min-height: 22px; font-size: 14px; color: var(--muted); }
.status[data-type="success"]{ color: rgba(160,255,190,.95); }
.status[data-type="error"]{ color: rgba(255,170,170,.95); }

.footer{ padding: 18px 0 46px; color: var(--muted); text-align:center; }

@media (max-width: 820px){
  .info-grid{ grid-template-columns: 1fr; }
  .row{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: 1fr; }
  .gcard img{ height: 220px; }
  .hero-cover{ height: 220px; }
}
