/* =========================================================
   PARTY SERVICE – Premium Design
   ========================================================= */

/* ===== FONTS ===== */
@font-face {
    font-family: 'Westner';
    src: url('../fonts/Westner.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== VARIABLES ===== */
:root {
    --primary: #0f2b4a;
    --primary-mid: #1a3d6b;
    --primary-light: #2c5f9e;
    --secondary: #b5362a;
    --secondary-light: #d94f42;
    --accent: #c9952b;
    --accent-light: #f0d68a;
    --accent-glow: rgba(201, 149, 43, 0.25);
    --bg-cream: #faf6ef;
    --bg-warm: #f5efe4;
    --bg-card: #ffffff;
    --text-dark: #1e1e1e;
    --text-body: #3a3a3a;
    --text-muted: #7a7a7a;
    --text-light: #f0ece4;
    --wood: #4a2c10;
    --wood-mid: #6b4423;
    --wood-light: #8b6340;
    --leather: #5c3816;
    --border-light: rgba(201, 149, 43, 0.15);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --shadow-xl: 0 30px 80px rgba(0,0,0,0.18);
    --radius: 20px;
    --radius-sm: 12px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    color: var(--text-body);
    background: var(--bg-cream);
    line-height: 1.75;
    overflow-x: hidden;
    font-size: 17px;
}
.western-font { font-family: 'Westner', 'Playfair Display', serif; letter-spacing: 1px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary); }

.container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* ===== LOADER ===== */
#loader {
    position: fixed; inset: 0;
    background: linear-gradient(160deg, var(--primary) 0%, #071525 100%);
    display: flex; align-items: center; justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-content { text-align: center; color: var(--text-light); }

.loader-rings {
    position: relative; width: 100px; height: 100px; margin: 0 auto 28px;
}
.loader-ring {
    position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid transparent;
}
.loader-ring:nth-child(1) {
    border-top-color: var(--accent); animation: loaderSpin 1.2s linear infinite;
}
.loader-ring:nth-child(2) {
    inset: 8px; border-right-color: var(--secondary-light); animation: loaderSpin 1.6s linear infinite reverse;
}
.loader-ring:nth-child(3) {
    inset: 16px; border-bottom-color: var(--accent-light); animation: loaderSpin 2s linear infinite;
}

@keyframes loaderSpin { to { transform: rotate(360deg); } }

.loader-brand-wrap {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    margin-bottom: 8px;
}
.loader-n, .loader-t {
    font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 900;
    color: var(--accent-light);
}
.loader-amp {
    font-family: 'Great Vibes', cursive; font-size: 32px; color: var(--secondary-light);
}
.loader-text {
    font-family: 'Lato', sans-serif; font-size: 12px; letter-spacing: 6px;
    text-transform: uppercase; opacity: 0.5; margin-bottom: 24px;
}
.loader-bar {
    width: 120px; height: 2px; background: rgba(255,255,255,0.1);
    border-radius: 2px; margin: 0 auto; overflow: hidden;
}
.loader-bar-fill {
    width: 0; height: 100%; background: var(--accent);
    animation: loaderFill 1.8s ease-in-out forwards;
}
@keyframes loaderFill { to { width: 100%; } }

/* ===== PARTICLES ===== */
#particles {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
.particle {
    position: absolute; border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    animation: particleFloat linear infinite;
}
@keyframes particleFloat {
    0%   { opacity: 0; transform: translateY(0) scale(0); }
    10%  { opacity: 0.3; }
    90%  { opacity: 0.1; }
    100% { opacity: 0; transform: translateY(-100vh) scale(1); }
}

/* ===== MUSIC BUTTON ===== */
.music-btn {
    position: fixed; bottom: 28px; right: 28px;
    width: 56px; height: 56px; border-radius: 50%;
    border: 2px solid var(--accent);
    background: rgba(15, 43, 74, 0.92);
    color: var(--accent-light);
    cursor: pointer; z-index: 9000;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.music-btn:hover { transform: scale(1.1); background: var(--primary); }
.music-btn.playing { border-color: var(--secondary-light); }
.music-btn.playing .music-eq { display: flex; }
.music-btn.playing .music-off { display: none; }
.music-btn.playing .music-on { display: block !important; }

.music-icon-svg { width: 22px; height: 22px; }
.music-eq {
    display: none; gap: 2px; align-items: flex-end;
    position: absolute; bottom: 6px; right: 6px;
}
.music-eq span {
    display: block; width: 3px; background: var(--secondary-light);
    border-radius: 2px; animation: eqBounce 0.6s ease-in-out infinite alternate;
}
.music-eq span:nth-child(1) { height: 6px; animation-delay: 0s; }
.music-eq span:nth-child(2) { height: 10px; animation-delay: 0.15s; }
.music-eq span:nth-child(3) { height: 4px; animation-delay: 0.3s; }
.music-eq span:nth-child(4) { height: 8px; animation-delay: 0.45s; }

@keyframes eqBounce {
    to { height: 14px; }
}

/* ===== FIXED RSVP BUTTON ===== */
.fixed-rsvp {
    position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
    padding: 14px 36px; background: var(--secondary);
    color: white !important; font-family: 'Lato', sans-serif;
    font-size: 14px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; border-radius: 50px;
    box-shadow: 0 6px 24px rgba(181, 54, 42, 0.4);
    z-index: 8500; transition: all var(--transition);
}
.fixed-rsvp:hover { background: var(--wood); transform: translateX(-50%) translateY(-3px); }

/* ===== NAVIGATION ===== */
#main-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 8000;
    background: rgba(15, 43, 74, 0.0);
    backdrop-filter: blur(0px);
    transition: all 0.5s ease;
    border-bottom: 1px solid transparent;
}
#main-nav.scrolled {
    background: rgba(15, 43, 74, 0.95);
    backdrop-filter: blur(16px);
    border-bottom-color: rgba(201, 149, 43, 0.2);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 28px;
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
}
.nav-logo {
    font-family: 'Playfair Display', serif; font-weight: 900;
    font-size: 20px; color: var(--accent-light) !important;
    letter-spacing: 1px;
}
.nav-links {
    list-style: none; display: flex; gap: 36px;
}
.nav-links a {
    color: rgba(255,255,255,0.8) !important;
    font-family: 'Lato', sans-serif; font-size: 13px;
    font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    position: relative; padding: 4px 0;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 2px; background: var(--accent);
    transition: width 0.3s ease;
}
.nav-links a:hover { color: white !important; }
.nav-links a:hover::after { width: 100%; }

.nav-hamburger {
    display: none; background: none; border: none;
    cursor: pointer; flex-direction: column; gap: 6px; padding: 8px;
}
.nav-hamburger span {
    display: block; width: 26px; height: 2px;
    background: var(--text-light); transition: 0.3s;
    border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh; position: relative;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(165deg, var(--primary) 0%, #071525 40%, #0a1e38 100%);
    padding: 100px 24px 80px;
    overflow: hidden;
}

.hero-bg-shapes { position: absolute; inset: 0; overflow: hidden; }
.hero-shape {
    position: absolute; border-radius: 50%;
    filter: blur(80px); opacity: 0.07;
}
.hero-shape-1 {
    width: 600px; height: 600px; background: var(--accent);
    top: -200px; right: -200px;
    animation: shapeFloat 20s ease-in-out infinite;
}
.hero-shape-2 {
    width: 400px; height: 400px; background: var(--secondary);
    bottom: -100px; left: -100px;
    animation: shapeFloat 25s ease-in-out infinite reverse;
}
.hero-shape-3 {
    width: 300px; height: 300px; background: var(--primary-light);
    top: 40%; left: 50%;
    animation: shapeFloat 18s ease-in-out infinite;
}
@keyframes shapeFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-grain {
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-vignette {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative; text-align: center; max-width: 760px;
    color: var(--text-light); z-index: 1;
    padding-bottom: 80px;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 16px;
    font-family: 'Lato', sans-serif; font-size: 11px;
    letter-spacing: 5px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 28px;
}
.hero-badge-line {
    display: block; width: 40px; height: 1px; background: var(--accent);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 6vw, 62px);
    font-weight: 900; line-height: 1.15;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent-light) 0%, #fff 40%, var(--accent-light) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(17px, 2.5vw, 22px);
    font-weight: 400; line-height: 1.7;
    opacity: 0.85; margin-bottom: 12px;
}
.hero-subtitle strong { color: var(--accent-light); font-weight: 600; }

.hero-ornament {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; margin: 28px 0 36px;
}
.ornament-line {
    display: block; width: 60px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.ornament-star {
    color: var(--accent); font-size: 14px;
}
.ornament-diamond { color: var(--accent); font-size: 12px; }

/* Hero text cards */
.hero-text-cards {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px; margin-bottom: 40px; text-align: left;
}
.hero-text-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-sm); padding: 20px;
    backdrop-filter: blur(8px);
    transition: all var(--transition);
}
.hero-text-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(201, 149, 43, 0.2);
    transform: translateY(-2px);
}
.htc-icon {
    width: 36px; height: 36px; margin-bottom: 10px;
    color: var(--accent);
}
.htc-icon svg { width: 100%; height: 100%; }
.hero-text-card p {
    font-family: 'Lato', sans-serif;
    font-size: 14px; line-height: 1.7;
    opacity: 0.75;
}

