/* ── Genel Ayarlar ──────────────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0a0a;
    color: #f5f5f5;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── Navbar Giriş Animasyonları ─────────────────────────────── */
@keyframes slideFromLeft {
    from { opacity: 0; transform: translateX(-80px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideFromRight {
    from { opacity: 0; transform: translateX(80px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeScaleIn {
    from { opacity: 0; transform: scale(0.65) translateY(-12px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Header & Navigasyon ────────────────────────────────────── */
.main-header {
    background-color: transparent;
    border-bottom: none;
    padding: 30px 0;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex: 1;
}

.side-menu:first-child { justify-content: flex-end; padding-right: 40px; }
.side-menu:last-child  { justify-content: flex-start; padding-left: 40px; }

.nav-menu li a {
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0 15px;
    transition: color 0.3s;
}
.nav-menu li a:hover { color: #bc1a1a; }

/* Giriş animasyonları */
.left-menu {
    opacity: 0;
    animation: slideFromLeft 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}
.right-menu {
    opacity: 0;
    animation: slideFromRight 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}
.logo-area {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    opacity: 0;
    animation: fadeScaleIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}

.logo-area a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.94) 32%, rgba(255,255,255,0.55) 62%, transparent 82%);
    border-radius: 50%;
    padding: 20px;
}

.center-logo {
    height: 130px;
    width: auto;
    transition: transform 0.3s ease;
}
.center-logo:hover { transform: scale(1.06); }

/* ── Dil Butonu ─────────────────────────────────────────────── */
.lang-btn {
    position: absolute;
    top: 22px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    padding: 7px 14px;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s;
    z-index: 1100;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.lang-btn:hover {
    background: rgba(188, 26, 26, 0.22);
    border-color: #bc1a1a;
}
.lang-flag {
    width: 22px;
    height: auto;
    border-radius: 2px;
    display: block;
}
.lang-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #fff;
    line-height: 1;
}

@media (max-width: 768px) {
    .lang-btn {
        top: 10px;
        right: 12px;
        padding: 5px 10px;
        gap: 5px;
    }
    .lang-flag { width: 18px; }
    .lang-label { font-size: 11px; }
}

/* ── Ana Sayfa Hero ─────────────────────────────────────────── */
.site-hero {
    position: relative;
    height: 100vh;
    min-height: 480px;
    background: url('./Belgeler/Kasap 1.jpg') no-repeat center center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
}

.site-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}

.site-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 7vw, 82px);
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
    animation: heroFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.site-hero-sub {
    font-size: 25px;
    color: rgba(255, 255, 255, 0.72);
    max-width: 500px;
    margin: 0 auto;
    animation: heroFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Instagram Reel Bölümü ──────────────────────────────────── */
.ig-reel-section {
    background: #0a0a0a;
    padding: 90px 20px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    border-top: 1px solid #1a1a1a;
}

.ig-reel-header {
    text-align: center;
    margin-bottom: 40px;
}

.ig-reel-eyebrow {
    font-size: 10px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #bc1a1a;
    margin-bottom: 12px;
}

.ig-reel-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 46px);
    color: #fff;
    line-height: 1.1;
}

.ig-reel-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.ig-reel-grid iframe {
    border-radius: 12px;
    box-shadow: 0 16px 56px rgba(0, 0, 0, 0.65);
    display: block;
    max-width: 100%;
    flex-shrink: 0;
}

.ig-reel-link {
    display: inline-block;
    margin-top: 28px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s;
}
.ig-reel-link:hover { color: #bc1a1a; }

/* ── Slide to Instagram Button ──────────────────────────────── */
.slide-btn-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 52px;
    padding: 0 20px;
}

.slide-btn-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
}

.slide-btn-track {
    position: relative;
    width: 360px;
    max-width: min(90vw, 360px);
    height: 68px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 34px;
    display: flex;
    align-items: center;
    overflow: hidden;
    user-select: none;
    touch-action: none;
}

.slide-btn-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 68px;
    background: linear-gradient(90deg, #8c1212, #bc1a1a);
    border-radius: 34px;
    pointer-events: none;
}

.slide-btn-thumb {
    position: absolute;
    left: 4px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #bc1a1a, #e03030);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(188, 26, 26, 0.55);
}
.slide-btn-thumb:active { cursor: grabbing; }

.slide-btn-thumb svg {
    width: 26px;
    height: 26px;
    fill: #fff;
    pointer-events: none;
}

.slide-btn-text {
    position: absolute;
    right: 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    pointer-events: none;
    user-select: none;
}

/* ── Ürün Galerisi — Auto Slider + Image Reveal ─────────────── */
.gallery-section {
    background: #0a0a0a;
    padding-top: 90px;
}

.gallery-header {
    text-align: center;
    padding: 0 20px 64px;
}
.gallery-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 56px);
    color: #fff;
    margin-bottom: 12px;
}
.gallery-header p {
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 4px;
    font-size: 10px;
    text-transform: uppercase;
}

/* Slider grid — desktop: 2 kolon yan yana */
.gallery-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    height: 640px;
    overflow: hidden;
    padding: 0 40px;
    mask-image: linear-gradient(to bottom,
        transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom,
        transparent 0%, black 10%, black 90%, transparent 100%);
}

