:root {
    /* Colors - Dark Premium Palette */
    --bg-body: #050505;
    --bg-surface: #0f0f0f;
    --bg-surface-hover: #1a1a1a;

    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #555555;

    --accent: #A5B4FC;
    /* Premium Lavender - Elegant Luxury */
    --accent-primary: #ffffff;
    /* Stark white for high contrast Apple feel */
    --accent-metallic: #8c8c9e;
    /* Brushed metal feel */
    --border-subtle: #222222;

    --glass-bg: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;

    /* Spacing */
    --container-width: 1400px;
    --container-padding: 2rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Preloader & Flash Protection */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-body);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-text {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 7vw, 3.8rem);
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-primary);
    animation: loader-pulse 2s infinite ease-in-out;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.loader-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--text-primary), transparent);
    opacity: 0.8;
}

@keyframes loader-pulse {
    0% {
        transform: scale(0.98);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.02);
        opacity: 1;
    }

    100% {
        transform: scale(0.98);
        opacity: 0.4;
    }
}

main,
header,
footer {
    opacity: 0;
    transition: opacity 0.8s ease;
}

body.loaded main,
body.loaded header,
body.loaded footer {
    opacity: 1;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-primary);
    scroll-behavior: smooth;
    font-size: 16px;
    line-height: 1.6;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background: var(--bg-body);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* Typography Utility */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    overflow-wrap: break-word;
    /* Ensure and-ç etc don't clip */
}

h1 {
    font-size: clamp(1.8rem, 10vw, 4rem);
    margin-bottom: 1rem;
    line-height: 1.2;
    /* Prevent descender clipping */
}

h2 {
    font-size: clamp(1.5rem, 8vw, 3rem);
    line-height: 1.3;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 40%, #a0a0a0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Layout Utility */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: 6rem 0;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Stats Section Styles */
#stats-grid {
    display: grid;
    gap: 0;
    padding: 2rem 0;
}

.stat-item {
    padding: 1.5rem 1.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: var(--transition-smooth);
}

@media (min-width: 768px) {
    .stat-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 20%;
        height: 60%;
        width: 1px;
        background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
    }
}

.stat-number {
    font-size: clamp(2.5rem, 4.5vw, 3.8rem);
    font-weight: 800;
    font-family: var(--font-display);
    line-height: 1.2;
    margin-bottom: 0.2rem;
    padding-bottom: 0.1em;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-secondary);
    opacity: 0.7;
}

.stat-item:hover .stat-number {
    transform: scale(1.05);
    filter: brightness(1.2);
    text-shadow: 0 0 30px rgba(165, 180, 252, 0.5);
}

.stat-item:hover .stat-label {
    color: var(--text-primary);
    opacity: 1;
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
    background-color: var(--text-primary);
    color: #000;
    border: 1px solid var(--text-primary);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(165, 180, 252, 0.3);
    /* Lavender Glow */
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: rgba(165, 180, 252, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(165, 180, 252, 0.15);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background-color: rgba(165, 180, 252, 0.05);
    color: var(--accent);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.lang-divider {
    color: var(--border-subtle);
    font-size: 0.8rem;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.25rem;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.6;
}

.lang-btn:hover {
    opacity: 1;
    color: var(--text-primary);
}

.lang-btn.active {
    color: var(--text-primary);
    font-weight: 700;
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-btn:not(.active) {
    color: var(--text-muted);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .header-actions {
        display: none;
        /* Hide desktop actions on mobile if not needed or moved */
    }

    /* On mobile, we might inject the switcher into the nav menu */
    .mobile-lang-switcher {
        display: flex;
        justify-content: center;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid var(--border-subtle);
    }
}

/* Header/Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.25rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.05em;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.mobile-lang-switcher {
    display: none;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-body);
        padding: 2.5rem 1.5rem;
        z-index: 1001;
        gap: 2rem;
        animation: slideInDown 0.4s ease forwards;
    }

    .nav-link {
        font-size: 1.5rem;
        width: 100%;
        border-bottom: 1px solid var(--border-subtle);
        padding-bottom: 1rem;
    }

    .header-actions {
        display: none;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero {
        padding-top: 6.5rem;
        padding-bottom: 2rem;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 3.5rem !important;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-image-slider-container {
        height: 420px !important;
        /* Daha premium, büyük bir slider alanı */
        margin-top: 1rem;
        border-radius: 24px;
    }

    .btn {
        width: 100%;
        padding: 1.25rem 2.2rem;
        font-size: 0.95rem;
    }

    .hero-slider-btn {
        width: 48px;
        height: 48px;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
        opacity: 0.9;
        display: flex !important;
    }

    /* Narrow screen optimization */
    .container {
        padding: 0 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}


@keyframes slideInDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Service Cards */
.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 0;
    border-radius: 16px;
    transition: var(--transition-smooth);
    overflow: hidden;
    margin-bottom: 0;
    /* Grid gap handles this */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px) translateZ(0);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(165, 180, 252, 0.25);
    backface-visibility: hidden;
}

