/* =============================================
   EFESAN CNC - Premium Design System
   Apple × Industrial Excellence
   ============================================= */

:root {
    /* Brand Colors — yumuşatılmış koyu ton */
    --color-primary: #d60000;
    --color-primary-light: #ff1a1a;
    --color-primary-dark: #aa0000;
    --color-secondary: #242430;
    --color-bg: #282834;
    --color-bg-light: #323240;
    --color-bg-card: #363644;
    --color-text: #f2f2f5;
    --color-text-muted: #a8a8b8;
    --color-text-dim: #78788a;
    --color-metal: #8a8a9a;
    --color-metal-light: #b0b0be;
    --color-border: #3d3d4c;
    --color-border-light: #4a4a5c;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: clamp(80px, 10vw, 140px);
    --container-max: 1400px;
    --container-padding: clamp(20px, 4vw, 40px);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-premium: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Shadows */
    --shadow-glow: 0 0 30px rgba(214, 0, 0, 0.12);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.25);
    --shadow-elevated: 0 8px 40px rgba(0, 0, 0, 0.35);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Header — ana tema ile uyumlu */
    --header-bg: #383846;
    --header-bg-scrolled: #323240;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Particle Canvas Background */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.2;
}

/* Mouse Light Effect */
.mouse-light {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214, 0, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 2;
    min-width: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-metal-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--color-text-muted);
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 80px);
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 12px;
}

/* Section Divider */
.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
    margin: 16px auto 0;
}

/* =============================================
   HEADER
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    background: var(--header-bg);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
    transition: var(--transition-premium);
}

.header.scrolled {
    background: var(--header-bg-scrolled);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
    padding: 10px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .logo {
    color: var(--color-text);
}

.header .logo-name {
    color: var(--color-text);
}

.header .logo-tag {
    color: var(--color-primary);
}

.header .nav-link {
    color: var(--color-text-muted);
}

.header .nav-link:hover,
.header .nav-link.active {
    color: var(--color-text);
}

.header .lang-switcher {
    border-left-color: var(--color-border);
}

.header .lang-btn {
    color: var(--color-text-muted);
}

.header .lang-btn:hover {
    color: var(--color-text);
    border-color: var(--color-border);
    background: var(--color-bg-card);
}

.header .lang-btn.active {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: rgba(214, 0, 0, 0.1);
}

.header .menu-toggle span {
    background: var(--color-text);
}

body.menu-open {
    overflow: hidden;
}

.header .logo:hover .logo-img {
    filter: drop-shadow(0 0 8px rgba(214, 0, 0, 0.35));
    opacity: 1;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-text);
    max-width: 100%;
    min-width: 0;
}

.logo-img {
    display: block;
    flex-shrink: 1;
    width: auto;
    height: auto;
    max-height: 40px;
    max-width: 180px;
    object-fit: contain;
    object-position: left center;
    transition: var(--transition-smooth);
}

.header .logo {
    flex-shrink: 1;
    min-width: 0;
    max-width: min(280px, 48vw);
}

.header .logo-img {
    max-height: 68px;
    max-width: 100%;
}

.header.scrolled .logo-img {
    max-height: 62px;
}

.footer-brand .logo {
    max-width: 100%;
}

.footer .logo-img {
    max-height: 56px;
    max-width: 250px;
}

.logo-has-image {
    gap: 0;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 8px rgba(214, 0, 0, 0.35));
}

.logo-svg {
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.logo:hover .logo-svg {
    filter: drop-shadow(0 0 8px rgba(214, 0, 0, 0.4));
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.logo-tag {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--color-primary);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    position: relative;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
    letter-spacing: 0.02em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 24px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid var(--color-border);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--color-text);
    border-color: var(--color-border);
    background: var(--color-bg-light);
}

.lang-btn.active {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* CTA Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

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

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-dark));
    opacity: 0;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

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

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

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(214, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
        position: relative;
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;

        z-index: 1002;
    }

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition-fast);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg video,
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(40, 40, 52, 0.55) 0%,
        rgba(40, 40, 52, 0.35) 40%,
        rgba(40, 40, 52, 0.78) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 var(--container-padding);
}

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    margin-bottom: 48px;
    font-weight: 400;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(20px);
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: scrollBounce 2s infinite;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
}

/* Hero Slider (Swiper) */
.hero-slider {
    padding: 0;
}

.hero-slider .hero-swiper {
    width: 100%;
    height: 100vh;
    min-height: 600px;
}

.hero-slider .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-slider .hero-bg {
    position: absolute;
    inset: 0;
}

.hero-pagination {
    bottom: 100px !important;
    z-index: 10;
}

.hero-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.4);
    opacity: 1;
    transition: var(--transition-smooth);
}

.hero-pagination .swiper-pagination-bullet-active {
    background: var(--color-primary);
    width: 28px;
    border-radius: 5px;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
    background: rgba(40, 40, 52, 0.35);
}

