/**
 * Kavi Boya - Premium Design System (Vanilla CSS)
 */

/* 1. Global Custom Variables */
:root {
    --primary: hsl(218, 70%, 16%);       /* Premium Deep Navy */
    --primary-light: hsl(218, 50%, 25%);
    --secondary: hsl(33, 98%, 51%);       /* Energetic Powder Coat Gold/Orange */
    --secondary-hover: hsl(33, 98%, 45%);
    --accent: hsl(199, 95%, 48%);        /* High-Tech Electric Blue */
    --accent-glow: rgba(0, 180, 255, 0.15);
    
    --bg-light: hsl(218, 20%, 97%);
    --bg-dark: hsl(218, 30%, 8%);
    --surface: hsl(0, 0%, 100%);
    
    --text-primary: hsl(218, 40%, 12%);
    --text-muted: hsl(218, 15%, 45%);
    --text-white: hsl(0, 0%, 100%);
    
    --border-color: hsl(218, 15%, 88%);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 10px 40px -10px rgba(10, 25, 50, 0.08);
    
    --font-family: 'Outfit', sans-serif;
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
    
    --header-height: 80px;
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 90px 0;
}

.section-bg {
    background-color: var(--surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* 3. Typography & Badges */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    display: block;
    margin-bottom: 8px;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 38px;
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
}

.header-line {
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    margin: 0 auto;
    border-radius: 2px;
}

/* 4. Glassmorphism Utilities */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
    padding: 30px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px -10px rgba(10, 25, 50, 0.12);
}

/* 5. Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 8px;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-outline-light {
    border-color: var(--text-white);
    color: var(--text-white);
    background-color: transparent;
}

.btn-outline-light:hover {
    background-color: var(--text-white);
    color: var(--primary);
}

.btn-lg {
    padding: 14px 34px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 8px;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* 6. Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo-accent {
    color: var(--secondary);
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu > ul > li > a {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    padding: 8px 0;
    position: relative;
}

.nav-menu > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition-fast);
}

.nav-menu > ul > li > a:hover::after {
    width: 100%;
}

.subnav-item::after {
    display: none !important;
}

/* Mega Menu Styles */
.has-mega-menu {
    position: static;
}

.mega-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
}

.arrow-down {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid var(--primary);
    margin-left: 2px;
    transition: var(--transition-fast);
}

.has-mega-menu:hover .arrow-down {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: var(--header-height);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 95vw;
    max-width: 1100px;
    background: var(--surface);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(10, 25, 50, 0.15);
    padding: 35px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
}

.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.mega-intro {
    border-right: 1px solid var(--border-color);
    padding-right: 40px;
}

.mega-intro h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.mega-intro p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.mega-intro .btn {
    padding-left: 23px;
    padding-right: 23px;
}

