/* ==========================================================================
   Elektrik Servisci - Modern Red & Charcoal CSS Design System
   ========================================================================== */

/* --- Custom Variables & Theme Engine --- */
:root {
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Theme colors: Light Mode default */
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-light: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border-color: #e2e8f0;
    --card-glow-opacity: 0.05;

    /* Common Constants */
    --primary-red: #dc2626;
    --primary-red-hover: #b91c1c;
    --accent-red-glow: rgba(220, 38, 38, 0.25);
    
    --whatsapp-green: #25d366;
    --whatsapp-green-hover: #1cbd5a;

    --white: #ffffff;
    --dark-charcoal: #0b0f19;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 12px 0 rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.12);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
}

/* Dark Mode Theme Variables */
body.dark-mode {
    --bg-main: #0b0f19;
    --bg-card: #111827;
    --bg-light: #1f2937;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --border-color: #374151;
    --card-glow-opacity: 0.15;
    
    --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px 0 rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 32px -4px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* --- Layout Containers --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

.text-red {
    color: var(--primary-red);
}

.text-whatsapp {
    color: var(--whatsapp-green);
}

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

/* --- Global Components & Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}

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

.btn-primary:hover {
    background-color: var(--primary-red-hover);
    box-shadow: 0 0 15px var(--accent-red-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-color);
}

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

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

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

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

.pulse-effect {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(220, 38, 38, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

/* --- Section Headers --- */
.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-red);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-primary);
}

.underline {
    width: 60px;
    height: 4px;
    background-color: var(--primary-red);
    margin: 1rem auto 0;
    border-radius: var(--radius-full);
}

/* --- Emergency Scrolling Bar --- */
.emergency-bar {
    background-color: #0b0f19;
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.9rem;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 2px solid var(--primary-red);
}

.ticker-wrapper {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 25s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 3rem;
}

.ticker-item i {
    color: var(--primary-red);
    margin-right: 0.5rem;
}

.ticker-item strong {
    color: var(--primary-red);
    font-size: 1rem;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* --- Header & Navigation Bar --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(var(--bg-card) == #ffffff ? 255, 255, 255 : 17, 24, 39, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

/* Specific background styling based on body class for backdrop visibility */
body.light-mode .site-header {
    background-color: rgba(255, 255, 255, 0.85);
}

body.dark-mode .site-header {
    background-color: rgba(17, 24, 39, 0.85);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 135px;
}

/* Logo box fallback styles */
.logo-box {
    display: flex;
    align-items: center;
    height: 120px;
}

.logo-img {
    max-height: 125px;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

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

.logo-placeholder-div {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    text-transform: lowercase;
}

.logo-placeholder-div span span {
    color: var(--primary-red);
}

.logo-placeholder-div i {
    font-size: 2rem;
    animation: pulseLightning 1.5s infinite alternate;
}

@keyframes pulseLightning {
    0% { opacity: 0.7; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1.1) rotate(5deg); }
}

/* Navigation List */
.nav-menu ul {
    display: flex;
    gap: 1.2rem;
    flex-wrap: nowrap;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0.5rem 0;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: var(--bg-light);
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.theme-toggle:hover {
    background-color: var(--border-color);
}

.theme-toggle .sun-icon {
    display: none;
}

body.dark-mode .theme-toggle .moon-icon {
    display: none;
}

body.dark-mode .theme-toggle .sun-icon {
    display: block;
    color: #fbc02d;
}

.btn-call-cta {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 0.45rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    animation: pulseGlow 3s infinite;
}

.btn-call-cta:hover {
    background-color: var(--primary-red-hover);
}

/* Mobile Nav Toggle Icon */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    width: 30px;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 4px;
    transition: var(--transition-normal);
}

/* --- Hero Section Styles --- */
.hero-section {
    position: relative;
    padding: 5rem 0 7rem;
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
}

.hero-bg-shapes .shape-1 {
    width: 400px;
    height: 400px;
    background-color: var(--accent-red-glow);
    top: -100px;
    right: -50px;
}

.hero-bg-shapes .shape-2 {
    width: 300px;
    height: 300px;
    background-color: rgba(220, 38, 38, 0.15);
    bottom: -50px;
    left: -50px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
}

.badge-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--bg-light);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Mobil Ekipler Kutucuğu - Hero */
.hero-mobile-teams-box {
    position: relative;
    width: 100%;
    max-width: 520px;
    min-height: 180px;
    border-radius: var(--radius-md);
    background-color: var(--bg-card);
    border: 2px solid rgba(220, 38, 38, 0.15);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 20px -6px rgba(220, 38, 38, 0.03);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 3.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-normal);
    cursor: pointer;
    z-index: 5;
}

.hero-mobile-teams-box::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background-image: radial-gradient(circle, var(--border-color) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.35;
    pointer-events: none;
}

.hero-mobile-teams-box:hover {
    border-color: var(--primary-red);
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.15);
    transform: translateY(-4px);
}

/* Stats panel */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-red);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-color);
}

/* Hero Electrician Graphic Box */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    z-index: 2;
}

.visual-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 450px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s ease;
}

.visual-card:hover {
    border-color: rgba(220, 38, 38, 0.45);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 0 40px rgba(220, 38, 38, 0.15);
}

