/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Load Asap, Courier, Roboto, Inconsolata, Roboto Mono and Inter fonts */
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&family=Inter:wght@300;400;700&family=Roboto:wght@300;400;700&family=Inconsolata:wght@200;300;400;700&family=Roboto+Mono:wght@100;200;300;400&display=swap');

body {
    font-family: 'Asap', -apple-system, sans-serif;
    background-color: #F4F6EC; /* Light greenish off-white */
    color: #1a1a1a;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    background: rgba(244, 246, 236, 0.98); /* Match body background */
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-content {
    max-width: 1400px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-link {
    display: block;
    line-height: 0;
    flex-shrink: 0;
}

.header-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    background: #000;
    padding: 5px;
}

.tagline {
    font-family: 'Georgia', serif;
    font-style: normal;
    color: #000;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    flex: 1;
}

.inquire-btn {
    padding: 0.6rem 1.8rem;
    background-color: transparent;
    color: #000;
    text-decoration: none;
    border: 2px solid #000;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    flex-shrink: 0;
}

.inquire-btn:hover {
    background-color: #000;
    color: #F4F6EC;
    transform: translateY(-1px);
}

/* Full-screen Sections */
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 100px; /* Account for fixed header */
    position: relative;
}

/* Section 1: Hero with Slideshow */
.section-hero {
    padding: 120px 2rem 4rem;
}

/* Section 2: Featured Images */
.section-featured {
    padding: 100px 0;
}

/* Section 3: Collage + Footer */
.section-collage {
    padding: 100px 0 0;
    justify-content: space-between;
}

.hero-title {
    font-family: 'Roboto Mono', monospace;
    font-size: 95px;
    font-weight: 100; /* Thinnest weight - Glossier-style */
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.3em; /* Wide letter spacing like original */
    color: #d62828; /* Red color like original */
    text-transform: lowercase;
}

/* Slideshow Container */
.slideshow-container {
    width: 80vw;
    max-width: 550px;
    position: relative;
    margin: 0 auto;
}

.slideshow {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    border-radius: 0; /* No rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* White noise canvas overlay */
.noise-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    pointer-events: none;
    mix-blend-mode: overlay;
    z-index: 10;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out, opacity 0s;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide.slide-out {
    opacity: 1;
    transform: translateX(-100%);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Portra film roll aesthetic */
    filter:
        brightness(1.05)
        contrast(0.92)
        saturate(0.85)
        sepia(0.08)
        hue-rotate(-5deg);
}

/* Optional: Add warm color overlay for enhanced Portra look */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 230, 210, 0.03),
        rgba(255, 240, 220, 0.02)
    );
    pointer-events: none;
    mix-blend-mode: screen;
}

/* Featured Images Section */
.featured-images {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    width: 100%;
    max-width: 1600px;
    padding: 0 1rem;
}

.featured-img {
    flex: 1;
    max-width: 50%;
    height: 700px;
    object-fit: cover;
    /* Match Portra film aesthetic from slideshow */
    filter:
        brightness(1.05)
        contrast(0.92)
        saturate(0.85)
        sepia(0.08)
        hue-rotate(-5deg);
}

/* Collage Section */
.collage {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    max-width: 1400px;
    padding: 0 1rem;
}

.collage-img {
    object-fit: cover;
    /* Match Portra film aesthetic from slideshow */
    filter:
        brightness(1.05)
        contrast(0.92)
        saturate(0.85)
        sepia(0.08)
        hue-rotate(-5deg);
}

/* Asymmetric sizing - all aligned at top, different heights */
.collage-img-1 {
    width: 30%;
    max-width: 380px;
    height: 450px;
}

.collage-img-2 {
    width: 32%;
    max-width: 420px;
    height: 580px;
}

.collage-img-3 {
    width: 30%;
    max-width: 380px;
    height: 420px;
}

/* Decorative Background Images */
.decorative-images {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    display: none; /* Hide for cleaner look */
}

.bg-img {
    position: absolute;
    object-fit: cover;
    opacity: 0.08;
    filter: blur(2px);
}

.bg-img-1 {
    top: 10%;
    left: -5%;
    width: 350px;
    height: 500px;
}

.bg-img-2 {
    bottom: 10%;
    right: -5%;
    width: 300px;
    height: 450px;
}

/* Footer */
.footer {
    width: 100%;
    background-color: #F4F6EC;
    padding: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.footer-content {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    text-align: left;
}

.instagram-link {
    order: -1;
}

.footer-content p {
    margin: 0.4rem 0;
    color: #000;
    font-size: 0.95rem;
}

.footer-content a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #d62828;
}

