/* Hochzeit Sarah & Thomas — styles.css */
:root{
  --bg: #F6F2EC;         /* creme */
  --text: #7F6E75;       /* dunkel-mauve/grey */
  --accent: #BDA8AE;     /* mauve */
  --muted: #E9E4DF;
  --max-width: 980px;
}

/* Reset + base */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
}
a{color:var(--accent); text-decoration:none}
.container{
  max-width:var(--max-width);
  margin:0 auto;
  padding:24px 24px;
}

/* Hero */
.hero{
  text-align:center;
  padding:24px 0 40px;
}
.save{
  font-family: "Josefin Sans", sans-serif;
  font-weight:300;
  letter-spacing:0.16em;
  color:var(--accent);
  font-size:clamp(22px,4vw,48px);
  margin:0 0 8px;
}

/* Dreamy image style */
.hero-image-wrapper {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 48px;
  margin-bottom: 64px;
}
.dreamy-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
  box-shadow: 0 8px 32px 0 rgba(189,168,174,0.18);
  filter:
    brightness(1.08)
    contrast(0.85)
    saturate(0.7)
    sepia(0.18)
    drop-shadow(0 2px 16px rgba(189,168,174,0.12));
  opacity: 0.93;
  transition: filter 0.3s;
}
.dreamy-image:hover {
  filter:
    blur(0.5px)
    brightness(1.12)
    contrast(0.95)
    saturate(0.8)
    sepia(0.12)
    drop-shadow(0 4px 24px rgba(189,168,174,0.18));
  opacity: 1;
}
.hero-subscript{
  font-family: "Great Vibes", cursive;
  font-size:20px;
  color:var(--text);
  margin-bottom:6px;
  display:block;
}
.date{
  font-family: "Josefin Sans", sans-serif;
  font-weight:300;
  font-size:18px;
  color:var(--text);
  margin-bottom:22px;
}
.names{
  font-family: "Josefin Sans", sans-serif;
  font-size:clamp(38px,7vw,84px);
  font-weight:300;
  letter-spacing:0.06em;
  color:var(--text);
  margin:10px 0 6px;
}
.lead{
  max-width:700px;
  margin:18px auto 0;
  color:var(--text);
  opacity:0.95;
  font-size:16px;
}

/* Section styling */
section{
  padding:36px 0;
  border-top:1px solid var(--muted);
}
h2{
  font-family: "Josefin Sans", sans-serif;
  font-weight:300;
  letter-spacing:0.12em;
  font-size:18px;
  margin:0 0 18px;
  color:var(--accent);
}
.card{
  background:transparent;
  padding:18px;
  border-radius:8px;
  box-shadow:none;
}

/* Grid for details */
.grid{
  display:grid;
  gap:18px;
  grid-template-columns:repeat(2,1fr);
}
@media (max-width:760px){
  .grid{grid-template-columns:1fr}
  .names{font-size:46px}
}

/* RSVP form */
.rsvp-form{
  max-width:640px;
  margin:0 auto;
}
.field{
  display:flex;
  gap:12px;
  margin-bottom:12px;
}
.field input[type="text"], .field input[type="email"], .field textarea, select {
  flex:1;
  padding:10px 12px;
  border:1px solid var(--muted);
  border-radius:6px;
  background:transparent;
  color:var(--text);
  font-size:15px;
  outline:none;
}
.field textarea{min-height:120px; resize:vertical}
.btn{
  display:inline-block;
  background:var(--accent);
  color: white;
  border-radius:8px;
  padding:10px 16px;
  font-weight:600;
  border:0;
  cursor:pointer;
  transition:opacity .18s ease;
}
.btn:active{opacity:0.85}

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
}
.gallery img{width:100%; height:160px; object-fit:cover; border-radius:6px}
@media (max-width:760px){ .gallery{grid-template-columns:repeat(2,1fr)} .gallery img{height:120px} }

footer{
  padding:24px 0 60px;
  text-align:center;
  color:var(--text);
  opacity:0.9;
}

/* small helpers */
.muted{color:var(--text); opacity:0.8; font-size:15px}
.center{text-align:center}
