:root {
    --bg: #e3e7ec;
    --bg-soft: #e7eaef;
    --muted: #646a73;
    --text: #17191c;
    --card: #e1e5ea;
    --border: #cfd6df;
    --red: #e11d2e;
    --red-600: #b5121f;
    --accent: #f26a78;
    --shadow: 0 10px 24px rgba(16,24,40,.10);
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: radial-gradient(1200px 600px at 80% -10%, rgba(214,69,69,.06), transparent 60%), radial-gradient(1000px 500px at -10% 10%, rgba(107,114,128,.08), transparent 60%), var(--bg);
    color: var(--text);
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(231,234,239, .9);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--border);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .2px;
}

.brand-logo {
    display: inline-block;
    height: 110px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: brightness(0.98) contrast(1.08);
}

.brand-text {
    white-space: nowrap;
}

.nav {
    display: flex;
    gap: 16px;
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: .2s ease;
}

    .nav-link:hover {
        color: var(--text);
        background: rgba(225,29,46,.06);
        border: 1px solid rgba(225,29,46,.18);
    }

    .nav-link.active {
        color: var(--text);
        background: linear-gradient(180deg, rgba(214,69,69,.10), rgba(214,69,69,.05));
        border: 1px solid rgba(214,69,69,.20);
    }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    color: var(--text);
    background: var(--bg-soft);
    transition: .2s ease;
}

    .btn:hover {
        transform: translateY(-1px);
    }

.btn-primary {
    background: linear-gradient(180deg, var(--red), var(--red-600));
    border-color: rgba(214,69,69,.35);
    color: #d5d9df;
    box-shadow: 0 10px 18px rgba(214,69,69,.18);
}

    .btn-primary:hover {
        filter: brightness(1.05);
    }

.btn-outline {
    background: var(--bg-soft);
    color: var(--text);
    border-color: rgba(225,29,46,.28);
}

.btn-sm {
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 14px;
}

/* Slider */
.slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(214,69,69,.08), rgba(0,0,0,.02));
    border-bottom: 1px solid var(--border);
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    height: 500px;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .slider-slide.active {
        opacity: 1;
        visibility: visible;
    }

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

    .slider-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,.3) 0%, rgba(255,255,255,.1) 50%, rgba(255,255,255,.2) 100%);
    z-index: 1;
}

.slider-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

    .slider-content h2 {
        font-size: clamp(28px, 5vw, 48px);
        margin: 0 0 16px;
        color: #ffffff;
        font-weight: 700;
        text-shadow: 0 2px 12px rgba(0,0,0,.5);
    }

    .slider-content p {
        font-size: clamp(16px, 2.5vw, 20px);
        margin: 0 0 28px;
        color: #f0f0f0;
        line-height: 1.6;
        text-shadow: 0 1px 6px rgba(0,0,0,.4);
    }

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(231,234,239, .85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    color: var(--text);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

    .slider-btn:hover {
        background: rgba(225,29,46,.15);
        border-color: rgba(225,29,46,.3);
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 6px 16px rgba(214,69,69,.2);
    }

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--bg-soft);
    background: rgba(231,234,239, .6);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

    .slider-dot:hover {
        background: rgba(225,29,46,.4);
        transform: scale(1.2);
    }

    .slider-dot.active {
        background: var(--red);
        border-color: var(--red-600);
        box-shadow: 0 0 0 3px rgba(225,29,46,.2);
    }

/* Hero */
.hero {
    padding: 72px 0 48px;
    background: linear-gradient(180deg, rgba(214,69,69,.06), var(--bg-soft) 70%);
    border-bottom: 1px solid var(--border);
}

    .hero h1 {
        font-size: clamp(32px, 5vw, 44px);
        margin: 0 0 10px;
    }

    .hero p {
        margin: 0 0 22px;
        color: var(--muted);
        max-width: 720px;
    }

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 36px 0;
}

.feature-card {
    background: linear-gradient(180deg, rgba(0,0,0,.02), var(--card) 80%), var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 22px;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 10px rgba(214,69,69,.20));
}

.feature-card h3 {
    margin: 6px 0 6px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
}

/* CTA */
.cta {
    padding: 36px 0 64px;
}

.cta-inner {
    background: linear-gradient(180deg, rgba(214,69,69,.08), rgba(214,69,69,.04));
    border: 1px solid rgba(214,69,69,.20);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(214,69,69,.15);
}

.cta h2 {
    margin: 4px 0 8px;
}

.cta p {
    margin: 0 0 16px;
    color: var(--muted);
}