.card-glow {
    position: absolute;
    inset: -1px;
    background: radial-gradient(circle 220px at var(--mx, 50%) var(--my, 50%), rgba(220, 38, 38, 0.12) 0%, transparent 80%);
    pointer-events: none;
    z-index: 1;
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.visual-card:hover .card-glow {
    opacity: 1;
}

.card-circuit-grid {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(rgba(220, 38, 38, 0.08) 1.2px, transparent 1.2px),
        linear-gradient(rgba(220, 38, 38, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 38, 38, 0.02) 1px, transparent 1px);
    background-size: 24px 24px, 48px 48px, 48px 48px;
    background-position: center;
    border-radius: var(--radius-lg);
    pointer-events: none;
    z-index: 1;
    opacity: 0.65;
}

.electrician-graphic {
    width: 210px;
    height: 210px;
    background: radial-gradient(circle, var(--bg-card) 45%, rgba(220, 38, 38, 0.06) 100%);
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    border: 2px solid rgba(220, 38, 38, 0.22);
    color: var(--primary-red);
    transform: translateZ(28px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), inset 0 0 20px rgba(220, 38, 38, 0.04);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.5s ease, box-shadow 0.5s ease;
}

.visual-card:hover .electrician-graphic {
    border-color: var(--primary-red);
    box-shadow: 0 20px 45px rgba(220, 38, 38, 0.22), inset 0 0 30px rgba(220, 38, 38, 0.08);
    transform: translateZ(42px) scale(1.04);
}

.lightning-svg {
    width: 85px;
    height: 85px;
    animation: boltFlicker 3s infinite alternate;
}

@keyframes boltFlicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 0.95;
        transform: scale(1);
        filter: drop-shadow(0 0 6px var(--primary-red));
    }
    20%, 24%, 55% {
        opacity: 0.3;
        transform: scale(0.96);
        filter: none;
    }
}

.wrench-icon {
    position: absolute;
    font-size: 2.2rem;
    bottom: 22px;
    right: 22px;
    transform: rotate(-15deg);
    animation: wrenchMove 4s infinite alternate ease-in-out;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.12));
}

@keyframes wrenchMove {
    0% { transform: rotate(-15deg); }
    100% { transform: rotate(15deg); }
}

/* Badges floating on card */
.badge-icon-wrapper {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(220, 38, 38, 0.05) 100%);
    border: 1px solid rgba(220, 38, 38, 0.25);
    color: var(--primary-red);
    flex-shrink: 0;
}

.visual-badge.bottom-left .badge-icon-wrapper {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.15) 0%, rgba(22, 163, 74, 0.05) 100%);
    border: 1px solid rgba(22, 163, 74, 0.25);
    color: #16a34a;
}

.logo-badge-wrapper {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(220, 38, 38, 0.06) 100%) !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
}

.badge-emblem-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

.badge-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    background-color: var(--primary-red);
    border-radius: 50%;
}

.badge-dot.green-dot {
    background-color: #16a34a;
}

.animate-ping {
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.visual-badge {
    position: absolute;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    padding: 0.85rem 1.35rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    z-index: 3;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    transform-style: preserve-3d;
}

.visual-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.13);
    transform: rotate(30deg);
    animation: badgeShine 4.5s infinite ease-in-out;
}

@keyframes badgeShine {
    0% { left: -60%; }
    15% { left: 140%; }
    100% { left: 140%; }
}

body.light-mode .visual-badge {
    background: rgba(255, 255, 255, 0.82);
    border: 1.5px solid rgba(220, 38, 38, 0.18);
}

body.light-mode .visual-badge.top-right {
    border: 1.5px solid rgba(245, 158, 11, 0.25);
}

body.dark-mode .visual-badge {
    background: rgba(17, 24, 39, 0.82);
    border: 1.5px solid rgba(220, 38, 38, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.42);
}

body.dark-mode .visual-badge.top-right {
    border: 1.5px solid rgba(245, 158, 11, 0.38);
}

.visual-badge i {
    font-size: 1.4rem;
}

.visual-badge h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.visual-badge p {
    font-size: 0.75rem;
    margin-bottom: 0;
}

.visual-badge:hover {
    box-shadow: 0 18px 40px rgba(220, 38, 38, 0.25);
}

.visual-badge.top-right:hover {
    box-shadow: 0 18px 40px rgba(245, 158, 11, 0.25);
    border-color: #f59e0b !important;
}

.visual-badge.bottom-left:hover {
    box-shadow: 0 18px 40px rgba(22, 163, 74, 0.25);
    border-color: #16a34a !important;
}

.visual-badge.top-right {
    top: 45px;
    right: -25px;
    transform: translateZ(55px);
    animation: floatBadge1 6s infinite ease-in-out;
}

.visual-badge.bottom-left {
    bottom: 45px;
    left: -25px;
    transform: translateZ(45px);
    animation: floatBadge2 6s infinite ease-in-out;
}

@keyframes floatBadge1 {
    0% { top: 45px; }
    50% { top: 31px; }
    100% { top: 45px; }
}

@keyframes floatBadge2 {
    0% { bottom: 45px; }
    50% { bottom: 31px; }
    100% { bottom: 45px; }
}

