/* Reset and Base Styles */
:root {
    --bg-color: #F9F8F6; /* Extremely soft, warm paper white */
    --text-color: #1A1A1A; /* Very dark grey, almost black */
    --accent-color: #8C8270; /* Muted earth/gold tone */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-serif);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
    font-size: 20px; /* Base size */
}

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

/* Header & Logo */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 5vh 5vw; /* Generous margin/padding from top and left */
    pointer-events: none;
}

.logo {
    display: flex;
    flex-direction: column;
    text-align: left; /* Left-aligned lines */
    align-items: flex-start; /* Ensure children align left */
    font-weight: bold;
    font-family: var(--font-serif); /* Serif font like the paragraph */
    font-style: normal; /* Normal style to match the paragraph */
    text-transform: none; /* Elegant title-case styling */
    font-size: 2.5rem; /* Kept at 2.5rem as preferred */
    letter-spacing: 0.05em;
    font-weight: 300; /* Match the paragraph's weight 300 */
    color: #1e3a8a; /* Keep the brand blue color */
    pointer-events: auto;
    width: max-content; /* Ensure the flex column hugs the text */
}

.logo span {
    display: block;
    line-height: 1.2;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh; /* Full viewport height */
    width: 100%;
    background-color: #000;
}

.hero-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: 0.8;
    transform: scale(1.06); /* Scales the image slightly to hide the grey borders/margins on left and right */
}

.hero-fade {
    position: absolute;
    display: none;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30vh;
    background: linear-gradient(to bottom, rgba(249, 248, 246, 0) 0%, rgba(249, 248, 246, 1) 100%);
    pointer-events: none;
}

/* Typography Sections */
.main-content {
    padding-bottom: 10vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5vw;
}

.container.narrow {
    max-width: 900px;
}

.quote-section {
    padding: 10vh 0;
    position: relative;
    z-index: 2;
    margin-top: -5vh; /* Slight overlap */
}

.quote-block {
    text-align: center;
    font-size: 2.2rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-color);
}

.quote-block p {
    margin-bottom: 2rem;
}

.quote-author {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-style: normal;
    color: var(--accent-color);
    margin-top: 4rem;
}

.typography-section {
    padding: 8vh 0;
}

.text-layout.center-align {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.text-layout p {
    margin-bottom: 2.5rem;
    font-size: 1.4rem;
    font-weight: 300;
    color: #333;
}

.text-layout .lead-text {
    font-size: 1.8rem;
    line-height: 1.4;
    color: var(--text-color);
    margin-bottom: 4rem;
}

/* Gallery Section (Minimalist Swiper) */
.gallery-section {
    padding: 15vh 0;
    background-color: #EFECE7; /* Slight contrast block */
}

.gallery-header {
    text-align: center;
    margin-bottom: 8vh;
}

.gallery-header h2 {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-weight: 400;
    color: var(--accent-color);
}

.archive-swiper {
    width: 100%;
    padding: 0 5vw;
    overflow: visible;
}

.archive-swiper .swiper-slide {
    width: 300px;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.archive-swiper .swiper-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.archive-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Custom Navigation */
.swiper-button-next, .swiper-button-prev {
    color: var(--text-color) !important;
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.5rem !important;
}

/* Footer Contact Section */
.footer-contact-section {
    padding: 10vh 0;
    background-color: var(--bg-color);
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8vw;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 8vh;
}

.footer-contact-image {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.bottom-img {
    width: 100%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bottom-img:hover {
    transform: scale(1.03);
}

.footer-contact-info {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 2vw;
}

.footer-contact-info .contact-minimal {
    border-top: none;
    padding-top: 0;
    display: block;
    width: 100%;
    text-align: left;
}

.contact-minimal p {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-color);
    margin-bottom: 1.2rem;
}

.email-link {
    font-size: 2.2rem;
    font-weight: 300;
    position: relative;
    display: inline-block;
    color: var(--text-color);
    word-break: break-all;
}

.email-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--text-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.email-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    body {
        font-size: 18px; /* Slightly smaller base text size */
    }

    .site-header {
        padding: 2rem 1.5rem;
        position: relative; /* Move header to normal flow on mobile so it doesn't overlap the smaller banner */
        background-color: var(--bg-color);
        display: flex;
        justify-content: flex-start; /* Left aligned block */
    }
    
    .logo {
        font-size: 2rem; /* Keep logo beautifully small on mobile */
        text-align: left; /* Align text left on mobile to look cleaner */
        align-items: flex-start;
    }
    
    .hero-section {
        height: 45vh; /* Much smaller height on mobile */
    }
    
    .hero-img {
        object-position: center; /* Center image */
        transform: scale(1.06); /* Ensure grey borders are hidden on mobile too */
    }

    .hero-fade {
        height: 15vh;
    }

    .quote-section {
        padding: 6vh 0;
        margin-top: 0;
    }
    
    .quote-block {
        font-size: 1.4rem;
        line-height: 1.6;
    }
    
    .text-layout p {
        font-size: 1.1rem;
        margin-bottom: 1.8rem;
    }
    
    .text-layout .lead-text {
        font-size: 1.3rem;
        margin-bottom: 2.5rem;
    }
    
    .gallery-section {
        padding: 8vh 0;
        overflow: hidden; /* Prevent horizontal scroll from visible swiper slides */
    }

    .archive-swiper {
        padding: 0 10vw;
    }

    .archive-swiper .swiper-slide {
        width: 260px;
        height: 350px;
    }
    
    /* Footer contact grid for mobile */
    .footer-contact-grid {
        grid-template-columns: 1fr;
        gap: 5vh;
        padding-top: 5vh;
    }
    
    .footer-contact-info {
        padding-left: 0;
        text-align: center;
        justify-content: center;
    }
    
    .footer-contact-info .contact-minimal {
        text-align: center;
    }
    
    .email-link {
        font-size: 1.5rem;
    }
}

