/* 
   UNDANGAN DIGITAL - TEMA BIRU ELEGAN
   Blue Romantic Wedding Theme
*/

:root {
    --bg-primary: #EEF2F7;
    --bg-secondary: #FFFFFF;
    --primary: #1B3A6B;
    --secondary: #4A90D9;
    --accent: #C9A84C;
    --text-dark: #1A2332;
    --text-muted: #5A6B7F;
    --text-light: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.82);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 10px 30px 0 rgba(27, 58, 107, 0.08);
    --card-border-radius: 20px;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-handwriting: 'Great Vibes', cursive;
    --font-sans: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 80px 20px;
}

.text-center {
    text-align: center;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: 0.02em;
}

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

p {
    font-size: 1rem;
    font-weight: 400;
}

/* GLASS CARD */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-border-radius);
    box-shadow: var(--glass-shadow);
    padding: 40px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px 0 rgba(27, 58, 107, 0.14);
}

/* BUTTONS */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-light);
    border: none;
    padding: 14px 30px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(27, 58, 107, 0.2);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px rgba(27, 58, 107, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 25px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* ==========================================
   COVER SCREEN / LAYAR PEMBUKA
   ========================================== */
.cover-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(27, 58, 107, 0.92), rgba(26, 35, 50, 0.95)),
        url('https://res.cloudinary.com/aqry5h7i/image/upload/v1789046253/IMG-20260907-WA0084.jpg.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
    color: var(--text-light);
    text-align: center;
    padding: 20px;
}

.cover-screen.slide-up {
    transform: translateY(-100%);
}

.cover-content {
    max-width: 520px;
    width: 100%;
}

.wedding-badge {
    font-size: 0.9rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 700;
}

.couple-name {
    font-family: var(--font-handwriting);
    font-size: 4.2rem;
    margin-bottom: 10px;
    color: var(--text-light);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.wedding-date-simple {
    font-size: 1.15rem;
    font-family: var(--font-serif);
    letter-spacing: 3px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.guest-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 28px;
    margin-bottom: 40px;
}

.to-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    display: block;
    margin-bottom: 12px;
    letter-spacing: 1px;
    font-weight: 500;
}

.guest-name {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.msg-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* ==========================================
   MAIN CONTENT
   ========================================== */
.main-content {
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in;
}

.main-content.visible {
    display: block;
    opacity: 1;
}

/* FLOATING MUSIC PLAYER */
.music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.btn-music {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    outline: none;
    transition: var(--transition-smooth);
}

.btn-music:hover {
    transform: scale(1.1);
}

/* ==========================================
   ANIMASI KELOPAK / PETALS
   ========================================== */
#petals-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

.petal {
    position: absolute;
    background-color: #90CAF9;
    border-radius: 150% 0 150% 150%;
    opacity: 0.6;
    pointer-events: none;
    transform: rotate(45deg);
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        top: -10%;
        transform: rotate(45deg) translateX(0) scale(0.5);
    }

    100% {
        top: 110%;
        transform: rotate(400deg) translateX(100px) scale(1.2);
    }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    height: 100vh;
    background: url('https://res.cloudinary.com/aqry5h7i/image/upload/v1789046253/IMG-20260907-WA0084.jpg.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 35, 50, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.pre-title {
    font-size: 1.15rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-couple {
    font-family: var(--font-handwriting);
    font-size: 6.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-date {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    letter-spacing: 7px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================
   SECTION HEADERS
   ========================================== */
.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-family: var(--font-handwriting);
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* ==========================================
   QUOTE SECTION
   ========================================== */
.quote-section {
    padding-top: 100px;
    padding-bottom: 60px;
}

.quote-icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 20px;
    opacity: 0.5;
}

.quote-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.9;
    font-weight: 400;
}

.quote-author {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==========================================
   COUPLE SECTION
   ========================================== */
.couple-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.couple-card {
    flex: 1;
    padding: 50px 30px;
}

.avatar-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    box-shadow: 0 10px 25px rgba(27, 58, 107, 0.15);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
}

.mempelai-name {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.mempelai-bio {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(27, 58, 107, 0.08);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background: var(--primary);
    color: var(--text-light);
    transform: translateY(-3px);
}

.couple-divider {
    font-family: var(--font-handwriting);
    font-size: 4.5rem;
    color: var(--accent);
    user-select: none;
}

/* ==========================================
   COUNTDOWN
   ========================================== */
.countdown-section {
    padding-top: 50px;
    padding-bottom: 50px;
}

.countdown-intro {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.timer-box {
    background: var(--bg-secondary);
    border: 1px solid rgba(74, 144, 217, 0.2);
    border-radius: 15px;
    min-width: 105px;
    padding: 22px 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.timer-num {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.timer-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================
   EVENTS
   ========================================== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.event-card {
    padding: 40px 30px;
}

.event-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.event-title {
    font-size: 1.9rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.event-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    width: 60%;
    margin: 0 auto 25px;
}

.event-detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 1rem;
}

.event-detail-item i {
    color: var(--secondary);
    font-size: 1.15rem;
    width: 20px;
}

.event-detail-item p {
    text-align: left;
    max-width: 300px;
    color: var(--text-dark);
    font-weight: 400;
}

.map-card {
    margin-top: 40px;
}

.map-container {
    margin: 25px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.btn-group-maps {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ==========================================
   TIMELINE (LOVE STORY)
   ========================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--secondary) 10%, var(--secondary) 90%, transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    width: 18px;
    height: 18px;
    right: -9px;
    background-color: var(--accent);
    border: 3px solid var(--bg-primary);
    top: 30px;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 12px rgba(27, 58, 107, 0.3);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -9px;
}

.timeline-content {
    padding: 30px;
    position: relative;
}

.timeline-date {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 700;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ==========================================
   GALLERY
   ========================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 58, 107, 0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    color: var(--text-light);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ==========================================
   LIGHTBOX
   ========================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(26, 35, 50, 0.95);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 35px;
    color: var(--text-light);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent);
    cursor: pointer;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--text-light);
    padding: 15px 0;
    height: 150px;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 1rem;
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
}

.lightbox-prev {
    left: 5%;
    border-radius: 0 3px 3px 0;
}

.lightbox-next {
    right: 5%;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--accent);
}

/* ==========================================
   RSVP & GUESTBOOK
   ========================================== */
.rsvp-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 30px;
    margin-top: 40px;
}

.rsvp-card form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
}

