/* ============================================
   TEKNIK ELEKTRIK HAFRIYAT - CSS Design System
   Modern Light-Dark Hybrid with Gold Accents
   ============================================ */

/* ── CSS Custom Properties ── */
:root {
    /* Brand Colors */
    --color-primary: #F5A623;
    --color-primary-light: #FFD166;
    --color-primary-dark: #E09000;
    --color-primary-glow: rgba(245, 166, 35, 0.3);

    /* Background Colors - Lighter Dark */
    --color-bg-dark: #121620;
    --color-bg-section: #171C28;
    --color-bg-section-alt: #1C2230;
    --color-bg-card: #1E2538;
    --color-bg-card-hover: #252D42;
    --color-bg-elevated: #2A3350;

    /* Light sections */
    --color-bg-light: #F8F9FC;
    --color-bg-light-alt: #EDEEF3;

    /* Text Colors */
    --color-text-primary: #F0F2F8;
    --color-text-secondary: #A8B0C4;
    --color-text-muted: #6B7490;
    --color-text-accent: var(--color-primary);
    --color-text-dark: #1a1a2e;
    --color-text-dark-secondary: #4a4a6a;

    /* Borders */
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(245, 166, 35, 0.4);
    --color-border-light: rgba(0, 0, 0, 0.08);

    /* Glass Effect */
    --glass-bg: rgba(18, 22, 32, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 20px;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;

    /* Sizing */
    --container-max: 1280px;
    --header-height: 100px;
    --top-bar-height: 42px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px var(--color-primary-glow);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + var(--top-bar-height) + 20px);
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ── Utility ── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.text-accent {
    color: var(--color-primary);
}

/* ── Preloader ── */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--color-bg-dark);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin: 0 auto;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes preloaderPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

/* ── Top Bar ── */
.top-bar {
    background: linear-gradient(135deg, #1a1f2e, #252b3d);
    height: var(--top-bar-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    border-bottom: 1px solid rgba(245, 166, 35, 0.15);
}

.top-bar .container {
    width: 100%;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.top-bar-item:hover {
    color: var(--color-primary);
}

.top-bar-item svg {
    color: var(--color-primary);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ── Header ── */
.header {
    position: fixed;
    top: var(--top-bar-height);
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1000;
    transition: all var(--transition-base);
}

.header.scrolled {
    height: 80px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding-top: 16px;
    transition: padding var(--transition-base);
}

.header.scrolled .header-inner {
    padding-top: 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo img {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    letter-spacing: 1px;
}

.logo-subtitle {
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--color-text-dark-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    color: var(--color-text-dark-secondary);
    transition: all var(--transition-base);
    position: relative;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: var(--color-primary-dark);
    background: rgba(245, 166, 35, 0.08);
}

.nav-link.active {
    color: var(--color-primary-dark);
    background: rgba(245, 166, 35, 0.12);
    font-weight: 700;
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(245, 166, 35, 0.4);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 1002;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--color-text-dark);
    border-radius: 3px;
    transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: calc(var(--header-height) + var(--top-bar-height));
    background: var(--color-bg-dark);
    color: var(--color-text-primary);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(18, 22, 32, 0.92) 0%, rgba(18, 22, 32, 0.7) 50%, rgba(18, 22, 32, 0.4) 100%);
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('../dosyalar/proje_kablo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transform: translateZ(0);
    /* Hardware acceleration */
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 750px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px 8px 10px;
    background: rgba(245, 166, 35, 0.15);
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary-light);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 28px;
}

.hero-title-line {
    display: block;
    font-size: clamp(2.8rem, 6.5vw, 5.5rem);
    color: #fff;
}

.hero-title-line.highlight {
    color: var(--color-primary);
    text-shadow: 0 0 80px rgba(245, 166, 35, 0.3);
}

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-desc strong {
    color: #fff;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    box-shadow: 0 4px 20px var(--color-primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px var(--color-primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
    font-weight: 500;
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
}

.scroll-arrow {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(8px);
    }

    60% {
        transform: translateY(4px);
    }
}

/* ── Section Base ── */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 20px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.12), rgba(245, 166, 35, 0.06));
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--color-text-dark-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── About Section ── (Light Background) */
.about {
    background: var(--color-bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-feature {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.about-feature:hover {
    background: #fff;
    border-color: rgba(245, 166, 35, 0.15);
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15), rgba(245, 166, 35, 0.05));
    border-radius: var(--radius-md);
    color: var(--color-primary-dark);
}

.feature-icon.excavation {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.12), rgba(76, 175, 80, 0.04));
    color: #388E3C;
}

