/*
Theme Name: Ezizylva Bröllop
Theme URI: https://ezizylva.se
Author: Eziz & Ylva
Description: Bröllopstema för Eziz & Ylva, 5 september 2026
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');
/*@import url('https://fonts.googleapis.com/css2?family=Pinyon+Script&display=swap');*/

:root {
  --bg:      #f5f0e8;
  --card:    #faf7f2;
  --text:    #2a2118;
  --muted:   #7a6a55;
  --line:    #ddd4c0;
  --accent:  #4a6b52;
  --gold:    #b8975a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-weight: 300;
}

a { color: inherit; text-decoration: none; }

/* ===== HERO IMAGE ===== */
.hero-wrap {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}

.hero-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
}

.hero-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

/* ===== NAV ===== */
.nav-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 56px;
}

.nav-links {
  display: flex;
  gap: 2px;
}

.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--accent); background: rgba(74,107,82,0.07); }

.nav-date {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
}

/* ===== PAGE WRAPPER ===== */
.page {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 48px 80px;
}

/* ===== SECTION ===== */
.section {
  padding: 68px 0 52px;
  border-bottom: 1px solid var(--line);
}

.section:last-of-type { border-bottom: none; }

.section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 28px;
  line-height: 1.1;
}

.section-title em { font-style: italic; color: var(--accent); }

/* ===== WELCOME ===== */
.welcome {
  text-align: center;
  padding: 76px 0 60px;
  border-bottom: 1px solid var(--line);
}

.welcome h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 10px;
}

.welcome h1 em { font-style: italic; color: var(--accent); }

.welcome .date-line {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
}

.welcome p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 65ch;
  margin: 0 auto 36px;
}

.heart { color: var(--accent); font-size: 16px; opacity: 0.55; margin: 24px 0; }

/* ===== COUNTDOWN ===== */
.countdown-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.countdown-box {
  display: inline-grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 28px;
  background: rgba(255,255,255,0.55);
}

@media (max-width: 480px) { .countdown-box { grid-template-columns: repeat(2,1fr); } }

.cd-item { text-align: center; min-width: 68px; }

.cd-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
}

.cd-label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ===== BUTTONS ===== */
.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--muted);
  background: transparent;
  transition: all 0.2s;
}

.btn:hover { border-color: var(--accent); color: var(--accent); }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-primary:hover { background: #3a5641; border-color: #3a5641; color: #fff; }

/* ===== INFO GRID ===== */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.info-block {
  padding: 28px 28px 28px 0;
  border-bottom: 1px solid var(--line);
}

.info-block:nth-child(even) {
  padding-left: 36px;
  padding-right: 0;
  border-left: 1px solid var(--line);
}

.info-block:last-child,
.info-block:nth-last-child(2):nth-child(odd) { border-bottom: none; }

@media (max-width: 580px) {
  .info-grid { grid-template-columns: 1fr; }
  .info-block:nth-child(even) { padding-left: 0; border-left: none; }
  .info-block:last-child { border-bottom: none; }
  .info-block:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

.info-block h3 {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.info-block p, .info-block li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.info-block ul { list-style: none; padding: 0; }
.info-block li::before { content: '–  '; color: var(--line); }

.info-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  letter-spacing: 0.03em;
}

/* ===== FAQ ===== */
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq-list details:first-child { border-top: 1px solid var(--line); }

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: var(--text);
  user-select: none;
}

.faq-list summary::after {
  content: '+';
  font-size: 24px;
  color: var(--gold);
  font-weight: 300;
  transition: transform 0.25s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }

.faq-list details p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* ===== OSA ===== */
.osa-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 28px;
}

.sep {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}

/* ===== CONTACT ===== */
.contact-list { list-style: none; padding: 0; }

.contact-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-list li:first-child { border-top: 1px solid var(--line); }

.contact-list strong {
  display: block;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 2px;
}

/* ===== FUN FACTS ===== */
.facts-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 580px) { .facts-cols { grid-template-columns: 1fr; } }

