/*
Theme Name: Demet Flower VIP Theme
Author: Sebo
Version: 1.0
Description: Demet Flower Butik Çiçekçilik Özel Lüks Teması
*/

/* GENEL SIFIRLAMA & TANIMLAR */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #F7F4EF;
    --card-bg: #FFFFFF;
    --primary-color: #111815;
    --gold-color: #C5A059;
    --text-dark: #1C1C1C;
    --text-muted: #666666;
    --white: #FFFFFF;
    --wa-green: #25D366;
}

body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
}

/* ÜST BİLGİ BARI */
.top-bar {
    background-color: #0A100E;
    color: var(--gold-color);
    padding: 8px 5%;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.top-bar a {
    color: var(--gold-color);
    text-decoration: none;
}

/* HEADER */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo h1 {
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: #FFFFFF;
}

.logo span {
    color: var(--gold-color);
}

.logo p {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

/* MENÜ & DROPDOWN */
.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--gold-color);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #16221D;
    min-width: 260px;
    box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 12px 0;
    z-index: 1000;
    border: 1px solid rgba(197, 160, 89, 0.25);
}

.dropdown-content a {
    color: #EAEAEA !important;
    padding: 10px 22px;
    text-decoration: none;
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-content a:hover {
    background-color: #0F1714;
    color: var(--gold-color) !important;
    border-left: 3px solid var(--gold-color);
    padding-left: 26px;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.25s ease-in-out;
}

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

.btn-primary-small {
    background-color: transparent;
    color: var(--gold-color);
    border: 1px solid var(--gold-color);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary-small:hover {
    background-color: var(--gold-color);
    color: #0F1714;
}

/* HERO BÖLÜMÜ */
.hero {
    background: linear-gradient(rgba(15, 23, 20, 0.75), rgba(15, 23, 20, 0.75)), 
                url('https://images.unsplash.com/photo-1563241527-3004b7be0ffd?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.sub-title {
    color: var(--gold-color);
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero h2 {
    font-size: 3rem;
    margin: 15px 0;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-gold {
    background-color: var(--gold-color);
    color: #0F1714;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: transform 0.2s;
}

.btn-whatsapp-hero {
    background-color: var(--wa-green);
    color: var(--white);
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
}

.btn-gold:hover, .btn-whatsapp-hero:hover {
    transform: translateY(-3px);
}

/* AVANTAJLAR BARI */
.features-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #121C18;
    padding: 30px 5%;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    text-align: center;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-item span {
    font-size: 2rem;
    display: block;
    margin-bottom: 5px;
}

.feature-item h4 {
    font-size: 1.1rem;
    color: var(--gold-color);
}

.feature-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* KATEGORİLER & ÜRÜNLER GENEL */
.categories-section, .products-section {
    padding: 60px 5%;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 2px;
    background-color: var(--gold-color);
    display: block;
    margin: 10px auto 0;
}

.category-grid, .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.category-card {
    position: relative;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 20, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: var(--white);
}

.card-overlay h4 {
    font-size: 1.6rem;
}

.card-overlay a {
    color: var(--gold-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 5px;
}

/* PRODUCT KARTLARI */
.product-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(197, 160, 89, 0.25) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(17, 24, 21, 0.12) !important;
    border-color: var(--gold-color) !important;
}

.product-img {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease !important;
}

.product-card:hover .product-img img {
    transform: scale(1.06);
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--gold-color);
    color: #0F1714;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 3px;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.price {
    color: #A07830;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 1.4rem !important;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.btn-product-wa {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--gold-color);
    border: 1px solid var(--primary-color);
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-product-wa:hover {
    background-color: var(--gold-color);
    color: var(--primary-color);
    border-color: var(--gold-color);
    box-shadow: 0 6px 18px rgba(197, 160, 89, 0.3);
}

/* BANNER & SSS */
.special-banner {
    background: linear-gradient(rgba(15, 23, 20, 0.85), rgba(15, 23, 20, 0.85)), 
                url('https://images.unsplash.com/photo-1563241527-3004b7be0ffd?q=80&w=1600&auto=format&fit=crop') center/cover fixed;
    padding: 80px 20px;
    text-align: center;
    color: var(--white);
    margin: 40px 0;
}

.banner-content {
    max-width: 700px;
    margin: 0 auto;
}

.banner-content h3 {
    font-size: 2.5rem;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.faq-section {
    padding: 60px 5%;
    background-color: #EFEBE4;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 20px;
    border-radius: 8px;
    background: #FFFFFF;
}

.faq-item h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* FOOTER & SABİT WHATSAPP */
footer {
    background-color: #0A100E;
    color: var(--white);
    padding: 50px 5% 20px;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h3, .footer-col h4 {
    color: var(--gold-color);
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.85rem;
    opacity: 0.7;
}

.fixed-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: var(--wa-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.fixed-whatsapp:hover {
    transform: scale(1.1);
}

.wa-icon {
    width: 32px;
    height: 32px;
}

.mobile-bottom-nav, .mobile-menu-toggle {
    display: none;
}

/* KATEGORİ HERO BANNER */
.category-hero {
    height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.category-hero h2 {
    font-size: 2.8rem;
    margin: 15px 0;
    letter-spacing: 1px;
    font-weight: 600;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.category-hero p {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    max-width: 650px;
    margin: 0 auto;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* VARSAYILAN BAZI LÜZUMSUZ BİLEŞENLERİ GİZLEME */
.product_type_simple, 
a.button.wp-element-button,
.single-product .product_meta, 
.single-product .woocommerce-tabs, 
.single-product .related.products {
    display: none !important;
}

/* MOBİL TASARIM (TEK ÇATI ALTINDA BİRLEŞTİRİLDİ) */
@media (max-width: 768px) {
    body {
        padding-bottom: 60px;
    }

    .desktop-only, .fixed-whatsapp {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block !important;
        background: transparent;
        border: 1px solid var(--gold-color);
        color: var(--gold-color);
        font-size: 1.4rem;
        padding: 4px 10px;
        border-radius: 4px;
        cursor: pointer;
    }

    .top-bar {
        font-size: 0.7rem !important;
        padding: 5px 10px !important;
        text-align: center;
    }

    .navbar {
        padding: 10px 15px !important;
        height: 60px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .logo h1 {
        font-size: 1.1rem !important;
        letter-spacing: 1px !important;
    }

    .logo p {
        font-size: 0.45rem !important;
    }

    .nav-container {
        display: none;
        position: fixed;
        top: 95px;
        left: 0;
        right: 0;
        background: #0F1714;
        padding: 20px;
        border-bottom: 1px solid var(--gold-color);
        box-shadow: 0 10px 25px rgba(0,0,0,0.5);
        z-index: 999;
    }

    .nav-container.active {
        display: block !important;
    }

    .nav-links {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: flex-start !important;
    }

    .nav-links a {
        font-size: 0.95rem !important;
    }

    .dropdown-content {
        display: none !important;
    }
    
    .dropdown.open > .dropdown-content {
        display: block !important;
        position: static !important;
        background: #16221D !important;
        margin-top: 10px;
        padding: 10px;
        border-radius: 6px;
        box-shadow: none !important;
    }

    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #0A100E;
        padding: 8px 0;
        border-top: 1px solid rgba(197, 160, 89, 0.3);
        z-index: 9999;
    }

    .mobile-bottom-nav .nav-item {
        color: #FFFFFF;
        text-decoration: none;
        text-align: center;
        font-size: 0.75rem;
        flex: 1;
    }

    .mobile-bottom-nav .nav-item span {
        display: block;
        font-size: 1.2rem;
    }

    .mobile-bottom-nav .wa-nav {
        color: var(--gold-color);
        font-weight: 600;
    }

    .product-grid, .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
        gap: 12px !important;
    }

    .product-info h4 {
        font-size: 1rem !important;
    }

    .category-hero {
        height: 35vh !important;
    }

    .category-hero h2 {
        font-size: 1.8rem !important;
    }

    .hero h2 {
        font-size: 2.2rem !important;
    }
}