/**
 * UNDANGAN PERNIKAHAN DIGITAL - BOARDING PASS THEME
 * Stylesheet lengkap dengan semua animasi dan efek
 */

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #c86b3c;
    --secondary: #0f1a2b;
    --accent: #d4a574;
    --light: #f8f5f0;
    --dark: #1a1a1a;
    --shadow: rgba(0, 0, 0, 0.15);
    --shadow-heavy: rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: 'Space Mono', monospace;
    background: var(--light);
    color: var(--secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

body.locked {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ============================================
   COVER / OPENING SECTION
   ============================================ */
.cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: transform 0.8s cubic-bezier(0.86, 0, 0.07, 1);
}

.cover.hidden {
    transform: translateY(-100%);
    pointer-events: none;
}

.clouds {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

/* Realistic Fluffy Cloud Design */
.cloud {
    position: absolute;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 70%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50%;
    filter: blur(3px);
    animation: float 25s infinite ease-in-out;
    box-shadow: 
        0 8px 32px rgba(255, 255, 255, 0.4),
        inset 0 -10px 20px rgba(200, 200, 255, 0.1);
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 60%, rgba(255, 255, 255, 0.3) 100%);
    border-radius: 50%;
    filter: blur(2px);
}

/* Cloud 1 - Small fluffy cloud */
.cloud.c1 {
    width: 140px;
    height: 80px;
    top: 15%;
    left: -20%;
    animation-delay: 0s;
    animation-duration: 30s;
}

.cloud.c1::before {
    width: 100px;
    height: 100px;
    top: -40px;
    left: 20px;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.5);
}

.cloud.c1::after {
    width: 90px;
    height: 75px;
    top: -25px;
    right: 10px;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.5);
}

/* Cloud 2 - Medium fluffy cloud */
.cloud.c2 {
    width: 180px;
    height: 90px;
    top: 45%;
    left: -25%;
    animation-delay: 10s;
    animation-duration: 35s;
}

.cloud.c2::before {
    width: 120px;
    height: 120px;
    top: -50px;
    left: 30px;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.5);
}

.cloud.c2::after {
    width: 110px;
    height: 95px;
    top: -35px;
    right: 15px;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.5);
}

/* Cloud 3 - Large fluffy cloud */
.cloud.c3 {
    width: 200px;
    height: 100px;
    top: 70%;
    left: -30%;
    animation-delay: 20s;
    animation-duration: 40s;
}

.cloud.c3::before {
    width: 130px;
    height: 130px;
    top: -55px;
    left: 35px;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.5);
}

.cloud.c3::after {
    width: 120px;
    height: 105px;
    top: -40px;
    right: 20px;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.5);
}

/* Smooth floating animation */
@keyframes float {
    0% {
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0;
    }
    5% {
        opacity: 0.85;
    }
    50% {
        transform: translateX(60vw) translateY(-40px) scale(1.15);
        opacity: 0.95;
    }
    95% {
        opacity: 0.85;
    }
    100% {
        transform: translateX(130vw) translateY(-20px) scale(1.05);
        opacity: 0;
    }
}

.cover-inner {
    text-align: center;
    z-index: 1;
    padding: 20px;
}

.boarding-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    max-width: 450px;
    margin: 0 auto;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.boarding-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.boarding-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.bc-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
}

.flight {
    color: var(--secondary);
}

.bc-hero {
    margin-bottom: 25px;
}

.route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 15px;
}

.city {
    text-align: center;
}

.code {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 2px;
}

.city small {
    display: block;
    font-size: 10px;
    color: #666;
    margin-top: 5px;
}

.dash {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.dash .line {
    flex: 1;
    height: 2px;
    background: var(--primary);
}

.dash i {
    font-size: 18px;
}

.couple-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
}

.amp {
    font-style: italic;
    color: var(--primary);
    margin: 0 5px;
}

.tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
}

.bc-foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 2px dashed #ddd;
}

.bc-foot > div {
    text-align: left;
}