.hero-signature {
    margin: 0 0 28px;
}
.sig-text {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(36px, 5vw, 52px);
    color: var(--accent-light);
    display: inline;
}
.sig-heart {
    color: var(--secondary-light);
    font-size: 28px; margin-left: 8px;
    display: inline-block;
    animation: heartBeat 2s ease-in-out infinite;
}
@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.2); }
    28% { transform: scale(1); }
    42% { transform: scale(1.15); }
    56% { transform: scale(1); }
}

.hero-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white !important;
    font-family: 'Lato', sans-serif;
    font-size: 14px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    border-radius: 50px;
    border: none;
    box-shadow: 0 6px 24px rgba(181, 54, 42, 0.35);
    transition: all var(--transition);
}
.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(181, 54, 42, 0.45);
    color: white !important;
}
.hero-btn svg { transition: transform 0.3s; }
.hero-btn:hover svg { transform: translateX(4px); }

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute; bottom: 32px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    opacity: 0.5;
}
.scroll-mouse {
    width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.4);
    border-radius: 12px; position: relative;
}
.scroll-wheel {
    position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
    width: 4px; height: 8px; background: var(--accent);
    border-radius: 4px;
    animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
    0%, 100% { opacity: 1; top: 6px; }
    50% { opacity: 0.3; top: 18px; }
}
.hero-scroll-indicator span {
    font-family: 'Lato', sans-serif; font-size: 10px;
    letter-spacing: 3px; text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

/* ===== EVENTS SECTION ===== */
.events-section {
    padding: 100px 0 90px;
    position: relative;
    background: var(--bg-cream);
}
.section-bg-pattern {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(201,149,43,0.06) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.section-header {
    text-align: center; margin-bottom: 56px;
}
.section-tag {
    font-family: 'Lato', sans-serif; font-size: 12px;
    letter-spacing: 4px; text-transform: uppercase;
    color: var(--accent); display: block; margin-bottom: 12px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900; color: var(--primary);
    margin-bottom: 16px;
}
.section-ornament {
    display: flex; align-items: center; justify-content: center; gap: 12px;
}

/* Events showcase - single featured card */
.events-showcase {
    display: flex; flex-direction: column; gap: 32px;
}

.event-featured {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition);
    display: grid; grid-template-columns: 1fr 1fr;
    border: 1px solid var(--border-light);
}
.event-featured:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.ef-image-wrap {
    position: relative; overflow: hidden;
    min-height: 360px;
}
.ef-image-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s ease;
}
.event-featured:hover .ef-image-wrap img {
    transform: scale(1.05);
}
.ef-image-badge {
    position: absolute; top: 20px; left: 20px;
    background: var(--secondary);
    color: white; font-family: 'Lato', sans-serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    padding: 6px 16px; border-radius: 50px;
}