/* --- About Us Section Styles --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.about-visual .image-wrapper {
    position: relative;
    height: 480px;
    width: 100%;
}

.about-visual .glass-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(220, 38, 38, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(220, 38, 38, 0.15);
    border-radius: var(--radius-lg);
    z-index: 1;
    box-shadow: inset 0 0 24px rgba(220, 38, 38, 0.05);
    transition: var(--transition-slow);
}

.about-visual:hover .glass-bg {
    border-color: rgba(220, 38, 38, 0.45);
    box-shadow: inset 0 0 30px rgba(220, 38, 38, 0.1), 0 12px 40px rgba(220, 38, 38, 0.15);
}

.vector-quality-illustration {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
}

.vector-quality-illustration .house-ill {
    font-size: 8rem;
    color: var(--border-color);
    opacity: 0.6;
}

.vector-quality-illustration .shield-ill {
    position: absolute;
    font-size: 4rem;
    color: var(--primary-red);
    top: 35%;
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px var(--accent-red-glow));
    transition: var(--transition-slow);
}

.about-visual:hover .vector-quality-illustration .shield-ill {
    transform: scale(1.2) translateY(-5px);
    filter: drop-shadow(0 8px 20px rgba(220, 38, 38, 0.4));
}

.vector-quality-illustration .plug-ill {
    position: absolute;
    font-size: 2.5rem;
    bottom: 30%;
    left: 30%;
    transform: rotate(45deg);
    transition: var(--transition-normal);
}

.about-visual:hover .vector-quality-illustration .plug-ill {
    transform: rotate(90deg) scale(1.1);
    color: var(--primary-red);
}

.pulse-ring {
    position: absolute;
    border: 2px solid var(--primary-red);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: ringExpand 3s infinite linear;
    z-index: 1;
}

@keyframes ringExpand {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    z-index: 2;
    position: relative;
    transition: transform var(--transition-slow);
}

.about-visual:hover .about-img {
    transform: scale(1.03);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #ef4444 100%);
    color: var(--white);
    padding: 1.25rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 160px;
    transition: var(--transition-normal);
}

.experience-badge:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.5);
}

.experience-badge .exp-num {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.experience-badge .exp-text {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--primary-red);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.925rem;
    margin-bottom: 0;
}

/* --- Services Grid Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 2.25rem;
}

.service-card {
    background-color: var(--bg-card);
    background-image: 
        radial-gradient(rgba(220, 38, 38, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(220, 38, 38, 0.01) 1px, transparent 1px);
    background-size: 20px 20px, 40px 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3.5rem 2.5rem;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s ease, border-color 0.6s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-red), #f59e0b, var(--primary-red), transparent);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 120px at 50% 50px, rgba(220, 38, 38, 0.06) 0%, transparent 80%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(220, 38, 38, 0.15), 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(220, 38, 38, 0.45);
}

body.dark-mode .service-card {
    background-color: rgba(17, 24, 39, 0.65);
    border: 1.5px solid rgba(255, 255, 255, 0.04);
}

body.dark-mode .service-card:hover {
    border-color: rgba(220, 38, 38, 0.55);
}

.service-icon {
    width: 65px;
    height: 65px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    color: var(--primary-red);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.5s, color 0.5s, border-color 0.5s, box-shadow 0.5s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

body.dark-mode .service-icon {
    background-color: rgba(31, 41, 55, 0.8);
    border-color: rgba(255, 255, 255, 0.06);
}

.service-card:hover .service-icon {
    background-color: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.75rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-red);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.service-link i {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-link {
    color: var(--text-primary);
}

.service-card:hover .service-link i {
    transform: translateX(6px) scale(1.2);
}

/* --- Campaigns Section --- */
.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2.25rem;
}

.campaign-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3.5rem 2.25rem 2.25rem;
    position: relative;
    overflow: visible;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s ease, border-color 0.6s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.dark-mode .campaign-card {
    background-color: rgba(17, 24, 39, 0.55);
    border: 1.5px solid rgba(255, 255, 255, 0.04);
}

.campaign-card:hover {
    transform: translateY(-10px) scale(1.015);
    border-color: rgba(220, 38, 38, 0.45);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.22), 0 0 35px rgba(220, 38, 38, 0.12);
}

.campaign-card::before {
    content: '';
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -1px;
    width: 5px;
    background: linear-gradient(to bottom, var(--primary-red), #f59e0b);
    border-top-left-radius: var(--radius-md);
    border-bottom-left-radius: var(--radius-md);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.campaign-card:hover::before {
    width: 7px;
}

.campaign-badge {
    position: absolute;
    top: -15px;
    right: 25px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #b91c1c 100%);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.45rem 1.15rem;
    border-radius: var(--radius-full);
    box-shadow: 0 6px 15px rgba(220, 38, 38, 0.3);
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 2;
}

.campaign-badge .badge-dot {
    position: static;
    display: inline-block;
    width: 7px;
    height: 7px;
    background-color: var(--white);
}

.campaign-badge.badge-green {
    background: linear-gradient(135deg, var(--whatsapp-green) 0%, #15803d 100%);
    box-shadow: 0 6px 15px rgba(22, 163, 74, 0.3);
}

.campaign-badge.badge-green .badge-dot {
    background-color: var(--white);
}

.campaign-icon {
    font-size: 2.35rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
    transition: transform 0.5s ease;
}

.campaign-card:hover .campaign-icon {
    transform: scale(1.15) rotate(5deg);
    color: #f59e0b;
}

.campaign-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.campaign-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 2rem;
}

.campaign-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-color);
}

