﻿/* 
   ATALI - Premium Ä°nÅŸaat & MimarlÄ±k
   Ana Stil DosyasÄ± (style.css)
*/

/* --- 1. DEÄÄ°ÅKENLER VE AYARLAR --- */
:root {
    /* Renk Paleti */
    --color-primary: #0B132B;
    /* Koyu Lacivert - Arkaplanlar */
    --color-secondary: #1C2541;
    /* Biraz daha aÃ§Ä±k lacivert (Kartlar vs) */
    --color-accent: #00D294;
    /* Turkuaz/YeÅŸil - Vurgular, Butonlar */
    --color-white: #FFFFFF;
    /* YazÄ±lar */
    --color-gray: #CCCCCC;
    /* YardÄ±mcÄ± Metinler */
    --color-dark-overlay: rgba(11, 19, 43, 0.90);
    /* Resim Ã¼zeri karartma - Daha koyu */

    /* Fontlar - Google Fonts: Outfit */
    --font-main: 'Outfit', sans-serif;

    /* DiÄŸer Ayarlar */
    --transition-speed: 0.3s;
    --border-radius: 8px;
    --container-width: 1200px;
}

/* --- 2. TEMEL SIFIRLAMA (RESET) --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-primary);
    color: var(--color-white);
    line-height: 1.7;
    /* Okunabilirlik iÃ§in arttÄ±rÄ±ldÄ± */
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-white);
    font-weight: 500;
    transition: var(--transition-speed);
    font-size: 0.95rem;
    position: relative;
    white-space: nowrap;
    /* Metinlerin alt alta inmesini engelle */
}

img {
    max-width: 100%;
    display: block;
}

/* --- 3. UTILITY CLASSLARI --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    /* Butonlar biraz daha bÃ¼yÃ¼k */
    background-color: var(--color-accent);
    color: var(--color-primary);
    font-weight: 700;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all var(--transition-speed);
    border: 2px solid var(--color-accent);
}

.btn:hover {
    background-color: transparent;
    color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 210, 148, 0.4);
    /* GÃ¶lge arttÄ±rÄ±ldÄ± */
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.section-padding {
    padding: 100px 0;
    /* BoÅŸluklar arttÄ±rÄ±ldÄ± - Daha ferah gÃ¶rÃ¼nÃ¼m */
}

.section-title {
    font-size: 3rem;
    /* BaÅŸlÄ±klar bÃ¼yÃ¼tÃ¼ldÃ¼ */
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 20px;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 5px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

/* --- 4. HEADER & NAVBAR (Glassmorphism) --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* 'all' diyerek box-shadow dahil her ÅŸeyin yumuÅŸak geÃ§mesini saÄŸlÄ±yoruz */
    transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
    padding: 20px 0;
    padding: 20px 0;
    /* BaÅŸlangÄ±Ã§ */
}

/* Header iÃ§indeki container'Ä± tam geniÅŸlik yapÄ±yoruz */
header .container {
    max-width: 100%;
    padding: 0 50px;
    /* Kenarlardan boÅŸluk - EkranÄ±n dibine yapÄ±ÅŸmasÄ±n */
}

header.sticky {
    padding: 12px 0;
    /* Sticky hali - Fark Ã§ok az */
    background: rgba(11, 19, 43, 0.98);
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    /* GÃ¶lge de yumuÅŸakÃ§a gelecek */
}

nav {
    display: flex;
    justify-content: space-between;
    /* Logo SOL, MenÃ¼ SAÄ (Normal AkÄ±ÅŸ) */
    align-items: center;
    padding: 0;
}

header.sticky nav {
    padding: 0;
}

.logo-img {
    height: 90px;
    /* Logo BÃ¼yÃ¼tÃ¼ldÃ¼ */
    width: auto;
    transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

header.sticky .logo-img {
    height: 70px;
    /* Sticky Hali BÃ¼yÃ¼tÃ¼ldÃ¼ */
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links li a:hover,
.nav-links li a.active {
    opacity: 1;
    color: var(--color-accent);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-speed);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* --- 5. HERO SECTION --- */
.hero {
    height: 100vh;
    background: linear-gradient(var(--color-dark-overlay), var(--color-dark-overlay)),
        url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* PARALLAX */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 5rem;
    /* Hero baÅŸlÄ±ÄŸÄ± bÃ¼yÃ¼tÃ¼ldÃ¼ */
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--color-gray);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* --- 6. HÄ°ZMETLER / KARTLAR --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    display: block;
    /* a etiketi olacaÄŸÄ± iÃ§in */
    background: var(--color-secondary);
    padding: 40px;
    border-radius: var(--border-radius);
    transition: var(--transition-speed);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    background: #232e4d;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 50px;
    color: var(--color-accent);
    margin-bottom: 25px;
    display: inline-block;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* --- 7. SÃœREÃ‡ ÅEMASI (PROCESS WORKFLOW) - [YENÄ°] --- */
.process-section {
    background-color: #080E21;
    /* Biraz daha koyu bir ton */
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    /* Åeffaf numara arkada */
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    transition: var(--transition-speed);
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--color-secondary);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--color-accent);
    box-shadow: 0 0 20px rgba(0, 210, 148, 0.2);
    transition: var(--transition-speed);
}

