﻿/* ============================================
   Alfa Marine Design - v4 Styles
   Multi-page with Video Hero
   ============================================ */

:root {
    --navy-900: #0a1628;
    --navy-800: #0f2847;
    --navy-700: #1a3a5c;
    --navy-600: #264d73;
    --steel-100: #f0f4f8;
    --steel-200: #d9e2ec;
    --steel-300: #bcccdc;
    --steel-400: #9fb3c8;
    --accent-cyan: #00d4ff;
    --accent-gold: #ffd700;
    --bg-primary: var(--navy-900);
    --bg-secondary: var(--navy-800);
    --bg-card: var(--navy-700);
    --text-primary: var(--steel-100);
    --text-secondary: var(--steel-400);
    --accent: var(--accent-cyan);
    --border: rgba(0, 212, 255, 0.2);
    --crosshair-color: rgba(0, 212, 255, 0.4);
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #f5f7fa;
    --bg-secondary: #e8ecf1;
    --bg-card: #ffffff;
    --text-primary: #1a2a3a;
    --text-secondary: #4a5a6a;
    --accent: #0077cc;
    --border: rgba(0, 119, 204, 0.2);
    --crosshair-color: rgba(0, 119, 204, 0.3);
}

[data-theme="light"] {
    --bg-primary: var(--steel-100);
    --bg-secondary: var(--steel-200);
    --bg-card: #ffffff;
    --text-primary: var(--navy-900);
    --text-secondary: var(--navy-600);
    --accent: var(--navy-700);
    --border: rgba(26, 58, 92, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Disable text selection globally */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection only in form inputs */
input, textarea, [contenteditable="true"] {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Disable image dragging */
img, video, canvas {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Re-enable pointer events for clickable images */
a img, button img, .clickable-image {
    pointer-events: auto;
}
body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    cursor: none;
}
body.modal-open { overflow: hidden; }

/* Disable default cursor on desktop */
@media (min-width: 769px) {
    body, body * { cursor: none !important; }
}
/* Enable default cursor on mobile */
@media (max-width: 768px) {
    body, body * { cursor: auto !important; }
}

/* ============================================
   AUTOCAD CROSSHAIR CURSOR
   ============================================ */
.crosshair-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
    overflow: hidden;
    transition: opacity 0.3s ease;
}
.crosshair-h {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--crosshair-color, rgba(0, 212, 255, 0.4));
    pointer-events: none;
    will-change: top;
}
.crosshair-v {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: var(--crosshair-color, rgba(0, 212, 255, 0.4));
    pointer-events: none;
    will-change: left;
}
.crosshair-center {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 1px solid var(--accent);
    background: transparent;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: width 0.15s ease, height 0.15s ease, background 0.15s ease;
    will-change: left, top;
}
.crosshair-cursor.hovering .crosshair-center {
    width: 20px;
    height: 20px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 2px;
}
/* Hide crosshair on mobile */
@media (max-width: 768px) {
    .crosshair-cursor { display: none !important; }
}

/* Disable image dragging */
img, video, iframe {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: auto;
}

/* ============================================
   CURSOR
   ============================================ */
.cursor-blob {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
    transition: transform 0.2s ease, width 0.2s ease, height 0.2s ease;
}
.cursor-blob.expand { width: 50px; height: 50px; }
@media (max-width: 768px) { .cursor-blob { display: none; } }

/* ============================================
   LOADER
   ============================================ */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--navy-800);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
}
.loader.done { transform: translateY(-100%); }
.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 10;
}
.loader-logo-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
}
.loader-bg-image {
    width: 60vw;
    max-width: 400px;
    height: auto;
    opacity: 0.15;
    filter: brightness(0) invert(1);
    transition: all 1s ease;
}
.loader.done .loader-bg-image {
    transform: scale(1.5);
    opacity: 0;
    filter: brightness(0) invert(1) blur(20px);
}
.loader-logo {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
.loader-progress-display { display: flex; align-items: baseline; overflow: hidden; }
.loader-number {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(8rem, 15vw, 12rem);
    font-weight: 900;
    line-height: 1;
    color: var(--steel-100);
    letter-spacing: -0.02em;
}
.loader-percent {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 300;
    color: rgba(240, 244, 248, 0.4);
    margin-left: 0.5rem;
}
.loader-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
.loader-label span {
    font-size: 0.65rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--steel-100);
    font-weight: 600;
}
.loader-line { width: 40px; height: 1px; background: rgba(240, 244, 248, 0.2); }
.loader-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
}
.loader-bar-container .loader-bar {
    height: 100%;
    width: 0%;
    background: var(--steel-100);
    box-shadow: 0 0 30px var(--steel-100);
    transition: width 0.5s ease-out;
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, transparent 100%);
    transition: all 0.3s ease;
}
nav.scrolled, nav.nav-dark {
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    padding: 1rem 4%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.logo img { height: 50px; transition: transform 0.3s ease; }
.logo:hover img { transform: scale(1.05); }
.nav-right { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Language Selector */
.lang-selector { position: relative; }
.lang-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}
.lang-current:hover { border-color: var(--accent); color: var(--text-primary); }
.lang-current svg { width: 16px; height: 16px; }
.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}
.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-option {
    display: block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}
