:root {
    --cream: #FAF7F2;
    --beige: #E8DCC4;
    --soft-brown: #C9B59A;
    --warm-white: #FFFCF7;
    --gold-accent: #D4AF37;
    --deep-brown: #8B7355;
    --text-dark: #4A3F35;
    --text-light: #6B5D52;
}

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

body {
    font-family: 'Lora', serif;
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.9;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Hero Section with Background Image */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('images/main.jpeg');
    background-size: cover;              /* QUAN TRỌNG */
    background-position: center 30%;     /* chỉnh điểm focus ảnh */
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Fallback gradient if image doesn't load - hidden by default */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--warm-white) 0%, var(--beige) 100%);
    z-index: -1;
    opacity: 0;
}

/* Dark overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(74, 63, 53, 0.4) 0%,
        rgba(74, 63, 53, 0.3) 50%,
        rgba(74, 63, 53, 0.5) 100%
    );
    z-index: 1;
}

/* Falling Petals Animation */
.falling-petals {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.petal {
    position: absolute;
    top: -10%;
    font-size: 20px;
    color: var(--gold-accent);
    opacity: 0.7;
    animation: fall linear infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@keyframes fall {
    0% {
        top: -10%;
        transform: translateX(0) rotate(0deg);
    }
    100% {
        top: 110%;
        transform: translateX(100px) rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    animation: fadeInUp 1.5s ease-out;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.decorative-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
    margin: 30px auto;
    position: relative;
}

.decorative-line::before,
.decorative-line::after {
    content: '❀';
    position: absolute;
    font-size: 14px;
    color: var(--gold-accent);
    top: -8px;
}

.decorative-line::before {
    left: -20px;
}

.decorative-line::after {
    right: -20px;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 500;
    color: white;
    margin-bottom: 15px;
    letter-spacing: 3px;
    animation: fadeInUp 1.5s ease-out 0.3s both;
}

.hero .subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    margin-bottom: 35px;
    animation: fadeInUp 1.5s ease-out 0.6s both;
}

.hero .date {
    font-size: 2rem;
    color: var(--gold-accent);
    font-weight: 600;
    letter-spacing: 3px;
    animation: fadeInUp 1.5s ease-out 0.9s both;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Countdown Timer Styles */
.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    animation: fadeInUp 1.5s ease-out 1.2s both;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    padding: 20px 25px;
    min-width: 100px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--gold-accent);
}

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    font-family: 'Playfair Display', serif;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.countdown-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.countdown-separator {
    font-size: 2.5rem;
    color: var(--gold-accent);
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero .scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 3;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-indicator svg {
    width: 32px;
    height: 32px;
    stroke: var(--gold-accent);
    stroke-width: 2;
    fill: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 25px 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

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

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 60px;
    padding: 0 40px;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.05rem;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--gold-accent);
}

nav a:hover::after {
    width: 100%;
}

/* Section Base */
section {
    padding: 120px 40px;
    max-width: 1200px;
    margin: 0 auto;
    scroll-margin-top: 120px;
}

.section-title {
    text-align: center;
    font-size: 3.8rem;
    color: var(--deep-brown);
    margin-bottom: 25px;
    position: relative;
    line-height: 1.3;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 90px;
    line-height: 1.8;
}

/* Couple Section */
#couple {
    background: var(--warm-white);
}

.couple-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    margin-top: 70px;
}

.couple-card {
    position: relative;
    text-align: center;
    animation: fadeInScale 1s ease-out both;
}

.couple-card:nth-child(1) {
    animation-delay: 0.2s;
}

.couple-card:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.couple-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 40px;
    padding: 15px;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.couple-image-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--gold-accent);
    z-index: -1;
    opacity: 0.3;
}

.couple-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.couple-name {
    font-size: 2.8rem;
    color: var(--deep-brown);
    margin-bottom: 15px;
    font-weight: 500;
    line-height: 1.3;
}

.couple-role {
    font-size: 1.2rem;
    color: var(--gold-accent);
    font-style: italic;
    margin-bottom: 25px;
}