.feature-icon.solar {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.12), rgba(33, 150, 243, 0.04));
    color: #1976D2;
}

.feature-text h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text-dark);
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--color-text-dark-secondary);
    line-height: 1.7;
}

/* About Image */
.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-wrapper img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.about-img-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    padding: 16px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.3);
}

.badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Services Section ── (Dark Background) */
.services {
    background: var(--color-bg-section);
    color: var(--color-text-primary);
    overflow: hidden;
}

.services .section-tag {
    color: var(--color-primary-light);
}

.services .section-desc {
    color: var(--color-text-secondary);
}

.services-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at right, rgba(245, 166, 35, 0.04), transparent 70%);
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

.service-category {
    margin-bottom: 64px;
}

.service-category:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.category-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15), rgba(245, 166, 35, 0.05));
    border-radius: var(--radius-md);
    color: var(--color-primary);
}

.category-icon.electric {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.15), rgba(33, 150, 243, 0.05));
    color: #42A5F5;
}

.category-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.services-grid-5 {
    grid-template-columns: repeat(3, 1fr);
}

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-hover);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrap {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 166, 35, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-primary);
    margin-bottom: 16px;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon-wrap {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.service-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.service-card p {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Electric Cards with Images */
.electric-card {
    padding: 0;
    overflow: hidden;
}

.service-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.electric-card:hover .service-card-img img {
    transform: scale(1.08);
}

.service-card-body {
    padding: 24px;
}

.service-card-body h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.service-card-body p {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ── Fleet Section ── (Light Background) */
.fleet {
    background: var(--color-bg-light);
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.fleet-card {
    background: #fff;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-card);
}

.fleet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(245, 166, 35, 0.3);
}

.fleet-card-img {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fc, #eef0f5);
}

.fleet-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-slow);
    padding: 20px;
}

.fleet-card:hover .fleet-card-img img {
    transform: scale(1.05);
}

.fleet-card-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
}

.fleet-tag {
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

.fleet-card-body {
    padding: 28px;
}

.fleet-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text-dark);
}

.fleet-card-body p {
    font-size: 0.9rem;
    color: var(--color-text-dark-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
}

.fleet-specs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fleet-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--color-text-dark-secondary);
    font-weight: 500;
}

.fleet-specs li svg {
    color: var(--color-primary-dark);
    flex-shrink: 0;
}

/* ── Gallery Section ── (Light Alt Background) */
.gallery {
    background: var(--color-bg-light-alt);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-card);
}

.gallery-item.large {
    grid-column: span 1;
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 22, 32, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.gallery-subtitle {
    font-size: 0.82rem;
    color: var(--color-primary);
    font-weight: 600;
}

/* ── CTA Section ── */
.cta-section {
    background: linear-gradient(135deg, var(--color-bg-dark), var(--color-bg-section));
    color: var(--color-text-primary);
    position: relative;
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(245, 166, 35, 0.1), transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(245, 166, 35, 0.06), transparent 50%);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-phones {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 30px;
    background: rgba(245, 166, 35, 0.08);
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.cta-phone:hover {
    background: rgba(245, 166, 35, 0.15);
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.15);
}

.cta-phone-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    animation: ctaPhonePulse 2s ease-in-out infinite;
}

@keyframes ctaPhonePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.4);
    }

    50% {
        box-shadow: 0 0 0 14px rgba(245, 166, 35, 0);
    }
}

.cta-phone-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.cta-phone-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-phone-number {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* ── Contact Section ── (Light Background) */
.contact {
    background: var(--color-bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contact-card:hover {
    border-color: rgba(245, 166, 35, 0.3);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.12), rgba(245, 166, 35, 0.04));
    border-radius: var(--radius-md);
    color: var(--color-primary-dark);
}

.contact-card-content h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text-dark);
}