.lang-option:hover, .lang-option.active {
    background: var(--accent);
    color: var(--bg-primary);
}

/* Brochure Download Button */
.btn-brochure {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--accent);
    color: var(--bg-primary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.btn-brochure:hover {
    background: var(--accent-gold);
    transform: translateY(-2px);
}
.btn-brochure svg { width: 16px; height: 16px; }

/* Theme Toggle Button */
.theme-toggle {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}
.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun-icon { display: none; }
.theme-toggle .moon-icon { display: block; }
[data-theme="light"] .theme-toggle .sun-icon { display: block; }
[data-theme="light"] .theme-toggle .moon-icon { display: none; }

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}
.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-to-top:hover {
    background: var(--accent-gold);
    transform: translateY(-5px);
}
.scroll-to-top svg { width: 24px; height: 24px; }

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}
.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}
.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}
.mobile-menu-content a {
    font-size: 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}
.mobile-menu-content a:hover, .mobile-menu-content a.active { color: var(--accent); }
.mobile-brochure {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent);
    color: var(--bg-primary) !important;
    border-radius: 4px;
    font-size: 1rem !important;
    margin-top: 1rem;
    text-decoration: none;
}
.mobile-lang-selector { display: flex; gap: 1rem; margin-top: 2rem; }
.mobile-lang-selector .lang-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}
.mobile-lang-selector .lang-btn.active {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}

@media (max-width: 1024px) {
    .nav-links, .lang-selector { display: none; }
    .mobile-menu-toggle { display: flex; }
}

/* ============================================
   HERO VIDEO SECTION (Homepage)
   ============================================ */
.hero-video-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.video-background iframe,
.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
@media (min-aspect-ratio: 16/9) {
    .video-background iframe, .video-background video { height: 56.25vw; }
}
@media (max-aspect-ratio: 16/9) {
    .video-background iframe, .video-background video { width: 177.78vh; }
}
.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.4);
    z-index: 1;
}
.hero-content-wrapper {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 5% 10rem;
}
.hero-top-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 100%);
    pointer-events: none;
}
.hero-bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(10,22,40,0.9) 0%, transparent 100%);
    pointer-events: none;
}
.hero-text { position: relative; z-index: 10; max-width: 1400px; }
.hero-tagline {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.hero-main-title {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-weight: 300;
    line-height: 1.05;
}
.hero-main-title .title-line {
    display: block;
    font-size: clamp(2.5rem, 6vw, 7rem);
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-main-title em { font-style: italic; }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    z-index: 20;
}
.scroll-indicator:hover { color: white; }
.scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}
.scroll-line {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}
.scroll-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: white;
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(100%); opacity: 0.5; }
}

/* ============================================
   PORTFOLIO FULLSCREEN (Homepage)
   ============================================ */
.portfolio-fullscreen {
    min-height: 100vh;
    background: var(--navy-900);
}
.portfolio-grid {
    display: flex;
    height: 100vh;
    width: 100%;
}
.portfolio-item {
    position: relative;
    flex: 1;
    cursor: pointer;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: flex 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.portfolio-item:last-child { border-right: none; }
.portfolio-item:hover { flex: 1.5; }
.portfolio-item-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}
.portfolio-item:hover .portfolio-item-image { transform: scale(1.05); }
.portfolio-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.8) 0%, rgba(10, 22, 40, 0.3) 50%, transparent 100%);
    transition: background 0.5s ease;
}
.portfolio-item:hover .portfolio-item-overlay {
    background: linear-gradient(to top, rgba(10, 22, 40, 0.7) 0%, rgba(10, 22, 40, 0.1) 60%, transparent 100%);
}
.portfolio-item-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    z-index: 10;
}
.portfolio-item-title-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}
.portfolio-item:hover .portfolio-item-title-wrapper { transform: translateY(-20px); }
.portfolio-item-title {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-weight: 300;
    color: white;
    text-align: center;
    letter-spacing: 0.1em;
}
.portfolio-item-subtitle {
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    letter-spacing: 0.05em;
    opacity: 0.8;
    transition: opacity 0.5s ease;
}
.portfolio-item:hover .portfolio-item-subtitle { opacity: 1; }