.card-main-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #000;
    flex-shrink: 0;
    position: relative;
    /* Fixed: Added for overlay positioning */
}

.card-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-main-image img {
    transform: scale(1.05);
}

.service-card h2 {
    padding: 0 1.5rem;
    margin: 1.25rem 0 0.5rem;
    font-size: 1.5rem;
}

.service-card p {
    padding: 0 1.5rem;
    margin-bottom: 0.75rem;
}

.card-short {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 500;
}

.card-full {
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0 1.5rem;
    margin: 1rem 0;
}

.feature-tags span {
    background: rgba(165, 180, 252, 0.12);
    border: 1px solid rgba(165, 180, 252, 0.35);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
}

.gallery-section {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    margin-top: 1.5rem;
}

.gallery-section h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #fff;
}

.service-card>div:last-child {
    padding: 0 1.5rem 1.5rem;
}

/* Blog Cards */
.blog-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px) translateZ(0);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(165, 180, 252, 0.3);
    backface-visibility: hidden;
}

.blog-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}

.blog-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image-wrap img {
    transform: scale(1.1);
}

.blog-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover .blog-overlay,
.service-card:hover .blog-overlay {
    opacity: 1;
}

.blog-overlay span {
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid #fff;
    border-radius: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-info {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-date {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.blog-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #fff;
    line-height: 1.4;
    font-weight: 600;
}

.blog-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-cta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.blog-card:hover .blog-cta {
    gap: 12px;
}

/* Blog Detail Page */
.post-article {
    max-width: 900px;
    margin: 0 auto;
}

.post-hero {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    margin-bottom: 2rem;
}

.post-meta {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.post-meta span {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-article h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    color: #fff;
    line-height: 1.2;
}

.post-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.post-body h2,
.post-body h3 {
    color: #fff;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body ul,
.post-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-body li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 2rem;
    transition: gap 0.3s ease;
}

.back-link:hover {
    gap: 12px;
}

.not-found {
    text-align: center;
    padding: 6rem 2rem;
    color: var(--text-muted);
}

.not-found a {
    color: var(--accent);
    text-decoration: underline;
}

/* Hero Modern Layout */
.hero {
    padding-top: 100px;
    padding-bottom: 30px;
}

.hero-content {
    margin-bottom: 2rem !important;
}

/* Hero Slider Modern Layout - Optimized */
.hero-image-slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 24px;
    background: #000;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    margin: 0 0 4rem 0;
}

.hero-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide {
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-slide img,
.hero-slide video,
.hero-slide iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 101%;
    height: 101%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    border: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    pointer-events: none;
    z-index: 2;
}

.hero-overlay .container {
    pointer-events: auto;
}

.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
}

.hero-image-slider-container:hover .hero-slider-btn {
    opacity: 1;
}

.hero-slider-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

.hero-slider-prev {
    left: 24px;
}

.hero-slider-next {
    right: 24px;
}

.hero-slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.hero-slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
}

.hero-slider-dots .dot.active {
    background: var(--accent);
    width: 30px;
    border-radius: 5px;
}