.ef-body {
    padding: 48px 40px;
    display: flex; flex-direction: column; justify-content: center;
}
.ef-date {
    font-family: 'Lato', sans-serif;
    font-size: 13px; font-weight: 700;
    color: var(--secondary); letter-spacing: 1px;
    text-transform: uppercase; margin-bottom: 12px;
}
.ef-title {
    font-size: clamp(26px, 3vw, 36px);
    color: var(--wood); line-height: 1.2;
    margin-bottom: 16px;
}
.ef-location {
    display: flex; align-items: center; gap: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 14px; color: var(--text-muted);
    margin-bottom: 8px;
}
.ef-location svg { width: 16px; height: 16px; flex-shrink: 0; }
.ef-desc {
    font-size: 16px; color: var(--text-body);
    margin-bottom: 28px; line-height: 1.8;
}
.ef-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px;
    background: var(--primary);
    color: white !important;
    font-family: 'Lato', sans-serif;
    font-size: 13px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    border-radius: 50px;
    transition: all var(--transition);
    align-self: flex-start;
}
.ef-btn:hover { background: var(--secondary); transform: translateX(4px); color: white !important; }
.ef-btn svg { width: 16px; height: 16px; }

/* ===== EVENT DETAIL ===== */
.event-detail-section { background: var(--bg-cream); }