.contact-card-content a,
.contact-card-content p {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-dark-secondary);
    margin-bottom: 4px;
    transition: color var(--transition-fast);
}

.contact-card-content a:hover {
    color: var(--color-primary-dark);
}

/* Contact Form */
.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-dark-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-sm);
    color: var(--color-text-dark);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
    background: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group select option {
    background: #fff;
    color: var(--color-text-dark);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.btn-submit {
    grid-column: span 2;
    justify-content: center;
    font-size: 1.05rem;
    padding: 18px 36px;
}

/* ── Contact Map ── */
.contact-map {
    margin-top: 48px;
}

.contact-map iframe {
    width: 100%;
    display: block;
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--color-border-light) !important;
    box-shadow: var(--shadow-card);
}

/* ── Footer ── (Dark) */
.footer {
    background: var(--color-bg-dark);
    color: var(--color-text-primary);
    padding: 64px 0 0;
    border-top: 3px solid var(--color-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-logo-text span:first-child {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--color-primary);
    font-size: 1rem;
}

.footer-logo-text span:last-child {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-about p {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text-primary);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-contact li a {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
    word-break: break-all;
}

.footer-col ul li a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact li svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.footer-contact li span {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ── WhatsApp Button ── */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-base);
    animation: whatsappPulse 3s ease-in-out infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0.1);
    }
}

/* ── Back to Top ── */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 96px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--color-border-light);
    color: var(--color-text-dark-secondary);
    border-radius: 50%;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* ── Animations ── */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="fadeInLeft"] {
    transform: translateX(-40px);
}

[data-animate="fadeInRight"] {
    transform: translateX(40px);
}

[data-animate="fadeInDown"] {
    transform: translateY(-30px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0);
}

/* Hero particles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.12;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.12;
    }

    90% {
        opacity: 0.12;
    }

    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

/* ── Responsive ── */
@media (max-width: 1150px) {
    .top-bar-left a:nth-child(3) {
        display: none;
    }
}

@media (max-width: 1024px) {
    :root {
        --header-height: 80px;
    }

    .hero {
        padding-top: calc(var(--header-height) + var(--top-bar-height) + 80px);
        padding-bottom: 60px;
    }

    .back-to-top {
        right: 31px;
        bottom: 100px;
    }

    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fleet-card:last-child {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16/9;
    }

    .menu-toggle {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .header {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .header-inner {
        padding-top: 10px;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        z-index: 1001;
    }

    .nav.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 12px;
    }

    .nav-link {
        font-size: 1.4rem;
        padding: 14px 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 80px;
    }

    .top-bar-left {
        gap: 12px;
    }

    .top-bar-right {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .header {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        z-index: 1001;
    }

    .header-inner {
        padding-top: 10px;
    }

    .nav.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 12px;
    }

    .nav-link {
        font-size: 1.4rem;
        padding: 14px 32px;
    }

    .header-cta {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .about-img-wrapper img {
        height: 350px;
    }

    .services-grid,
    .services-grid-5 {
        grid-template-columns: 1fr;
    }

    .fleet-grid {
        grid-template-columns: 1fr;
    }

    .fleet-card:last-child {
        grid-column: span 1;
        max-width: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 24px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .btn-submit {
        grid-column: span 1;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .hero-stat {
        min-width: calc(50% - 12px);
    }

    .cta-phones {
        flex-direction: column;
        align-items: center;
    }

    .cta-phone {
        width: 100%;
        max-width: 320px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.large {
        grid-column: span 1;
        aspect-ratio: 4/3;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section {
        padding: 72px 0;
    }

    .hero-title-line {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ── Selection Color ── */
::selection {
    background: var(--color-primary);
    color: #fff;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-light);
}

::-webkit-scrollbar-thumb {
    background: #c8ccd8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}
/* ── FAQ Section ── */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-item[open] {
    border-color: var(--color-border-hover);
    background: var(--color-bg-card-hover);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.6rem;
    line-height: 1;
    color: var(--color-primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 22px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}