.g-col { overflow: hidden; }

.g-track {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.g-track:hover { animation-play-state: paused; }

.g-track--down { animation-name: gSlideDown; }
.g-track--up   { animation-name: gSlideUp; }

@keyframes gSlideDown {
    from { transform: translateY(0); }
    to   { transform: translateY(-50%); }
}
@keyframes gSlideUp {
    from { transform: translateY(-50%); }
    to   { transform: translateY(0); }
}
@keyframes gSlideRight {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes gSlideLeft {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

.g-track img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
    pointer-events: none;
}
.g-track:hover img { filter: brightness(1.08); }

/* Image Reveal */
.reveal-section {
    padding: 80px 40px 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.reveal-eyebrow {
    font-size: 10px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #bc1a1a;
    margin: 0;
}

.reveal-box {
    position: relative;
    width: min(90vw, 960px);
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    cursor: crosshair;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.6);
}

.reveal-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
}

.reveal-overlay {
    position: absolute;
    inset: 0;
    background: black;
    pointer-events: none;
}

/* Mobil: yatay slider, alt alta */
@media (max-width: 768px) {
    .gallery-cols {
        grid-template-columns: 1fr;
        height: auto;
        gap: 12px;
        padding: 0;
        mask-image: linear-gradient(to right,
            transparent 0%, black 8%, black 92%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right,
            transparent 0%, black 8%, black 92%, transparent 100%);
    }
    .g-col    { height: 200px; overflow: hidden; }
    .g-track  { flex-direction: row; width: max-content; }
    .g-track--down { animation-name: gSlideRight; animation-duration: 22s; }
    .g-track--up   { animation-name: gSlideLeft;  animation-duration: 22s; }
    .g-track img   { width: 260px; height: 100%; aspect-ratio: unset; flex-shrink: 0; }
    .reveal-section { padding: 60px 20px 70px; }
    .reveal-box { aspect-ratio: 4 / 3; }
}

/* ── Site Footer ────────────────────────────────────────────── */
.site-footer {
    background: #0a0a0a;
    border-top: 1px solid #1a1a1a;
    padding: 48px 60px 32px;
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 0;
    margin-bottom: 40px;
}

.footer-nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    padding: 0 18px;
    transition: color 0.3s;
}
.footer-nav a:hover { color: #bc1a1a; }

.footer-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid #1a1a1a;
}

.footer-copy {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: #fff;
    letter-spacing: 0.5px;
}

.footer-arel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    opacity: 1;
    transition: opacity 0.3s;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #fff;
    text-transform: uppercase;
}
.footer-arel:hover { opacity: 1; }
.footer-arel img {
    height: 20px;
    width: auto;
    vertical-align: middle;
}

@media (max-width: 640px) {
    .site-footer { padding: 40px 20px 28px; }
    .footer-nav a { font-size: 11px; padding: 0 12px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ── Diğer Sayfalar İçin Korunan Stiller ───────────────────── */
.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}
.red-detail { color: #bc1a1a; }

.categories {
    display: flex;
    padding: 50px 10%;
    justify-content: space-around;
    background: #000;
}
.category-item { text-align: center; cursor: pointer; }
.cat-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid #333;
    transition: border-color 0.3s;
    margin-bottom: 15px;
}
.category-item:hover .cat-img { border-color: #bc1a1a; }
.category-item span { font-weight: 600; letter-spacing: 1px; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    /* Navbar: relative konuma al, içerik altına itilsin */
    .main-header {
        position: relative;
        background: #0a0a0a;
        border-bottom: 1px solid #1a1a1a;
        padding: 14px 0;
    }

    .nav-container {
        flex-direction: column;
        gap: 6px;
        padding: 0 16px;
    }

    /* Her iki menüdeki linkler satır satır, ortalı */
    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }
    .side-menu {
        padding: 0 !important;
        justify-content: center !important;
    }
    .nav-menu li a {
        font-size: 13px;
        margin: 0;
        padding: 5px 10px;
        display: block;
        text-align: center;
    }

    /* Logo küçül, en üste çık */
    .center-logo {
        height: 64px;
        order: -1;
    }
    .logo-area {
        padding: 4px 0 8px;
    }

    /* Hero mobilde */
    .site-hero { height: 70vh; min-height: 360px; }

    /* Galeri */
    .zoom-item-inner {
        width: 88vw;
        height: 42vh;
    }
}
