/* Font declarations */
@font-face {
    font-family: 'BodegaScript';
    src: url('BodegaScript-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Baskerville Book BQ';
    src: url('BaskervilleBookBQ-Regular-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Baskerville Book BQ';
    src: url('BaskervilleBookBQ-Italic-Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

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

body {
    font-family: 'Raleway', sans-serif;
    color: #2b5d8f; /* Lighter blue that maintains coastal feel */
    line-height: 1.6;
    max-width: 100%;
    overflow-x: hidden;
}

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

/* Header and Navigation */
header {
    background-color: #b3d0ea; /* Lighter blue for header */
    padding: 15px 0;
    text-align: center;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    color: #fff;
    transition: all 0.3s ease;
}

nav ul li a:hover, 
nav ul li a.active {
    color: #1b3d5f;
}

/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #b3d0ea; /* Lighter blue for dropdown */
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
}

.dropdown-content a {
    padding: 12px 16px;
    display: block;
    text-align: center;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Banner */
.banner {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    overflow: hidden;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.banner img {
    width: 100%; /* Full width for desktop */
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 0 auto;
    max-height: 195px;
    object-fit: cover;
    object-position: top;
    
    /* Lighten the image to match the new color scheme */
    filter: brightness(1.15) saturate(1.1) contrast(0.95);
    opacity: 0.9;
}

/* Names container */
.names-container {
    text-align: center;
    margin: 0px auto;
}

.name {
    font-family: 'BodegaScript', cursive;
    font-size: 70px;
    color: #2b5d8f; /* Lighter blue for names */
    font-weight: normal;
    margin: 10px 0;
}

.and {
    font-family: 'Baskerville Book BQ', serif;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 15px 0;
    color: #2b5d8f; /* Lighter blue */
}

/* Divider */
.divider {
    text-align: center;
    margin: 30px auto;
}

.divider img {
    max-width: 300px;
    height: auto;
}

/* Photos container */
.photos-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px auto;
    max-width: 900px;
}

.couple-photo {
    width: 280px;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

/* Wedding date section */
.wedding-date {
    text-align: center;
    margin: 40px auto;
}

.invitation {
    font-family: 'Baskerville Book BQ', serif;
    font-style: italic;
    font-size: 22px;
    margin-bottom: 20px;
}

.date {
    font-family: 'Baskerville Book BQ', serif;
    font-size: 45px;
    margin: 20px 0;
    color: #2b5d8f; /* Lighter blue */
    font-weight: normal;
}

.countdown {
    font-family: 'Baskerville Book BQ', serif;
    font-size: 18px;
}

/* Border line */
.border-line {
    border-top: 3px solid #2b5d8f; /* Lighter blue */
    border-bottom: 1px solid #2b5d8f; /* Lighter blue */
    height: 5px;
    width: 100%;
    margin: 60px 0;
}

/* About us section */
.about-us {
    max-width: 700px;
    margin: 40px auto;
    text-align: center;
    padding: 0 20px;
}

.couple-names {
    font-family: 'BodegaScript', cursive;
    font-size: 50px;
    margin-bottom: 40px;
    font-weight: normal;
}

.about-us p {
    font-family: 'Baskerville Book BQ', serif;
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.7;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0 40px;
    margin-top: 60px;
}

.minted-logo {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1b3d5f;
}

.footer-links {
    font-size: 12px;
}

.footer-links a {
    margin: 0 5px;
}

.artist {
    font-size: 12px;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 5px 0;
    }
    
    .name {
        font-size: 50px;
    }
    
    .date {
        font-size: 35px;
    }
    
    .couple-names {
        font-size: 40px;
    }
    
    /* Mobile banner fixes */
    .banner {
        max-width: 100%;
        overflow: hidden;
    }
    
    .banner img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center top;
        transform-origin: top center;
    }
    
    /* Return divider to original size on mobile */
    .divider img {
        max-width: 200px;
    }
    
    /* Mobile photos container */
    .photos-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .couple-photo {
        width: 90%;
        height: auto;
    }
}
