:root {
    --color-bg: #141414;
    --color-surface: #1f1f1f; /* Titanium Grey */
    --color-text: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-accent: #E10600; /* Racing Red */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    
    --spacing-xs: 1rem;
    --spacing-sm: 2rem;
    --spacing-md: 4rem;
    --spacing-lg: 8rem;
    --spacing-xl: 12rem;
}

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

html {
    scroll-behavior: smooth;
    /* Optional: custom scrollbar hiding for cleaner look */
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.05;
    pointer-events: none;
    z-index: 9999;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

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

/* Typography */
h1, h2, h3, .logo {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 8vw, 4rem);
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
    font-family: var(--font-body); /* Modern sans-serif */
    font-weight: 800;
}

.subtitle {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 1rem 1rem 0; /* 0 padding on the left to push logo to edge */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: transform 0.3s ease;
    pointer-events: none; /* Allows clicking through the empty space */
}

.logo, .menu-toggle {
    pointer-events: auto; /* Re-enable clicks */
    /* Add extremely subtle shadow so it remains legible over light images */
    filter: drop-shadow(0px 2px 10px rgba(0,0,0,0.8));
}

.navbar.hidden {
    transform: translateY(-100%);
}

.logo {
    z-index: 101;
    display: flex;
    align-items: center;
    margin-left: -15px; /* Extremely aggressive negative margin to offset logo's internal whitespace */
}

.logo-img {
    height: 140px; /* Increased logo size */
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
}

.menu-toggle .line {
    width: 30px;
    height: 2px;
    background-color: var(--color-text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Fullscreen Menu */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-bg);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.fullscreen-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.menu-link {
    font-family: var(--font-heading);
    font-size: 2rem; /* Reduced font size for elegance */
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease, color 0.3s ease;
}

.fullscreen-menu.active .menu-link {
    transform: translateY(0);
    opacity: 1;
}

.menu-link:hover {
    color: var(--color-text-muted);
}

.menu-link.social {
    font-size: 1.5rem;
    margin-top: var(--spacing-sm);
    color: var(--color-accent);
}

/* Menu Open State Animation */
body.menu-open .menu-toggle .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
body.menu-open .menu-toggle .line:nth-child(2) {
    transform: translateY(-8px) rotate(-45deg);
}
body.menu-open {
    overflow: hidden;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    height: 100svh; /* Mobile viewport fix */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Removed parallax extra height */
    z-index: -1;
}

/* Cinematic Collage */
.cinematic-collage {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

.collage-layer {
    position: absolute;
    object-fit: cover;
    opacity: 1; /* Full opacity for vibrant colors */
    filter: none;
    transition: opacity 2s ease;
}

.collage-layer.base-blur {
    width: 100%;
    height: 100%;
    filter: blur(40px) brightness(0.3); /* Darkened background to make shards pop */
    opacity: 1;
    z-index: 1;
}

/* Removed float-main */

/* Ultra-Fashionable, Asymmetrical Editorial Collage */
.float-1 { width: 25%; height: 100%; top: 0; left: 0; z-index: 1; opacity: 0.8; object-position: right center; } /* Tall left pillar */
.float-2 { width: 50%; height: 40%; top: 0; right: 10%; z-index: 1; opacity: 0.85; } /* Wide top block */
.float-4 { width: 100%; height: 20%; bottom: 0; left: 0; z-index: 1; opacity: 0.9; object-position: top center; } /* Horizontal bottom anchor */
.float-5 { width: 30%; height: 50%; top: 25%; left: 15%; z-index: 1; opacity: 0.95; filter: grayscale(100%) contrast(1.1); box-shadow: 0 0 40px rgba(0,0,0,0.8); } /* B&W focal overlap */
.float-6 { width: 45%; height: 65%; top: 15%; right: 0; z-index: 1; opacity: 0.75; object-position: left center; } /* Massive right overlap */
.float-7 { width: 20%; height: 35%; bottom: 15%; left: 35%; z-index: 1; opacity: 0.85; filter: sepia(40%); } /* Warm accent square */
.float-8 { width: 35%; height: 20%; top: 10%; left: 25%; z-index: 1; opacity: 0.7; } /* Subtle top sliver */
.float-9 { width: 15%; height: 80%; top: 10%; right: 25%; z-index: 1; opacity: 0.9; } /* Extremely tall, thin pillar cutting through */
.float-10 { width: 25%; height: 25%; bottom: 25%; right: 15%; z-index: 1; opacity: 0.8; } /* Floating offset block */
.float-11 { width: 10%; height: 40%; bottom: 5%; right: 5%; z-index: 1; opacity: 0.95; } /* Micro focal frame */

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to bottom, var(--color-bg) 0%, rgba(20,20,20,0) 10%),
        linear-gradient(to top, var(--color-bg) 0%, rgba(20,20,20,0.3) 30%, rgba(20,20,20,0.8) 100%);
    z-index: 3;
}

