/* ==========================================================
   RESET & LIQUID GLASS VARIABLES
   ========================================================== */
:root {
    --gold: #d4a017;
    --gold-glow: rgba(212, 160, 23, 0.4);
    --glass-bg: rgba(18, 20, 26, 0.55);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-gold: rgba(212, 160, 23, 0.35);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --blur-amt: 16px;
    --radius-lg: 20px;
    --radius-md: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: #0b0d12;
    overflow-x: hidden;
    width: 100vw;
    min-height: 100vh;
}

/* Background Texture Layer */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 20%, rgba(212, 160, 23, 0.15), transparent 60%),
                url("mermer.png") center/cover no-repeat;
    opacity: 0.35;
    z-index: -1;
    pointer-events: none;
}

/* Base Glassmorphism Card Component */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amt)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--blur-amt)) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Typography */
h1, h2, h3 {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
}

h2 {
    font-size: 2.2rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 0 15px var(--gold-glow);
}

/* ==========================================================
   NAVIGATION BAR
   ========================================================== */
header {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
}

.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(15, 17, 23, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border-gold);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold-glow);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.hamburger {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--gold);
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero {
    height: 100vh;
    display: flex;
    position: relative;
    overflow: hidden;
    width: 100vw;
}

.hero-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
    background-size: cover;
    background-position: center;
    transition: flex 0.5s ease;
    border-right: 1px solid var(--glass-border);
}

.hero-section:hover {
    flex: 1.2;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.hero-section.mermer-granit { background-image: url('images/katalog/mermer-granit/1.jpg'); }
.hero-section.karo { background-image: url('images/katalog/karo2/1.jpg'); }
.hero-section.porselen-tezgah { background-image: url('images/katalog/porselen-tezgahi/1.jpg'); border-right: none; }

.hero-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    text-align: center;
    max-width: 320px;
}

.hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--gold);
}

.hero-content p {
    font-size: 0.9rem;
    color: #e2e8f0;
}

.hero-buttons {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    padding: 12px 25px;
    z-index: 10;
    border-radius: 50px;
}

/* Buttons */
.btn {
    border: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 15px var(--gold-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #e5b01f;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-card {
    background: rgba(212, 160, 23, 0.15);
    color: var(--gold);
    border: 1px solid var(--glass-border-gold);
    width: 100%;
    margin-top: 10px;
}

.btn-card:hover {
    background: var(--gold);
    color: #000;
}

/* ==========================================================
   SECTIONS & CATALOG
   ========================================================== */
section {
    padding: 100px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-container {
    padding: 40px;
    text-align: center;
}

.section-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d1d5db;
    max-width: 800px;
    margin: 0 auto;
}

/* Catalog Grid */
.katalog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.katalog-item {
    padding: 30px 20px;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.katalog-item:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(212, 160, 23, 0.2);
}

.highlight-card {
    border-color: var(--glass-border-gold);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.katalog-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
}

.katalog-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* ==========================================================
   GALLERY MODAL
   ========================================================== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 20px;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-glass {
    background: rgba(20, 24, 33, 0.9);
    border: 1px solid var(--glass-border-gold);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 1000px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    padding: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    overflow-y: auto;
    padding-right: 5px;
}

.gallery-grid img, .gallery-grid video {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    cursor: zoom-in;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    border-color: var(--gold);
}

/* ==========================================================
   LIGHTBOX FULLSCREEN & ZOOM (PERFORMANS & SIFIR SCROLL)
   ========================================================== */
body.no-scroll {
    overflow: hidden !important;
    height: 100vh !important;
}

.lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 10, 0.96); /* Ağır blur kaldırıldı, kasma tamamen önlendi */
    z-index: 999999;
    justify-content: center;
    align-items: center;
    overflow: hidden !important; /* Çirkin kaydırma çubukları silindi */
    box-sizing: border-box;
    transform: translateZ(0);
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden !important;
}

#lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.9);
    transition: transform 0.25s ease-out;
    cursor: zoom-in;
    user-select: none;
    will-change: transform;
    transform: translateZ(0);
}

#lightbox-img.zoomed {
    transform: scale(1.4) translateZ(0);
    cursor: zoom-out;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 25px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000000;
    user-select: none;
    transition: color 0.2s, transform 0.2s;
}

.lightbox-close:hover {
    color: #d4a017;
    transform: scale(1.15);
}

.lightbox-hint {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-top: 15px;
    pointer-events: none;
    user-select: none;
}

/* ==========================================================
   CONTACT & FOOTER
   ========================================================== */
.contact-wrapper {
    padding: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    margin-top: 15px;
}

.map-container iframe {
    width: 100%;
    height: 280px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
}

/* Footer */
.glass-footer {
    text-align: center;
    padding: 25px;
    background: rgba(10, 12, 16, 0.8);
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.btn-credits {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 60px;
    height: 60px;
    z-index: 999;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ==========================================================
   MOBILE RESPONSIVE
   ========================================================== */
@media (max-width: 768px) {
    header {
        width: 95%;
        top: 10px;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: rgba(15, 17, 23, 0.95);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-radius: var(--radius-md);
        border: 1px solid var(--glass-border-gold);
        gap: 15px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
    }

    .hero-section {
        width: 100%;
        min-height: 45vh;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }

    .hero-buttons {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin: 20px auto 40px;
        width: 90%;
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}