@media (max-width: 1024px) {
    .portfolio-grid { flex-direction: column; height: auto; min-height: 100vh; }
    .portfolio-item {
        flex: none;
        height: 50vh;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .portfolio-item:hover { flex: none; }
}
@media (max-width: 640px) {
    .portfolio-item { height: 40vh; }
}

/* ============================================
   PAGE CONTENT (Inner Pages)
   ============================================ */
.page-content {
    padding-top: 100px;
    min-height: 100vh;
    background: var(--bg-primary);
}
.page-hero {
    padding: 4rem 6% 3rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}
.page-hero-content { max-width: 1400px; margin: 0 auto; }
.section-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}
.page-title {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--text-primary);
}
.page-title .highlight { color: var(--accent); }
.project-count {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--text-secondary);
}
.project-count span { color: var(--accent); font-weight: 600; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-main { padding: 4rem 6%; max-width: 1400px; margin: 0 auto; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-text { }
.about-text .lead-text {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}
.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}
.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.features-section { padding: 4rem 6%; background: var(--bg-secondary); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.feature-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
    color: var(--accent);
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-card h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.feature-card p { font-size: 0.875rem; color: var(--text-secondary); }

@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-main { padding: 4rem 6%; max-width: 1400px; margin: 0 auto; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.service-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.service-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.1;
}
.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    color: var(--accent);
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.service-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.service-list {
    list-style: none;
    padding: 0;
}
.service-list li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    border-top: 1px solid var(--border);
}
.service-list li:first-child { border-top: none; }

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PROJECTS PAGE
   ============================================ */
.projects-main { padding: 2rem 6% 4rem; max-width: 1600px; margin: 0 auto; }
.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 0.75rem 2rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.project-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.project-card:hover img { transform: scale(1.1); }
.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.95) 100%);
    transform: translateY(30%);
    transition: transform 0.4s ease;
}
.project-card:hover .project-overlay { transform: translateY(0); }
.project-category {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 0.25rem;
    display: block;
}
.project-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: white;
}
.project-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}
.load-more-container { text-align: center; margin-top: 3rem; }
.btn-load-more {
    padding: 1rem 3rem;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-load-more:hover {
    background: var(--accent);
    color: var(--bg-primary);
}
.btn-load-more:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Projects Column Style Layout */
.projects-main-columns { padding: 2rem 0 0; }
.projects-column-container { display: flex; flex-direction: column; }
.project-row {
    display: flex;
    height: 50vh;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.project-column {
    position: relative;
    flex: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: flex 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
}
.project-column:last-child { border-right: none; }
.project-column:hover { flex: 1.5; }
.project-column-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}
.project-column:hover .project-column-image { transform: scale(1.05); }
.project-column-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0.3) 50%, transparent 100%);
    transition: background 0.5s ease;
}
.project-column:hover .project-column-overlay {
    background: linear-gradient(to top, rgba(10, 22, 40, 0.7) 0%, rgba(10, 22, 40, 0.1) 60%, transparent 100%);
}
.project-column-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    z-index: 10;
}
.project-column-title-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}
.project-column:hover .project-column-title-wrapper { transform: translateY(-15px); }
.project-column-title {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.25rem, 2vw, 2rem);
    font-weight: 300;
    color: white;
    text-align: center;
    letter-spacing: 0.05em;
}
.project-column-info { text-align: center; }
.project-column-category {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.25rem;
    display: block;
}
.project-column-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1024px) {
    .project-row { flex-direction: column; height: auto; }
    .project-column {
        flex: none;
        height: 40vh;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .project-column:hover { flex: none; }
}

@media (max-width: 1200px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .projects-grid { grid-template-columns: 1fr; } }

/* ============================================
   REFERENCES PAGE
   ============================================ */
.references-main { padding: 4rem 6%; max-width: 1400px; margin: 0 auto; }
.references-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}
.reference-card {
    padding: 2rem;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    transition: all 0.3s ease;
}
.reference-card:hover { border-color: var(--accent); }
.reference-card h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}
.reference-card:hover h3 { color: var(--accent); }
.reference-card .ref-type {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    opacity: 0.7;
    margin-bottom: 0.25rem;
}
.reference-card .ref-location {
    font-size: 0.875rem;
    color: var(--text-secondary);
    opacity: 0.5;
}
.testimonials-section { margin-top: 4rem; }
.testimonials-title {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 2rem;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.testimonial-card {
    position: relative;
    padding-left: 2rem;
    border-left: 1px solid var(--accent);
}
.testimonial-quote {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.25rem;
    font-weight: 300;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.testimonial-author {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 500;
}
.testimonial-company {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .references-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .references-grid { grid-template-columns: 1fr; }
}

/* ============================================
   TEAM PAGE
   ============================================ */
.team-main { padding: 4rem 6%; max-width: 1400px; margin: 0 auto; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.team-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.4s ease;
}
.team-card:hover { transform: translateY(-10px); border-color: var(--accent); }
.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid var(--border);
    transition: border-color 0.3s ease;
}
.team-card:hover .team-avatar { border-color: var(--accent); }
.team-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}
.team-role {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-main { padding: 4rem 6%; max-width: 1400px; margin: 0 auto; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}
.contact-info { }
.contact-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact-icon {
    width: 40px;
    height: 40px;
    color: var(--accent);
    flex-shrink: 0;
}
.contact-icon svg { width: 100%; height: 100%; }
.contact-item h4 {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.25rem;
}
.contact-item a, .contact-item p {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
}
.contact-item a:hover { color: var(--accent); }
.contact-form-wrapper { }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-primary:hover { background: var(--accent-gold); transform: translateY(-2px); }
.btn-primary svg { width: 18px; height: 18px; }

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--navy-900);
    border-top: 1px solid var(--border);
}
.footer-top {
    padding: 4rem 6%;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}