.couple-bio {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.9;
    max-width: 400px;
    margin: 0 auto;
}

/* Story Timeline */
#story {
    background: linear-gradient(to bottom, var(--cream) 0%, var(--warm-white) 100%);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 90px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold-accent), var(--beige));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 90px;
    position: relative;
    animation: fadeInSide 1s ease-out both;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    animation-name: fadeInLeft;
}

.timeline-item:nth-child(even) {
    animation-name: fadeInRight;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-content {
    width: calc(50% - 40px);
    background: white;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    position: relative;
}

.story-image-wrapper {
    width: 100%;
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.story-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.timeline-item:hover .story-image {
    transform: scale(1.05);
}

.story-image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--beige) 0%, var(--cream) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-style: italic;
    font-size: 0.95rem;
    text-align: center;
    padding: 20px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 80px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 80px;
}

.timeline-date {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-accent);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.timeline-title {
    font-size: 2rem;
    color: var(--deep-brown);
    margin-bottom: 18px;
    line-height: 1.3;
}

.timeline-text {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
}

/* Event Details */
#event {
    background: var(--warm-white);
}

.event-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 70px;
}

.event-card {
    background: white;
    padding: 55px 45px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.event-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--gold-accent);
}

.event-title {
    font-size: 2.3rem;
    color: var(--deep-brown);
    margin-bottom: 18px;
    line-height: 1.3;
}

.event-date {
    font-size: 1.4rem;
    color: var(--gold-accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.event-time {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.event-location {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.9;
}

.event-address {
    font-style: italic;
    color: var(--text-light);
    margin-top: 12px;
    line-height: 1.8;
}

/* Map Section */
#map {
    background: var(--cream);
}

.map-container {
    margin-top: 70px;
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 40px;
}

.map-wrapper:last-child {
    margin-bottom: 0;
}

.map-title {
    text-align: center;
    color: var(--deep-brown);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.map-canvas {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.map-note {
    text-align: center;
    color: var(--text-light);
    margin-top: 25px;
    font-style: italic;
    line-height: 1.8;
}

/* Gallery */
#gallery {
    background: var(--warm-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 70px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: var(--beige);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.gallery-item:hover::after {
    opacity: 1;
}
/* Donate Section */
#donate {
    background: linear-gradient(135deg, var(--cream) 0%, var(--beige) 100%);
}

.donate-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 70px;
    margin-top: 70px;
}

.donate-card {
    background: white;
    padding: 55px 45px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
}

.donate-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--gold-accent), var(--soft-brown));
    border-radius: 12px;
    z-index: -1;
    opacity: 0.3;
}

.donate-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-accent), var(--soft-brown));
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: white;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.donate-name {
    font-size: 2.3rem;
    color: var(--deep-brown);
    margin-bottom: 12px;
    line-height: 1.3;
}

.donate-role {
    font-size: 1.2rem;
    color: var(--gold-accent);
    font-style: italic;
    margin-bottom: 35px;
}

.qr-code {
    width: 240px;
    height: 240px;
    margin: 35px auto;
    background: var(--beige);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-style: italic;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bank-info {
    background: var(--cream);
    padding: 28px;
    border-radius: 8px;
    text-align: left;
    margin-top: 30px;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--beige);
}

.bank-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.bank-label {
    color: var(--text-light);
    font-size: 1rem;
}

.bank-value {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
}

.account-number {
    color: var(--gold-accent);
    font-size: 1.15rem;
}

/* Footer */
footer {
    background: var(--deep-brown);
    color: var(--warm-white);
    text-align: center;
    padding: 70px 40px;
}

.footer-message {
    font-size: 2.8rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    margin-bottom: 25px;
    color: var(--gold-accent);
    line-height: 1.3;
}

.footer-names {
    font-size: 1.6rem;
    letter-spacing: 3px;
    margin-bottom: 35px;
}