.process-step:hover .process-icon {
    background: var(--color-accent);
    color: var(--color-primary);
    transform: scale(1.1);
}

.process-step:hover .step-number {
    color: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%) translateY(-10px);
}

.process-step h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-white);
}

.process-step p {
    font-size: 0.95rem;
    color: var(--color-gray);
    line-height: 1.6;
}

/* Ã‡izgi efekti (MasaÃ¼stÃ¼ iÃ§in) */
@media (min-width: 992px) {
    .process-step::after {
        content: '';
        position: absolute;
        top: 60px;
        /* Ä°konun ortasÄ± hizasÄ± */
        right: -50%;
        width: 100%;
        height: 2px;
        background: radial-gradient(circle, var(--color-accent) 0%, transparent 100%);
        opacity: 0.3;
        z-index: 1;
    }

    .process-step:last-child::after {
        display: none;
    }
}


/* --- 8. PROJELER (GRID & HOVER) --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.project-item {
    position: relative;
    height: 350px;
    /* YÃ¼kseklik arttÄ±rÄ±ldÄ± */
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Daha yumuÅŸak geÃ§iÅŸ */
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.2) 60%, transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transition: var(--transition-speed);
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-item h3 {
    font-size: 1.8rem;
    color: var(--color-white);
    transform: translateY(30px);
    transition: 0.4s ease;
}

.project-item p {
    color: var(--color-accent);
    font-size: 1rem;
    font-weight: 600;
    transform: translateY(30px);
    transition: 0.4s ease;
    transition-delay: 0.1s;
    margin-top: 5px;
}

.project-item:hover h3,
.project-item:hover p {
    transform: translateY(0);
}

/* --- 9. FOOTER --- */
footer {
    background-color: #050914;
    padding: 80px 0 30px;
    margin-top: 100px;
    /* Footer Ã¼st boÅŸluk arttÄ± */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--color-white);
    margin-bottom: 30px;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: var(--color-gray);
    transition: all 0.2s;
}

.footer-col ul li a:hover {
    color: var(--color-accent);
    padding-left: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-speed);
    font-size: 18px;
}

.social-icon:hover {
    background: var(--color-accent);
    color: var(--color-primary);
    transform: rotate(360deg);
    /* DÃ¶nme efekti */
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
    font-size: 0.9rem;
}

/* --- 10. ANIMASYON & FADE IN --- */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.5, 0, 0, 1), transform 1s cubic-bezier(0.5, 0, 0, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- 11. RESPONSIVE (MOBÄ°L) --- */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.5rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: #0B132B;
        /* Solid renk */
        flex-direction: column;
        justify-content: flex-start;
        /* Center yerine Start yapıldı - Scroll için */
        padding-top: 100px;
        /* Üstten boşluk */
        align-items: center;
        transition: var(--transition-speed);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
        overflow-y: auto;
        /* Dikey scroll izni */
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
        /* Linkler arası boşluk */
    }

    .nav-links li a {
        display: block;
        padding: 15px 0;
        font-size: 1.2rem;
    }

    /* Dil Menüsü Mobil Düzenlemesi */
    .language-dropdown {
        display: block;
        width: 100%;
        text-align: center;
    }

    .language-btn {
        justify-content: center;
        font-size: 1.2rem;
        padding: 10px 0;
        width: 100%;
        /* Emin olmak için */
        display: flex;
        /* Flex olduğundan emin olalım */
    }

    /* Span içindeki içeriği de ortala */
    .language-btn span {
        justify-content: center;
        width: 100%;
        /* İçerik genişliği */
    }

    .dropdown-content {
        position: static;
        /* Mobilde akış içinde olsun */
        display: none;
        /* Varsayılan gizli */
        width: 100%;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        border: none;
    }

    .language-dropdown.active .dropdown-content {
        display: block;
        /* Javascript ile toggle edilecek */
    }

    .dropdown-content a {
        justify-content: center;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* Mobile Dropdown Fix */
.dropdown-content {
    position: static;
    width: 100%;
    text-align: center;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
    border: none;
}

.language-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.language-btn {
    justify-content: center;
    width: 100%;
}

.hero-content h1 {
    font-size: 2.8rem;
}

.section-title {
    font-size: 2rem;
}


/* --- 12. COOKIE CONSENT BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    /* BaÅŸlangÄ±Ã§ta aÅŸaÄŸÄ±da gizli */
    width: 90%;
    max-width: 1000px;
    background: rgba(11, 19, 43, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    flex-wrap: wrap;
    /* Mobilde taÅŸarsa aÅŸaÄŸÄ± kaydÄ±r */
    gap: 20px;
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.cookie-icon {
    font-size: 30px;
    color: var(--color-accent);
}

.cookie-text h4 {
    color: var(--color-white);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.cookie-text p {
    color: var(--color-gray);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    background: var(--color-accent);
    color: var(--color-primary);
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 210, 148, 0.3);
}

/* Reddet Butonu (Ä°kincil Stil) */
.cookie-btn.decline {
    background: transparent;
    border: 1px solid var(--color-gray);
    color: var(--color-white);
    box-shadow: none;
}

.cookie-btn.decline:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        bottom: 0;
        width: 100%;
        border-radius: 12px 12px 0 0;
        padding: 30px 20px;
    }

    .cookie-content {
        flex-direction: column;
        margin-bottom: 20px;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
    }
}