.footer-brand img { height: 50px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { color: var(--text-secondary); font-size: 0.875rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col h4 {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}
.footer-col a, .footer-col p {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
    padding: 1.5rem 6%;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-secondary); flex: 1; }
.footer-social { 
    display: flex; 
    gap: 1rem; 
    flex: 1;
    justify-content: center;
}
.made-with {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 1;
    justify-content: flex-end;
}
.made-with .heart {
    color: #ff4757;
    font-size: 0.9rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}
.footer-social a:hover { color: var(--accent); }
.footer-social svg { width: 20px; height: 20px; }

/* Minimal Footer for Homepage */
.minimal-footer {
    background: var(--navy-900);
    padding: 2rem 6%;
}
.minimal-footer .footer-content {
    max-width: 1400px;
    margin: 0 auto;
}
.minimal-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.minimal-footer .footer-brand img {
    height: 40px;
    filter: brightness(0) invert(1);
}
.minimal-footer .footer-brand span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.minimal-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.minimal-footer .footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .footer-top { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ============================================
   PROJECT MODAL
   ============================================ */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.project-modal.active { opacity: 1; visibility: visible; }
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}
.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-secondary);
    border-radius: 8px;
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s ease;
}
.modal-close:hover { background: var(--accent); }
.modal-close svg { width: 20px; height: 20px; }
.modal-hero-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.modal-body { padding: 2rem; }
.modal-category {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: block;
}
.modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}
.modal-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.modal-meta-item h4 {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.25rem;
}
.modal-meta-item p { color: var(--text-primary); }
.modal-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* 3D Viewer Section */
.modal-3d-viewer {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
}
.modal-3d-viewer .viewer-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}
.three-d-container {
    width: 100%;
    height: 400px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
    position: relative; /* YENİ EKLENDİ: İçerik konumlandırması için */
    z-index: 1; /* YENİ EKLENDİ: Modelin görünür olması için */
}

    /* AŞAĞIDAKİ KISIM KOMPLE YENİ EKLENİYOR */
    .three-d-container canvas {
        width: 100% !important;
        height: 100% !important;
        outline: none;
    }

.modal-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.spec-item {
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 4px;
}
.spec-item h5 {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.25rem;
}
.spec-item p { color: var(--text-primary); font-weight: 500; }

/* ============================================
   ABOUT PAGE - CINEMATIC REDESIGN
   ============================================ */

/* Hero Cinematic */
.about-hero-cinematic {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-video-bg .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.6) 0%, rgba(10, 22, 40, 0.8) 100%);
}
.hero-content-center {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}
.hero-eyebrow {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.hero-title-large {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
}
.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, #00ff88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
}
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
}
.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* About Page Content */
.about-page-content {
    background: var(--bg-primary);
}

