/* =========================================
   MODERN VARIABLES & THEME
   ========================================= */
:root {
    --bg-main: #0a0a0a;
    --bg-alt: #141414;
    --text-main: #ffffff;
    --text-muted: #888888;
    --accent: #D4AF37; /* Elegant Gold */
    
    --font-display: 'Syne', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
    --bg-main: #FAFAFA;
    --bg-alt: #EFEFEF;
    --text-main: #0a0a0a;
    --text-muted: #555555;
}

/* =========================================
   GLOBAL RESET & CUSTOM CURSOR
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body); background-color: var(--bg-main);
    color: var(--text-main); line-height: 1.6; overflow-x: hidden;
    transition: background-color var(--transition), color var(--transition);
}

/* Custom Cursor */
.cursor {
    width: 8px; height: 8px; background: var(--accent);
    border-radius: 50%; position: fixed; pointer-events: none;
    z-index: 9999; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s;
}
.cursor-follower {
    width: 40px; height: 40px; border: 1px solid var(--accent);
    border-radius: 50%; position: fixed; pointer-events: none;
    z-index: 9998; transform: translate(-50%, -50%); transition: 0.1s ease-out;
}
body:hover .cursor { opacity: 1; }
a, button { cursor: none; }
a:hover ~ .cursor, button:hover ~ .cursor { width: 20px; height: 20px; background: transparent; border: 2px solid var(--accent); }
a:hover ~ .cursor-follower, button:hover ~ .cursor-follower { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }

/* Utilities */
.container { max-width: 1400px; margin: 0 auto; padding: 0 5%; }
.section-padding { padding: 120px 0; }
.mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 2rem; } .mt-4 { margin-top: 3rem; } .mt-5 { margin-top: 5rem; }
.mb-2 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 2rem; } .mb-5 { margin-bottom: 4rem; }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.bg-alt { background-color: var(--bg-alt); }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; }
.massive-title { font-size: clamp(3rem, 8vw, 8rem); text-transform: uppercase; letter-spacing: -2px; }
.section-title { font-size: clamp(2.5rem, 5vw, 4.5rem); text-transform: uppercase; }
.text-large { font-size: 1.25rem; font-weight: 500; color: var(--text-muted); }
.text-small { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; }

.outline-text {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--text-main);
}

/* =========================================
   SMART HEADER & NAVIGATION
   ========================================= */
.header { 
    position: fixed; top: 0; width: 100%; z-index: 1000; 
    padding: 30px 0; mix-blend-mode: difference; color: #fff;
    transition: transform 0.4s ease, background 0.4s ease, padding 0.4s ease;
}
.header.scrolled {
    background: var(--bg-main); padding: 15px 0; mix-blend-mode: normal; color: var(--text-main);
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}
.header.hidden { transform: translateY(-100%); } /* Hides on scroll down */

.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1500px; margin: 0 auto; padding: 0 5%; }
.logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: inherit; text-decoration: none; }

/* Desktop Navigation */
.desktop-nav { display: flex; gap: 30px; }
.desktop-nav a { 
    font-size: 0.9rem; font-weight: 600; text-transform: uppercase; 
    color: inherit; text-decoration: none; position: relative;
    letter-spacing: 1px;
}
.desktop-nav a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--accent); transition: width 0.3s;
}
.desktop-nav a:hover::after { width: 100%; }

.nav-actions { display: flex; gap: 30px; align-items: center; }
.theme-toggle { background: none; border: none; color: inherit; font-size: 1.2rem; }

/* Hamburger (Hidden on Desktop) */
.menu-trigger { 
    display: none; background: none; border: none; color: inherit; 
    flex-direction: column; gap: 6px; z-index: 1001; 
}
.menu-trigger span { display: block; width: 30px; height: 2px; background: currentColor; transition: var(--transition); }

/* =========================================
   FULLSCREEN MOBILE MENU
   ========================================= */
.fullscreen-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    z-index: 999; pointer-events: none; display: flex; align-items: center; 
    padding: 20px 10%;
}
.menu-bg { position: absolute; top: 0; left: 0; width: 100%; height: 0; background: var(--bg-main); transition: height 0.6s cubic-bezier(0.85, 0, 0.15, 1); }
.fullscreen-menu.active { pointer-events: auto; }
.fullscreen-menu.active .menu-bg { height: 100%; }

.menu-links { 
    position: relative; z-index: 2; display: flex; flex-direction: column; gap: 15px; 
    max-height: 80vh; overflow-y: auto; padding-right: 20px; width: 100%;
}
/* Hide scrollbar for menu */
.menu-links::-webkit-scrollbar { display: none; }