.campaign-footer .validity {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.campaign-footer .validity i {
    color: var(--primary-red);
}

.campaign-footer .btn {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.campaign-card:hover .campaign-footer .btn {
    background-color: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.25);
    transform: translateY(-2px);
}

/* --- Service Areas Section (GEO) --- */
.geo-search-container {
    max-width: 720px;
    margin: 0 auto 3.75rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.dark-mode .geo-search-container {
    background-color: rgba(17, 24, 39, 0.6);
    border-color: rgba(255, 255, 255, 0.05);
}

.geo-search-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), #f59e0b, var(--primary-red));
}

.geo-search-container .search-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
    color: var(--text-primary);
}

.search-box-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.35rem 0.35rem 0.35rem 1.15rem;
    background-color: var(--bg-main);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark-mode .search-box-wrapper {
    background-color: rgba(11, 15, 25, 0.75);
}

.search-box-wrapper:focus-within {
    border-color: var(--primary-red);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.18);
}

.search-box-wrapper .search-icon {
    color: var(--primary-red);
    font-size: 1.15rem;
}

.search-box-wrapper input {
    flex-grow: 1;
    border: none;
    background: none;
    padding: 0.75rem 1rem;
    font-size: 1.05rem;
    color: var(--text-primary);
    font-family: inherit;
    outline: none;
}

.search-box-wrapper .btn {
    border-radius: var(--radius-sm);
    padding: 0.8rem 1.75rem;
    font-weight: 700;
}

/* Voice Search Button Styles */
.voice-search-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    padding: 0.5rem;
    margin-right: 0.75rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    width: 40px;
    height: 40px;
    outline: none;
}

.voice-search-btn:hover {
    color: var(--primary-red);
    background-color: rgba(220, 38, 38, 0.08);
}

.voice-search-btn.listening {
    color: #fff;
    background-color: var(--primary-red);
    animation: micPulse 1.2s infinite alternate ease-in-out;
}

@keyframes micPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5);
    }
    100% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
    }
}

.search-result-message {
    margin-top: 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 24px;
}

.search-result-message.success {
    color: #16a34a;
}

.search-result-message.error {
    color: var(--primary-red);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1.75rem;
    margin-bottom: 4rem;
    perspective: 1000px;
}

.area-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 230px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease, border-color 0.6s ease;
    background: linear-gradient(135deg, #1e293b 0%, #111827 50%, #dc2626 100%);
    border: 1px solid var(--border-color);
    transform-style: preserve-3d;
}

.area-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.area-card:hover img {
    transform: scale(1.1);
}

.area-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(11, 15, 25, 0.9) 0%,
        rgba(11, 15, 25, 0.45) 45%,
        rgba(11, 15, 25, 0.15) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 1.75rem;
    transition: background 0.6s ease;
    transform-style: preserve-3d;
}

.area-card:hover .area-card-overlay {
    background: linear-gradient(
        to top,
        rgba(220, 38, 38, 0.85) 0%,
        rgba(220, 38, 38, 0.25) 50%,
        rgba(11, 15, 25, 0.05) 100%
    );
}

.area-card-overlay i {
    color: var(--primary-red);
    font-size: 1.35rem;
    margin-bottom: 0.45rem;
    filter: drop-shadow(0 0 6px rgba(220, 38, 38, 0.6));
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateZ(20px);
}

.area-card:hover .area-card-overlay i {
    color: #fff;
    transform: translateZ(35px) scale(1.25);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

.area-card-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.02em;
    transform: translateZ(25px);
    transition: transform 0.5s ease;
}

.area-card:hover .area-card-overlay h3 {
    transform: translateZ(35px);
}

.area-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.55rem;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transform: translateZ(15px);
    transition: all 0.5s ease;
}

.area-card:hover .area-badge {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateZ(25px);
}

.area-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(220, 38, 38, 0.25), 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: rgba(220, 38, 38, 0.4);
}

/* Highlighted state for search result with wiggle and bounce */
.area-card.highlighted {
    border-color: #16a34a !important;
    box-shadow: 0 0 0 3px #16a34a, 0 20px 50px rgba(22, 163, 74, 0.4);
    animation: searchWiggle 0.8s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes searchWiggle {
    10%, 90% { transform: translate3d(-1px, -8px, 0) rotate(-0.5deg); }
    20%, 80% { transform: translate3d(2px, -8px, 0) rotate(1deg); }
    30%, 50%, 70% { transform: translate3d(-3px, -8px, 0) rotate(-1.5deg); }
    40%, 60% { transform: translate3d(3px, -8px, 0) rotate(1.5deg); }
}

.area-card.highlighted .area-card-overlay {
    background: linear-gradient(
        to top,
        rgba(22, 163, 74, 0.85) 0%,
        rgba(22, 163, 74, 0.25) 50%,
        rgba(11, 15, 25, 0.05) 100%
    );
}

.area-card.highlighted .area-badge {
    background: rgba(22, 163, 74, 0.6);
    border-color: rgba(22, 163, 74, 0.85);
}

.geo-disclaimer {
    font-size: 0.95rem;
    font-weight: 500;
}

.geo-disclaimer i {
    color: var(--primary-red);
    margin-right: 0.25rem;
}

/* --- Gallery & Lightbox Styles --- */
.gallery-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3.5rem;
}