/* Story Section */
.story-section {
    padding: 5rem 6%;
}
.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}
.story-visual {
    position: relative;
}
.story-image-stack {
    position: relative;
    height: 600px;
}
.story-img-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 70%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}
.story-img-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 50%;
    object-fit: cover;
    border-radius: 8px;
    border: 4px solid var(--bg-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.story-accent-box {
    position: absolute;
    bottom: 15%;
    left: -2rem;
    background: var(--accent);
    color: var(--bg-primary);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
}
.accent-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}
.accent-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.story-content {
    padding-right: 2rem;
}
.section-label-alt {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 4px;
}
.story-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.2;
}
.story-text {
    margin-bottom: 3rem;
}
.lead-paragraph {
    font-size: 1.125rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 400;
}
.story-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.story-stats {
    display: flex;
    gap: 3rem;
}
.stat-item {
    text-align: left;
}
.stat-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Philosophy Section */
.philosophy-section {
    position: relative;
    padding: 5rem 6%;
    position: relative;
    padding: 5rem 6%;
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
    overflow: hidden;
}
.philosophy-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300d4ff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.philosophy-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.section-label-light {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
}
.philosophy-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.philosophy-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}
.pillar {
    text-align: center;
    padding: 2rem;
}
.pillar-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
}
.pillar-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
}
.pillar h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}
.pillar p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Team Section Modern */
.team-section-modern {
    padding: 5rem 6%;
    background: var(--bg-primary);
}
.section-header-centered {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}
.section-title-large {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.section-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}
.team-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.team-card-modern {
    position: relative;
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
}
.team-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}
.team-card-modern .team-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}
.team-card-modern .team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.team-card-modern:hover .team-image img {
    transform: scale(1.1);
}
.team-card-modern .team-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, var(--bg-secondary));
}
.team-card-modern .team-info {
    padding: 1.5rem;
    text-align: center;
}
.team-card-modern .team-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.team-card-modern .team-role {
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Capabilities Section */
.capabilities-section {
    padding: 5rem 6%;
    background: var(--bg-secondary);
}
.capabilities-container {
    max-width: 1400px;
    margin: 0 auto;
}
.capabilities-header {
    margin-bottom: 4rem;
}
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.capability-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}
.capability-card:hover::before {
    transform: scaleY(1);
}
.capability-card:hover {
    border-color: var(--accent);
    transform: translateX(10px);
}
.capability-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 212, 255, 0.15);
    line-height: 1;
    margin-bottom: 1rem;
}
.capability-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}
.capability-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* References Section Modern - Logo Grid */
.references-section-modern {
    padding: 5rem 6%;
    background: var(--bg-primary);
}
.references-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}
.reference-logo-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}
.reference-logo-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.reference-logo-card img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.reference-logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
.reference-logo-card .ref-name {
    display: block;
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
}
.reference-logo-card:hover .ref-name {
    opacity: 1;
    transform: translateY(0);
}

/* Classifications Section */
.classifications-section {
    padding: 4rem 6%;
    background: var(--bg-secondary);
}
.classifications-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.classification-logo-card {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}
.classification-logo-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.classification-logo-card img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.classification-logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
.classification-logo-card .class-name {
    display: block;
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-top: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
}
.classification-logo-card:hover .class-name {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonials Section Modern */
.testimonials-section-modern {
    padding: 4rem 6%;
    background: var(--bg-primary);
}

/* Testimonials Modern */
.testimonials-modern {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.testimonial-card-modern {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    position: relative;
}
.testimonial-card-modern::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 6rem;
    color: var(--accent);
    opacity: 0.2;
    line-height: 1;
}
.testimonial-card-modern .testimonial-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
}
.testimonial-card-modern .testimonial-author {
    font-weight: 600;
    color: var(--text-primary);
}
.testimonial-card-modern .testimonial-company {
    color: var(--accent);
    font-size: 0.9rem;
}

/* CTA Section About */
.cta-section-about {
    padding: 5rem 6%;
    background: linear-gradient(135deg, var(--accent) 0%, #0088aa 100%);
    text-align: center;
}

/* Dark mode CTA gradient */
[data-theme="dark"] .cta-section-about {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 136, 170, 0.25) 50%, rgba(10, 22, 40, 0.9) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .cta-content h2 {
    color: var(--text-primary);
}
[data-theme="dark"] .cta-content p {
    color: var(--text-secondary);
}
[data-theme="dark"] .btn-primary-large {
    background: var(--accent);
    color: var(--bg-primary);
}
[data-theme="dark"] .btn-outline-large {
    border-color: var(--accent);
    color: var(--accent);
}

.cta-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--bg-primary);
    margin-bottom: 1rem;
}
.cta-content p {
    font-size: 1.25rem;
    color: rgba(10, 22, 40, 0.7);
    margin-bottom: 2rem;
}
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary-large {
    padding: 1rem 2.5rem;
    background: var(--bg-primary);
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.btn-outline-large {
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--bg-primary);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--bg-primary);
    border-radius: 4px;
    transition: all 0.3s ease;
}
.btn-outline-large:hover {
    background: var(--bg-primary);
    color: var(--accent);
}