/* Hero card - contained */
.event-hero-card-wrap {
    padding-top: 88px; /* nav height + spacing */
    padding-bottom: 0;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary) 50%, var(--bg-cream) 50%);
}
.back-btn-top {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 13px; font-weight: 700;
    color: rgba(255,255,255,0.6) !important;
    letter-spacing: 0.5px; margin-bottom: 20px;
    transition: all 0.3s;
}
.back-btn-top:hover { color: var(--accent-light) !important; transform: translateX(-4px); }

.event-hero-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
}
.ehc-image {
    position: relative; overflow: hidden;
    max-height: 480px;
}
.ehc-image img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
}
.ehc-info {
    background: linear-gradient(160deg, var(--primary) 0%, var(--primary-mid) 100%);
    padding: 40px 44px 44px;
    text-align: center;
    position: relative;
}
.ehc-info::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--secondary), var(--accent));
}
.ehc-details {
    display: flex; align-items: center; justify-content: center;
    gap: 24px; flex-wrap: wrap; margin-bottom: 24px;
}

.event-hero-tag {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: 4px; text-transform: uppercase;
    color: var(--accent-light);
    background: rgba(201, 149, 43, 0.15);
    padding: 6px 20px; border-radius: 50px;
    border: 1px solid rgba(201, 149, 43, 0.3);
    margin-bottom: 20px;
}
.event-hero-title {
    font-size: clamp(36px, 6vw, 60px);
    color: white; line-height: 1.15;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    margin-bottom: 24px;
}

.event-hero-meta {
    display: flex; align-items: center; justify-content: center;
    gap: 20px; flex-wrap: wrap; margin-bottom: 28px;
}
.ehm-item {
    display: flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.85);
    font-family: 'Lato', sans-serif; font-size: 14px;
}
.ehm-item svg { width: 18px; height: 18px; color: var(--accent-light); }
.ehm-divider {
    width: 4px; height: 4px; border-radius: 50%;
    background: rgba(255,255,255,0.3);
}

.event-hero-cta {
    display: inline-block;
    padding: 14px 36px;
    background: var(--secondary);
    color: white !important;
    font-family: 'Lato', sans-serif;
    font-size: 13px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 0 6px 24px rgba(181, 54, 42, 0.4);
    transition: all var(--transition);
}
.event-hero-cta:hover { background: var(--wood); transform: translateY(-3px); color: white !important; }

/* Event detail content */
.event-detail-content { padding: 48px 0 80px; }

.back-btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 13px; font-weight: 700;
    color: var(--primary-light) !important;
    letter-spacing: 0.5px; margin-bottom: 40px;
    transition: all 0.3s;
}
.back-btn:hover { color: var(--secondary) !important; transform: translateX(-4px); }

/* Invite block */
.invite-block {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 60px 48px;
    text-align: center;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
    border: 1px solid var(--border-light);
    overflow: hidden;
}
.invite-block::before {
    content: ''; position: absolute; inset: 8px;
    border: 1px solid var(--border-light);
    border-radius: calc(var(--radius) - 4px);
    pointer-events: none;
}

.invite-corner {
    position: absolute; width: 24px; height: 24px;
}
.invite-corner::before, .invite-corner::after {
    content: ''; position: absolute; background: var(--accent);
}
.invite-corner::before { width: 24px; height: 2px; }
.invite-corner::after { width: 2px; height: 24px; }
.invite-corner-tl { top: 16px; left: 16px; }
.invite-corner-tr { top: 16px; right: 16px; }
.invite-corner-tr::before { right: 0; }
.invite-corner-tr::after { right: 0; }
.invite-corner-bl { bottom: 16px; left: 16px; }
.invite-corner-bl::before { bottom: 0; }
.invite-corner-bl::after { bottom: 0; }
.invite-corner-br { bottom: 16px; right: 16px; }
.invite-corner-br::before { right: 0; bottom: 0; }
.invite-corner-br::after { right: 0; bottom: 0; }

