/* Global Styles */
:root {
    --primary-color: #D88C8C;
    --secondary-color: #F2C4B3;
    --light-color: #F7E1D7;
    --accent-color: #EDBE85;
    --dark-color: #333;
    --white-color: #fff;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-color);
    background-color: var(--white-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--accent-color);
}

/* Header Styles */
#header {
    background-color: var(--light-color);
    /* padding: 4rem 0; */
}

.couple-names {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-top: 2rem;
    font-weight: 700;
}

.wedding-tagline {
    font-size: 1.2rem;
    color: var(--dark-color);
    font-style: italic;
}

.photo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.photo-item {
    position: relative;
    width: 180px;
    height: 220px;
    overflow: hidden;
    border: 5px solid var(--white-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.photo-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

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

.photo-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(216, 140, 140, 0.8);
    color: var(--white-color);
    text-align: center;
    padding: 8px 0;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Date Section */
#date {
    /* padding: 4rem 0; */
    background-color: #fff;
    position: relative;
}

.calendar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.month-name {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-weight: 400;
}

.date-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 4rem;
}

.date-box {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #8B6E47;
    background-color: #fff;
    position: relative;
    box-shadow: none;
}

.date-box span {
    font-size: 2rem;
    color: #333;
    font-weight: 500;
}

.date-heart {
    border: none;
    background-color: transparent;
    position: relative;
}

.heart-container {
    width: 90px;
    height: 90px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.heart-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 90C48 90 46 89.5 44.5 88C25 71 10 57 10 40C10 25 22 15 35 15C42 15 48.5 18 50 25C51.5 18 58 15 65 15C78 15 90 25 90 40C90 57 75 71 55.5 88C54 89.5 52 90 50 90Z' fill='none' stroke='%23EDBE85' stroke-width='4'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.heart-number {
    position: relative;
    z-index: 2;
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-top: -5px;
}

.love-text {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Great Vibes', cursive;
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 400;
    width: 100%;
    text-align: center;
}

.year-display {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-top: 1rem;
    font-weight: 400;
}

/* Location Section */
#location {
    background-color: var(--light-color);
    /* padding: 4rem 0; */
}

.venue-details {
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.venue-details h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#location .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    padding: 0.5rem 2rem;
    font-weight: 500;
}

#location .btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Details Section */
#details {
    /* padding: 4rem 0; */
}

.detail-item {
    margin-bottom: 2rem;
}

.detail-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.color-palette {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 3rem;
}

.color-swatch {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* RSVP Section */
#rsvp {
    background-color: var(--white-color);
    /* padding: 4rem 0; */
}

#rsvp-form .form-control,
#rsvp-form .form-select {
    padding: 0.8rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
}

#rsvp-form .btn {
    padding: 0.6rem 2rem;
    font-weight: 500;
    margin: 0 5px;
}

#rsvp-form .btn-success {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

#rsvp-form .btn-success:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Countdown Section */
#countdown {
    padding: 4rem 0;
}

.countdown-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Countdown Section Styles */

.countdown-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
    position: relative;
}

.countdown-update {
    animation: pulse 0.5s ease-in-out;
    color: var(--accent-color);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.countdown-label {
    font-size: 1rem;
    color: var(--dark-color);
    margin-top: 0.5rem;
}

.countdown-item {
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: 10px;
    margin: 0 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
}

.wedding-date {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-top: 2rem;
    padding: 1rem;
    display: inline-block;
    border: 2px solid var(--accent-color);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.8);
}

/* Footer */
footer {
    background-color: #fff;
    color: var(--dark-color);
    padding: 0;
    border-top: 1px solid #eee;
}

.footer-content {
    padding: 3rem 0 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.company-tagline {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--accent-color);
    text-decoration: none;
    margin: 0.5rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-icons {
    margin-bottom: 1.5rem;
}

.social-icons a {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin: 0 10px;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-info {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-info a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-color);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: #eee;
    margin: 0 0 1.5rem;
}

.footer-copyright {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 0;
}

.footer-preferences {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.footer-preferences a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-preferences a:hover {
    color: var(--accent-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .couple-names {
        font-size: 2.5rem;
    }

    .photo-item {
        width: 150px;
        height: 180px;
    }


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

    .month-name {
        font-size: 3.5rem;
    }

    .date-grid {
        gap: 15px;
    }

    .date-box {
        width: 70px;
        height: 70px;
    }

    .heart-container {
        width: 80px;
        height: 80px;
    }

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

    .date-box span {
        font-size: 1.8rem;
    }

    .love-text {
        font-size: 1.3rem;
        bottom: -30px;
    }

    .year-display {
        font-size: 3rem;
    }

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

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

    .footer-content {
        padding: 2rem 0 1rem;
    }

    .footer-logo img {
        max-width: 180px;
    }

    .company-tagline {
        margin-bottom: 2rem;
    }

    .social-icons {
        margin-top: 1rem;
    }

    .contact-info {
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .photo-item {
        width: 140px;
        height: 170px;
    }

    .month-name {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .date-grid {
        gap: 15px;
    }

    .date-box {
        width: 60px;
        height: 60px;
    }

    .heart-container {
        width: 70px;
        height: 70px;
    }

    .heart-number {
        font-size: 1.6rem;
    }

    .date-box span {
        font-size: 1.5rem;
    }

    .love-text {
        font-size: 1.2rem;
        bottom: -28px;
    }

    .year-display {
        font-size: 2.5rem;
        margin-top: 1.5rem;
    }

    .footer-content {
        padding: 1.5rem 0 1rem;
    }

    .footer-logo {
        margin-bottom: 0.5rem;
    }

    .company-tagline {
        margin-bottom: 1.5rem;
    }

    .social-icons a {
        margin: 0 8px;
        font-size: 1.1rem;
    }

    .footer-copyright,
    .footer-preferences {
        text-align: center !important;
        margin-bottom: 0.5rem;
    }

    .footer-preferences {
        margin-top: 0.5rem;
    }
}
