/* -------------------------------------------------------------
   FIGUR & SANAT ATOLYESI - PREMIUM DARK THEME DESIGN SYSTEM
------------------------------------------------------------- */

:root {
    --bg-body: #0b0d12;
    --bg-header: rgba(15, 18, 26, 0.85);
    --bg-card: #131722;
    --bg-card-hover: #1b2130;
    --bg-input: #171d2b;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(245, 158, 11, 0.25);
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dark: #6b7280;
    
    --gold-primary: #f59e0b;
    --gold-hover: #d97706;
    --gold-glow: rgba(245, 158, 11, 0.3);
    
    --whatsapp-green: #25D366;
    --whatsapp-hover: #1eaa4d;
    --whatsapp-glow: rgba(37, 211, 102, 0.35);

    --cyan-accent: #06b6d4;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body.bg-dark-app {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

/* -------------------------------------------------------------
   HEADER & NAVIGATION
------------------------------------------------------------- */
.app-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: var(--bg-header);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
}

.brand-logo i {
    color: var(--gold-primary);
    filter: drop-shadow(0 0 10px var(--gold-glow));
    font-size: 1.6rem;
}

.brand-badge {
    font-size: 0.65rem;
    background: linear-gradient(135deg, var(--gold-primary), #b45309);
    color: #000;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-transform: uppercase;
}

.nav-item-link {
    color: #d1d5db;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item-link:hover, .nav-item-link.active {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.06);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    display: none;
    flex-direction: column;
    z-index: 1050;
    animation: fadeInDown 0.2s ease-out forwards;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: flex;
}

.dropdown-link {
    padding: 10px 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-link:hover {
    color: var(--gold-primary);
    background-color: rgba(245, 158, 11, 0.08);
    padding-left: 18px;
}

/* -------------------------------------------------------------
   HERO BANNER
------------------------------------------------------------- */
.hero-banner-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    min-height: 440px;
    display: flex;
    align-items: center;
}

.hero-faded-figure {
    max-height: 720px;
    width: 100%;
    max-width: 860px;
    object-fit: contain;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 65% 50%, #000000 48%, rgba(0, 0, 0, 0.85) 68%, transparent 96%);
    mask-image: radial-gradient(ellipse 80% 80% at 65% 50%, #000000 48%, rgba(0, 0, 0, 0.85) 68%, transparent 96%);
    transition: transform 0.5s ease;
}

.hero-faded-figure:hover {
    transform: scale(1.015);
}

.hero-neon-logo {
    max-height: 380px;
    width: 100%;
    max-width: 480px;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(0, 243, 255, 0.85));
    transition: transform 0.3s ease;
}

.hero-neon-logo:hover {
    transform: scale(1.02);
}


.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45) contrast(1.1);
    transition: transform 10s ease;
}

.hero-banner-container:hover .hero-bg-img {
    transform: scale(1.03);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 3.5rem 2.5rem;
    max-width: 680px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: var(--gold-primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #d1d5db;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* -------------------------------------------------------------
   BUTTONS & BADGES
------------------------------------------------------------- */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-primary), #d97706);
    color: #000000;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px var(--gold-glow);
    cursor: pointer;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #fbbf24, var(--gold-primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
    color: #000;
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp-green), #1aa34a);
    color: #ffffff;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px var(--whatsapp-glow);
    cursor: pointer;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #2fe671, var(--whatsapp-green));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.btn-outline-custom {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-outline-custom:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* -------------------------------------------------------------
   PRODUCT CARDS
------------------------------------------------------------- */
.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.35);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
}

.product-img-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: #090b0e;
    cursor: pointer;
}

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

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

.product-badge-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: rgba(11, 13, 18, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    color: var(--gold-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.product-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.35;
    cursor: pointer;
    transition: var(--transition-fast);
}

.product-title:hover {
    color: var(--gold-primary);
}

.product-subcat {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.product-price-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.product-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gold-primary);
}

.product-original-price {
    font-size: 0.9rem;
    color: var(--text-dark);
    text-decoration: line-through;
    margin-right: 6px;
}

/* -------------------------------------------------------------
   PRODUCT DETAIL PAGE (REFERENCE STYLED)
------------------------------------------------------------- */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.breadcrumb-nav a:hover {
    color: var(--gold-primary);
}

.detail-gallery-main {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: #07080b;
    aspect-ratio: 4/3;
    margin-bottom: 1rem;
}

.detail-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
}

.gallery-thumb {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border-color);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-fast);
    opacity: 0.7;
}

.gallery-thumb.active, .gallery-thumb:hover {
    border-color: var(--gold-primary);
    opacity: 1;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.spec-item {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
}

.spec-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.spec-value {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 600;
}

/* -------------------------------------------------------------
   CART DRAWER & BANK TRANSFER MODAL
------------------------------------------------------------- */
.cart-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1080;
    animation: fadeIn 0.25s ease-out;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    background-color: var(--bg-card);
    border-left: 1px solid var(--border-color);
    z-index: 1090;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-drawer-body {
    padding: 1.5rem;
    flex-grow: 1;
    overflow-y: auto;
}

.cart-item-row {
    display: flex;
    gap: 14px;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.iban-box {
    background-color: rgba(245, 158, 11, 0.08);
    border: 1px dashed var(--gold-primary);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.iban-code {
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 1px;
}

/* -------------------------------------------------------------
   ADMIN PANEL STYLES
------------------------------------------------------------- */
.admin-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-control-dark {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    color: #ffffff;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
}

.form-control-dark:focus {
    background-color: var(--bg-input);
    border-color: var(--gold-primary);
    color: #ffffff;
    box-shadow: 0 0 0 3px var(--gold-glow);
}

.table-dark-custom {
    color: var(--text-main);
}

.table-dark-custom th {
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.table-dark-custom td {
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