.footer-text {
    font-size: 1.05rem;
    color: var(--beige);
    line-height: 1.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Music Player */
.music-player {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 65px;
    height: 65px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.music-player:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.music-player.playing {
    animation: rotate 3s linear infinite;
}

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

.music-icon {
    font-size: 26px;
    color: var(--gold-accent);
}

/* Gallery Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    background: var(--beige);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* QR Modal */
.qr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.qr-modal.active {
    display: flex;
}

.qr-modal-content {
    background: white;
    padding: 45px;
    border-radius: 12px;
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.qr-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-dark);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.qr-modal-close:hover {
    background: var(--cream);
    transform: rotate(90deg);
}

.qr-large {
    width: 100%;
    max-width: 450px;
    height: auto;
}

/* Floral Decorations */
.floral-corner {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.floral-corner.top-left {
    top: 25px;
    left: 25px;
    font-size: 4.5rem;
    color: var(--gold-accent);
}

.floral-corner.top-right {
    top: 25px;
    right: 25px;
    font-size: 4.5rem;
    color: var(--gold-accent);
}

.floral-corner.bottom-left {
    bottom: 25px;
    left: 25px;
    font-size: 4.5rem;
    color: var(--gold-accent);
}

.floral-corner.bottom-right {
    bottom: 25px;
    right: 25px;
    font-size: 4.5rem;
    color: var(--gold-accent);
}

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

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

/* RESPONSIVE DESIGN - MOBILE OPTIMIZATIONS */
@media (max-width: 768px) {
    /* Hero adjustments for mobile */
    .hero {
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .hero .date {
        font-size: 1.6rem;
    }

    /* Countdown mobile styles */
    .countdown-container {
        gap: 10px;
        margin-top: 35px;
        flex-wrap: wrap;
    }

    .countdown-item {
        padding: 15px 18px;
        min-width: 75px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .countdown-separator {
        font-size: 1.8rem;
    }

    /* Reduce falling petals on mobile for performance */
    .petal {
        font-size: 16px;
    }

    /* Disable animations on mobile for performance */
    .animation, .animate-on-scroll, .timeline-item {
        animation: none !important;
    }

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

    .hero-content {
        animation: none;
    }

    nav ul {
        flex-direction: column;
        gap: 18px;
        padding: 25px;
    }

    section {
        padding: 90px 25px;
    }

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

    .section-subtitle {
        font-size: 1.15rem;
        margin-bottom: 60px;
    }

    /* Couple cards */
    .couple-container {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    /* Timeline - FIXED FOR MOBILE */
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-content {
        width: calc(100% - 100px);
        margin-left: 80px !important;
        margin-right: 0 !important;
    }

    .timeline-date {
        left: 30px;
        transform: translateX(0);
        font-size: 0.85rem;
        padding: 10px 18px;
    }

    .timeline-title {
        font-size: 1.6rem;
    }

    .timeline-text {
        font-size: 1rem;
        text-align: center;
    }

    .story-image {
        height: 220px;
    }

    .story-image-placeholder {
        height: 220px;
        font-size: 0.9rem;
        padding: 15px;
    }

    /* Event cards */
    .event-cards {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .event-card {
        padding: 45px 35px;
    }

    /* Map - REDUCED HEIGHT ON MOBILE */
    .map-wrapper {
        height: 300px !important;
    }

    .map-wrapper iframe {
        height: 300px !important;
    }

    /* Gallery - 2 COLUMNS ON MOBILE */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* No hover effects on mobile */
    .gallery-item:hover {
        transform: none;
    }

    .gallery-item::after {
        display: none;
    }

    /* Donate cards */
    .donate-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    /* Music player */
    .music-player {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .music-icon {
        font-size: 22px;
    }

    /* Footer */
    footer {
        padding: 60px 25px;
    }

    .footer-message {
        font-size: 2.2rem;
    }

    .footer-names {
        font-size: 1.3rem;
    }

    .footer-text {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

    .story-image {
        height: 180px;
    }

    .story-image-placeholder {
        height: 180px;
        font-size: 0.8rem;
    }

    /* Countdown very small screens */
    .countdown-item {
        padding: 12px 15px;
        min-width: 70px;
    }

    .countdown-number {
        font-size: 1.8rem;
    }

    .countdown-separator {
        display: none;
    }

    /* Gallery - 1 column on very small screens */
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}