.mega-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.mega-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nav-menu .mega-links li a {
    display: flex;
    flex-direction: column;
    padding: 14px 18px !important;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.nav-menu .mega-links li a:hover {
    background-color: var(--bg-light);
}

.mega-links li a strong {
    font-size: 15px;
    color: var(--primary);
}

.mega-links li a span {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ─── Kurumsal Sub-nav (Professional Dropdown) ─── */
.has-subnav {
    position: relative;
}

.subnav-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

/* Arrow rotation on hover — reuse .arrow-down from mega-menu */
.has-subnav:hover .arrow-down {
    transform: rotate(180deg);
}

.subnav-panel {
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-width: 210px;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 1000;
}

.has-subnav:hover .subnav-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Higher specificity to override .nav-menu ul li a padding */
.nav-menu .subnav-panel .subnav-item {
    display: flex;
    flex-direction: column;
    padding: 10px 18px 10px 22px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
    border-left: 3px solid transparent;
}

.nav-menu .subnav-panel .subnav-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.nav-menu .subnav-panel .subnav-item span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.nav-menu .subnav-panel .subnav-item:hover {
    background: var(--bg-light);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 26px;
}

.nav-menu .subnav-panel .subnav-item + .subnav-item {
    border-top: 1px solid var(--border-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switch {
    font-size: 13px;
    font-weight: 700;
    background-color: var(--primary);
    color: var(--text-white);
    padding: 6px 12px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.lang-switch:hover {
    background-color: var(--secondary);
}

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

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* 7. Page Content Wrapper */
.page-content {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height) - 300px);
}

/* 8. Hero Section */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background-color: #000;
    overflow: hidden;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 6s ease-out;
    will-change: transform;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.45) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
}

/* Hero Slide Staggered Entrance Animations */
.hero-slide .hero-badge,
.hero-slide .hero-content h1,
.hero-slide .hero-content p,
.hero-slide .hero-actions {
    opacity: 0;
    transform: translateY(35px);
    will-change: transform, opacity;
}

.hero-slide.active .hero-badge {
    animation: heroTextEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.hero-slide.active .hero-content h1 {
    animation: heroTextEntrance 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-slide.active .hero-content p {
    animation: heroTextEntrance 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

.hero-slide.active .hero-actions {
    animation: heroTextEntrance 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

@keyframes heroTextEntrance {
    0% {
        opacity: 0;
        transform: translateY(35px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slider Controls */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.slider-control:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-50%) scale(1.1);
}

.slider-control.prev {
    left: 30px;
}

.slider-control.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: var(--secondary);
    transform: scale(1.2);
    width: 24px;
    border-radius: 6px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(0, 180, 255, 0.2);
    border: 1px solid var(--accent);
    color: var(--text-white);
    font-size: 13px;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-size: 52px;
    color: var(--text-white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

/* ----------------------------------------------------
   Scroll Reveal Animations Framework (IntersectionObserver)
---------------------------------------------------- */
[data-reveal],
.fade-in-up,
.card-entrance {
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="fade-up"],
.fade-in-up {
    transform: translateY(40px);
}

[data-reveal="fade-down"] {
    transform: translateY(-40px);
}

[data-reveal="fade-left"] {
    transform: translateX(45px);
}

[data-reveal="fade-right"] {
    transform: translateX(-45px);
}

[data-reveal="zoom-in"],
.card-entrance {
    transform: scale(0.92) translateY(20px);
}

[data-reveal].is-revealed,
.fade-in-up.is-revealed,
.card-entrance.is-revealed {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

/* Staggered Delay Utilities */
[data-reveal-delay="50"]  { transition-delay: 0.05s; }
[data-reveal-delay="100"] { transition-delay: 0.10s; }
[data-reveal-delay="150"] { transition-delay: 0.15s; }
[data-reveal-delay="200"] { transition-delay: 0.20s; }
[data-reveal-delay="250"] { transition-delay: 0.25s; }
[data-reveal-delay="300"] { transition-delay: 0.30s; }
[data-reveal-delay="350"] { transition-delay: 0.35s; }
[data-reveal-delay="400"] { transition-delay: 0.40s; }
[data-reveal-delay="450"] { transition-delay: 0.45s; }
[data-reveal-delay="500"] { transition-delay: 0.50s; }
[data-reveal-delay="550"] { transition-delay: 0.55s; }
[data-reveal-delay="600"] { transition-delay: 0.60s; }
[data-reveal-delay="650"] { transition-delay: 0.65s; }
[data-reveal-delay="700"] { transition-delay: 0.70s; }
[data-reveal-delay="750"] { transition-delay: 0.75s; }
[data-reveal-delay="800"] { transition-delay: 0.80s; }

/* Video play button pulse animation */
.play-btn {
    animation: playPulse 2.5s infinite;
}

@keyframes playPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(250, 110, 0, 0.6);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(250, 110, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(250, 110, 0, 0);
    }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero-slide .hero-badge,
    .hero-slide .hero-content h1,
    .hero-slide .hero-content p,
    .hero-slide .hero-actions,
    .hero-slide-bg,
    [data-reveal],
    .fade-in-up,
    .card-entrance {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}

/* 9. Home Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    position: relative;
    height: 380px;
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.category-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition-smooth);
}

.category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.85) 0%, rgba(10, 25, 47, 0.2) 60%, rgba(10, 25, 47, 0) 100%);
    transition: var(--transition-smooth);
    z-index: 1;
}

.category-card-content {
    position: relative;
    z-index: 2;
    padding: 24px;
    width: 100%;
}

.category-card h3 {
    color: var(--text-white);
    font-size: 20px;
    margin-bottom: 8px;
}

.category-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.read-more-link {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
}

.category-card:hover .category-card-bg {
    transform: scale(1.1);
}

.category-card:hover .category-card-overlay {
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.5) 100%);
}

.category-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* 10. Corporate Banner */
.corporate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.corporate-image-wrapper {
    position: relative;
}

.corporate-img {
    border-radius: var(--border-radius);
    width: 100%;
    height: auto;
    display: block;
}

.about-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.about-slides {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 100%;
}

.about-slide {
    grid-column: 1;
    grid-row: 1;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.about-slide.active {
    opacity: 1;
    z-index: 2;
}

.about-slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, opacity 0.3s;
    opacity: 0;
}

.about-slider-container:hover .about-slider-control {
    opacity: 1;
}

.about-slider-control:hover {
    background: var(--primary);
}

.about-slider-control.prev {
    left: 15px;
}

.about-slider-control.next {
    right: 15px;
}

.about-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.about-slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.about-slider-dots .dot.active {
    background: var(--primary);
    width: 20px;
    border-radius: 5px;
}

.corporate-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--secondary);
    color: var(--text-white);
    padding: 20px 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(250, 110, 0, 0.3);
    text-align: center;
    z-index: 12;
}

.corporate-experience-badge .number {
    font-size: 32px;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.corporate-experience-badge .text {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.corporate-text-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.corporate-text-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-bottom: 35px;
}

.stat-item h3 {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* 11. Products Grid & Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background-color: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(10, 25, 50, 0.08);
}

.product-image-wrapper {
    position: relative;
    background-color: var(--bg-light);
    height: 240px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary);
    color: var(--text-white);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
}

.product-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-category {
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

.product-card-title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-card-desc {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* 12. Page Header Layouts */
.page-header-section {
    position: relative;
    padding: 70px 0;
    background-size: cover;
    background-position: center;
    color: var(--text-white);
    border-bottom: 1px solid var(--border-color);
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.85);
    z-index: 1;
}

.header-container-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.header-container-inner h1 {
    color: var(--text-white);
    font-size: 38px;
    margin-bottom: 10px;
}

.breadcrumbs {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
    color: var(--secondary);
}

/* 13. About Page Styles */
.about-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.about-text-body h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.about-text-body p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 15px;
}

.values-list li {
    margin-bottom: 20px;
}

.values-list li strong {
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}

.values-list li p {
    font-size: 13px;
    color: var(--text-muted);
}

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* 14. Sustainability Page (Comparison Table) */
.sus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sus-text h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.green-indicator-box {
    background-color: rgba(0, 180, 255, 0.05);
    border: 2px dashed var(--accent);
    padding: 30px;
    border-radius: var(--border-radius);
    position: relative;
}

.green-leaf {
    font-size: 40px;
    display: block;
    margin-bottom: 15px;
}

.green-indicator-box h4 {
    margin-bottom: 10px;
}

.green-indicator-box p {
    font-size: 14px;
    color: var(--text-muted);
}

.comparison-matrix-wrapper {
    overflow-x: auto;
}

.comparison-matrix {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background-color: var(--surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.comparison-matrix th, .comparison-matrix td {
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-matrix th {
    background-color: var(--primary);
    color: var(--text-white);
    font-weight: 700;
}

.comparison-matrix th.active-col {
    background-color: var(--secondary);
}

.comparison-matrix td.active-col {
    background-color: rgba(250, 110, 0, 0.03);
    font-weight: 600;
}

.comparison-matrix .positive {
    color: green;
}

.comparison-matrix .negative {
    color: hsl(0, 70%, 50%);
}

/* 15. Products Directory Filter Layout */
.filter-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.filter-title {
    font-weight: 700;
    color: var(--primary);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 30px;
    background-color: var(--surface);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--text-white);
}

.active-filter-indicator {
    font-size: 14px;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.active-filter-indicator strong {
    color: var(--primary);
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 0;
    color: var(--text-muted);
    font-size: 16px;
}

/* 16. Product Detail View */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.product-detail-image-box {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--glass-shadow);
}

.detail-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--primary);
    color: var(--text-white);
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
}

.product-info-box h2 {
    font-size: 32px;
    margin: 10px 0;
}

.product-info-box .badge {
    background-color: rgba(250, 110, 0, 0.1);
    color: var(--secondary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
}

.product-description {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.detail-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    background-color: var(--surface);
    padding: 15px 20px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
}

.accordion-content {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    color: var(--text-muted);
}

/* 17. Documents Grid & Preview Modal */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.document-card {
    display: flex;
    gap: 20px;
    align-items: center;
}

.doc-icon-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.doc-type-icon {
    width: 48px;
    height: 48px;
    fill: var(--secondary);
}

.doc-type-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 4px;
}

.document-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.document-actions {
    display: flex;
    gap: 10px;
}

/* Document PDF Preview Modal */
.pdf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.7);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.pdf-modal.active {
    display: flex;
}

.pdf-modal-wrapper {
    background-color: var(--surface);
    width: 90%;
    max-width: 900px;
    height: 80vh;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.pdf-modal-header {
    padding: 15px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pdf-modal-close {
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
}

.pdf-modal-close:hover {
    color: var(--primary);
}

.pdf-modal-body {
    flex-grow: 1;
    position: relative;
    background-color: #525659; /* Reader gray bg */
}

#pdfIframe {
    width: 100%;
    height: 100%;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--secondary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 18. Contact & Tabbed Forms */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-list-items li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.item-icon {
    font-size: 24px;
}

.item-text strong {
    display: block;
    font-size: 14px;
    color: var(--primary);
}

.item-text span, .item-text a {
    font-size: 15px;
    color: var(--text-muted);
}

.map-wrapper {
    margin-top: 30px;
    padding: 10px;
    overflow: hidden;
    height: 340px;
}

.map-wrapper iframe {
    border-radius: 8px;
}

/* Tab controls */
.form-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tab-btn {
    flex: 1;
    padding: 14px;
    font-weight: 700;
    font-size: 15px;
    background-color: rgba(255,255,255,0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-btn.active {
    background-color: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.form-alert {
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.form-alert.success {
    background-color: rgba(0, 180, 50, 0.1);
    color: green;
    border: 1px solid rgba(0, 180, 50, 0.2);
}

.form-alert.error {
    background-color: rgba(250, 0, 0, 0.1);
    color: hsl(0, 70%, 50%);
    border: 1px solid rgba(250, 0, 0, 0.2);
}

/* Forms layout styling */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-family: var(--font-family);
    font-size: 14px;
    transition: var(--transition-fast);
}

input:focus, textarea:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(250, 110, 0, 0.1);
}

.form-instruction-text {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Custom CV File upload input styling */
.file-upload-wrapper {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.file-upload-wrapper:hover {
    border-color: var(--secondary);
    background-color: rgba(250,110,0,0.02);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-label {
    font-size: 14px;
    color: var(--text-muted);
    pointer-events: none;
}

.btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--text-white);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: inline-block;
}

/* 19. Footer Styling */
.main-footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.85);
    padding: 80px 0 40px 0;
    font-size: 14px;
    border-top: 5px solid var(--secondary);
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-white);
    display: block;
    margin-bottom: 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.brand-col p {
    margin-bottom: 20px;
    max-width: 320px;
}

.sus-badge {
    background-color: rgba(0, 180, 255, 0.2);
    border: 1px solid var(--accent);
    color: var(--text-white);
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact li a:hover {
    color: var(--secondary);
}

.footer-contact .icon {
    width: 18px;
    height: 18px;
    fill: var(--secondary);
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
}

.social-links .icon {
    width: 18px;
    height: 18px;
    fill: var(--text-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* 20. Micro-Animations */
.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.card-entrance {
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

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

/* Card staggering delays */
.categories-grid a:nth-child(1) { animation-delay: 0.1s; }
.categories-grid a:nth-child(2) { animation-delay: 0.2s; }
.categories-grid a:nth-child(3) { animation-delay: 0.3s; }
.categories-grid a:nth-child(4) { animation-delay: 0.4s; }

.products-grid div:nth-child(1) { animation-delay: 0.1s; }
.products-grid div:nth-child(2) { animation-delay: 0.2s; }
.products-grid div:nth-child(3) { animation-delay: 0.3s; }
.products-grid div:nth-child(4) { animation-delay: 0.4s; }

/* 20. Video Section & Lightbox */
.factory-video-section {
    position: relative;
    background-color: var(--surface);
    border-top: 1px solid var(--border-color);
}

.video-card {
    padding: 10px;
    max-width: 1000px;
    margin: 0 auto;
}

.video-preview-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    background-color: #000;
}

.video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.video-preview-wrapper:hover .video-poster {
    transform: scale(1.02);
    opacity: 0.65;
}

.video-overlay-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 5;
    pointer-events: none;
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--secondary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(250, 110, 0, 0.4);
    transition: var(--transition-smooth);
    pointer-events: auto;
}

.play-btn:hover {
    transform: scale(1.1);
    background-color: var(--secondary-hover);
    box-shadow: 0 15px 35px rgba(250, 110, 0, 0.6);
}

.play-icon {
    color: var(--text-white);
    font-size: 28px;
    margin-left: 6px;
}

.play-instruction {
    color: var(--text-white);
    font-size: 16px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    letter-spacing: 0.5px;
}

/* Lightbox Modal (Desktop) */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.95);
    z-index: 2500;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16/9;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
    background-color: #000;
}

.lightbox-video-container {
    width: 100%;
    height: 100%;
}

.lightbox-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 44px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 2600;
}

.lightbox-close:hover {
    color: var(--text-white);
}

/* Mobile inline player inside wrapper */
.mobile-inline-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 20.5 Page Builder Layout & Lightbox Gallery */
.builder-content-section {
    background-color: var(--surface);
}

.builder-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 70px;
    align-items: center;
    width: 100%;
}

.builder-row:last-child {
    margin-bottom: 0;
}

.builder-col {
    flex: 1 1 0%;
    min-width: 0; /* Prevents flex items from breaking grid widths */
}

/* Widths based on columns count */
.columns-1 .builder-col {
    flex: 0 0 100%;
    max-width: 100%;
}

.columns-2 .builder-col {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
}

.columns-3 .builder-col {
    flex: 0 0 calc(33.333% - 27px);
    max-width: calc(33.333% - 27px);
}

/* Sub-components layout */
.builder-text-block h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.builder-text-block h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
}

.builder-text-block p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
}

.builder-img {
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Inline list under text builder block */
.features-list-inline {
    margin: 20px 0;
    padding-left: 20px;
}

.features-list-inline li {
    list-style-type: square;
    color: var(--secondary);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Specs table under text builder block */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
}

.specs-table td {
    padding: 12px 18px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table td strong {
    color: var(--primary);
}

/* Gallery Block */
.builder-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}

.gallery-thumb-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
}

.gallery-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 2;
}

.zoom-icon {
    font-size: 24px;
    color: var(--text-white);
    transform: scale(0.8);
    transition: var(--transition-fast);
}

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

.gallery-thumb-item:hover .gallery-hover-overlay {
    opacity: 1;
}

.gallery-thumb-item:hover .zoom-icon {
    transform: scale(1);
}

/* Fullscreen Gallery Lightbox Popup */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.96);
    z-index: 2500;
    display: none;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox-content {
    position: relative;
    max-width: 80%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#galleryLightboxImg {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.gallery-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 44px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 2600;
}

.gallery-close:hover {
    color: var(--text-white);
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: rgba(255,255,255,0.6);
    padding: 20px;
    cursor: pointer;
    user-select: none;
    transition: var(--transition-fast);
    z-index: 2600;
}

.gallery-arrow:hover {
    color: var(--text-white);
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.arrow-left {
    left: 40px;
}

.arrow-right {
    right: 40px;
}

.gallery-counter {
    margin-top: 20px;
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Inline video alignment wrapper override */
.inline-video-preview {
    height: 400px;
}

/* 21. Responsive CSS Media Queries */
@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .corporate-grid, .about-main-grid, .sus-grid, .product-detail-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .corporate-experience-badge {
        right: 0;
    }
    
    .documents-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .video-preview-wrapper {
        height: 360px;
    }
}

@media (max-width: 768px) {
    /* Mobile Menu Drawer */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--surface);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 40px;
        transition: var(--transition-smooth);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
    
    .nav-menu ul li {
        width: 100%;
    }
    
    .nav-menu ul li a {
        font-size: 18px;
        display: block;
        width: 100%;
    }
    
    /* Mega menu mobile adjustments */
    .has-mega-menu {
        position: relative;
    }
    
    .mega-menu {
        position: static !important;
        width: 100% !important;
        padding: 10px 0 0 15px !important;
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        left: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none !important;
        transform: none !important;
    }
    
    .mega-menu.active {
        display: block !important;
    }
    
    .mega-grid {
        grid-template-columns: 1fr !important;
        gap: 0px !important;
    }
    
    .mega-intro {
        display: none !important; /* Hide corporate text in mobile dropdown */
    }

    .mega-title {
        display: none !important; /* Hide redundant sub-header in mobile */
    }
    
    .mega-links {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .mega-links li {
        width: 100% !important;
    }

    .mega-links li a {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 12px 18px !important;
        background-color: var(--bg-light) !important;
        border-radius: 8px !important;
        width: 100% !important;
        text-align: left !important;
        position: relative !important;
    }

    .mega-links li a strong {
        font-size: 14px !important;
        color: var(--primary) !important;
        display: block !important;
        margin-bottom: 2px !important;
    }

    .mega-links li a span {
        font-size: 12px !important;
        color: var(--text-muted) !important;
        display: block !important;
        white-space: normal !important;
    }

    /* Remove horizontal underlines in mobile */
    .mega-links li a::after {
        display: none !important;
    }

    /* Mobile sub-nav (Kurumsal) — click to open */
    .has-subnav {
        position: static;
    }

    .subnav-panel {
        position: static !important;
        width: 100% !important;
        padding: 10px 0 0 15px !important;
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none !important;
        transition: none !important;
    }

    .subnav-panel.active {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .nav-menu .subnav-panel .subnav-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 12px 18px !important;
        background-color: var(--bg-light) !important;
        border-radius: 8px !important;
        width: 100% !important;
        text-align: left !important;
        position: relative !important;
        border: none !important;
        border-left: none !important;
    }

    .nav-menu .subnav-panel .subnav-item + .subnav-item {
        border-top: none !important;
    }

    .nav-menu .subnav-panel .subnav-item strong {
        font-size: 14px !important;
        color: var(--primary) !important;
        display: block !important;
        margin-bottom: 2px !important;
        font-weight: 600 !important;
    }

    .nav-menu .subnav-panel .subnav-item span {
        font-size: 12px !important;
        color: var(--text-muted) !important;
        display: block !important;
        white-space: normal !important;
        font-weight: 400 !important;
    }
    
    /* Hero size on mobile */
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .video-preview-wrapper {
        height: 280px;
    }
    .builder-row {
        flex-direction: column;
        gap: 30px;
    }
    .builder-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 576px) {
    .categories-grid, .products-grid, .documents-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
    }

    .video-preview-wrapper {
        height: 200px;
    }
}

/* ==========================================
   19. ADMIN PANEL STYLES
   ========================================== */
.admin-body {
    background-color: #0f172a;
    color: #e2e8f0;
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
}

.admin-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styling */
.admin-sidebar {
    width: 260px;
    background-color: #1e293b;
    border-right: 1px solid #334155;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 24px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #f8fafc;
    border-bottom: 1px solid #334155;
}

.sidebar-header .logo-accent {
    color: #3b82f6;
}

.sidebar-nav {
    flex-grow: 1;
    padding: 20px 0;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 5px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.sidebar-nav a:hover, 
.sidebar-nav a.active {
    color: #f8fafc;
    background-color: #334155;
    border-left: 4px solid #3b82f6;
}

.sidebar-nav .nav-icon {
    margin-right: 12px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sidebar-nav .nav-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.sidebar-logout {
    margin-top: 40px;
    border-top: 1px solid #334155;
    padding-top: 10px;
}

.sidebar-logout a {
    color: #ef4444 !important;
}

.sidebar-logout a:hover {
    background-color: rgba(239, 68, 68, 0.05) !important;
    border-left-color: #ef4444 !important;
}

.sidebar-footer {
    padding: 15px 24px;
    font-size: 11px;
    color: #64748b;
    border-top: 1px solid #334155;
    text-align: center;
}

/* Main Area */
.admin-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: #0f172a;
    overflow-x: hidden;
}

.admin-header-bar {
    background-color: #1e293b;
    border-bottom: 1px solid #334155;
    padding: 16px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-bar-title h2 {
    font-size: 18px;
    margin: 0;
    color: #f8fafc;
    font-weight: 600;
}

.admin-bar-user {
    font-size: 14px;
    color: #94a3b8;
    display: flex;
    align-items: center;
}

.admin-bar-user strong {
    color: #f8fafc;
    margin-left: 5px;
}

.admin-content-body {
    padding: 30px;
    flex-grow: 1;
}

/* Stats Cards */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.stat-icon {
    font-size: 32px;
    margin-right: 20px;
    background-color: #334155;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    fill: #94a3b8;
}

.stat-info h3 {
    font-size: 28px;
    margin: 0 0 5px 0;
    color: #f8fafc;
    font-weight: 700;
}

.stat-info p {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Dashboard Sections Grid */
.dashboard-sections-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 30px;
}

.dashboard-card {
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.dashboard-card .card-header {
    padding: 20px 24px;
    border-bottom: 1px solid #334155;
    background-color: #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-card .card-header h3 {
    margin: 0;
    font-size: 16px;
    color: #f8fafc;
    font-weight: 600;
}

.dashboard-card .card-body {
    padding: 24px;
}

.no-records-text {
    text-align: center;
    padding: 30px;
    color: #64748b;
    font-size: 14px;
}

.system-info-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    border-bottom: 1px solid #334155;
    padding-bottom: 10px;
}

.info-item strong {
    color: #94a3b8;
}

.info-item span {
    color: #f8fafc;
    font-weight: 500;
}

/* Subbadge */
.sub-badge {
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    display: inline-block;
    text-transform: uppercase;
}

.sub-badge.contact {
    background-color: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.sub-badge.career {
    background-color: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Tables styling in dark theme */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background-color: #0f172a;
    color: #94a3b8;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    padding: 12px 16px;
    border-bottom: 2px solid #334155;
}

.admin-table td {
    padding: 16px;
    border-bottom: 1px solid #334155;
    color: #cbd5e1;
    font-size: 14px;
}

.admin-table tr:hover td {
    background-color: rgba(51, 65, 85, 0.2);
}

.admin-table a {
    color: #3b82f6;
    text-decoration: none;
}

.admin-table a:hover {
    text-decoration: underline;
}

.admin-table a.btn {
    color: #ffffff !important;
    text-decoration: none !important;
}

.admin-table a.btn:hover {
    text-decoration: none !important;
}

/* Forms styling in dark theme */
.admin-main label {
    color: #94a3b8;
}

.admin-main input[type="text"],
.admin-main input[type="email"],
.admin-main input[type="password"],
.admin-main textarea,
.admin-main select {
    background-color: #0f172a;
    border: 1px solid #334155;
    color: #f8fafc;
    border-radius: 6px;
    font-size: 14px;
}

.admin-main input:focus, 
.admin-main textarea:focus,
.admin-main select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field-hint {
    font-size: 11px;
    color: #64748b;
    display: block;
    margin-top: 4px;
}

/* Visual Builder Rows */
.layout-rows-wrapper {
    display: flex;
    flex-direction: column;
}

.layout-row-item {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.layout-row-item:hover {
    border-color: #475569 !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.col-builder-item {
    transition: background-color 0.2s ease;
}

.col-builder-item:hover {
    background-color: rgba(255, 255, 255, 0.04) !important;
}

/* Admin Login Page */
.admin-login-body {
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%) !important;
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.admin-login-wrapper {
    width: 100%;
    max-width: 440px;
    padding: 20px;
}

.admin-login-card {
    background: rgba(30, 41, 59, 0.75) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 45px 35px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6) !important;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 26px;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
}

.login-header p {
    font-size: 13.5px;
    color: #94a3b8;
    margin: 0;
}

.admin-login-card label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    color: #cbd5e1 !important; /* Light text for dark background */
}

.admin-login-card input[type="text"],
.admin-login-card input[type="password"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    background-color: rgba(15, 23, 42, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f8fafc !important;
    font-family: inherit;
    font-size: 14px !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
}

.admin-login-card input[type="text"]:focus,
.admin-login-card input[type="password"]:focus {
    border-color: #3b82f6 !important;
    background-color: rgba(15, 23, 42, 0.7) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25) !important;
    outline: none !important;
}

/* Fix browser autofill yellow/blue background */
.admin-login-card input:-webkit-autofill,
.admin-login-card input:-webkit-autofill:hover, 
.admin-login-card input:-webkit-autofill:focus {
    -webkit-text-fill-color: #f8fafc !important;
    -webkit-box-shadow: 0 0 0px 1000px #0f172a inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

.admin-login-card button[type="submit"] {
    width: 100% !important;
    background: linear-gradient(135deg, #fa6e00 0%, #ff8c3b 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 14px 20px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(250, 110, 0, 0.3) !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.admin-login-card button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 110, 0, 0.45) !important;
}

.admin-login-card button[type="submit"]:active {
    transform: translateY(0);
}

.login-back-site {
    text-align: center;
    margin-top: 25px;
}

.login-back-site a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.login-back-site a:hover {
    color: #f8fafc;
}

/* Responsive Admin overrides */
@media (max-width: 992px) {
    .admin-container {
        flex-direction: column;
    }
    .admin-sidebar {
        width: 100%;
    }
    .dashboard-sections-grid {
        grid-template-columns: 1fr;
    }
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* High Contrast Admin Buttons Styling */
.admin-main .btn-outline,
.admin-header-bar .btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #f8fafc !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    transition: all 0.2s ease !important;
}

.admin-main .btn-outline:hover,
.admin-header-bar .btn-outline:hover {
    border-color: #3b82f6 !important;
    color: #3b82f6 !important;
    background-color: rgba(59, 130, 246, 0.08) !important;
}

/* Specific styling for visual builder upload and action buttons */
.admin-main button.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #e2e8f0 !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
    font-weight: 500 !important;
}

.admin-main button.btn-outline:hover {
    border-color: #fa6e00 !important; /* Premium orange accent */
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(250, 110, 0, 0.15) 0%, rgba(255, 140, 59, 0.15) 100%) !important;
}

/* About Page Main Slider */
.about-page-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.about-page-slides {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 100%;
}

.about-page-slide {
    grid-column: 1;
    grid-row: 1;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.about-page-slide.active {
    opacity: 1;
    z-index: 2;
}

.about-page-slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, opacity 0.3s;
    opacity: 0;
}

.about-page-slider-container:hover .about-page-slider-control {
    opacity: 1;
}

.about-page-slider-control:hover {
    background: var(--primary);
}

.about-page-slider-control.prev {
    left: 15px;
}

.about-page-slider-control.next {
    right: 15px;
}

.about-page-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.about-page-slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.about-page-slider-dots .dot.active {
    background: var(--primary);
    width: 20px;
    border-radius: 5px;
}
