/* stil.css - Hayal Kanvas Özel Stil Dosyası */
:root {
    --primary-navy: #0f172a;
    --navy-light: #1e293b;
    --gold: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #b89628;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --whatsapp-green: #25d366;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, .brand-title {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
}

/* Renk Sınıfları */
.bg-navy { background-color: var(--primary-navy) !important; }
.bg-navy-light { background-color: var(--navy-light) !important; }
.bg-gold { background-color: var(--gold) !important; }
.text-gold { color: var(--gold) !important; }
.text-navy { color: var(--primary-navy) !important; }
.bg-whatsapp { background-color: var(--whatsapp-green) !important; }

/* Font Boyutları */
.font-11 { font-size: 11px; }
.font-12 { font-size: 12px; }
.font-13 { font-size: 13px; }
.font-14 { font-size: 14px; }
.font-15 { font-size: 15px; }
.font-18 { font-size: 18px; }
.font-20 { font-size: 20px; }
.font-24 { font-size: 24px; }
.font-32 { font-size: 32px; }
.text-light-50 { color: rgba(255, 255, 255, 0.7); }

/* Top Bar */
.top-bar {
    background-color: #0b1120;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

/* Navbar */
.brand-icon {
    width: 44px;
    height: 44px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.brand-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}
.brand-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 9px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 3px;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 16px;
    transition: all 0.3s ease;
    border-radius: 8px;
}
.navbar .nav-link:hover, .navbar .nav-link.active {
    color: var(--gold) !important;
    background: rgba(255, 255, 255, 0.05);
}
.btn-tasarla-link {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--gold) !important;
}

/* Butonlar */
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #0f172a;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background: linear-gradient(135deg, #e5c158 0%, var(--gold) 100%);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35);
}

.btn-cart {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.btn-cart:hover {
    background: var(--gold);
    color: var(--primary-navy);
}
.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 6px;
}

/* Hero Carousel */
.hero-slider-item {
    position: relative;
    min-height: 520px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 50%, rgba(15, 23, 42, 0.4) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
}

/* Kanvas Kartları & 3D Hover */
.canvas-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}
.canvas-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}
.canvas-card-img {
    position: relative;
    overflow: hidden;
    padding-top: 125%; /* 4:5 Oran */
    background: #f1f5f9;
}
.canvas-card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.canvas-card:hover .canvas-card-img img {
    transform: scale(1.05);
}
.canvas-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Canlı Duvar Simülatörü Alanı */
.simulator-box {
    position: relative;
    width: 100%;
    height: 540px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #eeebe6;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.15);
}
.simulator-canvas-mockup {
    position: absolute;
    cursor: grab;
    transition: transform 0.2s ease, width 0.3s ease, height 0.3s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35), 0 5px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}
.simulator-canvas-mockup::before {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 2px 2px 4px rgba(255,255,255,0.4), inset -2px -2px 4px rgba(0,0,0,0.4);
    pointer-events: none;
}
.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
}
.color-swatch:hover, .color-swatch.active {
    transform: scale(1.2);
    outline: 2px solid var(--gold);
}

/* Özel Baskı Modülü Seçiciler */
.size-option-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #fff;
}
.size-option-card:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}
.size-option-card.selected {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

/* 3D Kanvas Katlama ve Yan Kenar Simülasyonu */
.canvas-3d-scene {
    perspective: 1100px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 65%, #e2e8f0 100%);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    user-select: none;
}

.canvas-3d-box {
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(15deg) rotateY(-24deg);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), width 0.35s ease, height 0.35s ease;
    box-shadow: 25px 35px 55px rgba(15, 23, 42, 0.28);
}

.canvas-3d-box.mode-flat {
    transform: rotateX(0deg) rotateY(0deg) !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

.canvas-3d-box.mode-blueprint {
    display: none;
}

.canvas-face-front {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.06);
    background-color: #fff;
}

/* 4 cm Masif Ahşap Şasi Yan Kenarları (3D Folded Faces) */
.canvas-face-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    transform-origin: top;
    transform: rotateX(90deg);
    background-size: cover;
    background-position: top;
    filter: brightness(1.06);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    overflow: hidden;
}

.canvas-face-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    transform-origin: bottom;
    transform: rotateX(-90deg);
    background-size: cover;
    background-position: bottom;
    filter: brightness(0.72);
    border-top: 1px solid rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.canvas-face-left {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 30px;
    transform-origin: left;
    transform: rotateY(-90deg);
    background-size: cover;
    background-position: left;
    filter: brightness(0.85);
    border-right: 1px solid rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.canvas-face-right {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 30px;
    transform-origin: right;
    transform: rotateY(90deg);
    background-size: cover;
    background-position: right;
    filter: brightness(0.68);
    border-left: 1px solid rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Yan Kenar Marka / Tarih Yazısı */
.canvas-edge-text {
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    padding: 0 6px;
    pointer-events: none;
}

/* 2D Açık Katlama Planı (Wrap Blueprint) */
.blueprint-container {
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    padding: 20px;
}

.blueprint-layout {
    position: relative;
    border: 2px dashed var(--gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.blueprint-front {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blueprint-band {
    position: absolute;
    background: rgba(212, 175, 55, 0.15);
    font-size: 10px;
    font-weight: 700;
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}
.blueprint-band-top { top: -26px; left: 0; right: 0; height: 26px; border-top: 1px dashed var(--gold); }
.blueprint-band-bottom { bottom: -26px; left: 0; right: 0; height: 26px; border-bottom: 1px dashed var(--gold); }
.blueprint-band-left { left: -26px; top: 0; bottom: 0; width: 26px; border-left: 1px dashed var(--gold); writing-mode: vertical-rl; transform: rotate(180deg); }
.blueprint-band-right { right: -26px; top: 0; bottom: 0; width: 26px; border-right: 1px dashed var(--gold); writing-mode: vertical-rl; }

.border-option-pill {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}
.border-option-pill.selected {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-navy);
    font-weight: 700;
}

/* Kalite Barı */
.quality-meter {
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    overflow: hidden;
}
.quality-meter-fill {
    height: 100%;
    width: 0%;
    transition: width 0.4s ease, background-color 0.4s ease;
}

/* Sabit WhatsApp Butonu */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--whatsapp-green);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}
.floating-whatsapp:hover {
    color: #fff;
    transform: scale(1.12);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}

/* Footer Linkleri */
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}
.footer-links a:hover {
    color: var(--gold);
    transform: translateX(4px);
}
.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-btn:hover {
    background: var(--gold);
    color: var(--primary-navy);
}

/* Mobil Sabit Alt Satın Alma Barı */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08);
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px)) 0;
    z-index: 1040;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-price-value {
    color: var(--primary-navy);
    line-height: 1.1;
}

/* Alert Gold Stili (Bayi & Kampanya) */
.alert-gold {
    background: #fffdf5;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-left: 4px solid var(--gold);
    color: var(--primary-navy);
}

/* Touch Targets & WCAG 2.1 AA Ergonomisi */
.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #cbd5e1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.color-swatch.active {
    box-shadow: 0 0 0 2px var(--gold);
    transform: scale(1.15);
}

/* Mobil İyileştirmeleri */
@media (max-width: 768px) {
    .simulator-box {
        height: 360px;
    }
    .hero-slider-item {
        min-height: 420px;
    }
    .floating-whatsapp {
        bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
        right: 16px !important;
        width: 52px !important;
        height: 52px !important;
        font-size: 28px !important;
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    }
    .size-option-card {
        padding: 10px;
    }
    body {
        padding-bottom: 70px; /* Sabit bar için sayfa altı boşluğu */
    }
}