.invite-inner { position: relative; z-index: 1; }
.invite-label {
    font-family: 'Lato', sans-serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: 4px; text-transform: uppercase;
    color: var(--accent); display: block; margin-bottom: 20px;
}
.invite-greeting {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--wood); line-height: 1.3;
    margin-bottom: 16px;
}
.invite-text {
    font-size: 19px; color: var(--text-body);
    margin-bottom: 32px;
}

/* Venue */
.venue-block {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-mid) 100%);
    border-radius: var(--radius-sm); padding: 36px;
    color: white;
}
.venue-icon-wrap {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(201, 149, 43, 0.15);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; color: var(--accent-light);
}
.venue-name {
    font-size: clamp(28px, 3.5vw, 38px);
    color: var(--accent-light); margin-bottom: 10px;
}
.venue-datetime {
    font-family: 'Lato', sans-serif;
    font-size: 16px; font-weight: 700; margin-bottom: 6px;
}
.venue-address {
    font-size: 15px; opacity: 0.8; margin-bottom: 20px;
}
.venue-map-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 24px;
    background: rgba(255,255,255,0.12);
    color: var(--accent-light) !important;
    font-family: 'Lato', sans-serif;
    font-size: 13px; font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s;
}
.venue-map-btn:hover { background: rgba(255,255,255,0.2); color: white !important; }

/* Countdown */
.countdown-section { margin-bottom: 40px; }
.countdown-wrap {
    background: linear-gradient(145deg, var(--wood) 0%, var(--leather) 100%);
    border-radius: var(--radius); padding: 48px 40px;
    text-align: center; color: white;
    position: relative; overflow: hidden;
}
.countdown-wrap::before {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.countdown-title {
    font-size: 28px; color: var(--accent-light);
    margin-bottom: 28px; position: relative;
}
.countdown {
    display: flex; align-items: flex-start;
    justify-content: center; gap: 12px;
    position: relative; flex-wrap: wrap;
}
.cd-item { text-align: center; }
.cd-flip {
    background: rgba(0,0,0,0.25);
    border-radius: var(--radius-sm);
    padding: 16px 20px; min-width: 80px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.cd-number {
    font-size: clamp(36px, 5vw, 52px);
    color: var(--accent-light); line-height: 1;
    display: block;
}
.cd-label {
    display: block; margin-top: 10px;
    font-family: 'Lato', sans-serif;
    font-size: 11px; letter-spacing: 3px;
    text-transform: uppercase; opacity: 0.5;
}
.cd-sep {
    font-size: 36px; color: var(--accent);
    margin-top: 16px; opacity: 0.4;
}

/* Block header pattern */
.block-header {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 28px; padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}
.block-icon { color: var(--accent); flex-shrink: 0; }
.block-title {
    font-size: clamp(24px, 3vw, 32px); color: var(--wood);
}

/* Programs / Timeline */
.programs-block {
    background: var(--bg-card); border-radius: var(--radius);
    padding: 48px; box-shadow: var(--shadow-md);
    margin-bottom: 40px;
    border: 1px solid var(--border-light);
}

.timeline { position: relative; padding-left: 0; }

.tl-item {
    display: grid; grid-template-columns: 110px 40px 1fr;
    gap: 0; align-items: stretch;
    min-height: 80px;
}
.tl-time {
    font-size: 18px; color: var(--secondary);
    text-align: right; padding: 16px 16px 16px 0;
    line-height: 1.4;
}
.tl-dot {
    display: flex; flex-direction: column; align-items: center;
    position: relative;
}
.tl-dot span {
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--accent); border: 3px solid var(--bg-card);
    box-shadow: 0 0 0 2px var(--accent);
    margin-top: 18px; flex-shrink: 0; position: relative; z-index: 1;
}
.tl-dot::after {
    content: ''; position: absolute; top: 32px; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--border-light));
}
.tl-item:last-child .tl-dot::after { display: none; }

.tl-content {
    padding: 12px 0 24px 16px;
}
.tl-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 18px; font-weight: 700;
    color: var(--text-dark); margin-bottom: 4px;
}
.tl-content p {
    font-size: 15px; color: var(--text-muted); line-height: 1.6;
}

/* Two-column block */
.two-col-block {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 24px; margin-bottom: 40px;
}

.mood-block, .outfit-block {
    background: var(--bg-card); border-radius: var(--radius);
    padding: 36px; box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}