.gallery-tabs {
    position: relative;
    display: inline-flex;
    justify-content: center;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.4rem;
    border-radius: 50px;
    gap: 0.25rem;
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

body.dark-mode .gallery-tabs {
    background-color: rgba(17, 24, 39, 0.85);
}

.gallery-tab-btn {
    background: none;
    color: var(--text-secondary);
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.925rem;
    cursor: pointer;
    z-index: 3;
    transition: color 0.4s ease;
    white-space: nowrap;
}

.gallery-tab-btn.active {
    color: var(--white);
}

/* Kayan tab çizgisi */
.gallery-tab-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    background-color: var(--primary-red);
    border-radius: 50px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1.75rem;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s ease, opacity 0.6s ease;
    opacity: 1;
    transform: scale(1);
    transform-origin: center center;
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0);
    display: none;
}

.gallery-img-box {
    position: relative;
    width: 100%;
    height: 260px;
    background-color: var(--bg-light);
    cursor: pointer;
    overflow: hidden;
    transform-style: preserve-3d;
}

.gallery-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fallback SVG design for lighting, panel, etc. when image is broken */
.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    padding: 2rem;
    text-align: center;
    gap: 1rem;
    position: absolute;
    inset: 0;
    z-index: 1;
}

.img-placeholder i {
    font-size: 3.5rem;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-img-box:hover .img-placeholder i {
    transform: scale(1.15) rotate(10deg);
}

.img-placeholder span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1.3;
}

