:root {
    /* Color Palette */
    --color-bg: #F5E6E8;
    /* Very Pale Old Rose / Soft Pink */
    --color-text: #6B8F71;
    /* Moss Green (Pastel/Muted) */
    --color-primary: #B26E80;
    /* Old Rose */
    --color-secondary: #EAD0D5;
    /* Lighter Old Rose for accents */
    --color-accent: #8DA98E;
    /* Muted Sage Green */
    --color-white: #FFFFFF;

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Quicksand', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Global Styles */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.section {
    padding: 60px 0;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    background-image: url('../images/hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--color-white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Slight darkening for readability */
}

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

.main-title {
    font-size: 4rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.name-title {
    font-size: 6rem;
    color: var(--color-secondary);
    /* Peach highlight */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-date {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-down {
    display: block;
    margin-top: 40px;
    font-size: 2rem;
    animation: bounce 2s infinite;
    color: var(--color-white);
    opacity: 0.8;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Welcome Section */
.intro-text {
    font-size: 1.2rem;
    margin: 20px 0;
    color: #666;
}

/* Countdown */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.countdown-item {
    background: var(--color-white);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    min-width: 70px;
    border: 1px solid rgba(230, 170, 206, 0.3);
}

.countdown-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-body);
}

.countdown-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
}

/* Details Section */
.details-section .container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(230, 170, 206, 0.2);
    /* Subtle pink border */
}

.detail-icon {
    font-size: 2.5rem;
    margin: 15px 0;
}

/* Custom Calendar Icon */
.calendar-icon {
    display: inline-block;
    width: 60px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-primary);
    overflow: hidden;
    margin: 15px auto;
}

.calendar-month {
    display: block;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 0.8rem;
    padding: 3px 0;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.calendar-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 5px 0;
    color: var(--color-text);
    font-family: var(--font-body);
}

.detail-text {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.detail-subtext {
    font-size: 1.1rem;
    color: #888;
}

.map-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--color-primary);
    border-bottom: 1px dashed var(--color-primary);
    font-size: 0.9rem;
}

/* Gallery Carousel */
.carousel-container {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    margin-top: 20px;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.carousel-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.carousel-track {
    display: inline-flex;
    gap: 15px;
    padding: 0 10px;
}

.carousel-img {
    height: 300px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    scroll-snap-align: center;
}

/* Dress Code */
.simple-card {
    background: #FFF0F5;
    /* Very light pink bg */
    padding: 20px;
    border-radius: 10px;
}

.small-note {
    font-size: 0.9rem;
    color: #888;
    margin-top: 5px;
    font-style: italic;
}

/* RSVP Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--color-white);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.6);
    background-color: #20b857;
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Gifts */
.alias-box {
    margin-top: 20px;
    padding: 15px;
    border: 1px dashed var(--color-accent);
    display: inline-block;
    border-radius: 8px;
    background: var(--color-white);
}

.alias-label {
    font-weight: 600;
    margin-right: 5px;
    color: #888;
}

.alias-value {
    font-family: monospace;
    font-size: 1.2rem;
    color: var(--color-text);
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 2rem;
}

/* Media Queries for Desktop */
@media (min-width: 768px) {
    .details-section .container {
        flex-direction: row;
        justify-content: center;
        gap: 50px;
    }

    .detail-card {
        flex: 1;
        max-width: 350px;
    }

    .main-title {
        font-size: 5rem;
    }

    .name-title {
        font-size: 8rem;
    }
}