/* About Page Responsive */
@media (max-width: 1024px) {
    .story-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .story-image-stack {
        height: 400px;
    }
    .philosophy-pillars {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .story-section,
    .philosophy-section,
    .team-section-modern,
    .capabilities-section,
    .references-section-modern {
        padding: 4rem 5%;
    }
    .story-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    .hero-title-large {
        font-size: 2.5rem;
    }
    .team-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   COOKIE CONSENT POPUP
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 380px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transform: translateY(150%);
    transition: transform 0.4s ease;
}
.cookie-consent.show {
    transform: translateY(0);
}
.cookie-consent h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.cookie-consent h4 svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}
.cookie-consent p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
}
.cookie-consent .btn-accept {
    flex: 1;
    padding: 0.6rem 1rem;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.cookie-consent .btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}
.cookie-consent .btn-learn {
    padding: 0.6rem 1rem;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}
.cookie-consent .btn-learn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ============================================
   CONTACT SUCCESS MESSAGE
   ============================================ */
.contact-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
    animation: fadeInUp 0.5s ease;
}
.contact-success.show {
    display: block;
}
.contact-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent) 0%, #0088aa 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.5s ease 0.2s both;
}
.contact-success-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}
.contact-success h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}
.contact-success p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.contact-success .btn-back {
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.contact-success .btn-back:hover {
    transform: translateY(-2px);
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hide form when success is shown */
.contact-form-wrapper.hidden {
    display: none;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
    .cookie-consent {
        left: 10px;
        right: 10px;
        max-width: none;
        bottom: 10px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .footer-bottom p,
    .footer-social,
    .made-with {
        flex: none;
        justify-content: center;
    }
}

/* ============================================
   PRIVACY PAGE
   ============================================ */
.privacy-page .page-hero {
    padding-top: 120px;
}
.privacy-main {
    padding: 4rem 6%;
    max-width: 900px;
    margin: 0 auto;
}
.privacy-content {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 3rem;
    border: 1px solid var(--border);
}
.privacy-section {
    margin-bottom: 2.5rem;
}
.privacy-section:last-of-type {
    margin-bottom: 0;
}
.privacy-section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.privacy-section h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
}
.privacy-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}
.privacy-section ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}
.privacy-section ul li {
    color: var(--text-secondary);
    line-height: 1.8;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}
.privacy-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}
.privacy-section a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.privacy-section a:hover {
    opacity: 0.8;
}
.privacy-updated {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.privacy-updated p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

@media (max-width: 768px) {
    .privacy-content {
        padding: 1.5rem;
    }
}

/* ============================================
   MODAL GALLERY - v19
   ============================================ */
.modal-gallery {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.gallery-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-weight: 500;
}
.gallery-grid {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
.gallery-grid::-webkit-scrollbar {
    height: 4px;
}
.gallery-grid::-webkit-scrollbar-track {
    background: transparent;
}
.gallery-grid::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}
.gallery-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s, transform 0.3s;
    flex-shrink: 0;
    border: 2px solid transparent;
}
.gallery-thumb:hover {
    opacity: 0.8;
    transform: scale(1.05);
}
.gallery-thumb.active {
    opacity: 1;
    border-color: var(--accent, #0ea5e9);
}

/* ============================================
   MODAL IMAGE SLIDESHOW - v21
   ============================================ */
.modal-hero-image {
    transition: opacity 0.3s ease;
}

/* ============================================
   PRESS PAGE - v21
   ============================================ */
.press-page .page-hero {
    min-height: 40vh;
}
.press-content-section {
    padding: 4rem 2rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
}
.press-coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    text-align: center;
    color: var(--text-secondary);
}
.press-coming-soon h3 {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.6;
}

/* ============================================
   SERVICES MEDIA SECTION - v21
   ============================================ */
.services-media-section {
    padding: 4rem 2rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
}
.services-media-grid {
    margin-top: 2rem;
}
.media-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    border: 2px dashed var(--border);
    border-radius: 12px;
    text-align: center;
    color: var(--text-secondary);
    padding: 2rem;
}
.media-placeholder p {
    margin-top: 1rem;
    opacity: 0.6;
    font-size: 0.95rem;
}

