/* Font declarations */
@font-face {
    font-family: 'InterUI';
    src: url('assets/Great_Vibes,Inter,Josefin_Slab,Parisienne/Inter/static/Inter_18pt-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'InterUI';
    src: url('assets/Great_Vibes,Inter,Josefin_Slab,Parisienne/Inter/static/Inter_18pt-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'InterUI';
    src: url('assets/Great_Vibes,Inter,Josefin_Slab,Parisienne/Inter/static/Inter_18pt-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'InterUI';
    src: url('assets/Great_Vibes,Inter,Josefin_Slab,Parisienne/Inter/static/Inter_18pt-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'InterUI';
    src: url('assets/Great_Vibes,Inter,Josefin_Slab,Parisienne/Inter/static/Inter_18pt-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Parisienne';
    src: url('assets/Great_Vibes,Inter,Josefin_Slab,Parisienne/Parisienne/Parisienne-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Tangerine';
    src: url('assets/Tangerine/Tangerine-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Tangerine';
    src: url('assets/Tangerine/Tangerine-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Josefin Slab';
    src: url('assets/Great_Vibes,Inter,Josefin_Slab,Parisienne/Josefin_Slab/static/JosefinSlab-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Updock';
    src: url('assets/Updock/Updock-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Italiana';
    src: url('assets/Italiana/Italiana-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    font-family: 'Marcellus', 'InterUI', Arial, sans-serif;
    min-height: 100vh;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
    overflow: hidden;
}

.page-container {
    display: flex;
    height: 100vh;
}

.fixed-left {
    width: 60%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.fixed-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.section-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 500ms cubic-bezier(0.23, 1, 0.32, 1);
}

.section-images.active {
    opacity: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1000ms ease-in-out;
}

.hero-image.active {
    opacity: 1;
}

.hero-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: left;
    padding: 0 60px 60px 60px;
    z-index: 2;
}

.names {
    font-family: 'Parisienne', cursive;
    font-size: 4.5rem;
    font-weight: normal;
    color: white;
    margin-bottom: 16px;
}

.description {
    font-family: 'Josefin Slab', serif;
    font-size: 1.2rem;
    color: white;
    letter-spacing: 1px;
    max-width: 80%;
}

.scrollable-right {
    width: 40%;
    height: 100vh;
    overflow-y: auto;
    background-color: white;
}

.content-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin: 0;
}

#hero {
    display: none; /* Hide in desktop by default */
}

.mobile-slideshow {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    margin-bottom: 2rem;
    overflow: hidden;
    opacity: 1;
    display: none; /* Hide in desktop by default */
}

.mobile-slideshow .section-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1000ms ease-in-out;
    display: block;
}

.mobile-slideshow .section-image.active {
    opacity: 1;
}

#date-info {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
    background-image: url('assets/imagebackground.webp');
    background-size: cover;
    background-position: center;
}

#date-info .date {
    font-family: 'Parisienne', cursive;
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    color: #333;
    line-height: 1.2;
    text-align: center;
    width: 100%;
}

#date-info .date:first-of-type {
    font-size: 2.4rem;
    margin-bottom: 0;
}

#date-info .location {
    font-family: 'Josefin Slab', serif;
    font-size: 1.4rem;
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
    color: #666;
    text-align: center;
}

#date-info .countdown {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

#date-info .countdown-item {
    text-align: center;
    font-family: 'Josefin Slab', serif;
}

#date-info .countdown-item .number {
    font-size: 3.5rem;
    font-weight: 600;
    display: block;
    color: #333;
    line-height: 1;
    margin-bottom: 0.5rem;
}

#date-info .countdown-item .label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
}

.rsvp-button {
    display: inline-block;
    padding: 16px 32px;
    background-color: #C4A484;
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-family: 'Josefin Slab', serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-top: 2rem;
    min-width: 250px;
    text-align: center;
}

.rsvp-button:hover {
    background-color: #B08D6E;
    transform: translateY(-2px);
}

.main-content {
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
}

.text-section {
    margin: 0; /* Remove margin */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    min-height: 100vh; /* Ensure full height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-section h2 {
    font-family: 'Italiana', cursive;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #1f1e1e;
    text-align: left;
    letter-spacing: 1px;
    font-weight: normal;
}

.text-section-content {
    padding: 4rem 2rem;
}

.section-image {
    display: none;
}

.mobile-only {
    display: none;
}

/* Calendar Dropdown Styles */
.calendar-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.calendar-button,
.directions-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background-color: #C4A484;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 100px;
    font-family: 'Josefin Slab', serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 200px;
    margin: 0 auto;
}

