/* --- Global Variables & Resets --- */
:root {
    --primary-color: #000000;
    --text-color: #333333;
    --accent-color: #00d2d3;
    --light-bg: #ffffff;
    --dark-bg: #050505;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body.gallery-body { font-family: 'Inter', sans-serif; color: var(--text-color); background-color: var(--light-bg); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

/* =========================================
   HEADER & NAVBAR (Fixed for Dark Banner)
   ========================================= */
.site-header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    padding: 25px 50px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    z-index: 1000; 
    transition: all 0.4s ease; 
    background: transparent; 
}

.site-header.scrolled { 
    padding: 15px 50px; 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px); 
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); 
}

.logo-link { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.nav-logo-img { 
    object-fit: contain; 
    transition: transform 0.3s ease, filter 0.3s ease, height 0.3s ease; 
}
.nav-logo-img:hover { transform: scale(1.03); }

/* Sizes for Split Logo */
.icon-logo { height: 55px; width: auto; }
.text-logo { height: 40px; width: auto; }
.site-header.scrolled .icon-logo { height: 45px; }
.site-header.scrolled .text-logo { height: 35px; }

/* Logo Color Inversion Logic */
.site-header:not(.scrolled) .nav-logo-img {
    filter: brightness(0) invert(1) !important; /* White on transparent header */
}
.site-header.scrolled .text-logo {
    /* Your specific navy blue text filter */
    filter: invert(10%) sepia(45%) saturate(3475%) hue-rotate(201deg) brightness(94%) contrast(106%) !important;
}
.site-header.scrolled .icon-logo {
    filter: none !important; /* Original color for icon on scroll */
}

.header-actions { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}

/* Call Button */
.btn-call { 
    border: 2px solid rgba(255,255,255,0.3); 
    padding: 10px 25px; 
    border-radius: 30px; 
    font-weight: 600; 
    font-size: 0.95rem; 
    background: rgba(255,255,255,0.1); 
    color: #fff; 
    transition: var(--transition); 
    display: flex; 
    align-items: center; 
    gap: 8px;
    backdrop-filter: blur(5px);
}
.site-header.scrolled .btn-call {
    background: white;
    color: var(--primary-color);
    border-color: #ddd;
}
.btn-call:hover { background: var(--accent-color) !important; color: #000 !important; border-color: var(--accent-color) !important; }

/* Hamburger Menu Button */
.menu-toggle { 
    background: rgba(255,255,255,0.1); 
    border: 1px solid rgba(255,255,255,0.3); 
    cursor: pointer; 
    width: 45px; 
    height: 45px; 
    border-radius: 50%; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    gap: 5px; 
    transition: var(--transition); 
}
.site-header.scrolled .menu-toggle {
    background: #111;
    border-color: #111;
}
.menu-toggle:hover { transform: scale(1.05); background: var(--accent-color) !important; border-color: var(--accent-color) !important; }

.bar { width: 20px; height: 2px; background-color: white; transition: background 0.4s;}

/* Overlay Nav */
.nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: #0a0a0a; z-index: 1000; display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.4s ease, visibility 0.4s ease; }
.nav-overlay.active { opacity: 1; visibility: visible; pointer-events: auto; }
.close-btn { position: absolute; top: 30px; right: 50px; background: white; border: none; color: black; font-size: 2.5rem; line-height: 1; cursor: pointer; width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; transition: var(--transition); }
.close-btn:hover { background: var(--accent-color); color: white; transform: rotate(90deg); }
.main-nav ul { list-style: none; text-align: center; padding: 0; }
.main-nav ul li { margin: 20px 0; transform: translateY(40px); opacity: 0; transition: all 0.5s ease; transition-delay: calc(0.1s * var(--i)); }
.nav-overlay.active .main-nav ul li { transform: translateY(0); opacity: 1; }
.main-nav ul li a { color: rgb(255, 255, 255); font-size: 3.5rem; font-weight: 700; transition: color 0.3s ease; }
.main-nav ul li a:hover { color: var(--accent-color); }

/* Highlight Current Page */
.main-nav ul li a.current {
    color: var(--accent-color);
    position: relative;
}
.main-nav ul li a.current::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
}

/* --- Inner Banner --- */
.inner-page-banner { height: 40vh; min-height: 350px; position: relative; display: flex; align-items: center; justify-content: center; background-color: #111; color: white; text-align: center; padding-top: 80px; }
.banner-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.75); }
.banner-content { position: relative; z-index: 2; }
.tiny-label { display: inline-block; font-size: 0.85rem; font-weight: 800; color: var(--accent-color); background: rgba(0, 210, 211, 0.1); padding: 8px 15px; border-radius: 6px; margin-bottom: 20px; letter-spacing: 2px; }
.banner-content h1 { font-size: 4rem; font-weight: 900; margin-bottom: 10px; text-transform: uppercase; letter-spacing: -1px;}
.breadcrumbs { font-size: 1.1rem; color: #ccc; font-weight: 500; }
.breadcrumbs a { color: var(--accent-color); text-decoration: none; transition: color 0.3s;}
.breadcrumbs a:hover { color: white; }

/* --- General Gallery Layout --- */
.gallery-header { margin-bottom: 50px; padding: 0 20px; }
.gallery-header h2 { font-size: 3rem; font-weight: 800; margin-bottom: 15px; letter-spacing: -1px; color: #000;}
.gallery-header p { font-size: 1.1rem; color: #666; }
.text-center { text-align: center; }

/* =======================================================
   1. HORIZONTAL INFINITE CAROUSEL (Left & Right) - LIGHT
   ======================================================= */
.gallery-horizontal-section {
    padding: 100px 0;
    background-color: var(--light-bg); 
    color: var(--text-color);
    overflow: hidden; 
}

.gallery-horizontal-section .gallery-header h2 { color: #000; } 
.gallery-horizontal-section .gallery-header p { color: #666; }

.h-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 15px 0;
}

.h-carousel-wrapper::before, .h-carousel-wrapper::after {
    content: ''; position: absolute; top: 0; width: 15vw; height: 100%; z-index: 2; pointer-events: none;
}
.h-carousel-wrapper::before { left: 0; background: linear-gradient(to right, #ffffff, transparent); }
.h-carousel-wrapper::after { right: 0; background: linear-gradient(to left, #ffffff, transparent); }

.h-carousel-track {
    display: inline-flex;
    gap: 30px;
    padding-right: 30px; 
}

.h-carousel-track img {
    height: 350px;
    width: 500px;
    object-fit: cover;
    border-radius: 15px;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); 
    filter: grayscale(40%);
}

.h-carousel-track:hover { animation-play-state: paused; }
.h-carousel-track img:hover { filter: grayscale(0%); transform: scale(1.05); z-index: 5; position: relative; border: 2px solid var(--accent-color); }

.move-left .h-carousel-track { animation: scrollHorizontalLeft 40s linear infinite; }
.move-right .h-carousel-track { animation: scrollHorizontalRight 40s linear infinite; }

@keyframes scrollHorizontalLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}
@keyframes scrollHorizontalRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* =======================================================
   2. VERTICAL INFINITE COLUMNS (Up & Down)
   ======================================================= */
.gallery-vertical-section {
    padding: 120px 0;
    background-color: var(--light-bg);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.vertical-grid-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    height: 900px; 
    overflow: hidden; 
    position: relative;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.v-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.v-track {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 30px;
}

.v-track img {
    width: 100%;
    height: 450px; 
    object-fit: cover;
    border-radius: 15px;
    transition: var(--transition);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    cursor: pointer;
}

.v-col:hover .v-track { animation-play-state: paused; }
.v-track img:hover { transform: scale(1.03); box-shadow: 0 20px 40px rgba(0,210,211,0.2); }

.move-up .v-track { animation: scrollVerticalUp 35s linear infinite; }
.move-down .v-track { animation: scrollVerticalDown 40s linear infinite; }
.move-up.fast .v-track { animation: scrollVerticalUp 25s linear infinite; } 

@keyframes scrollVerticalUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}
@keyframes scrollVerticalDown {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

/* =======================================================
   FOOTER, CURSOR & ANIMATIONS
   ======================================================= */
.site-footer { background-color: #0a0a0a; color: #ffffff; padding: 80px 50px 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-logo { margin-bottom: 20px; }
.brand-col p { color: #999; line-height: 1.6; margin-bottom: 25px; max-width: 90%; font-size: 0.95rem; }
.social-links { display: flex; gap: 15px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255, 255, 255, 0.05); color: white; border-radius: 50%; transition: all 0.3s ease; }
.social-links a:hover { background: var(--accent-color); color: #000; transform: translateY(-3px); }
.footer-col h4 { font-size: 1.2rem; font-weight: 600; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--accent-color); }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #999; transition: all 0.3s ease; font-size: 0.95rem; }
.footer-col ul li a:hover { color: var(--accent-color); padding-left: 5px; }
.contact-col p { color: #999; display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px; line-height: 1.5; font-size: 0.95rem; }
.contact-col i { color: var(--accent-color); margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 25px; text-align: center; color: #666; font-size: 0.9rem; }

/* Cursor & Spray */
body { cursor: none; }
.cursor-dot { width: 8px; height: 8px; background-color: var(--accent-color); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s; }
.cursor-outline { width: 40px; height: 40px; border: 1px solid var(--accent-color); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, background-color 0.2s; transition-duration: 0.15s; transition-timing-function: ease-out; }
.cursor-hover .cursor-outline { width: 60px; height: 60px; background-color: rgba(0, 210, 211, 0.1); border-color: transparent; }

.social-spray-icon { position: absolute; pointer-events: none; color: var(--accent-color); font-size: 20px; z-index: 9997; animation: sprayAnim 1s forwards cubic-bezier(0.1, 0.8, 0.3, 1); }
@keyframes sprayAnim {
    0% { transform: translate(-50%, -50%) scale(0.2) rotate(0deg); opacity: 1; }
    100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.5) rotate(var(--rot)); opacity: 0; }
}
@media (hover: none) and (pointer: coarse) {
    body { cursor: auto; }
    .cursor-dot, .cursor-outline, .social-spray-icon { display: none !important; }
}

/* Animations Classes */
.reveal-up, .reveal-fade { opacity: 0; transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); }
.reveal-up { transform: translateY(50px); }
.reveal-fade { transform: scale(0.95); }
.active.reveal-up { opacity: 1; transform: translate(0); }
.active.reveal-fade { opacity: 1; transform: scale(1); }

/* Responsive */
@media (max-width: 900px) {
    .h-carousel-track img { width: 350px; height: 250px; }
    .vertical-grid-container { height: 700px; gap: 15px; }
    .v-track img { height: 250px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .site-header { padding: 15px 20px; }
    .site-header.scrolled { padding: 15px 20px; }
    .btn-call { display: none; }
    
    /* Responsive styling for split logo */
    .icon-logo { height: 40px; } 
    .text-logo { height: 30px; }
    .site-header.scrolled .icon-logo { height: 35px; }
    .site-header.scrolled .text-logo { height: 25px; }
    
    .close-btn { top: 20px; right: 20px; width: 40px; height: 40px; font-size: 2rem; }
    .main-nav ul li a { font-size: 2.5rem; }
    
    .vertical-grid-container { flex-direction: column; height: auto; mask-image: none; -webkit-mask-image: none; }
    .v-track { padding-bottom: 0; }
    .move-up .v-track, .move-down .v-track { animation: none !important; } 
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .site-footer { padding: 60px 20px 20px; }
}

/* =========================================
   UPDATED LOGO SIZES & FILTERS
   ========================================= */
/* Space between the two logos */
.logo-link { 
    display: flex; 
    align-items: center; 
    gap: 15px; /* Increased gap */
}

/* BASE Sizes for Split Logo (At top) */
.icon-logo { 
    height: 70px; /* BIG icon */
    width: auto; 
}
.text-logo { 
    height: 55px; /* BIG text */
    width: auto; 
}

/* BASE Colors: Make both STARK WHITE on the transparent header */
.site-header:not(.scrolled) .nav-logo-img {
    filter: brightness(0) invert(1) !important;
}

/* =========================================
   SCROLLED LOGO SIZES & COLORS
   ========================================= */
/* Scrolled Sizes */
.site-header.scrolled .icon-logo { 
    height: 60px; /* Still big, but fits better */
}
.site-header.scrolled .text-logo { 
    height: 55px; /* Still big, but fits better */
}

/* Scrolled Colors: Switch back on white background */
.site-header.scrolled .icon-logo {
    filter: none !important; /* Shows actual teal/navy colors */
}
.site-header.scrolled .text-logo {
    /* CORRECTED NAVY BLUE FILTER (Matches #001f3f) */
    filter: invert(90%) sepia(35%) saturate(7181%) hue-rotate(205deg) brightness(91%) contrast(106%) !important;
}
/* Nav Overlay (Sidebar Style) */
.nav-overlay { 
    position: fixed; 
    top: 0; 
    right: -400px; 
    left: auto;
    width: 100%; 
    max-width: 400px; 
    height: 100vh; 
    background-color: rgba(5, 5, 5, 0.95); 
    backdrop-filter: blur(10px); 
    z-index: 1000; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    visibility: hidden; 
    transition: right 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.5s; 
    pointer-events: none;
    box-shadow: -15px 0 40px rgba(0,0,0,0.4); 
}

.nav-overlay.active { 
    right: 0; 
    visibility: visible; 
    pointer-events: auto; 
}

.close-btn { 
    position: absolute; 
    top: 30px; 
    right: 30px; 
    background: white; 
    border: none; 
    color: black; 
    font-size: 2.5rem; 
    line-height: 1; 
    cursor: pointer; 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    transition: 0.3s; 
}

.close-btn:hover { 
    background: var(--accent-color); 
    color: white; 
    transform: rotate(90deg); 
}

.main-nav ul { 
    list-style: none; 
    text-align: center; 
    padding: 0; 
}

.main-nav ul li { 
    margin: 15px 0; 
    transform: translateX(50px); 
    opacity: 0; 
    transition: all 0.5s ease; 
    transition-delay: calc(0.1s * var(--i)); 
}

.nav-overlay.active .main-nav ul li { 
    transform: translateX(0); 
    opacity: 1; 
}

.main-nav ul li a { 
    text-decoration: none; 
    color: white; 
    font-size: 2.5rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    transition: color 0.3s; 
}

.main-nav ul li a:hover { color: var(--accent-color); }

/* Highlight the current page in the overlay */
.main-nav ul li a.current {
    color: var(--accent-color);
    position: relative;
}
.main-nav ul li a.current::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
}
@media (max-width: 768px) {
    /* Mobile Sidebar Width */
    .nav-overlay { max-width: 300px; right: -300px; }
    .nav-overlay.active { right: 0; }
    /* ... your other mobile CSS ... */
}