/* ============================================
   MODAL ARROWS - v22
   ============================================ */
.modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    backdrop-filter: blur(8px);
}
.modal-arrow:hover {
    background: rgba(0,0,0,0.75);
    transform: translateY(-50%) scale(1.1);
}
.modal-arrow svg {
    width: 20px;
    height: 20px;
}
.modal-arrow-left { left: 12px; }
.modal-arrow-right { right: 12px; }

/* ============================================
   TEAM PHOTO 3:4 PORTRAIT - v22
   ============================================ */
.team-card-modern .team-image {
    aspect-ratio: 3/4;
    overflow: hidden;
}
.team-card-modern .team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* ============================================
   MODAL SCROLLBAR TRANSPARENT - v22
   ============================================ */
.modal-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.modal-content::-webkit-scrollbar {
    width: 6px;
}
.modal-content::-webkit-scrollbar-track {
    background: transparent;
}
.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.12);
    border-radius: 3px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.25);
}

/* ============================================
   MODAL SPECS SPACING FIX - v22
   ============================================ */
.modal-specs {
    padding: 0 0.5rem;
}
.spec-item {
    margin-bottom: 0.75rem;
    padding: 0.6rem 0.75rem;
    box-sizing: border-box;
}

/* ============================================
   PRESS VIDEO - v22
   ============================================ */
.press-video-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.press-video {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   SERVICES MEDIA GRID - v22
   ============================================ */
.services-media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}
.services-media-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.4s, box-shadow 0.4s;
}
.services-media-img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
    .services-media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .services-media-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   MODAL IMAGE WRAPPER - v23
   ============================================ */
.modal-image-wrapper {
    position: relative;
    width: 100%;
}
.modal-image-wrapper .modal-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    backdrop-filter: blur(6px);
}
.modal-image-wrapper .modal-arrow:hover {
    background: rgba(0,0,0,0.6);
}
.modal-image-wrapper .modal-arrow svg { width: 18px; height: 18px; }
.modal-image-wrapper .modal-arrow-left { left: 10px; }
.modal-image-wrapper .modal-arrow-right { right: 10px; }

/* Thumbnails below image */
.modal-thumbs {
    display: flex;
    gap: 6px;
    padding: 8px 10px;
    overflow-x: auto;
    background: rgba(0,0,0,0.15);
    scrollbar-width: none;
}
.modal-thumbs::-webkit-scrollbar { display: none; }
.modal-thumbs:empty { display: none; }

/* ============================================
   TEAM CARDS FIXED RATIO - v23
   ============================================ */
.team-card-modern {
    width: 100%;
    max-width: 280px;
}
.team-card-modern .team-image {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}
.team-card-modern .team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* ============================================
   PRESS VIDEO CONTROLS - v23
   ============================================ */
.press-video-container {
    max-width: 800px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.press-video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}
/* Transparent controls overlay */
.press-video::-webkit-media-controls-panel {
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
}

/* ============================================
   TEAM GRID CENTERED - v24
   ============================================ */
.team-grid-modern {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.team-card-modern {
    flex: 0 1 280px;
    max-width: 300px;
}

/* ============================================
   PORTFOLIO "ALL & MORE" CTA - v25
   ============================================ */
.portfolio-all-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2.5rem 2rem;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #fff;
    background: linear-gradient(135deg, rgba(14,165,233,0.15) 0%, rgba(14,165,233,0.05) 50%, rgba(14,165,233,0.15) 100%);
    border-top: 1px solid rgba(14,165,233,0.2);
    transition: background 0.4s, letter-spacing 0.4s;
}
.portfolio-all-cta:hover {
    background: linear-gradient(135deg, rgba(14,165,233,0.25) 0%, rgba(14,165,233,0.1) 50%, rgba(14,165,233,0.25) 100%);
    letter-spacing: 0.08em;
}
.portfolio-all-cta svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}
.portfolio-all-cta:hover svg {
    transform: translateX(4px);
}

/* ============================================
   METERS STAT - v25
   ============================================ */
.stat-meters {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-top: 0.5rem;
    flex-basis: 100%;
}
.stat-meters .stat-number {
    font-variant-numeric: tabular-nums;
}

/* ============================================
   ABOUT HERO COUNTERS - v28
   ============================================ */
