@font-face {
    font-family: 'Marcellus';
    src: url('fonts/Marcellus-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playwright';
    src: url('fonts/PlaywriteIE-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #ceab7a;
    --secondary-color: #ceab7a;
    --background-color: #314744;
}

body {
    margin: 0;
    padding: 5vh 0 0 0;
    font-family: 'Marcellus', serif;
    color: var(--primary-color);
    background-color: var(--background-color);
    background-image: linear-gradient(to bottom, 
        var(--background-color) 0%,
        rgba(193, 68, 242, 0.15) 100%);
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header, main {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    box-sizing: border-box;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 2rem;
}

.couple-names {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin: 0.7rem auto;
    text-transform: uppercase;
    font-family: 'Marcellus', serif;
    width: 100%;
    max-width: 90%;
    line-height: 1.2;
    display: block;
    text-align: center;
    color: #fff;
}

header h3.wedding-date {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-family: 'Playwright', serif;
    font-weight: 200;
    margin-top: 0.3rem;
    margin-bottom: 0.7rem;
}

.hero-image {
    width: 100%;
    max-width: 100%;
    margin: 1.2rem auto;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    display: block;
    object-fit: cover;
}

.image-gallery {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.image-gallery picture {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.image-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    aspect-ratio: 4/3;
}

.invitation-text {
    margin: 2rem 0 0.8rem;
}

.invitation-text p {
    font-family: 'Playwright', serif;
    font-size: 1.5rem;
    font-weight: 200;
    color: var(--primary-color);
    margin: 0;
}

.venue-section {
    margin: 1rem 0 1.5rem;
}

.venue-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 0.5rem;
}

.flag-icon {
    width: 32px;
    height: auto;
    transform: scaleX(-1); /* Make flag point left */
    fill: var(--primary-color);
    display: inline-block;
    vertical-align: middle;
}

.venue-name {
    font-family: 'Marcellus', serif;
    font-size: 2.8rem;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    font-weight: normal;
    letter-spacing: 0.1em;
    display: inline-block;
}

.venue-address {
    font-family: 'Marcellus', serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin: 0.3rem 0;
    letter-spacing: 0.1em;
}

.venue-address-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: transform 0.2s ease-in-out;
}

.venue-address-link:hover {
    transform: translateY(-2px);
}

.venue-image {
    margin: 0.8rem auto;
    margin-top: 5vh;
    text-align: center;
    display: flex;
    justify-content: center;
    width: 100%;
}

.venue-image img {
    max-width: 354px;
    height: auto;
    margin: 0 auto;
}

.details-section {
    margin: 1.8rem 0 1.5rem;
    padding-top: 2vh;
}

.section-title {
    font-family: 'Marcellus', serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    margin: 1rem 0;
    font-weight: normal;
    letter-spacing: 0.1em;
}

.event-details, .evening-details {
    margin: 1.5rem 0;
}

.event-details p, .evening-details p {
    font-family: 'Marcellus', serif;
    margin: 0.5rem 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.divider-daisy {
    margin: 1.5rem auto;
    text-align: center;
}

.divider-daisy img {
    height: 36px;
    width: auto;
}

.closing-message {
    margin: 1.5rem 0;
}

.closing-message p {
    font-family: 'Playwright', serif;
    font-size: 2.2rem;
    font-weight: 200;
    color: var(--primary-color);
    line-height: 1.3;
    max-width: 80%;
    margin: 0 auto;
}

.contact-section {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
    align-items: center;
}

.email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    background: transparent;
    transition: background-color 0.2s;
}

.email:hover {
    background-color: rgba(206, 171, 122, 0.1);
}

.envelope-icon {
    fill: var(--secondary-color);
    width: 24px;
    height: 24px;
}

.archive-links {
    display: inline-block;
    margin-top: 10px;
    gap: 2rem;
}

.archive-link {
    text-decoration: none;
    color: var(--secondary-color);
    font-family: 'Marcellus', serif;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.archive-link:hover {
    color: rgba(206, 171, 122, 0.8);
}

.venue-link {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.2s, transform 0.2s ease;
    display: inline-block;
}

.venue-link:hover {
    color: rgba(206, 171, 122, 0.8);
    transform: translateY(-0.1rem);
}

@media (max-width: 768px) {
    .couple-names {
        font-size: 3rem;
    }
    
    .wedding-date {
        font-size: 1.2rem;
    }
    
    .venue-name {
        font-size: 2.5rem;
    }
    
    .flag-icon {
        width: 24px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .divider-daisy img {
        height: 30px;
    }
    
    .closing-message p {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .couple-names {
        font-size: 2.5rem;
    }
    
    .image-gallery {
        flex-direction: column;
        align-items: center;
    }
    
    .image-gallery picture {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 800px) {
    .image-gallery {
        gap: 15px;
    }
    
    .image-gallery picture {
        display: none;
        min-width: 100%;
    }

    /* Show only the middle picture (second child) */
    .image-gallery picture:nth-child(2) {
        display: block;
    }
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.tab-button {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-family: 'Marcellus', serif;
    font-size: 1.49rem;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0.5rem 0;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.tab-button:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.tab-button:hover:after,
.tab-button.active:after {
    width: 100%;
}

.tab-button.active {
    font-weight: bold;
}

/* Tab Content */
.tab-content {
    margin: 2rem auto;
    max-width: 800px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-pane.active {
    display: block;
}

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

.content-section {
    text-align: center;
    margin-bottom: 2rem;
}

/* Left align text specifically for Details, Special Celebration, and Travel tabs */
#details .content-section,
#special-celebration .content-section,
#travel .content-section {
    text-align: left;
}

/* Keep title styling consistent with left alignment in those sections */
#details .content-subtitle,
#special-celebration .content-subtitle,
#travel .content-subtitle {
    text-align: left;
}

.content-title {
    font-family: 'Marcellus', serif;
    font-size: 1rem;
    font-weight: normal;
    margin: 0.5rem 0;
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-transform: uppercase;
    color: #fff;
}

.content-subtitle {
    font-family: 'Marcellus', serif;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 1.5rem 0 0.5rem;
    color: #fff;
    text-transform: uppercase;
}

.content-section p {
    font-family: 'Marcellus', serif;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0.7rem 0;
    color: #fff;
}

.content-divider {
    width: 100px;
    height: 1px;
    background-color: #fff;
    margin: 2rem auto;
    opacity: 0.5;
}

/* Style for links in tab content */
.tab-content a {
    color: var(--primary-color); /* Use the yellow/gold color */
    text-decoration: underline; /* Add underline */
}

/* Normal case for special celebration description */
#special-celebration .content-title:nth-child(3) {
    text-transform: none;
    font-weight: normal;
}

/* Button style for booking */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--background-color);
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Marcellus', serif;
    font-size: 1rem;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.tab-content .button {
    color: var(--background-color) !important;
    text-decoration: none !important;
}

.button:hover {
    opacity: 0.9;
}

/* Media query for medium-sized screens */
@media (max-width: 768px) {
    .tab-navigation {
        gap: 1rem;
    }
    
    .tab-button {
        font-size: 0.88rem;
    }
}

/* Media query for smaller screens */
@media (max-width: 480px) {
    .tab-navigation {
        gap: 0.7rem;
    }
    
    .tab-button {
        font-size: 0.77rem;
        padding: 0.3rem 0;
    }
}

.home-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.home-link:hover {
    opacity: 0.9;
}

.language-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
}

.language-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 5px 10px;
    margin: 0 5px;
    cursor: pointer;
    font-family: 'Marcellus', serif;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.language-btn.active {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.language-btn:hover:not(.active) {
    opacity: 0.8;
} 