/* ==========================================================
   ZMS HOME - Lüks & Modern Kurumsal Tasarım Sistemi
   ========================================================== */

:root {
    --color-bg-dark: #0f1013;
    --color-card-dark: #17181c;
    --color-surface-dark: #202127;
    --color-gold-primary: #d4af37;
    --color-gold-hover: #b89726;
    --color-gold-light: #f5e7a9;
    --color-gold-gradient: linear-gradient(135deg, #d4af37 0%, #f9e8ad 50%, #aa8214 100%);
    --color-gold-glow: rgba(212, 175, 55, 0.25);
    --color-text-main: #1e293b;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: #fafafb;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Gold Gradient Text */
.text-gold-gradient {
    background: var(--color-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gold-gradient {
    background: var(--color-gold-gradient);
    color: #0f1013;
}

.gold-glow {
    box-shadow: 0 10px 25px -5px var(--color-gold-glow);
}

.gold-border {
    border-color: rgba(212, 175, 55, 0.4) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f1013;
}
::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 4px;
}

/* Header & Nav */
.header-topbar {
    background: #0a0a0c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}

.main-navbar {
    background: rgba(15, 16, 19, 0.95);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.navbar-scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    background: rgba(10, 10, 12, 0.98);
}

.nav-link {
    color: #cbd5e1;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    padding: 0.5rem 0.75rem;
}

.nav-link:hover, .nav-link.active {
    color: #f5e7a9;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-gold-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

/* Buttons */
.btn-gold {
    background: var(--color-gold-gradient);
    color: #0f1013;
    font-weight: 600;
    border: none;
    border-radius: 9999px;
    padding: 0.75rem 1.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    cursor: pointer;
    text-decoration: none;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
    color: #000;
}

.btn-outline-gold {
    border: 2px solid var(--color-gold-primary);
    color: var(--color-gold-primary);
    background: transparent;
    font-weight: 600;
    border-radius: 9999px;
    padding: 0.75rem 1.75rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-outline-gold:hover {
    background: var(--color-gold-primary);
    color: #0f1013;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    padding: 12px 20px 12px 16px;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    background-color: #1eb954;
    color: #fff;
    transform: scale(1.06) translateY(-4px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-text {
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-body);
    white-space: nowrap;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.12) 0%, rgba(15, 16, 19, 1) 65%);
    color: #fff;
    overflow: hidden;
}

.hero-overlay-grid {
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 0);
    background-size: 32px 32px;
}

/* Feature Cards & Badges */
.feature-badge-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(8px);
    border-radius: 9999px;
    padding: 6px 16px;
    font-size: 0.85rem;
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.feature-badge-pill:hover {
    border-color: var(--color-gold-primary);
    background: rgba(212, 175, 55, 0.1);
    color: #fff;
}

/* Product Card */
.product-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
    border-color: rgba(212, 175, 55, 0.6);
}

.product-card .img-box {
    position: relative;
    overflow: hidden;
    height: 240px;
    background: #f8f9fa;
}

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

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

/* Sector Card */
.sector-card {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    height: 320px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

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

.sector-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 16, 19, 0.95) 0%, rgba(15, 16, 19, 0.4) 50%, rgba(15, 16, 19, 0.1) 100%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    transition: all 0.3s ease;
}

.sector-card:hover img {
    transform: scale(1.1);
}

.sector-card:hover .overlay {
    background: linear-gradient(to top, rgba(15, 16, 19, 0.98) 0%, rgba(212, 175, 55, 0.3) 60%, rgba(15, 16, 19, 0.2) 100%);
}

/* Admin Styling */
.admin-sidebar {
    background: #0f1013;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: #94a3b8;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.admin-nav-item:hover, .admin-nav-item.active {
    background: rgba(212, 175, 55, 0.12);
    color: #f5e7a9;
    border-left: 3px solid var(--color-gold-primary);
}

.admin-card {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        font-size: 24px;
        padding: 10px 14px;
    }
    .whatsapp-text {
        font-size: 12px;
    }
}