/* Page header */
.page-header {
    padding: 28px 0 10px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 18px;
}

    .page-header h1 {
        margin: 0 0 6px;
    }

    .page-header h2 {
        margin: 0 0 6px;
    }

    .page-header p {
        margin: 0;
        color: var(--muted);
    }

/* Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 10px 0 40px;
}

.product-card {
    background: linear-gradient(180deg, rgba(0,0,0,.01), var(--card) 80%), var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 24px rgba(0,0,0,0.15);
    }

    .product-card h3 {
        margin: 12px 12px 4px;
        font-size: 18px;
    }

    .product-card p {
        margin: 0 12px 12px;
        color: var(--muted);
    }

.product-meta {
    margin: auto 12px 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.price {
    font-weight: 700;
    color: var(--text);
}

/* ÜRÜN GALERİSİ - ÇOKLU RESİM */
.product-gallery-wrapper {
    position: relative;
    width: 100%;
}

.product-gallery {
    position: relative;
    width: 100%;
    height: 300px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    display: flex;
    gap: 0;
    background: #f7f8fa;
    border-bottom: 1px solid var(--border);
    -webkit-overflow-scrolling: touch;
}

    .product-gallery::-webkit-scrollbar {
        height: 4px;
    }

    .product-gallery::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.05);
    }

    .product-gallery::-webkit-scrollbar-thumb {
        background: var(--red);
        border-radius: 2px;
    }

    .product-gallery img {
        flex: 0 0 100%;
        width: 100%;
        height: 300px;
        object-fit: cover;
        scroll-snap-align: start;
        display: block;
    }

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s ease;
    font-size: 20px;
    font-weight: bold;
    color: var(--text);
    opacity: 0;
    pointer-events: none;
}

.product-card:hover .gallery-nav {
    opacity: 1;
    pointer-events: auto;
}

.gallery-nav:hover {
    background: var(--red);
    color: white;
    border-color: var(--red);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-prev {
    left: 8px;
}

.gallery-nav-next {
    right: 8px;
}

.gallery-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

    .gallery-dot.active {
        background: var(--red);
        border-color: var(--red);
        transform: scale(1.2);
    }

/* Contact */
.contact {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 18px;
    padding: 10px 0 40px;
}

.contact-card, .contact-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--shadow);
}

    .contact-card h3 {
        margin: 0 0 10px;
    }

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--muted);
}

    .contact-list li {
        padding: 8px 0;
        border-bottom: 1px dashed var(--border);
    }

        .contact-list li:last-child {
            border-bottom: 0;
        }

.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

label {
    color: var(--muted);
    font-size: 14px;
}

input, textarea {
    width: 100%;
    padding: 12px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    color: var(--text);
    outline: none;
}

    input:focus, textarea:focus {
        border-color: rgba(0,0,0,.25);
        box-shadow: 0 0 0 4px rgba(0,0,0,.08);
    }

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    margin-top: 20px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    color: var(--muted);
}

.footer-nav {
    display: flex;
    gap: 12px;
}

    .footer-nav a {
        color: var(--muted);
        text-decoration: none;
    }

        .footer-nav a:hover {
            color: var(--text);
        }

/* Homepage featured products - larger cards */
.home-featured .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.home-featured .product-gallery {
    height: 280px;
}

    .home-featured .product-gallery img {
        height: 280px;
    }

.home-featured .product-card h3 {
    font-size: 20px;
}

.home-featured .product-card p {
    font-size: 15px;
}

.home-featured .gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 22px;
}

/* Responsive */
@media (max-width: 1000px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact {
        grid-template-columns: 1fr;
    }

    .home-featured .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .features {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-inner {
        height: auto;
        padding: 10px 0;
        gap: 10px;
        flex-wrap: wrap;
    }

    .brand-logo {
        height: 80px;
    }

    .nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .nav-link {
        padding: 6px 10px;
    }

    .hero {
        padding: 48px 0 28px;
    }

    .home-featured .product-grid {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        height: 240px;
    }

        .product-gallery img {
            height: 240px;
        }

    .home-featured .product-gallery {
        height: 240px;
    }

        .home-featured .product-gallery img {
            height: 240px;
        }

    .slider-container {
        height: 400px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }

    .slider-dots {
        bottom: 16px;
    }
}

@media (max-width: 520px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .brand-logo {
        height: 70px;
    }

    .product-gallery {
        height: 220px;
    }

        .product-gallery img {
            height: 220px;
        }

    .slider-container {
        height: 350px;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .slider-prev {
        left: 8px;
    }

    .slider-next {
        right: 8px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }
}