.hero-nav::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.hero-prev { left: 24px; }
.hero-prev::after { transform: translate(-30%, -50%) rotate(-135deg); }
.hero-next { right: 24px; }
.hero-next::after { transform: translate(-70%, -50%) rotate(45deg); }

.hero-nav:hover {
    border-color: var(--color-primary);
    background: rgba(214,0,0,0.15);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services {
    padding: var(--section-padding) 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition-premium);
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(214, 0, 0, 0.05), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(214, 0, 0, 0.3);
    box-shadow: var(--shadow-glow);
}

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

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(214, 0, 0, 0.4));
}

.service-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
}

.service-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    position: relative;
}

.service-arrow {
    position: absolute;
    bottom: 28px;
    right: 28px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateX(-8px);
}

.service-card:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Görsel Hizmet Kartları */
.services-grid-visual {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

.service-card-visual {
    display: flex;
    flex-direction: column;
    padding: 0;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.service-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-premium);
}

.service-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(40,40,52,0.5), transparent);
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.service-card-visual:hover .service-card-image img {
    transform: scale(1.08);
}

.service-card-visual:hover .service-card-image-overlay {
    opacity: 0.9;
    background: linear-gradient(to top, rgba(214,0,0,0.25), transparent);
}

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

.service-read-more {
    margin-top: auto;
    padding-top: 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.02em;
}

/* Hizmet Detay Sayfası */
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.service-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    position: sticky;
    top: 100px;
}