.menu-link {
    font-family: var(--font-display); font-size: clamp(2rem, 5vw, 4rem);
    text-transform: uppercase; color: var(--text-main); text-decoration: none;
    opacity: 0; transform: translateY(40px); transition: all 0.4s ease;
}
.fullscreen-menu.active .menu-link { opacity: 1; transform: translateY(0); }
.menu-link:hover { color: var(--accent); padding-left: 20px; }
.menu-link .num { font-size: 1rem; font-family: var(--font-body); color: var(--text-muted); vertical-align: middle; margin-right: 15px; }

/* =========================================
   BUTTONS
   ========================================= */
.btn-creative {
    display: inline-block; padding: 15px 35px; border-radius: 50px;
    background: var(--text-main); color: var(--bg-main); font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem;
    text-decoration: none; transition: var(--transition);
}
.btn-creative:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
.btn-creative.outline { background: transparent; border: 1px solid var(--text-main); color: var(--text-main); }
.btn-creative.outline:hover { background: var(--text-main); color: var(--bg-main); }

/* =========================================
   HERO SECTION
   ========================================= */
.hero { height: 100vh; position: relative; display: flex; align-items: flex-end; padding-bottom: 5%; overflow: hidden; }
.hero-image-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-image-wrapper img { width: 100%; height: 100%; object-fit: cover; animation: subtleZoom 20s infinite alternate; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-main) 0%, transparent 100%); opacity: 0.9; }

.hero-content { position: relative; z-index: 1; width: 100%; }
.hero .subtitle { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 4px; margin-bottom: 10px; color: var(--accent); }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px; }
.explore-btn { width: 60px; height: 60px; border: 1px solid var(--text-main); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--text-main); transition: var(--transition); text-decoration: none; }
.explore-btn:hover { background: var(--text-main); color: var(--bg-main); }

@keyframes subtleZoom { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }

/* =========================================
   SEAMLESS MARQUEE (Fixed Infinite Loop)
   ========================================= */
.marquee-strip { 
    padding: 25px 0; border-top: 1px solid rgba(255,255,255,0.1); 
    border-bottom: 1px solid rgba(255,255,255,0.1); overflow: hidden; 
}
.marquee-track { 
    display: flex; width: max-content; 
    animation: seamlessScroll 20s linear infinite; 
}
.marquee-content { display: flex; flex-shrink: 0; }
.marquee-content span { 
    font-family: var(--font-display); font-size: 1.2rem; 
    text-transform: uppercase; font-weight: 600; padding: 0 40px; 
    white-space: nowrap; color: var(--text-muted);
}
@keyframes seamlessScroll { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}

/* =========================================
   LAYOUTS
   ========================================= */
.layout-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.align-center { align-items: center; }

/* =========================================
   ABOUT
   ========================================= */
.creative-image-box { position: relative; padding: 20px; }
.creative-image-box img { width: 100%; border-radius: 20px; aspect-ratio: 4/5; object-fit: cover; }
.floating-stat-box {
    position: absolute; bottom: -20px; left: -30px;
    background: var(--bg-alt); padding: 30px; border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1);
}
.floating-stat-box i { font-size: 2rem; color: var(--accent); margin-bottom: 10px; }
.floating-stat-box p { font-family: var(--font-display); font-size: 1.2rem; text-transform: uppercase; }

/* =========================================
   BENTO STATS
   ========================================= */
.bento-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento-item { background: var(--bg-alt); padding: 50px 30px; border-radius: 20px; text-align: center; display: flex; flex-direction: column; justify-content: center; transition: var(--transition); border: 1px solid rgba(255,255,255,0.05); }
.bento-item:hover { transform: translateY(-5px); border-color: var(--accent); }
.bento-item h3 { font-size: 4rem; color: var(--text-main); line-height: 1; margin-bottom: 10px; }
.bento-item p { text-transform: uppercase; font-size: 0.85rem; letter-spacing: 2px; color: var(--text-muted); }
.bento-item.accent-bg { background: var(--accent); color: #000; }
.bento-item.accent-bg h3, .bento-item.accent-bg p { color: #000; }
.bento-item.dark-bg { background: #111; }
.stat-main { grid-column: span 2; background: transparent; border: 1px solid var(--text-main); text-align: left; }
.bento-title { font-family: var(--font-display); font-size: 2.5rem; text-transform: uppercase; color: var(--text-main); }

/* =========================================
   WHY CHOOSE US (Sticky Scroll)
   ========================================= */
.sticky-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.sticky-side { position: sticky; top: 150px; }
.factor-card { padding: 40px; border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; margin-bottom: 30px; background: var(--bg-alt); transition: var(--transition); }
.factor-card:hover { background: var(--text-main); color: var(--bg-main); transform: translateX(-10px); }
.factor-num { font-family: var(--font-display); font-size: 3rem; color: transparent; -webkit-text-stroke: 1px var(--text-muted); display: block; margin-bottom: 15px; }
.factor-card:hover .factor-num { -webkit-text-stroke: 1px var(--bg-main); color: var(--bg-main); }
.factor-card h3 { font-size: 1.5rem; margin-bottom: 10px; }

/* =========================================
   FOUNDATION (Hover Cards)
   ========================================= */
.hover-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hover-card { position: relative; height: 500px; border-radius: 20px; overflow: hidden; cursor: none; }
.hover-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); filter: grayscale(100%); }
.hover-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px; background: linear-gradient(transparent, rgba(0,0,0,0.9)); color: #fff; transform: translateY(50px); opacity: 0; transition: var(--transition); }
.hover-card:hover img { filter: grayscale(0%); transform: scale(1.05); }
.hover-card:hover .hover-content { transform: translateY(0); opacity: 1; }
.hover-content h4 { font-size: 1.5rem; margin-bottom: 10px; color: var(--accent); }

/* =========================================
   SHOWROOM
   ========================================= */
.showroom { position: relative; overflow: hidden; }
.bg-huge-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: var(--font-display); font-size: 15vw; font-weight: 800; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.05); pointer-events: none; z-index: 0; }
.brutalist-img { width: 100%; border-radius: 20px; border: 2px solid var(--text-main); padding: 10px; box-sizing: border-box; }
.location-tags { display: flex; flex-wrap: wrap; gap: 15px; }
.location-tags span { padding: 10px 25px; border: 1px solid var(--text-muted); border-radius: 50px; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; transition: var(--transition); }
.location-tags span:hover { border-color: var(--accent); background: var(--accent); color: #000; }
.button-group { display: flex; gap: 20px; }

/* =========================================
   ETHICS & SUSTAINABILITY
   ========================================= */
.certifications-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.cert-item { height: 120px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.1); border-radius: 15px; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; transition: var(--transition); }
.cert-item:hover { background: var(--text-main); color: var(--bg-main); transform: scale(1.05); }