/* Button UI */
.btn-outline {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary {
    padding: 0.8rem 1.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* Services Preview Carousel (Home Page) */
.services-preview-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 1rem 0 3rem;
    margin: 0 -1rem;
    /* Edge to edge on mobile */
    padding-left: 1rem;
    padding-right: 1rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Momentum scroll */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.services-preview-grid::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.services-preview-grid {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

@media (min-width: 1024px) {
    .services-preview-grid {
        margin: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

.service-preview-card {
    flex: 0 0 85%;
    /* Mobile: Peek at the next card */
    scroll-snap-align: start;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .service-preview-card {
        flex: 0 0 calc(50% - 1rem);
        /* Tablet: 2 cards */
    }
}

@media (min-width: 1024px) {
    .service-preview-card {
        flex: 0 0 calc(33.333% - 1.34rem);
        /* Desktop: 3 cards */
    }
}

.service-preview-card:hover {
    transform: translateY(-10px) translateZ(0);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    backface-visibility: hidden;
}

.service-preview-card .card-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-preview-card:hover .card-image {
    transform: scale(1.05);
}

.service-preview-card .card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-preview-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #fff;
    font-family: var(--font-display);
}

.service-preview-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-preview-card .btn {
    align-self: flex-start;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    background: transparent;
    border: 1px solid #333;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: #fff;
    color: #000;
}

@media (max-width: 768px) {
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Horizontal Gallery */
.horizontal-gallery {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.horizontal-gallery::-webkit-scrollbar {
    display: none;
}

.horizontal-gallery:active {
    cursor: grabbing;
}

.gallery-item {
    flex: 0 0 280px;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover {
    transform: scale(1.03);
    border-color: var(--accent);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    /* Shown via JS */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    position: relative;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10001;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 220px;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 2.5rem;
    }

    .lightbox-img {
        max-width: 95%;
    }
}

/* --- PREMIUM FOOTER DESIGN --- */
.footer {
    background: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 0 0;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
}

/* Subtle glow effect in footer background */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    box-shadow: 0 0 50px 2px var(--accent);
    opacity: 0.1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-brand p {
    max-width: 350px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-contact-item i {
    color: var(--accent);
    margin-top: 0.25rem;
}

.footer-social {
    display: flex;
    gap: 1.25rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social a:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.2);
}

.footer-bottom {
    background: #000;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand,
    .footer-section {
        grid-column: span 1;
    }

    .footer-links a:hover {
        transform: none;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Hero Slider Navigation Buttons */
.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.4);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
}

.hero-slider-btn:hover {
    background: rgba(165, 180, 252, 0.15);
    border-color: rgba(165, 180, 252, 0.6);
    color: var(--accent);
    transform: translateY(-50%) scale(1.05);
    opacity: 1;
}

.hero-slider-btn:active {
    transform: translateY(-50%) scale(0.98);
}

.hero-slider-prev {
    left: 1.5rem;
}

.hero-slider-next {
    right: 1.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-slider-btn {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        opacity: 0.5;
    }

    .hero-slider-prev {
        left: 0.75rem;
    }

    .hero-slider-next {
        right: 0.75rem;
    }
}

/* About Section - Modern Minimal Design */
.about-section {
    background: var(--bg-body);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-content {
    max-width: 600px;
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: var(--text-primary);
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    opacity: 0.9;
}

.about-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Kolon: Yan yana 4'erli sıralama için */
    gap: 1.5rem 2rem;
    /* Satır ve sütun boşluğu */
}

.about-features-list li {
    font-size: 1.05rem;
    color: var(--text-primary);
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.about-features-list li::before {
    content: 'R';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.4rem;
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    opacity: 0.95;
}

.about-features-list li:hover {
    transform: translateX(5px);
    color: var(--accent);
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-content {
        order: 2;
        max-width: 100%;
    }

    .about-image-wrapper {
        order: 1;
        height: 350px;
    }

    .about-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }

    .about-description {
        font-size: 1rem;
    }

    .about-features-list {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .about-features-list li {
        font-size: 0.95rem;
    }
}

/* Cleaned up redundant hero spacing */

.hero-main-display {
    margin: 0;
    padding: 0;
}

/* Hero sections consolidated above */


#services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 968px) {
    #services-list {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}