/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-beige: #F2EEEA;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --font-heading: 'Lexend Giga', sans-serif;
    --font-body: 'Libre Baskerville', serif;
}

/* Base Styles */
body {
    font-family: var(--font-body);
    background-color: var(--color-beige);
    color: var(--color-black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Floating Text Overlay */
.floating-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 48px;
    line-height: 1.2;
    font-weight: 500;
    color: var(--color-white);
    text-align: center;
    z-index: 10;
    pointer-events: none;
    max-width: calc(100% - 40px);
    text-transform: uppercase;
    letter-spacing: -1.92px;
    transition: opacity 0.5s ease;
}

/* Header */
header {
    background-color: var(--color-beige);
    padding: 30px 20px 0 20px;
    text-align: center;
}

.logo {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Main Content */
main {
    max-width: 100%;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    background-color: var(--color-beige);
    padding: 0 12px 12px 12px;
}

.hero-content {
    width: 100%;
}

.hero-content img {
    width: 100%;
    height: auto;
    display: block;
}

/* Project Sections */
.project {
    width: 100%;
    background-color: var(--color-beige);
    padding: 0 12px 12px 12px;
}

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

.project-image img {
    width: 100%;
    height: 260px;
    max-height: 90vh;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Contact Section */
.contact-section {
    background-color: var(--color-beige);
    padding: 12px;
    text-align: center;
    position: relative;
    z-index: 50;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 72px;
    line-height: 90px;
    letter-spacing: -3.6px;
    font-weight: normal;
    color: var(--color-black);
    margin-bottom: -12px;
}

.contact-description {
    font-family: var(--font-body);
    font-size: 20px;
    line-height: 28px;
    color: var(--color-black);
    max-width: 800px;
    margin: 0 auto 30px;
    letter-spacing: -0.72px;
}

.contact-email {
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 33px;
    font-weight: normal;
    color: var(--color-black);
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
}

.contact-email:hover {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

/* Partner Logos Section */
.logos-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    padding-bottom: 40px;
    flex-wrap: wrap;
}

.partner-logo {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    display: block;
}

.logos-section a {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logos-section a:hover .partner-logo {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 767px) {
    .logo {
        max-width: 400px;
    }
    
    .contact-title {
        font-size: 48px;
        line-height: 48px;
        letter-spacing: -1.92px;
        margin-bottom: 15px;
    }
    
    .contact-email {
        font-size: 16px;
        line-height: 22px;
    }
    
    .contact-description {
        font-size: 16px;
        line-height: 22px;
    }
    
    .logos-section {
        gap: 12px 20px;        ;
        margin-top: 30px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 20px;
    }
    
    .partner-logo {
        height: 24px;
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (min-width: 768px) {
    .floating-text {
        font-size: 72px;
        font-weight: 500;
        letter-spacing: -2.88px;
        max-width: calc(100% - 80px);
    }

    .logo {
        max-width: 650px;
    }

    .project-image img {
        height: 600px;
        max-height: 90vh;
    }

    header {
        padding: 40px 40px 0 40px;
    }

    main {
        max-width: 1400px;
        padding: 0 20px;
    }

    .project {
        padding: 0 40px;
    }
}

@media (min-width: 1024px) {
    .floating-text {
        font-size: 96px;
        font-weight: 500;
        letter-spacing: -3.84px;
        max-width: calc(100% - 80px);
    }

    .logo {
        max-width: 800px;
    }

    header {
        padding: 50px 20px 0 20px;
    }

    main {
        padding: 0;
        max-width: 100%;
    }

    .project {
        padding: 8px 20px;
    }

    .project-image img {
        height: auto;
        max-height: 90vh;
        width: 100%;
        object-fit: cover;
    }

    .contact-section {
        padding: 40px 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Image Loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}