/* --- 13. GALERÄ° SLIDER --- */
.gallery-container-wrapper {
    position: relative;
    width: 100%;
    margin-top: 40px;
}

#project-gallery {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 20px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

#project-gallery::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.gallery-item {
    flex: 0 0 calc(50% - 10px);
    /* Her seferde 2 resim gÃ¶ster */
    height: 400px;
    /* Sabit yÃ¼kseklik */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(11, 19, 43, 0.8);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: -25px;
}

.slider-btn.next {
    right: -25px;
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 100%;
        /* Mobilde tek resim */
        height: 300px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* --- 14. LIGHTBOX (MODAL) --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10001;
    line-height: 1;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    color: var(--color-accent);
}

/* --- DÄ°L MENÃœSÃœ DROPDOWN STÄ°LLERÄ° --- */
.language-dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.language-btn {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    /* font-size ve padding kaldırıldı, diğer linklerle aynı olması için */
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.language-btn span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-btn:hover {
    color: var(--color-accent);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--color-secondary);
    min-width: 140px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Ensure dropdown shows on hover */
.language-dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropdown-content a {
    color: var(--color-white);
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.dropdown-content img {
    border-radius: 2px;
    width: 20px;
    height: 15px;
    object-fit: cover;
}

/* --- RTL DESTEÄÄ° (ARAPÃ‡A Ä°Ã‡Ä°N) --- */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .nav-links {
    margin-right: auto;
    margin-left: 0;
}

[dir="rtl"] .contact-icon {
    margin-right: 0;
    margin-left: 15px;
}

[dir="rtl"] ul {
    padding-right: 20px;
    padding-left: 0;
}

/* Service Detail KartlarÄ± RTL */
[dir="rtl"] .service-detail-card {
    flex-direction: row-reverse;
}

[dir="rtl"] .service-detail-card:nth-child(even) {
    flex-direction: row;
}

/* Mobil GÃ¶rÃ¼nÃ¼mde RTL */
@media (max-width: 992px) {

    [dir="rtl"] .service-detail-card,
    [dir="rtl"] .service-detail-card:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }
}

/* --- LIGHTBOX NAVIGATION --- */
.lightbox .prev,
.lightbox .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.4);
    text-decoration: none;
    z-index: 10001;
}

.lightbox .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox .prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.lightbox .prev:hover,
.lightbox .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* --- 12. SAYAÇ ANİMASYONU (COUNTERS) --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
    text-align: center;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.stat-item>* {
    position: relative;
    z-index: 1;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--color-accent);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    /* İkonlara hafif bir parlama efekti */
    filter: drop-shadow(0 0 15px rgba(0, 210, 148, 0.3));
    transition: transform 0.4s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    color: var(--color-gray);
    font-size: 1.1rem;
    font-weight: 500;
}

/* --- LIGHTBOX NAVIGATION --- */
.lightbox .prev,
.lightbox .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.4);
    text-decoration: none;
    z-index: 10001;
}

.lightbox .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox .prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}


.lightbox .prev:hover,
.lightbox .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* --- 14. GALLERY SLIDER (ON PAGE) --- */
.gallery-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 50px;
    /* Space for arrows */
    box-sizing: border-box;
}

.gallery-track-container {
    overflow: hidden;
    width: 100%;
}

.gallery-track {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease-in-out;
}

.gallery-slide {
    min-width: calc(50% - 10px);
    /* 2 items visible (minus half gap) */
    height: 250px;
    /* Rectangular height */
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}



.gallery-slide:hover img {
    transform: scale(1.05);
}

.gallery-slide {
    cursor: zoom-in;
    /* Custom cursor */
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    border-radius: 5px;
}

.slider-btn:hover {
    background: var(--color-accent);
}

.slider-btn.prev {
    left: 0;
}

.slider-btn.next {
    right: 0;
}

/* Mobile Responsive: 1 item per view */
@media (max-width: 768px) {
    .gallery-slide {
        min-width: 100%;
    }
}



.slider-btn.next {
    right: 0;
}

/* --- LIGHTBOX NAVIGATION --- */
.lightbox .prev,
.lightbox .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.4);
    text-decoration: none;
    z-index: 10001;
}

.lightbox .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox .prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.lightbox .prev:hover,
.lightbox .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}