.hero-content {
    z-index: 10;
    padding: 0 var(--spacing-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Perfectly centered text */
    height: 100%;
    width: 100%;
    position: relative;
}

.hero-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 6rem); /* Increased size */
    letter-spacing: 0.15em;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 5px 15px rgba(0, 0, 0, 0.9), 0 10px 30px rgba(0, 0, 0, 1);
    white-space: nowrap; /* Forces text to stay on one line */
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem; /* Increased size */
    letter-spacing: 10px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    margin-top: 1rem;
    font-weight: 400;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-text);
    color: var(--color-bg);
    font-family: var(--font-heading);
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    white-space: nowrap; /* Forces text to stay on a single line */
}

.hero-btn {
    position: absolute;
    bottom: 10%; /* Lowered the button */
    left: 50%;
    transform: translateX(-50%);
}

.cta-button.outline {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text);
}

.cta-button:active {
    transform: scale(0.98);
}

/* Sections */
.section {
    padding: var(--spacing-xl) 0; /* Full bleed padding */
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Editorial Borders */
}

.section-header {
    position: sticky;
    top: 90px; /* Stay below navbar */
    z-index: 50;
    background: linear-gradient(to bottom, rgba(20,20,20,0.95) 40%, rgba(20,20,20,0) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--spacing-md) var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    margin-top: -var(--spacing-xl); /* offset section padding for sticky */
}

/* Galleries */
.gallery-vertical {
    padding: 0; /* Edge to edge on mobile */
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px; /* Editorial gap */
}

.gallery-item {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 0; /* Sharp, editorial edges */
    background-color: var(--color-surface);
}

.gallery-item.portrait {
    aspect-ratio: 3/4;
}

.gallery-item.landscape {
    aspect-ratio: 16/9;
}

.gallery-item.square {
    aspect-ratio: 1/1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    transition: transform 1s ease, filter 0.5s ease;
    filter: brightness(0.9);
}

.gallery-item:hover img {
    transform: scale(1.03); /* Slower, more cinematic zoom */
    filter: brightness(1.1);
}

/* Full Bleed Parallax Image */
.full-bleed-image {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 70vh;
    overflow: hidden;
    position: relative;
}

.full-bleed-image img {
    width: 100%;
    height: 120%; /* Extra height for parallax */
}

/* Text Blocks */
.about {
    padding: var(--spacing-xl) var(--spacing-sm);
    background-color: var(--color-bg); /* Use pure bg instead of surface to let texture shine */
}
.about-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}
.about-quote h2 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-family: var(--font-heading);
    letter-spacing: 0;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}
.about-text {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 600px;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-md);
}
.stat-block {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.stat-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--color-accent);
}
.stat-value {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-text);
}

/* Instagram Grid */
.instagram-contact-sheet {
    border-top: 1px solid rgba(255,255,255,0.05);
}
.ig-grid.seamless {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 0;
}
.ig-item {
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 0;
}

.ig-item img {
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}
.ig-item:hover img {
    filter: grayscale(0%);
}

/* Footer */
.massive-footer {
    padding: var(--spacing-xl) var(--spacing-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    background-color: var(--color-bg);
}
.massive-text {
    font-size: clamp(4rem, 15vw, 10rem);
    font-family: var(--font-heading);
    text-align: center;
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: var(--spacing-lg);
}
.primary-btn {
    background-color: var(--color-accent);
    color: #fff;
    border: none;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 2px;
    padding: 1.5rem 3rem;
}
.primary-btn.outline {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text);
}
.primary-btn:hover {
    background-color: #ff1a1a;
    transform: translateY(-5px);
}

.footer-bottom {
    margin-top: var(--spacing-xl);
    width: 100%;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Desktop Enhancements */
@media (min-width: 768px) {
    .section {
        padding: var(--spacing-xl) 10vw;
    }

    .gallery-vertical {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;
    }

    .ig-grid.seamless {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .about-grid {
        flex-direction: row;
        justify-content: space-between;
    }
    .about-quote {
        flex: 1;
        padding-right: var(--spacing-xl);
    }
    .about-stats {
        flex: 1;
        grid-template-columns: 1fr;
        border-top: none;
        border-left: 1px solid rgba(255,255,255,0.1);
        padding-top: 0;
        padding-left: var(--spacing-xl);
        align-content: center;
    }
}