.facts-cols h3 {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.facts-cols ul { list-style: none; padding: 0; }

.facts-cols li {
  font-size: 15px;
  color: var(--muted);
  padding: 10px 0;
  border-bottom: 1px solid rgba(221,212,192,0.5);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 52px 0 28px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

.footer p { font-size: 13px; color: var(--muted); }

/* ===== KLÄDKOD-SPECIFIK ===== */
.kladkod-hero {
  text-align: center;
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--line);
}

.gender-section {
  padding: 64px 0 52px;
  border-bottom: 1px solid var(--line);
}

.gender-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.gender-icon { font-size: 32px; }

.gender-description {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 65ch;
  margin-bottom: 36px;
}

.carousel-wrap { position: relative; margin-bottom: 12px; }

.carousel {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-slide { min-width: 100%; position: relative; }

.carousel-slide img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

.carousel-placeholder {
  width: 100%;
  height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #ede6d6 0%, #ddd4c0 100%);
  color: var(--muted);
  font-size: 14px;
  opacity: 0.7;
}

.carousel-placeholder span { font-size: 40px; opacity: 0.5; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(245, 240, 232, 0.88);
  border: 1px solid var(--line);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(4px);
}

.carousel-btn:hover { background: #fff; border-color: var(--accent); color: var(--accent); }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
  padding: 0;
}

.carousel-dot.active { background: var(--accent); transform: scale(1.2); }

.carousel-caption {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin-top: 10px;
  min-height: 20px;
}

.outfit-tips { margin-top: 32px; }

.outfit-tips h3 {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.tips-list { list-style: none; padding: 0; }

.tips-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  display: flex;
  gap: 12px;
}

.tips-list li:first-child { border-top: 1px solid var(--line); }
.tips-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

.palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.color-swatch {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  text-align: center;
}

.swatch-color { height: 80px; width: 100%; }

.swatch-label {
  padding: 10px 8px;
  font-size: 12px;
  color: var(--muted);
  background: var(--card);
  line-height: 1.5;
}

.swatch-name {
  display: block;
  font-weight: 500;
  color: var(--text);
  font-size: 13px;
  margin-bottom: 2px;
}

.avoid-swatch .swatch-color { position: relative; }

.avoid-x {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: rgba(255,255,255,0.75);
}
@media (max-width: 768px) {

  /* NAV */
  .nav-inner {
    padding: 0 16px;
    height: auto;
    flex-wrap: wrap;
    gap: 4px;
    padding: 10px 16px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 2px;
  }

  .nav-links a {
    font-size: 10px;
    padding: 6px 8px;
  }

  .nav-date {
    display: none;
  }

  /* HERO BILD */
  .hero-wrap {
    height: 60vh !important;
  }

  .hero-wrap img {
    object-fit: cover;
    height: 100%;
  }

  /* SIDMARGINALER */
  .page {
    padding: 0 20px 60px;
  }

  /* VÄLKOMSTSEKTION */
  .welcome {
    padding: 40px 0 36px;
  }

  .welcome h1 {
    font-size: clamp(36px, 10vw, 56px);
  }

  .welcome p {
    font-size: 15px;
  }

  /* INFO GRID - en kolumn istället för två */
  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-block:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }

  .info-block {
    border-bottom: 1px solid var(--line) !important;
  }

  /* FACTS */
  .facts-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* COUNTDOWN */
  .countdown-box {
    grid-template-columns: repeat(2, 1fr);
    padding: 16px;
    gap: 10px;
  }

  .cd-num {
    font-size: 28px;
  }

  /* KNAPPAR */
  .cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }

  /* SEKTION RUBRIK */
  .section-title {
    font-size: clamp(26px, 6vw, 36px);
  }

  /* KLÄDKOD CAROUSEL */
  .carousel-slide img {
    height: 300px;
  }

  .carousel-placeholder {
    height: 300px;
  }

  /* KONTAKT & FAQ */
  .contact-list li {
    padding: 14px 0;
    font-size: 14px;
  }

  /* FOOTER */
  .footer {
    padding: 36px 0 20px;
  }
}
/* ===== HAMBURGER MENY ===== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
 
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
 
/* Hamburger animering när menyn är öppen */
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
 
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
 
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
 
/* ===== DROPDOWN MENY ===== */
.nav-dropdown {
  display: none;
  flex-direction: column;
  background: var(--card);
  border-top: 1px solid var(--line);
}
 
.nav-dropdown a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 32px;
  border-bottom: 1px solid var(--line);
  display: block;
  transition: color 0.2s, background 0.2s;
}
 
.nav-dropdown a:hover {
  color: var(--accent);
  background: rgba(74,107,82,0.05);
}
 
.nav-dropdown.active {
  display: flex;
}
 
/* ===== VISA/DÖLJ PÅ MOBIL/TABLET ===== */
@media (max-width: 900px) {
  .nav-desktop {
    display: none !important;
  }
 
  .nav-date-desktop {
    display: none !important;
  }
 
  .nav-hamburger {
    display: flex;
  }
  
  .nav-always-visible {
  display: flex !important;
  gap: 8px;
  align-items: center;
}
}