.bg-lighting {
    background: linear-gradient(135deg, #1e293b 0%, #1e1b4b 50%, #dc2626 100%);
}

.bg-panel {
    background: linear-gradient(135deg, #111827 0%, #030712 50%, #b91c1c 100%);
}

.bg-wiring {
    background: linear-gradient(135deg, #374151 0%, #0f172a 50%, #7f1d1d 100%);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(11, 15, 25, 0.95) 0%, rgba(11, 15, 25, 0.5) 50%, rgba(11, 15, 25, 0.15) 100%);
    color: var(--white);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.gallery-img-box:hover img {
    transform: scale(1.08);
}

.gallery-img-box:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s;
}

.gallery-overlay p {
    color: #cbd5e1;
    font-size: 0.875rem;
    margin-bottom: 0;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s;
}

.gallery-img-box:hover .gallery-overlay h4,
.gallery-img-box:hover .gallery-overlay p {
    transform: translateY(0);
}

.zoom-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    z-index: 3;
    transition: all 0.4s ease;
    transform: scale(0.8) translateZ(10px);
    opacity: 0;
}

.gallery-img-box:hover .zoom-icon {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    transform: scale(1) translateZ(30px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    opacity: 1;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(8px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 70vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 30px rgba(220,38,38,0.2);
    animation: zoomModal 0.3s ease-out;
}

@keyframes zoomModal {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.lightbox-close {
    position: absolute;
    top: 40px;
    right: 40px;
    color: #f3f4f6;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--primary-red);
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #e5e7eb;
    padding: 15px 0;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
}

/* --- Career (Join Our Team) Section --- */
.career-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.career-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.career-jobs {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.job-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.job-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-card ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.job-card li {
    font-size: 0.925rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.job-card li i {
    color: var(--primary-red);
    margin-top: 0.25rem;
    font-size: 0.75rem;
}

.career-form-wrapper, .contact-form-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-md);
}

.career-form-wrapper h3, .contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 1.75rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.1);
}

.form-feedback {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    display: none;
}

.form-feedback.success {
    color: #16a34a;
}

.form-feedback.error {
    color: var(--primary-red);
}

/* --- Contact & Appointment Form --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-light);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.1rem;
}

.contact-item span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

/* Map visual placeholder container */
.map-placeholder-container {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: var(--radius-md);
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.map-placeholder-container::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background-image: radial-gradient(circle, var(--border-color) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.3;
}

.map-overlay {
    position: relative;
    z-index: 2;
}

.map-overlay i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 0.75rem;
    animation: markerBounce 1s infinite alternate ease-in-out;
}

@keyframes markerBounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

.map-overlay h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.map-overlay p {
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* --- Accordion FAQ Section --- */
.faq-container {
    max-width: 800px;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    outline: none;
}

.accordion-header .icon {
    font-size: 1rem;
    color: var(--primary-red);
    transition: var(--transition-normal);
}

.accordion-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-body {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.accordion-item.active {
    border-color: var(--primary-red);
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(45deg);
}

/* --- Footer --- */
.site-footer {
    background-color: #080c14;
    color: #94a3b8;
    padding: 5rem 0 2rem;
    border-top: 4px solid var(--primary-red);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

.footer-logo {
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    text-transform: lowercase;
}

.footer-logo i {
    font-size: 1.75rem;
}

.footer-logo span span {
    color: var(--primary-red);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    background-color: #111827;
    border: 1px solid #1f2937;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background-color: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
    transform: translateY(-3px);
}

.links-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.links-col a {
    font-size: 0.9rem;
}

.links-col a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-contact-info li {
    display: flex;
    gap: 1rem;
}

.footer-contact-info i {
    color: var(--primary-red);
    font-size: 1.1rem;
    margin-top: 0.25rem;
}

.footer-contact-info span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
}

.footer-contact-info a {
    font-weight: 600;
    color: var(--white);
}

.footer-contact-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--white);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid #111827;
    padding-top: 2rem;
    font-size: 0.85rem;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* --- Responsive Media Queries --- */

/* Tablet & Mobile Landscape */
@media (max-width: 1024px) {
    .page-loader {
        display: none !important;
    }

    html {
        font-size: 15px;
    }
    
    .hero-container,
    .about-grid,
    .career-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .badge-tagline {
        justify-content: center;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-mobile-teams-box {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-visual .image-wrapper {
        height: 380px;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .brand-col {
        grid-column: span 2;
    }
}

/* Mobile Portrait */
@media (max-width: 768px) {
    .page-loader {
        display: none !important;
    }

    .hero-section {
        padding: 4.5rem 0 4rem;
    }
    
    /* Gallery Tabs Mobile Optimizations (Swipeable Scrollbar-free) */
    .gallery-tabs-wrapper {
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0.5rem 1.25rem 1.25rem;
        margin-bottom: 2rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }
    
    .gallery-tabs-wrapper::-webkit-scrollbar {
        display: none;
    }
    
    .gallery-tabs {
        display: inline-flex;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* About Us Experience Badge Mobile Layout */
    .experience-badge {
        right: 10px !important;
        bottom: 10px !important;
        padding: 0.75rem 1.25rem !important;
        max-width: 130px !important;
        box-shadow: 0 8px 20px rgba(220, 38, 38, 0.25) !important;
    }
    
    .experience-badge .exp-num {
        font-size: 1.8rem !important;
    }
    
    .experience-badge .exp-text {
        font-size: 0.7rem !important;
    }
    
    /* Hero Card Mobile Optimizations */
    .visual-card {
        height: 380px;
        max-width: 320px;
        margin: 0 auto;
        padding: 1.5rem;
    }
    
    .electrician-graphic {
        width: 160px;
        height: 160px;
        transform: translateZ(20px);
    }
    
    .lightning-svg {
        width: 65px;
        height: 65px;
    }
    
    .wrench-icon {
        font-size: 1.6rem;
        bottom: 18px;
        right: 18px;
    }
    
    /* Position badges safely inside card on mobile */
    .visual-badge {
        padding: 0.5rem 0.85rem;
        gap: 0.5rem;
    }
    
    .visual-badge i {
        font-size: 1.15rem;
    }
    
    .badge-icon-wrapper {
        width: 32px;
        height: 32px;
    }
    
    .badge-emblem-img {
        width: 24px;
        height: 24px;
    }
    
    .visual-badge h4 {
        font-size: 0.8rem;
    }
    
    .visual-badge p {
        font-size: 0.65rem;
    }
    
    .visual-badge.top-right {
        top: 20px;
        right: 12px;
        transform: translateZ(35px);
        animation: floatBadge1Mobile 5s infinite ease-in-out;
    }
    
    .visual-badge.bottom-left {
        bottom: 20px;
        left: 12px;
        transform: translateZ(30px);
        animation: floatBadge2Mobile 5s infinite ease-in-out;
    }
    
    @keyframes floatBadge1Mobile {
        0% { top: 20px; }
        50% { top: 10px; }
        100% { top: 20px; }
    }
    
    @keyframes floatBadge2Mobile {
        0% { bottom: 20px; }
        50% { bottom: 10px; }
        100% { bottom: 20px; }
    }
    
    .site-header {
        position: sticky;
    }
    
    .header-container {
        height: 110px;
        padding: 0 0.75rem;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .logo-box {
        height: 95px;
    }
    
    .logo-img {
        max-height: 100px;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 110px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 110px);
        background-color: var(--bg-card);
        padding: 3rem 1.5rem;
        transition: var(--transition-normal);
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    /* Toggle icon state active */
    .mobile-nav-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-col {
        grid-column: span 1;
    }
    
    .header-actions .btn-call-cta span {
        display: none;
    }
    
    .header-actions .btn-call-cta {
        padding: 0.6rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        height: 90px;
    }
    
    .logo-box {
        height: 75px;
    }
    
    .logo-img {
        max-height: 80px;
    }
    
    .nav-menu {
        top: 90px;
        height: calc(100vh - 90px);
    }
    
    .hero-section {
        padding: 4rem 0 3.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .geo-search-container {
        padding: 1.5rem;
    }
    
    .search-box-wrapper {
        flex-direction: column;
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .search-box-wrapper input {
        width: 100%;
        text-align: center;
    }
    
    .search-box-wrapper .btn {
        width: 100%;
    }
    
    .search-box-wrapper .voice-search-btn {
        width: 100%;
        margin-right: 0;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        height: 42px;
        background-color: rgba(220, 38, 38, 0.02);
    }
}

/* ==========================================================================
   Blog Section, Clickable Map & Dynamic Effects
   ========================================================================== */

/* --- Blog Section Styles --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2.5rem;
}

.blog-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-slow);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(220, 38, 38, 0.3);
}

.blog-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #111827 0%, #1f2937 50%, #dc2626 100%);
    overflow: hidden;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.08);
}

.blog-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: rgba(11, 15, 25, 0.75);
    backdrop-filter: blur(4px);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-tag {
    align-self: flex-start;
    background-color: var(--accent-red-glow);
    color: var(--primary-red);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.blog-card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.4;
    transition: var(--transition-fast);
}

.blog-card:hover .blog-card-content h3 {
    color: var(--primary-red);
}

.blog-card-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.blog-read-more i {
    transition: var(--transition-fast);
}

.blog-card:hover .blog-read-more i {
    transform: translateX(5px);
}

/* --- Clickable Map Container Styles --- */
#map-target-link {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-slow);
}

#map-target-link:hover {
    transform: scale(1.02);
    border-color: var(--primary-red);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.15);
}

#map-target-link:hover .map-overlay i {
    transform: translateY(-8px) scale(1.1);
    color: var(--primary-red-hover);
    filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.6));
}

/* --- Dynamic Focus Pulse Animation --- */
@keyframes searchContainerPulse {
    0% {
        box-shadow: var(--shadow-md);
        border-color: var(--border-color);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.4), 0 12px 32px rgba(22, 163, 74, 0.25);
        border-color: #16a34a;
    }
    100% {
        box-shadow: var(--shadow-md);
        border-color: var(--border-color);
    }
}

.geo-search-container.pulse-focus {
    animation: searchContainerPulse 1.5s ease-in-out 2;
}

/* --- Area Card Link Wrapper --- */
a.area-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* --- Gallery Load More Button --- */
.gallery-load-more-wrapper {
    text-align: center;
    margin-top: 3rem;
}

.gallery-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
}

.gallery-load-more-btn:hover {
    background-color: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
    transform: translateY(-2px);
}

.gallery-load-more-btn i {
    transition: transform 0.4s ease;
}

.gallery-load-more-btn:hover i {
    transform: translateY(3px);
}

.gallery-load-more-btn.expanded i {
    transform: rotate(180deg);
}

.gallery-load-more-btn.expanded:hover i {
    transform: rotate(180deg) translateY(-3px);
}

/* --- District / Bölge Sayfaları Stilleri --- */
.breadcrumb-section {
    padding: 1.25rem 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    margin-top: 80px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-red);
}

.breadcrumb .current {
    color: var(--primary-red);
    font-weight: 600;
}

.district-hero-section {
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.district-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.district-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

body.dark-mode .district-badge {
    background: rgba(220, 38, 38, 0.15);
    border-color: rgba(220, 38, 38, 0.3);
}

.district-hero-section h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.district-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 2.5rem;
}

.district-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-color);
}