.bc-foot small {
    display: block;
    font-size: 9px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.bc-foot b {
    display: block;
    font-size: 14px;
    color: var(--secondary);
}

.bc-strip {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 10px;
    margin-bottom: 20px;
}

.barcode {
    flex: 1;
    height: 50px;
    background: repeating-linear-gradient(
        90deg,
        var(--secondary) 0px,
        var(--secondary) 2px,
        transparent 2px,
        transparent 5px
    );
    border-radius: 5px;
}

.datebox {
    text-align: right;
}

.datebox small {
    display: block;
    font-size: 9px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.datebox b {
    display: block;
    font-size: 13px;
    color: var(--secondary);
}

.checkin-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, #e07a4a 100%);
    color: white;
    font-weight: 700;
    font-size: 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px rgba(200, 107, 60, 0.4);
    position: relative;
    overflow: hidden;
}

.checkin-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.checkin-btn:hover::before {
    width: 300px;
    height: 300px;
}

.checkin-btn:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a2d45 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(15, 26, 43, 0.5);
}

.checkin-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.cover-hint {
    margin-top: 20px;
    color: white;
    font-size: 14px;
    opacity: 0.9;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   MUSIC TOGGLE
   ============================================ */
.music-toggle {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary) 0%, #e07a4a 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(200, 107, 60, 0.4);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.music-toggle:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(200, 107, 60, 0.6);
}

.music-toggle.playing {
    animation: musicPulse 1.5s infinite ease-in-out;
}

.music-toggle.playing i {
    animation: musicNote 1s infinite ease-in-out;
}

@keyframes musicPulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(200, 107, 60, 0.4);
    }
    50% {
        box-shadow: 0 8px 35px rgba(200, 107, 60, 0.7), 0 0 20px rgba(200, 107, 60, 0.4);
    }
}

@keyframes musicNote {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2) rotate(-5deg);
    }
    75% {
        transform: scale(1.2) rotate(5deg);
    }
}

/* ============================================
   BOTTOM NAVIGATION
   ============================================ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px var(--shadow);
    z-index: 998;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.bottom-nav.visible {
    transform: translateY(0);
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    color: #666;
    transition: color 0.3s ease;
    padding: 5px 10px;
}

.bottom-nav a i {
    font-size: 18px;
}

.bottom-nav a:hover,
.bottom-nav a.active {
    color: var(--primary);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.invite-main {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.invite-main.visible {
    opacity: 1;
}

.sect {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.sec-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: var(--secondary);
    margin-bottom: 10px;
}

.sec-sub {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 50px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-sect {
    text-align: center;
    background: linear-gradient(180deg, #f8f5f0 0%, #fff 100%);
}

.stamp-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 20px;
    margin-bottom: 20px;
    transform: rotate(-2deg);
}

.eyebrow {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #666;
    margin-bottom: 15px;
}

.big-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
    line-height: 1.2;
}

.amp-big {
    font-style: italic;
    color: var(--primary);
    margin: 0 10px;
}

.big-date {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.polaroid {
    max-width: 350px;
    margin: 0 auto 40px;
    background: white;
    padding: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transform: rotate(-2deg);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.polaroid:hover {
    transform: rotate(0deg) scale(1.08) translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.polaroid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 2px;
    transition: filter 0.3s ease;
}

.polaroid:hover img {
    filter: brightness(1.05) contrast(1.05);
}

.p-caption {
    font-family: 'Caveat', cursive;
    font-size: 20px;
    color: var(--secondary);
    display: block;
    text-align: center;
}

.route-anim {
    max-width: 600px;
    margin: 40px auto;
    height: 120px;
}

.route-anim svg {
    width: 100%;
    height: 100%;
}

#planeMove {
    animation: movePlane 8s infinite ease-in-out;
}

@keyframes movePlane {
    0% {
        offset-distance: 0%;
    }
    50% {
        offset-distance: 50%;
    }
    100% {
        offset-distance: 100%;
    }
}

.quote {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-left: 4px solid var(--primary);
    box-shadow: 0 5px 15px var(--shadow);
}

.quote p {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-style: italic;
    color: var(--secondary);
    margin-bottom: 10px;
}

.quote small {
    display: block;
    text-align: right;
    color: #666;
    font-size: 14px;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 500px;
    margin: 40px auto 0;
}

.countdown > div {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.countdown b {
    display: block;
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 5px;
}

.countdown small {
    display: block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   COUPLE SECTION (PASSPORT)
   ============================================ */