.form-group label i {
    margin-right: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 13px 18px;
    border: 1px solid rgba(27, 58, 107, 0.2);
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    background-color: var(--bg-secondary);
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-smooth);
    font-weight: 400;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(27, 58, 107, 0.15);
}

.wishes-card {
    display: flex;
    flex-direction: column;
    max-height: 520px;
}

.wishes-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.wishes-container {
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-right: 5px;
}

.wishes-container::-webkit-scrollbar {
    width: 6px;
}

.wishes-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
}

.wishes-container::-webkit-scrollbar-thumb {
    background: rgba(27, 58, 107, 0.15);
    border-radius: 10px;
}

.wishes-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.wish-bubble {
    background: var(--bg-secondary);
    border: 1px solid rgba(74, 144, 217, 0.15);
    border-radius: 15px;
    padding: 18px;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wish-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.wish-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
}

.wish-badge {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 10px;
    font-weight: 700;
}

.wish-badge.hadir {
    background-color: rgba(46, 117, 89, 0.1);
    color: #2e7559;
}

.wish-badge.tidak-hadir {
    background-color: rgba(183, 40, 46, 0.1);
    color: #b7282e;
}

.wish-badge.ragu-ragu {
    background-color: rgba(201, 168, 76, 0.1);
    color: #9a7d2e;
}

.wish-message {
    font-size: 0.92rem;
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 400;
}

.wish-time {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 5px;
}

.empty-wishes {
    padding: 50px 20px;
    color: var(--text-muted);
}

.empty-wishes i {
    font-size: 3rem;
    color: var(--secondary);
    opacity: 0.25;
    margin-bottom: 15px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer-section {
    background: linear-gradient(135deg, #0D1F3C, #1A2332);
    color: var(--text-light);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.couple-title {
    font-family: var(--font-handwriting);
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.social-links-footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.social-links-footer a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.social-links-footer a:hover {
    color: var(--accent);
    transform: scale(1.2);
}

.footer-credit {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 30px;
}

.by-antigravity {
    margin-top: 5px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

.by-antigravity i {
    color: var(--secondary);
}

/* ==========================================
   ANIMATE ON SCROLL
   ========================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 991px) {
    .couple-grid {
        flex-direction: column;
        gap: 20px;
    }

    .couple-divider {
        transform: rotate(0deg);
        margin: 10px 0;
        font-size: 3.5rem;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .rsvp-wrapper {
        grid-template-columns: 1fr;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(odd) {
        left: 0;
        text-align: left;
    }

    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }

    .timeline-dot {
        left: 22px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 50px 15px;
    }

    .couple-name {
        font-size: 3.4rem;
    }

    .hero-couple {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 3.2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .timer-box {
        min-width: 75px;
        padding: 15px 5px;
    }

    .timer-num {
        font-size: 2rem;
    }
}