.mood-block p {
    font-size: 15px; line-height: 1.8; margin-bottom: 14px;
    color: var(--text-body);
}
.mood-block p:last-child { margin-bottom: 0; }

.outfit-links-grid {
    display: flex; flex-direction: column; gap: 10px;
}
.outfit-card-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-warm);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    color: var(--text-dark) !important;
}
.outfit-card-link:hover {
    background: var(--primary);
    color: white !important;
    transform: translateX(4px);
    border-color: var(--primary);
}
.ocl-name {
    font-family: 'Lato', sans-serif;
    font-size: 15px; font-weight: 700;
}
.ocl-arrow {
    font-size: 18px; transition: transform 0.3s;
}
.outfit-card-link:hover .ocl-arrow { transform: translateX(4px); }

/* Potluck */
.potluck-block {
    background: var(--bg-card); border-radius: var(--radius);
    padding: 48px; box-shadow: var(--shadow-md);
    margin-bottom: 40px;
    border: 1px solid var(--border-light);
}
.potluck-content p {
    font-size: 16px; line-height: 1.8; margin-bottom: 16px;
    color: var(--text-body);
}
.potluck-highlight {
    display: flex; gap: 12px;
    background: linear-gradient(135deg, rgba(201,149,43,0.08), rgba(201,149,43,0.03));
    border: 1px solid rgba(201,149,43,0.15);
    border-radius: var(--radius-sm);
    padding: 20px; margin-top: 20px;
}
.potluck-highlight svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.potluck-highlight p { margin: 0; font-size: 15px; font-style: italic; }

/* Poster */
.poster-block {
    text-align: center; margin-bottom: 40px;
}
.poster-hype {
    font-family: 'Playfair Display', serif;
    font-size: clamp(18px, 2.5vw, 24px);
    font-style: italic; color: var(--primary);
    margin-bottom: 28px; line-height: 1.6;
}
.poster-frame {
    display: inline-block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid white;
    max-width: 480px;
}
.poster-img { display: block; }

/* Gallery row */
.gallery-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 20px; margin-bottom: 48px;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.gallery-item img {
    width: 100%; height: 260px; object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ===== RSVP ===== */
.rsvp-block {
    background: var(--bg-card); border-radius: var(--radius);
    padding: 56px 48px; box-shadow: var(--shadow-lg);
    margin-bottom: 48px;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}
.rsvp-block::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--secondary), var(--accent));
}