.social-icon {
    width: 35px;
    height: 35px;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.instagram-link:hover .social-icon {
    opacity: 1;
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.slide-up {
    animation: slideUp 1s cubic-bezier(0.85, 0, 0.15, 1) 0.4s forwards;
    opacity: 0;
}

.slide-up-delay {
    animation: slideUp 0.8s cubic-bezier(0.85, 0, 0.15, 1) 0.7s forwards;
    opacity: 0;
}

/* Responsive Design */

/* Tablet landscape and small desktop */
@media (max-width: 1024px) {
    .section {
        min-height: auto;
    }

    .hero-title {
        font-size: 70px;
    }

    .featured-img {
        height: 550px;
    }

    .collage-img-1 {
        height: 380px;
    }

    .collage-img-2 {
        height: 480px;
    }

    .collage-img-3 {
        height: 350px;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .header-content {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
        justify-content: space-between;
    }

    .inquire-btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.85rem;
    }

    .tagline {
        font-size: 0.9rem;
        flex: 1;
        text-align: center;
    }

    .header-logo {
        height: 50px;
    }

    .section {
        min-height: auto;
        padding-top: 100px;
    }

    .section-hero {
        min-height: auto;
        padding: 90px 1.5rem 3rem;
        justify-content: flex-start;
    }

    .section-featured {
        padding: 3rem 0;
        min-height: auto;
    }

    .section-collage {
        padding: 3rem 0 0;
        min-height: auto;
    }

    .hero-title {
        font-size: 50px;
        letter-spacing: 0.2em;
        margin-bottom: 2rem;
    }

    .slideshow-container {
        width: 85vw;
        max-width: 500px;
    }

    .featured-images {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0 0.5rem;
    }

    .featured-img {
        flex: 1;
        max-width: 50%;
        height: 350px;
    }

    .collage {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0 0.5rem;
    }

    .collage-img-1,
    .collage-img-2,
    .collage-img-3 {
        width: 32%;
        max-width: none;
        height: 280px;
    }

    .footer {
        padding: 2rem 1.5rem;
    }

    .footer-content p {
        display: inline;
    }

    .footer-content p:not(:last-child)::after {
        content: " · ";
    }
}

/* Large phones */
@media (max-width: 480px) {
    .header {
        padding: 0.8rem 1rem;
    }

    .header-content {
        flex-direction: row;
        gap: 0.8rem;
    }

    .header-logo {
        height: 50px;
    }

    .tagline {
        display: none;
    }

    .inquire-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
        border-width: 1.5px;
    }

    .section {
        padding-top: 80px;
    }

    .section-hero {
        padding: 80px 1rem 3rem;
        min-height: auto;
        justify-content: flex-start;
        align-items: center;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: 0.15em;
        margin-bottom: 1.5rem;
        margin-top: 0;
    }

    .slideshow-container {
        width: 92vw;
        max-width: none;
        margin-top: 0;
    }

    .section-featured {
        padding: 2rem 0 0 0;
    }

    .section-collage {
        padding: 0;
    }

    .featured-images {
        flex-direction: column;
        padding: 0 0.5rem;
        gap: 1.5rem;
        align-items: center;
    }

    .featured-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: unset;
    }

    .collage {
        flex-direction: column;
        padding: 0 0.5rem;
        padding-top: 1.5rem;
        gap: 1.5rem;
        align-items: center;
    }

    .collage-img {
        object-fit: unset;
    }

    .collage-img-1,
    .collage-img-2,
    .collage-img-3 {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .footer {
        padding: 1.5rem 1rem;
        gap: 1rem;
    }

    .footer-content p {
        font-size: 0.7rem;
        white-space: nowrap;
    }

    .social-icon {
        width: 28px;
        height: 28px;
    }
}

/* Small phones */
@media (max-width: 360px) {
    .header-logo {
        height: 42px;
    }

    .inquire-btn {
        padding: 0.4rem 0.9rem;
        font-size: 0.8rem;
    }

    .section-hero {
        padding-top: 75px;
    }

    .hero-title {
        font-size: 1.6rem;
        letter-spacing: 0.1em;
    }

    .footer-content p {
        font-size: 0.6rem;
    }
}

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

/* Font loading optimization */
@font-face {
    font-family: 'Asap';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/KFO9CniXp96a4Tc2DaTeuDAoKsE615hJW36eA1Ef.woff2') format('woff2');
}