.hero-counters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding: 1.5rem 2.5rem;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
}
.hero-counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.hero-counter-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    display: inline;
}
.hero-counter-unit {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent, #0ea5e9);
    margin-left: 0.25rem;
    display: inline;
    vertical-align: super;
    font-size: 1rem;
}
.hero-counter-item > span:first-child,
.hero-counter-item > span:nth-child(2) {
    display: inline;
}
.hero-counter-item {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-counter-label {
    display: block;
    width: 100%;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.55);
    margin-top: 0.4rem;
    font-weight: 400;
}
.hero-counter-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.15);
}
@media (max-width: 600px) {
    .hero-counters {
        flex-direction: column;
        gap: 1.2rem;
        padding: 1.2rem 1.5rem;
    }
    .hero-counter-divider {
        width: 60px;
        height: 1px;
    }
    .hero-counter-number {
        font-size: 2.2rem;
    }
}

/* ============================================
   LIGHT THEME FIXES - v29
   ============================================ */
[data-theme="light"] .hero-video-section .hero-text,
[data-theme="light"] .hero-video-section .hero-tagline,
[data-theme="light"] .hero-video-section .hero-main-title,
[data-theme="light"] .hero-video-section .title-line,
[data-theme="light"] .hero-video-section .scroll-indicator,
[data-theme="light"] .hero-video-section .scroll-indicator span,
[data-theme="light"] .hero-content-center,
[data-theme="light"] .hero-content-center *,
[data-theme="light"] .hero-eyebrow,
[data-theme="light"] .hero-title-large,
[data-theme="light"] .hero-title-large span,
[data-theme="light"] .hero-subtitle,
[data-theme="light"] .hero-counters,
[data-theme="light"] .hero-counter-number,
[data-theme="light"] .hero-counter-label,
[data-theme="light"] .hero-counter-unit,
[data-theme="light"] .scroll-indicator span {
    color: #fff !important;
}
[data-theme="light"] .hero-content-wrapper,
[data-theme="light"] .hero-content-center {
    color: #fff;
}
[data-theme="light"] footer a,
[data-theme="light"] .footer-col p,
[data-theme="light"] .footer-col a[href*="maps"] {
    color: var(--text-primary) !important;
}

/* ============================================
   HOW WE WORK SECTION - v29
   ============================================ */
.services-howwework-section {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}
.howwework-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}
.hww-step {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--card-bg, rgba(255,255,255,0.03));
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.3s;
}
.hww-step:hover {
    border-color: var(--accent, #0ea5e9);
}
.hww-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent, #0ea5e9);
    min-width: 40px;
    font-variant-numeric: tabular-nums;
}
.hww-step p {
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0;
    color: var(--text-primary);
}
.hww-tagline {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent, #0ea5e9);
    margin-top: 2rem;
    letter-spacing: 0.05em;
}

/* ============================================
   WHY ALFA SECTION - v29
   ============================================ */
.services-whyalfa-section {
    padding: 4rem 2rem 5rem;
    max-width: 900px;
    margin: 0 auto;
}
.whyalfa-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}
.whyalfa-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.25rem;
    background: var(--card-bg, rgba(255,255,255,0.03));
    border: 1px solid var(--border);
    border-radius: 10px;
}
.whyalfa-check {
    font-size: 1.2rem;
    color: var(--accent, #0ea5e9);
    font-weight: 700;
    min-width: 24px;
}
.whyalfa-item p {
    font-size: 1rem;
    margin: 0;
    color: var(--text-primary);
}
.whyalfa-closing {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.whyalfa-tagline1 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}
.whyalfa-tagline2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent, #0ea5e9);
}

/* ============================================
   LIGHT THEME FOOTER TEXT FIX - v29.1
   ============================================ */
[data-theme="light"] footer,
[data-theme="light"] footer p,
[data-theme="light"] footer a,
[data-theme="light"] footer span,
[data-theme="light"] footer h4,
[data-theme="light"] .footer-col a,
[data-theme="light"] .footer-col p,
[data-theme="light"] .footer-col h4,
[data-theme="light"] .footer-bottom p,
[data-theme="light"] .footer-bottom span,
[data-theme="light"] .made-with,
[data-theme="light"] .made-with span,
[data-theme="light"] .footer-brand span,
[data-theme="light"] .minimal-footer span,
[data-theme="light"] .minimal-footer p,
[data-theme="light"] .minimal-footer a {
    color: #264d73 !important;
}
[data-theme="light"] .footer-social a svg {
    fill: #264d73 !important;
}

[data-theme="light"] a[href*="maps.app.goo.gl"] {
    color: #264d73 !important;
}
