:root {
    /* Renk Paleti */
    --color-primary: #0f172a;
    /* Koyu Lacivert */
    --color-secondary: #3b82f6;
    /* Canlı Mavi */
    --color-accent: #0ea5e9;
    /* Açık Mavi */
    --color-text: #334155;
    /* Gri Metin */
    --color-text-light: #94a3b8;
    /* Açık Gri Metin */
    --color-bg: #ffffff;
    /* Beyaz Arka Plan */
    --color-bg-alt: #f8fafc;
    /* Alternatif Arka Plan */

    /* Tipografi */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Inter', system-ui, -apple-system, sans-serif;
    /* Tek tip font isteği üzerine eşitlendi */

    /* Boşluklar */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Gölgeler */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

    /* Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Yardımcı Sınıflar */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.section-padding {
    padding: var(--spacing-lg) 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

/* Header Stilleri */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: #ffffff;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    /* Logo 75px olduğu için header yüksekliği güncellendi */
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: var(--spacing-md);
}

.nav-list a {
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.95rem;
}

.nav-list a:hover {
    color: var(--color-secondary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 100vh;
    /* Yüksekliği biraz azalttık, viewport'u tam kaplamasın */
    min-height: 600px;
    background-color: var(--color-bg-alt);
    overflow: hidden;
}

.carousel-container {
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    /* Metin okunabilirliği için karanlık filtre */
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide .hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.carousel-slide .hero-content {
    max-width: 800px;
    margin: 0 auto;
    /* Ortala */
    text-align: center;
    color: white;
}

.carousel-slide .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-slide .hero-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 0.4);
}

.carousel-prev {
    left: 2rem;
}

.carousel-next {
    right: 2rem;
}


/* Infinite Brand Slider */
.brand-slider {
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.brand-slide-track {
    display: flex;
    width: calc(250px * 14);
    /* 250px x Slide Sayisi */
    animation: scroll 40s linear infinite;
}

.brand-slide {
    height: 100px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.brand-slide img {
    max-width: 100%;
    max-height: 80px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    opacity: 0.7;
}

.brand-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 7));
    }

    /* 7 slide var, yarısı kadar kaydır */
}

/* Hakkımızda Section */
.about {
    background-color: var(--color-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.about-text p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

/* Hizmetler Section */
.services {
    background-color: var(--color-bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--color-bg);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--color-secondary);
}

.service-icon {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* İletişim Footer */
.footer {
    background-color: var(--color-primary);
    color: #cbd5e1;
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-text {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: #cbd5e1;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 1.5rem;
    }

    .social-links {
        justify-content: center;
    }
}

/* Alt Sayfa Başlıkları */
.page-header {
    padding-top: 120px;
    padding-bottom: var(--spacing-md);
    background-color: var(--color-bg-alt);
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.page-header .section-title {
    display: inline-block;
    /* Ortalamayı garantiye al */
    margin-bottom: var(--spacing-xs);
}

/* Catalog Card Redesign */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
}

.catalog-card {
    display: flex;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--color-secondary);
}

.catalog-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    flex-shrink: 0;
}

.catalog-icon svg {
    width: 32px;
    height: 32px;
}

.catalog-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.catalog-info .download-text {
    font-size: 0.9rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: color 0.3s;
}

.catalog-card:hover .download-text {
    color: var(--color-secondary);
}

.catalog-card:hover .arrow {
    transform: translateX(5px);
}

.arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.page-header .section-subtitle {
    margin-bottom: 0;
}

.page-header .section-subtitle {
    margin-bottom: 0;
}

.brand-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Modern Kategori Kartları */
.category-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(226, 232, 240, 0.6);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    position: relative;
    isolation: isolate;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(226, 232, 240, 0);
}

.category-image {
    width: 100%;
    padding-top: 60%;
    /* 16:9'a yakın bir oran */
    position: relative;
    overflow: hidden;
    background-color: #f1f5f9;
}

.category-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

/* Kartın üzerine gelince beliren hafif overlay */
.category-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover .category-image::after {
    opacity: 1;
}

.category-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #fff;
    z-index: 2;
}

.category-content h3 {
    margin-bottom: 0.75rem;
    color: var(--color-text);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    transition: color 0.3s ease;
}

.category-card:hover .category-content h3 {
    color: var(--color-primary);
}

.category-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Aksiyon Linki */
.category-link {
    display: inline-flex;
    align-items: center;
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    transition: all 0.3s ease;
}

.category-link span {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.category-card:hover .category-link span {
    transform: translateX(5px);
}

/* Modern Kurumsal Sayfa Stilleri */
.about-hero-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: #f0f9ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-secondary);
}

.value-icon svg {
    width: 32px;
    height: 32px;
}

.value-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.value-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    text-align: center;
}

.stat-item h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-item p {
    color: var(--color-text);
    font-weight: 500;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }


    .hero-container,
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--color-bg);
        padding: 80px 2rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-list a {
        font-size: 1.25rem;
    }

    .menu-open .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .menu-open .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-open .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .catalog-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}