.district-stat {
    text-align: center;
}

.district-stat .stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-red);
}

.district-stat .stat-txt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* District Services Grid */
.district-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.district-service-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
}

.district-service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(220, 38, 38, 0.3);
}

.district-service-item .service-icon-sm {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary-red), #b91c1c);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.district-service-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.district-service-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Why Us Grid */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.4s ease;
}

.why-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.why-item .why-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.08);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
    transition: all 0.4s ease;
}

body.dark-mode .why-item .why-icon {
    background: rgba(220, 38, 38, 0.15);
}

.why-item:hover .why-icon {
    background: var(--primary-red);
    color: white;
    transform: scale(1.1);
}

.why-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.why-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* District CTA Banner */
.district-cta-banner {
    background: linear-gradient(135deg, #111827 0%, #1e293b 50%, #7f1d1d 100%);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    text-align: center;
    color: white;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.district-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.district-cta-banner h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: white;
    position: relative;
}

.district-cta-banner p {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #cbd5e1;
    position: relative;
}

.district-cta-banner .btn {
    position: relative;
}

/* District page neighborhoods list */
.neighborhoods-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.neighborhood-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 1rem;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.neighborhood-tag:hover {
    background-color: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

.neighborhood-tag i {
    font-size: 0.65rem;
    color: var(--primary-red);
}

.neighborhood-tag:hover i {
    color: white;
}

/* District page responsive */
@media (max-width: 768px) {
    .district-hero-section {
        padding: 3rem 0;
    }
    .district-hero-section h1 {
        font-size: 2rem;
    }
    .district-stats {
        gap: 1.5rem;
    }
    .district-cta-banner {
        padding: 2rem;
    }
    .district-cta-banner h3 {
        font-size: 1.35rem;
    }
    .breadcrumb-section {
        margin-top: 70px;
    }
}

/* --- Laptop & Small Desktop Spacing Optimization --- */
@media (max-width: 1250px) and (min-width: 769px) {
    .nav-menu ul {
        gap: 0.65rem;
    }
    .nav-link {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   Premium Preloader & Page Reveal Animations
   ========================================================================== */
.page-loader {
    position: fixed;
    inset: 0;
    background-color: #0b0f19;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s;
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    color: var(--white);
}

.loader-logo-area {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-bolt {
    font-size: 3.5rem;
    color: var(--primary-red);
    z-index: 2;
    animation: loaderBoltPulse 1.2s infinite alternate ease-in-out;
    filter: drop-shadow(0 0 20px var(--primary-red));
}

.loader-circle {
    position: absolute;
    inset: 0;
    border: 3px solid rgba(255, 255, 255, 0.05);
    border-top: 3px solid var(--primary-red);
    border-radius: var(--radius-full);
    animation: loaderRotate 1.2s infinite linear;
}

.loader-text-area {
    text-align: center;
}

.loader-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    display: block;
}

.loader-brand span {
    color: var(--primary-red);
}

.loader-status {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 0.5rem;
    letter-spacing: 1px;
}

.loader-progress-bar {
    width: 250px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loader-progress-fill {
    width: 0%;
    height: 100%;
    background-color: var(--primary-red);
    box-shadow: 0 0 10px var(--primary-red);
    transition: width 0.1s linear;
}

.loader-percentage {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-red);
}

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

@keyframes loaderBoltPulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

/* Staggered page reveal animations */
.hero-content > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.loaded .hero-content > * {
    opacity: 1;
    transform: translateY(0);
}

body.loaded .hero-content > .badge-tagline { transition-delay: 0.1s; }
body.loaded .hero-content > .hero-title { transition-delay: 0.25s; }
body.loaded .hero-content > .hero-subtitle { transition-delay: 0.4s; }
body.loaded .hero-content > .hero-ctas { transition-delay: 0.55s; }
body.loaded .hero-content > .hero-mobile-teams-box { transition-delay: 0.7s; }
body.loaded .hero-content > .hero-stats { transition-delay: 0.85s; }

.hero-visual {
    opacity: 0;
    transform: scale(0.9) translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
}

body.loaded .hero-visual {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Scroll reveal helper classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Floating Action Buttons (WhatsApp & Back to Top)
   ========================================================================== */
.floating-actions {
    position: fixed;
    bottom: 25px;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 999;
}

.floating-whatsapp {
    position: fixed;
    left: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
    z-index: 999;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    background-color: #20ba5a;
    color: #ffffff !important;
}

/* Pulsing outer ring for WhatsApp */
.floating-whatsapp::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: whatsappPing 2s infinite ease-in-out;
    z-index: -1;
}

@keyframes whatsappPing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-tooltip {
    position: absolute;
    left: 75px;
    background-color: #111827;
    color: #ffffff;
    padding: 0.5rem 0.85rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-red);
    color: #ffffff !important;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: var(--primary-red-hover);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    color: #ffffff !important;
}

@media (max-width: 480px) {
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.65rem;
        left: 15px;
        bottom: 15px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        right: 15px;
        bottom: 15px;
    }
    
    .whatsapp-tooltip {
        display: none; /* Hide tooltip on small screens */
    }
}

/* ==========================================================================
   Background Music Widget Styles
   ========================================================================== */
.music-widget {
    position: fixed;
    right: 25px;
    bottom: 85px; /* Positioned above the back-to-top button */
    pointer-events: auto;
    z-index: 999;
    display: flex;
    align-items: center;
}

.music-toggle-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    outline: none;
    position: relative;
    overflow: hidden;
}

.music-toggle-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.25);
    border-color: var(--primary-red);
    color: var(--primary-red);
}