/* =========================================
   MANAGEMENT TEAM
   ========================================= */
.team-mosaic { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.team-member { aspect-ratio: 1; overflow: hidden; position: relative; }
.team-member img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: var(--transition); }
.team-member:hover img { filter: grayscale(0%); transform: scale(1.1); z-index: 10; position: relative; }
.accent-block, .dark-block { display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 5px; }
.accent-block { background: var(--accent); color: #000; }
.dark-block { background: var(--text-main); color: var(--bg-main); }

/* =========================================
   NEWS
   ========================================= */
.news-masonry { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.news-post img { width: 100%; height: 350px; object-fit: cover; border-radius: 20px; margin-bottom: 20px; }
.post-date { font-size: 0.85rem; text-transform: uppercase; color: var(--accent); letter-spacing: 2px; display: block; margin-bottom: 10px; }
.post-info h3 { font-size: 1.5rem; margin-bottom: 10px; transition: var(--transition); }
.news-post:hover h3 { color: var(--accent); }

/* =========================================
   FOOTER
   ========================================= */
.footer { padding: 100px 0 40px; background: var(--bg-main); border-top: 1px solid rgba(255,255,255,0.1); }
.creative-form { display: flex; border-bottom: 2px solid var(--text-muted); padding-bottom: 10px; }
.creative-form input { background: transparent; border: none; color: var(--text-main); flex-grow: 1; font-size: 1.2rem; font-family: var(--font-body); outline: none; }
.creative-form button { background: transparent; border: none; color: var(--accent); font-size: 1.5rem; cursor: none; transition: transform 0.3s; }
.creative-form button:hover { transform: translateX(10px); }

.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 50px; }
.f-col h4 { font-size: 1.2rem; margin-bottom: 20px; color: var(--text-main); }
.f-col a { display: block; color: var(--text-muted); margin-bottom: 10px; text-decoration: none; transition: var(--transition); }
.f-col a:hover { color: var(--accent); padding-left: 5px; }

/* =========================================
   ANIMATIONS
   ========================================= */
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-left { transform: translateX(40px); }
.fade-right { transform: translateX(-40px); }
.reveal.active { opacity: 1; transform: translate(0,0); }
.delay-1 { transition-delay: 0.2s; } .delay-2 { transition-delay: 0.4s; } .delay-3 { transition-delay: 0.6s; }

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1024px) {
    /* Hide Desktop Nav, Show Hamburger */
    .desktop-nav { display: none; }
    .menu-trigger { display: flex; }
    
    .layout-split, .sticky-layout { grid-template-columns: 1fr; gap: 40px; }
    .sticky-side { position: relative; top: 0; }
    .hover-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-stats { grid-template-columns: repeat(2, 1fr); }
    .stat-main { grid-column: span 1; }
    .team-mosaic { grid-template-columns: repeat(3, 1fr); }
    .massive-title { font-size: 4rem; }
    .cursor, .cursor-follower { display: none; }
    a, button { cursor: pointer; }
}

@media (max-width: 768px) {
    .section-padding { padding: 80px 0; }
    .bento-stats { grid-template-columns: 1fr; }
    .hover-cards-grid { grid-template-columns: 1fr; }
    .certifications-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .button-group { flex-direction: column; }
}