.service-detail-image img {
    width: 100%;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.service-detail-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.service-detail-text {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.85;
}

.service-detail-text p {
    margin-bottom: 16px;
}

.service-detail-cta {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.quote-section {
    background: var(--color-secondary);
    border-top: 1px solid var(--color-border);
}

.quote-section-inner {
    max-width: 760px;
    margin: 0 auto;
}

.quote-section-header {
    text-align: center;
    margin-bottom: 32px;
}

.quote-service-badge {
    margin-bottom: 20px;
    padding: 12px 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.quote-service-badge strong {
    color: var(--color-text);
}

.service-detail-bottom-cta {
    padding: clamp(48px, 6vw, 80px) 0;
    background: var(--color-secondary);
    border-top: 1px solid var(--color-border);
}

.service-detail-bottom-cta .cta-banner-inner h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin-bottom: 8px;
}

/* =============================================
   GALLERY SECTION (Masonry)
   ============================================= */
.gallery {
    padding: var(--section-padding) 0;
    background: var(--color-secondary);
}

.gallery-grid {
    columns: 3;
    column-gap: 16px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 16px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    display: block;
    transition: var(--transition-premium);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 11, 11, 0.8), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

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

.gallery-overlay-title {
    font-size: 0.875rem;
    font-weight: 500;
}

.gallery-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(214, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* =============================================
   REFERENCES SECTION
   ============================================= */
.references {
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.references-slider {
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.references-track {
    display: flex;
    gap: 48px;
    animation: scrollLogos 30s linear infinite;
    width: max-content;
}

.references-track:hover {
    animation-play-state: paused;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.reference-item {
    flex-shrink: 0;
    width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%) brightness(0.5);
    transition: var(--transition-smooth);
    opacity: 0.6;
}

.reference-item:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

.reference-item img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

.reference-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
}

.reference-item:hover .reference-name {
    color: var(--color-primary);
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about {
    padding: var(--section-padding) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.about-content {
    padding-right: 20px;
}

.about-text {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-text p {
    margin-bottom: 16px;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

/* Stats / Counters */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: clamp(48px, 6vw, 80px);
    padding-top: 48px;
    border-top: 1px solid var(--color-border);
}

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

.stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact {
    padding: var(--section-padding) 0;
    background: var(--color-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info-text p,
.contact-info-text a {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-info-text a:hover {
    color: var(--color-primary);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 250px;
    border: 1px solid var(--color-border);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(80%) invert(92%) contrast(90%);
}

/* Contact Form */
.contact-form {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: 0.875rem;
    transition: var(--transition-fast);
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(214, 0, 0, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

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

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--color-secondary);
    border-top: 1px solid var(--color-border);
    padding: clamp(60px, 8vw, 80px) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-title {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--color-text);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-contact-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-dim);
}

.footer-contact a,
.footer-contact-text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-decoration: none;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: anywhere;
}

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

.footer-links-services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-muted);
    transition: var(--transition-fast);
    text-decoration: none;
}

.footer-social a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(214, 0, 0, 0.05);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: var(--color-text-dim);
}

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img,
.lightbox-content video,
.lightbox-content iframe {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-md);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

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

/* =============================================
   PAGE HERO (İç Sayfalar)
   ============================================= */
.page-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    padding: 120px 0 60px;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(34,34,44,0.55) 0%, rgba(34,34,44,0.88) 100%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.page-hero .reveal {
    opacity: 0;
    transform: translateY(20px);
}

.page-hero .breadcrumb.reveal {
    transform: none;
}

.page-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.page-hero-subtitle {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    max-width: 560px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb-sep { opacity: 0.4; }

.page-section {
    padding: var(--section-padding) 0;
}

.page-section.services,
.page-section.gallery {
    padding-top: clamp(48px, 6vw, 80px);
}

/* CTA Banner */
.cta-banner {
    padding: clamp(60px, 8vw, 100px) 0;
    background: var(--color-secondary);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-banner-inner h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 8px;
}

.cta-banner-inner p {
    color: var(--color-text-muted);
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

.about-compact .stats {
    margin-top: clamp(48px, 6vw, 80px);
}

/* References Grid (sayfa) */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
    gap: 24px;
}

.reference-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: var(--transition-smooth);
}

.reference-card:hover {
    border-color: rgba(214, 0, 0, 0.3);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.reference-card img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: var(--transition-smooth);
}

.reference-card:hover img {
    filter: grayscale(0%);
}

.reference-card .reference-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.reference-card:hover .reference-name {
    color: var(--color-primary);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .header-inner {
        position: relative;
    }

    .about-grid,
    .contact-grid,
    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        padding-right: 0;
    }

    .service-detail-image {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .gallery-grid {
        columns: 2;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Tablet: menü hamburger */
    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(56, 56, 70, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        z-index: 999;
        padding: 80px 24px 40px;
        overflow-y: auto;
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        font-size: 1.125rem;
        padding: 10px 20px;
    }

    .nav .btn {
        margin-top: 8px;
        width: min(100%, 280px);
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .lang-switcher {
        border-left: none;
        margin-left: 0;
        padding-left: 0;
        margin-top: 8px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: clamp(56px, 8vw, 80px);
    }

    .page-hero {
        min-height: 320px;
        padding: 100px 0 48px;
    }

    .services-grid,
    .services-grid-visual {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        columns: 1;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-brand p {
        max-width: none;
    }

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

    .contact-form {
        padding: 24px 20px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-nav { display: none; }

    .hero-pagination {
        bottom: 72px !important;
    }

    .hero-slider .hero-swiper {
        min-height: 100svh;
    }

    .hero-scroll {
        bottom: 24px;
        display: none;
    }

    .service-detail-cta .btn,
    .service-detail-bottom-cta .btn {
        width: 100%;
    }

    .service-detail-cta {
        flex-direction: column;
    }

    .cta-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner-inner .btn {
        width: 100%;
        max-width: 320px;
    }

    .section-cta .btn {
        width: 100%;
        max-width: 320px;
    }

    .breadcrumb {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 16px;
        --section-padding: 48px;
    }

    .header {
        padding: 14px 0;
    }

    .header.scrolled {
        padding: 10px 0;
    }

    .logo-name {
        font-size: 1.05rem;
    }

    .logo-tag {
        font-size: 0.58rem;
    }

    .header .logo {
        max-width: min(250px, 54vw);
    }

    .header .logo-img {
        max-height: 56px;
    }

    .header.scrolled .logo-img {
        max-height: 52px;
    }

    .footer .logo-img {
        max-height: 50px;
        max-width: 220px;
    }

    .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
    }

    .hero-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 32px;
    }

    .page-hero-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .page-hero-subtitle {
        font-size: 0.9375rem;
    }

    .section-title {
        font-size: clamp(1.375rem, 6vw, 1.75rem);
    }

    .service-card {
        padding: 28px 20px;
    }

    .service-card-body {
        padding: 20px;
    }

    .contact-map {
        height: 200px;
    }

    .footer-bottom {
        text-align: center;
        padding: 20px 0;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 0.9375rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }
}

@media (hover: none) {
    .mouse-light {
        display: none;
    }

    #particles-canvas {
        opacity: 0.1;
    }
}

/* =============================================
   FLOATING ACTIONS & SEARCH
   ============================================= */
.floating-actions {
    position: fixed;
    right: clamp(16px, 3vw, 24px);
    bottom: calc(clamp(16px, 3vw, 24px) + env(safe-area-inset-bottom, 0px));
    z-index: 950;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: var(--transition-smooth);
}

.floating-btn:hover {
    transform: translateY(-3px) scale(1.04);
}

.floating-btn-call {
    background: var(--color-primary);
    flex-direction: column;
    gap: 2px;
    height: auto;
    min-height: 56px;
    padding: 10px 14px;
    border-radius: 28px;
}

.floating-btn-call:hover {
    background: var(--color-primary-light);
    box-shadow: var(--shadow-glow);
}

.floating-btn-label {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

.floating-btn-whatsapp {
    background: #25d366;
}

.floating-btn-whatsapp:hover {
    background: #20bd5a;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
}

@media (max-width: 768px) {
    .floating-btn {
        width: 52px;
        height: 52px;
    }

    .floating-btn-call {
        min-height: 52px;
        padding: 8px 12px;
    }
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

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

/* Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
}
