:root {
    --primary: #F5E6B8; /* Light Cream/Sand */
    --secondary: #57200C; /* Deep Brown/Burgundy */
    --primary-glow: rgba(245, 230, 184, 0.4);
    --bg-dark: #0A0A0A;
    --bg-card: #141414;
    --text-main: #FFFFFF;
    --text-muted: #AAAAAA;
    --mono: 'JetBrains Mono', monospace;
    --sans: 'Montserrat', sans-serif;
    --display: 'Anton', sans-serif;
    --gutter: 2rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: none; /* Hide default cursor */
}

body.dark-theme {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--sans);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; }
.bold { font-weight: 900; }
.text-center { text-align: center; }

/* Custom Cursor */
.cursor-dot, .cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10000;
    transition: opacity 0.3s ease, transform 0.2s ease-out;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid var(--primary);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: url('assets/photo1.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    transform: translate(0, 0);
    transition: transform 0.1s linear;
}

.hero-logo {
    max-width: 450px; /* Smaller Logo */
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.5));
}

.animate-logo {
    animation: logoFadeIn 2s ease-out forwards;
}

@keyframes logoFadeIn {
    from { opacity: 0; transform: scale(0.95); filter: blur(10px); }
    to { opacity: 1; transform: scale(1); filter: blur(0); }
}

.location-tag {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.location-tag .bold { color: var(--primary); }

.hero-cta { margin-top: 4rem; }

/* Global Floating CTA */
.btn-fixed-side {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    padding: 1.2rem 2.5rem;
    background: var(--secondary);
    color: var(--primary);
    text-decoration: none;
    font-family: var(--display);
    font-size: 1.4rem;
    letter-spacing: 2px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 2px solid var(--primary);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 4px;
}

.btn-fixed-side::before {
    content: '→';
    display: inline-block;
    margin-right: 0.8rem;
}

.btn-fixed-side:hover {
    transform: translateY(-5px);
    background: #7a2e12;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.scroll-indicator .mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    margin: 0 auto 1rem;
    position: relative;
}

.scroll-indicator .mouse::after {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--primary);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* Industrial Grid */
.section-industrial {
    padding: 50px 0;
    background: var(--bg-dark);
}

.grid-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.grid-card {
    background: var(--bg-card);
    padding: 4rem;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-title {
    font-family: var(--display);
    font-size: clamp(3rem, 10vw, 4rem);
    margin-bottom: 0; /* Adjusted for header-row */
    color: var(--primary);
}

.slider-controls {
    display: flex;
    gap: 1rem;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--primary);
    color: #000;
}

.desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

.stat .val {
    display: block;
    font-family: var(--display);
    font-size: 3rem;
}

.stat .lbl {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.img-card {
    padding: 0;
    overflow: hidden;
}

.img-wrap {
    height: 100%;
    width: 100%;
}

.static-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery Layout - Horizontal Scroll Row */
.section-gallery {
    padding: 50px 0;
    background: #050505;
    overflow: hidden;
}

.gallery-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0 var(--gutter);
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.gallery-grid::-webkit-scrollbar {
    height: 6px;
}
.gallery-grid::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
}
.gallery-grid::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
}

.gallery-item {
    flex: 0 0 calc(50% - 1rem);
    min-width: 400px;
    height: 500px;
    scroll-snap-align: center;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.section-amenities {
    padding: 50px 0;
    background: #000;
}

.amenities-dynamic {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 5rem;
}

.amenity-item {
    background: var(--bg-card);
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column; /* Better for narrow mobile */
    text-align: center;
    gap: 1rem;
    align-items: center;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.amenity-item:hover {
    border-bottom-color: var(--primary);
    background: #1a1a1a;
    transform: translateY(-10px);
}

.amenity-item .icon { font-size: 2.5rem; }
.amenity-item h3 { font-family: var(--mono); font-size: 1rem; margin-bottom: 0.5rem; }
.amenity-item p { color: var(--text-muted); font-size: 0.9rem; }

/* CTA Section */
.section-cta {
    padding: 50px 0;
    background: linear-gradient(rgba(231, 76, 60, 0.1), transparent);
}

.massive {
    font-family: var(--display);
    font-size: clamp(4rem, 10vw, 8rem);
    margin-bottom: 1rem;
    color: var(--primary);
}

.btn-primary-nyc {
    display: inline-block;
    margin-top: 3rem;
    padding: 2rem 5rem;
    background: var(--secondary);
    color: var(--primary);
    text-decoration: none;
    font-family: var(--display);
    font-size: 1.5rem;
    letter-spacing: 2px;
    box-shadow: 0 10px 30px rgba(87, 32, 12, 0.3);
    transition: all 0.3s ease;
}

.btn-primary-nyc:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px var(--primary-glow);
}

/* Footer */
.nyc-footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Overrides */
@media (max-width: 900px) {
    * { cursor: auto !important; }
    .cursor-dot, .cursor-outline { display: none; }

    .hero-section { 
        height: 90vh; 
        text-align: center; 
        justify-content: flex-start; /* Move to top */
        padding-top: 5rem; /* Space from top */
    }
    
    .scroll-indicator {
        bottom: 8rem; /* Raised to avoid overlapping the illustration */
    }
    
    .parallax-bg {
        background-image: url('assets/hero-mobile.jpg') !important;
        background-position: center bottom;
        background-size: contain;
        background-repeat: no-repeat;
        background-color: #df4526; /* Match the red background in the image */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: none !important;
    }
    .hero-text-wrap { 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
    }
    .hero-logo { 
        max-width: 280px; 
        margin-left: auto; 
        margin-right: auto; 
        margin-bottom: 2rem; 
    }
    .location-tag {
        justify-content: center;
    }
    
    .grid-layout { grid-template-columns: 1fr; gap: 1rem; }
    .grid-card { padding: 3rem 1.5rem; }
    
    .section-title { font-size: 2.5rem; }
    .desc { font-size: 1.1rem; margin-bottom: 2rem; }
    
    .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); }
    .stat { display: flex; justify-content: space-between; align-items: baseline; }
    .stat .val { font-size: 2.5rem; }
    
    /* Gallery Mobile */
    .gallery-item { 
        flex: 0 0 85vw; 
        min-width: 250px;
        height: 400px; 
    }
    
    /* Amenities Mobile Slider */
    .section-amenities {
        overflow: hidden;
    }
    
    .amenities-dynamic {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        gap: 1.5rem;
        padding-bottom: 2rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .amenity-item {
        flex: 0 0 80vw;
        scroll-snap-align: center;
        min-width: 280px;
        padding: 3rem 2rem;
    }

    .amenities-dynamic::-webkit-scrollbar {
        height: 6px;
    }
    .amenities-dynamic::-webkit-scrollbar-thumb {
        background: var(--secondary);
        border-radius: 10px;
    }
    
    .section-industrial, .section-amenities, .section-gallery {
        padding: 60px 0;
    }
    
    .btn-fixed-side {
        right: 15px;
        bottom: 15px;
        padding: 1rem 2rem;
        font-size: 1.2rem;
        width: calc(100% - 30px);
        text-align: center;
        border-radius: 8px;
    }
    
    .btn-fixed-side::before { display: none; }
    
    .massive { font-size: 2.5rem; }
    .section-cta { padding: 80px 1.5rem; }
}
