:root {
    --primary-color: #F8E8EE;
    /* Light Pink */
    --secondary-color: #E0F4FF;
    /* Light Blue */
    --accent-color: #f493b4;
    /* --accent-color: #D9F8C4; */
    /* Light Green */
    --text-color: #4A4A4A;
    /* Dark Gray */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--primary-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Splash Screen */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease-out;
}

.splash-logo-img {
    max-width: 200px;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-logo {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 500;
    color: var(--text-color);
}

.nav-links li a:hover {
    color: #E91E63;
    /* Darker pink for hover */
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../assets/images/1.jpg') no-repeat center top/cover;
    color: #fff;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.save-the-date {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Countdown */
#countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 1rem;
    border-radius: 10px;
    min-width: 80px;
}

.countdown-item span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.countdown-item label {
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Sections General */
section {
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

/* About Section */
.about-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.couple-card {
    text-align: center;
    max-width: 300px;
}

.img-wrapper {
    width: 250px;
    height: 350px;
    overflow: hidden;
    border-radius: 150px 150px 0 0;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.couple-card:hover .img-wrapper img {
    transform: scale(1.05);
}

.couple-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* Itinerary Section */
#itinerary {
    background: #fff;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 2rem;
    border: none;
    background: #fff;
    font-family: var(--body-font);
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.tab-content {
    display: none;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

.event-item {
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    display: flex;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.event-item .time {
    font-weight: 700;
    color: #E91E63;
    min-width: 100px;
    text-align: right;
}

.event-item .details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.dress-code {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Gallery Styles */
.gallery-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.gallery-img {
    width: calc(50% - 0.5rem);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
    cursor: pointer;
}

.gallery-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* RSVP & Menu */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}


.menu-item {
    background: #fff;
    padding: 2rem;
    text-align: center;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.menu-item i {
    font-size: 2.5rem;
    /* color: var(--accent-color); */
    margin-bottom: 1rem;
    text-shadow: 1px 1px 0 #aaa;
}

.menu-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: slideUp 0.3s;
    max-height: 90vh;
    overflow-y: auto;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--accent-color);
    color: var(--text-color);
    border: none;
    border-radius: 5px;
    margin-top: 1rem;
    cursor: pointer;
    font-weight: 600;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #fff;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 1rem;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    #countdown {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .countdown-item {
        min-width: 70px;
        padding: 0.5rem;
    }

    .countdown-item span {
        font-size: 1.5rem;
    }

    .about-container {
        gap: 2rem;
    }

    .tabs {
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
        width: 48%;
        /* 2 buttons per row on mobile */
    }

    .event-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem;
    }

    .event-item .time {
        text-align: left;
        min-width: auto;
        margin-bottom: 0.2rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        /* Stack menu items */
        gap: 1rem;
    }

    .modal-content {
        padding: 1.5rem;
        width: 90%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}