/* Sound wave animation when playing */
.music-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.music-note-icon {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.music-widget.playing .music-note-icon {
    opacity: 0;
    transform: scale(0.5);
}

.music-wave-bars {
    position: absolute;
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.music-widget.playing .music-wave-bars {
    opacity: 1;
    transform: scale(1);
}

.music-wave-bars .bar {
    width: 3px;
    height: 100%;
    background-color: var(--primary-red);
    border-radius: 1px;
    transform-origin: bottom;
}

/* Animations for wave bars */
@keyframes wave-bar-1 {
    0%, 100% { transform: scaleY(0.3); }
    50% { transform: scaleY(1); }
}
@keyframes wave-bar-2 {
    0%, 100% { transform: scaleY(0.6); }
    50% { transform: scaleY(0.2); }
}
@keyframes wave-bar-3 {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(0.9); }
}

.music-widget.playing .bar:nth-child(1) {
    animation: wave-bar-1 1s ease-in-out infinite;
}
.music-widget.playing .bar:nth-child(2) {
    animation: wave-bar-2 0.8s ease-in-out infinite;
}
.music-widget.playing .bar:nth-child(3) {
    animation: wave-bar-3 1.2s ease-in-out infinite;
}

/* Music Tooltip */
.music-tooltip {
    position: absolute;
    right: 65px;
    background-color: #111827;
    color: #ffffff;
    padding: 0.5rem 0.85rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

.music-widget:hover .music-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Mobile responsive for music widget */
@media (max-width: 480px) {
    .music-widget {
        right: 15px;
        bottom: 75px;
    }
    
    .music-toggle-btn {
        width: 45px;
        height: 45px;
    }
    
    .music-tooltip {
        display: none;
    }
}