.couple-sect {
    background: white;
}

.passport-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.passport {
    background: linear-gradient(135deg, rgba(245, 245, 245, 0.95) 0%, rgba(232, 232, 232, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 3px solid var(--secondary);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.passport:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    border-color: var(--primary);
}

.passport header {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--secondary);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.pp-photo {
    width: 150px;
    height: 180px;
    margin: 0 auto 20px;
    border: 3px solid white;
    box-shadow: 0 5px 15px var(--shadow);
    overflow: hidden;
}

.pp-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.passport h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 5px;
}

.pp-role {
    font-size: 12px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.pp-parents {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.pp-parents small {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stamp-round {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 60px;
    height: 60px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    color: var(--primary);
    transform: rotate(15deg);
    background: rgba(255, 255, 255, 0.9);
}

.heart-divider {
    font-size: 32px;
    color: var(--primary);
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* ============================================
   STORY SECTION
   ============================================ */
.story-sect {
    background: linear-gradient(180deg, #fff 0%, #f8f5f0 100%);
}

.journey {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.journey::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
    transform: translateX(-50%);
}

.journey-card {
    position: relative;
    width: calc(50% - 40px);
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    margin-bottom: 40px;
}

.journey-card.left {
    margin-right: auto;
}

.journey-card.right {
    margin-left: auto;
}

.journey-card::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.journey-card.left::before {
    right: -40px;
}

.journey-card.right::before {
    left: -40px;
}

.pin {
    position: absolute;
    top: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 3px 10px var(--shadow);
}

.journey-card.left .pin {
    right: -60px;
}

.journey-card.right .pin {
    left: -60px;
}

.stage-label {
    display: inline-block;
    padding: 5px 12px;
    background: var(--accent);
    color: white;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.journey-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 10px;
}

.story-date {
    font-size: 12px;
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.journey-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   EVENT SECTION
   ============================================ */
.event-sect {
    background: white;
}

.flights {
    display: grid;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto 50px;
}

.flight-card {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border: 2px solid var(--secondary);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px var(--shadow);
}

.flight-card header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.flight-code {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--secondary);
}

.flight-status {
    padding: 5px 12px;
    background: #4caf50;
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: 10px;
}

.flight-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.flight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.flight-grid > div {
    padding: 15px;
    background: white;
    border-radius: 10px;
}

.flight-grid small {
    display: block;
    font-size: 9px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.flight-grid b {
    display: block;
    font-size: 13px;
    color: var(--secondary);
}

.flight-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, #e07a4a 100%);
    color: white;
    font-size: 13px;
    font-weight: 700;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px rgba(200, 107, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-pill::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn-pill:hover::before {
    width: 300px;
    height: 300px;
}

.btn-pill:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a2d45 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(15, 26, 43, 0.4);
}

.btn-pill.alt {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(200, 107, 60, 0.2);
}

.btn-pill.alt:hover {
    background: linear-gradient(135deg, var(--primary) 0%, #e07a4a 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(200, 107, 60, 0.4);
}

.btn-pill.primary {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a2d45 100%);
    box-shadow: 0 4px 15px rgba(15, 26, 43, 0.3);
}

.btn-pill.primary:hover {
    background: linear-gradient(135deg, var(--primary) 0%, #e07a4a 100%);
    box-shadow: 0 8px 25px rgba(200, 107, 60, 0.4);
}

.map-wrap {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-sect {
    background: linear-gradient(180deg, #fff 0%, #f8f5f0 100%);
}

.postcards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.postcard {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.postcard:hover {
    transform: translateY(-8px) rotate(3deg) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.postcard img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: filter 0.3s ease;
}

.postcard:hover img {
    filter: brightness(1.05) saturate(1.1);
}

.postcard figcaption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.postcard figcaption span {
    font-family: 'Caveat', cursive;
    font-size: 16px;
    color: var(--secondary);
}

.postcard figcaption small {
    color: #666;
    font-size: 10px;
    letter-spacing: 1px;
}

/* ============================================
   RSVP SECTION
   ============================================ */
.rsvp-sect {
    background: white;
}

.checkin-form {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border: 2px solid var(--secondary);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px var(--shadow);
}

.form-head {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--secondary);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.checkin-form label {
    display: block;
    margin-bottom: 20px;
}

.checkin-form small {
    display: block;
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.checkin-form input[type="text"],
.checkin-form input[type="number"],
.checkin-form textarea,
.checkin-form select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    background: white;
    transition: border-color 0.3s ease;
}

.checkin-form input:focus,
.checkin-form textarea:focus,
.checkin-form select:focus {
    outline: none;
    border-color: var(--primary);
}

.status-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.chip {
    flex: 1;
    min-width: 120px;
}

.chip input[type="radio"] {
    display: none;
}

.chip span {
    display: block;
    padding: 12px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
}

.chip input:checked + span {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.form-msg {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
    display: none;
}

.form-msg.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-msg.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* ============================================
   GUESTBOOK SECTION
   ============================================ */
.guestbook-sect {
    background: linear-gradient(180deg, #fff 0%, #f8f5f0 100%);
}

.note-form {
    max-width: 600px;
    margin: 0 auto 40px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.note-form input,
.note-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.note-form input:focus,
.note-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.notes {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.note-card {
    padding: 20px;
    background: white;
    border-left: 4px solid var(--primary);
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow);
}

.note-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.note-name {
    font-weight: 700;
    color: var(--secondary);
}

.note-date {
    font-size: 11px;
    color: #666;
}

.note-msg {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   GIFT SECTION
   ============================================ */
.gift-sect {
    background: white;
}

.gifts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto 50px;
}

.gift-card {
    padding: 25px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border: 2px solid var(--secondary);
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
}

.gift-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--secondary);
}

.gift-head i {
    font-size: 24px;
    color: var(--primary);
}

.gift-card h4 {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.acc-num {
    font-family: 'Space Mono', monospace;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.owner {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

.copy-btn {
    width: 100%;
}

.gift-confirm {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border: 2px solid var(--secondary);
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
}

.gift-confirm h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 10px;
    text-align: center;
}

.gift-confirm > p {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
}

.gift-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.gift-field {
    display: block;
}

.gift-field-full {
    grid-column: 1 / -1;
}

.gift-field small {
    display: block;
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.gift-field input,
.gift-field select,
.gift-field textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    background: white;
    transition: border-color 0.3s ease;
}

.gift-field input:focus,
.gift-field select:focus,
.gift-field textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* ============================================
   CLOSING SECTION
   ============================================ */
.closing-sect {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.closing-card {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.stamp-circle {
    width: 100px;
    height: 100px;
    border: 4px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transform: rotate(-15deg);
    background: rgba(255, 255, 255, 0.2);
}

.stamp-circle span {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.3;
    text-align: center;
}

.closing-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 15px;
}

.closing-card p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.sig {
    font-family: 'Caveat', cursive;
    font-size: 28px;
    margin-bottom: 20px;
}

.foot {
    font-size: 12px;
    opacity: 0.8;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lb-close,
.lb-prev,
.lb-next {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lb-close {
    top: 20px;
    right: 20px;
}

.lb-prev {
    left: 20px;
}

.lb-next {
    right: 20px;
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 15px 25px;
    background: var(--secondary);
    color: white;
    border-radius: 25px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablets and below */
@media (max-width: 1024px) {
    .sect {
        padding: 60px 20px;
    }
    
    .sec-title {
        font-size: 32px;
    }
    
    .big-title {
        font-size: 48px;
    }
}

/* Mobile landscape and portrait tablets */
@media (max-width: 768px) {
    .big-title {
        font-size: 40px;
        line-height: 1.3;
    }
    
    .couple-title {
        font-size: 28px;
    }
    
    .sig {
        font-size: 24px;
    }
    
    .boarding-card {
        padding: 25px;
        max-width: 100%;
    }
    
    .passport-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .heart-divider {
        transform: rotate(90deg);
        margin: 20px 0;
    }
    
    .journey::before {
        left: 20px;
    }
    
    .journey-card {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
    
    .journey-card::before {
        left: -40px !important;
        right: auto !important;
    }
    
    .journey-card .pin {
        left: -60px !important;
        right: auto !important;
    }
    
    .flight-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .countdown b {
        font-size: 28px;
    }
    
    .bottom-nav {
        padding: 8px 0;
    }
    
    .bottom-nav a {
        padding: 8px 5px;
        font-size: 9px;
    }
    
    .bottom-nav a i {
        font-size: 16px;
    }
    
    .bottom-nav a span {
        display: none;
    }
    
    .gift-form-grid {
        grid-template-columns: 1fr;
    }
    
    .sec-title {
        font-size: 28px;
    }
    
    .music-toggle {
        bottom: 80px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .postcards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    /* Reduce cloud animation intensity on mobile */
    .cloud {
        filter: blur(3px);
        opacity: 0.7;
    }
    
    @keyframes float {
        0% {
            transform: translateX(0) translateY(0) scale(0.8);
            opacity: 0;
        }
        10% {
            opacity: 0.7;
        }
        50% {
            transform: translateX(110vw) translateY(-20px) scale(0.9);
            opacity: 0.8;
        }
        90% {
            opacity: 0.7;
        }
        100% {
            transform: translateX(130vw) translateY(-10px) scale(0.8);
            opacity: 0;
        }
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .boarding-card {
        padding: 20px;
        border-radius: 15px;
    }
    
    .couple-title {
        font-size: 22px;
    }
    
    .sig {
        font-size: 22px;
    }
    
    .code {
        font-size: 24px;
    }
    
    .big-title {
        font-size: 32px;
    }
    
    .sec-title {
        font-size: 24px;
    }
    
    .sect {
        padding: 50px 15px;
    }
    
    .polaroid {
        max-width: 280px;
    }
    
    .countdown {
        gap: 10px;
    }
    
    .countdown b {
        font-size: 24px;
    }
    
    .countdown small {
        font-size: 10px;
    }
    
    .checkin-form,
    .gift-confirm {
        padding: 20px;
    }
    
    .route {
        gap: 10px;
    }
    
    .dash i {
        font-size: 14px;
    }
    
    .bc-foot {
        gap: 15px;
    }
    
    .stamp-badge {
        font-size: 10px;
        padding: 6px 15px;
    }
    
    .bottom-nav a {
        padding: 10px 8px;
        min-width: 50px;
    }
    
    .bottom-nav a i {
        font-size: 18px;
    }
    
    .music-toggle {
        width: 48px;
        height: 48px;
        bottom: 75px;
    }
    
    .toast {
        bottom: 90px;
        font-size: 13px;
        padding: 12px 20px;
        max-width: 90%;
    }
    
    .postcards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .flight-card h3 {
        font-size: 24px;
    }
    
    .gift-card h4 {
        font-size: 20px;
    }
    
    .acc-num {
        font-size: 16px;
        word-break: break-all;
    }
    
    /* Better touch targets for mobile */
    .btn-pill,
    .checkin-btn,
    .copy-btn {
        min-height: 48px;
        padding: 14px 24px;
    }
    
    input[type="text"],
    input[type="number"],
    textarea,
    select {
        min-height: 48px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    textarea {
        min-height: 100px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .big-title {
        font-size: 28px;
    }
    
    .boarding-card {
        padding: 15px;
    }
    
    .couple-title {
        font-size: 20px;
    }
    
    .sig {
        font-size: 20px;
    }
    
    .code {
        font-size: 20px;
    }
    
    .sect {
        padding: 40px 12px;
    }
    
    .countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .countdown > div {
        padding: 15px 10px;
    }
    
    .countdown b {
        font-size: 20px;
    }
}

/* Made with Bob */