.rsvp-header {
    text-align: center; margin-bottom: 36px;
}
.rsvp-icon {
    display: inline-flex; width: 60px; height: 60px;
    align-items: center; justify-content: center;
    background: rgba(201,149,43,0.1);
    border-radius: 50%; color: var(--accent);
    margin-bottom: 16px;
}
.rsvp-header h3 {
    font-size: 36px; color: var(--wood); margin-bottom: 12px;
}
.rsvp-deadline { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

.form-group { margin-bottom: 24px; }
.form-group label {
    display: block; font-family: 'Lato', sans-serif;
    font-size: 13px; font-weight: 700;
    color: var(--primary); margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.required { color: var(--secondary); }
.optional { font-weight: 400; color: var(--text-muted); }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea,
.form-group select {
    width: 100%; padding: 14px 18px;
    border: 2px solid #e5ddd0;
    border-radius: var(--radius-sm);
    font-size: 16px; font-family: 'Cormorant Garamond', serif;
    background: var(--bg-cream);
    transition: all 0.3s;
    color: var(--text-dark);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.radio-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-card {
    cursor: pointer; position: relative;
}
.radio-card input { position: absolute; opacity: 0; }
.radio-card-inner {
    display: flex; flex-direction: column; align-items: center;
    gap: 8px; padding: 24px 16px;
    background: var(--bg-cream);
    border: 2px solid #e5ddd0;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-align: center;
}
.rc-emoji { font-size: 32px; }
.rc-text {
    font-family: 'Lato', sans-serif;
    font-size: 14px; font-weight: 700; color: var(--text-body);
}
.radio-card input:checked + .radio-card-inner {
    border-color: var(--accent);
    background: rgba(201,149,43,0.06);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.stepper {
    display: flex; align-items: center; gap: 12px; max-width: 180px;
}
.stepper-btn {
    width: 42px; height: 42px; border-radius: 50%;
    border: 2px solid var(--primary); background: white;
    color: var(--primary); font-size: 20px; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
    font-family: 'Lato', sans-serif;
}
.stepper-btn:hover { background: var(--primary); color: white; }
.stepper input[type="number"] {
    width: 56px; text-align: center;
    border: 2px solid #e5ddd0; border-radius: var(--radius-sm);
    padding: 10px; font-size: 18px; font-weight: 700;
    -moz-appearance: textfield; font-family: 'Lato', sans-serif;
    background: var(--bg-cream);
}
.stepper input::-webkit-inner-spin-button,
.stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }

.child-age-group { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; }
.child-age-item { display: flex; flex-direction: column; gap: 4px; }
.child-age-item label { font-size: 12px; font-weight: 400 !important; }
.child-age-item select {
    width: 80px; padding: 8px; border: 2px solid #e5ddd0;
    border-radius: 8px; font-size: 14px; background: var(--bg-cream);
}

.rsvp-submit-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 18px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white; border: none;
    border-radius: var(--radius-sm);
    font-family: 'Lato', sans-serif;
    font-size: 15px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    cursor: pointer; transition: all var(--transition);
    margin-top: 8px;
    box-shadow: 0 4px 16px rgba(181, 54, 42, 0.3);
}
.rsvp-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(181, 54, 42, 0.4);
}

.rsvp-message {
    text-align: center; margin-top: 20px; padding: 16px;
    border-radius: var(--radius-sm); font-weight: 700;
    font-family: 'Lato', sans-serif; font-size: 15px;
    display: none;
}
.rsvp-message.success {
    display: block; background: #d4edda; color: #155724;
    border: 1px solid #c3e6cb;
}
.rsvp-message.error {
    display: block; background: #f8d7da; color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Event closing */
.event-closing {
    text-align: center; padding: 40px 0;
}
.closing-ornament { margin-bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.closing-sig { font-size: clamp(36px, 5vw, 52px); color: var(--wood); }
.closing-heart {
    display: block; color: var(--secondary); font-size: 28px;
    margin-top: 8px;
    animation: heartBeat 2s ease-in-out infinite;
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--primary);
    color: var(--text-light);
    padding: 40px 24px;
}
.footer-inner {
    max-width: 1000px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px; font-weight: 900;
    color: var(--accent-light);
}
.footer-label {
    font-family: 'Lato', sans-serif;
    font-size: 11px; letter-spacing: 3px;
    text-transform: uppercase; opacity: 0.5;
}
.footer-copy {
    font-family: 'Lato', sans-serif;
    font-size: 13px; opacity: 0.5;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0; transform: translateY(32px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-delay-1 { transition-delay: 0.15s; }
.fade-delay-2 { transition-delay: 0.3s; }
.fade-delay-3 { transition-delay: 0.45s; }
.fade-delay-4 { transition-delay: 0.6s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .event-featured { grid-template-columns: 1fr; }
    .ef-image-wrap { min-height: 260px; }
    .two-col-block { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    body { font-size: 16px; }

    .hero-text-cards { grid-template-columns: 1fr; }

    .nav-links {
        display: none; position: absolute;
        top: 68px; left: 0; right: 0;
        background: rgba(15, 43, 74, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column; padding: 20px 28px; gap: 0;
        border-bottom: 1px solid rgba(201,149,43,0.2);
    }
    .nav-links.open { display: flex; }
    .nav-links li a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .nav-hamburger { display: flex; }

    .ehc-image { max-height: 360px; }
    .ehc-info { padding: 32px 24px 36px; }
    .ehc-details { flex-direction: column; gap: 10px; }
    .ehm-divider { display: none; }

    .invite-block { padding: 40px 24px; }
    .programs-block { padding: 32px 24px; }
    .potluck-block { padding: 32px 24px; }
    .rsvp-block { padding: 36px 24px; }
    .ef-body { padding: 32px 24px; }

    .tl-item { grid-template-columns: 80px 30px 1fr; }
    .tl-time { font-size: 15px; }

    .gallery-row { grid-template-columns: 1fr; }
    .gallery-item img { height: 220px; }

    .radio-group { grid-template-columns: 1fr; }

    .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero-section { padding: 80px 16px 60px; }
    .hero-text-card { padding: 16px; }
    .countdown { gap: 8px; }
    .cd-flip { min-width: 60px; padding: 12px 14px; }
    .cd-sep { font-size: 28px; margin-top: 12px; }
    .venue-block { padding: 24px; }
}