/* Add a wrapper for the directions button */
.directions-wrapper {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

.calendar-button:hover,
.directions-button:hover {
    background-color: #B08D6E;
    transform: translateY(-2px);
}

.calendar-button .dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.calendar-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    margin-top: 8px;
    background-color: white;
    min-width: 220px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.calendar-dropdown.active .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
    font-family: 'Marcellus', serif;
    text-align: center;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.dropdown-item img {
    width: 20px;
    height: 20px;
}

.map-container {
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.map-container iframe {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.venue-address {
    font-family: 'Josefin Slab', serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 2rem;
    text-align: center;
}

.schedule-details {
    font-family: 'Marcellus', serif;
    font-size: 1rem;
    line-height: 1.6;
    padding: 1rem 0;
}

.schedule-details p {
    margin-bottom: 0.8rem;
}

.schedule-details p:last-child {
    margin-bottom: 0;
}

.dress-code-details {
    font-family: 'Marcellus', serif;
    font-size: 1rem;
    line-height: 1.6;
    padding: 1rem 0;
}

.dress-code-details p {
    margin-bottom: 0.8rem;
}

.dress-code-details p:last-child {
    margin-bottom: 0;
}

.text-section-content h2 {
    font-family: 'Parisienne', serif;
}

.text-section-content h3 {
    font-family: 'Marcellus', serif;
    font-size: 1.3rem;
}
.deadline-text {
    font-size: 1.3rem;
}

.dress-code-main {
    font-family: 'Marcellus', cursive;
    font-size: 2.2rem;
    color: #333;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.2;
    width: 100%;
}

.venue-name {
    font-family: 'Marcellus', cursive;
    font-size: 2.2rem;
    color: #333;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.2;
    width: 100%;
}

.gift-thank-you {
    margin-top: 2rem;
}

.gift-details {
    margin-top: 2rem;
}

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

.confirmation-description {
    margin-bottom: 2rem;
}

.confirmation-description p {
    margin-bottom: 1rem;
}

.confirmation-button-wrapper {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.confirmation-button-wrapper + p {
    margin-top: 2rem;
    font-family: 'Marcellus', serif;
    font-size: 1.1rem;
}

.confirmation-button-wrapper + p + p {
    margin-top: 1rem;
    font-family: 'Marcellus', serif;
    font-size: 1.1rem;
}

.instagram-link {
    color: #C4A484;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.instagram-link:hover {
    color: #B08D6E;
}

/* Mobile styles for hero images */
@media screen and (max-width: 768px) {
    body {
        overflow-y: auto;
        height: auto;
    }

    .page-container {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }

    .fixed-left {
        width: 100%;
        height: 100vh;
        position: relative;
        display: block;
    }

    .scrollable-right {
        width: 100%;
        height: auto;
        overflow: visible;
        position: relative;
    }

    .hero-image {
        display: none;
    }

    .hero-image[data-section="hero"] {
        display: block;
        position: relative;
        opacity: 1;
    }

    .content-section {
        min-height: auto;
        padding: 4rem 0;
    }

    #hero {
        display: block; /* Show in mobile */
        position: relative;
        height: 100vh;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }

    #hero .mobile-slideshow {
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        display: block;
    }

    #hero .mobile-slideshow::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 5;
    }

    #hero .hero-text {
        position: absolute;
        width: 100%;
        text-align: center;
        padding: 0 2rem;
        z-index: 10;
        bottom: 3rem; /* Position from bottom instead of top */
        left: 0;
        transform: none; /* Remove the top 50% transform */
    }

    .hero-text .names {
        font-size: 3.5rem;
        margin-bottom: 1rem;
        color: white;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .hero-text .description {
        font-size: 1.1rem;
        color: white;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        max-width: 100%;
    }

    /* Regular section slideshows */
    .text-section .mobile-slideshow {
        padding-bottom: 100%;
        margin-bottom: 2rem;
        position: relative;
        height: auto;
    }

    .text-section .mobile-slideshow .section-image {
        border-radius: 0;
    }

    /* Hide desktop slideshow in mobile */
    .fixed-left {
        display: none;
    }

    /* General content spacing */
    .content-section {
        padding: 4rem 2rem;
    }

    .main-content {
        padding: 0;
    }

    .text-section {
        margin: 0;
    }

    .mobile-slideshow {
        display: block; /* Show in mobile */
        margin: 0;
    }
} 