/* =========================================================
   DANYAL TURİZM & WHITE-LABEL TOURISM ENGINE
   4 Exclusive Ready-to-Sell Themes + Dark Mode
   ========================================================= */

/* 1. Apple & Airbnb Clean (Varsayılan) */
[data-theme="apple_clean"], :root {
    --primary-color: #0284c7;
    --primary-hover: #0369a1;
    --apple-blue: #0284c7;
    --apple-blue-hover: #0369a1;
    --secondary-color: #0f172a;
    --accent-color: #f59e0b;
    --site-bg: #f8fafc;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --text-color: #0f172a;
    --text-muted: #64748b;
    --navbar-bg: #ffffff;
    --topbar-bg: #0f172a;
}

/* 2. VIP Midnight Luxury (Gece & Prestij) */
[data-theme="vip_dark"] {
    --primary-color: #eab308;
    --primary-hover: #ca8a04;
    --apple-blue: #eab308;
    --apple-blue-hover: #ca8a04;
    --secondary-color: #050811;
    --accent-color: #38bdf8;
    --site-bg: #0b0f19;
    --card-bg: #111827;
    --card-border: rgba(255, 255, 255, 0.1);
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --navbar-bg: #0d121f;
    --topbar-bg: #060911;
}

[data-theme="vip_dark"] body {
    background-color: #0b0f19 !important;
    color: #f8fafc !important;
}

[data-theme="vip_dark"] .top-bar {
    background-color: #060911 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="vip_dark"] header {
    background-color: #0d121f !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="vip_dark"] header .logo a h1 {
    color: #eab308 !important;
}

[data-theme="vip_dark"] header .logo a h1 span {
    color: #ffffff !important;
}

[data-theme="vip_dark"] nav ul li a {
    color: #cbd5e1 !important;
}

[data-theme="vip_dark"] nav ul li a:hover,
[data-theme="vip_dark"] nav ul li a.active {
    color: #eab308 !important;
}

[data-theme="vip_dark"] .tours-section,
[data-theme="vip_dark"] .tour-content,
[data-theme="vip_dark"] section {
    background-color: #0b0f19 !important;
}

[data-theme="vip_dark"] .tour-card,
[data-theme="vip_dark"] .tour-description,
[data-theme="vip_dark"] .booking-calc-card,
[data-theme="vip_dark"] .blog-card,
[data-theme="vip_dark"] .feature-card,
[data-theme="vip_dark"] .review-card,
[data-theme="vip_dark"] .s-tour-card,
[data-theme="vip_dark"] .error-card,
[data-theme="vip_dark"] .faq-item {
    background-color: #111827 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #f8fafc !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="vip_dark"] .tour-card .card-body h4 a,
[data-theme="vip_dark"] .s-tour-title,
[data-theme="vip_dark"] .tour-title,
[data-theme="vip_dark"] h1, [data-theme="vip_dark"] h2, [data-theme="vip_dark"] h3, [data-theme="vip_dark"] h4 {
    color: #f8fafc !important;
}

[data-theme="vip_dark"] .tour-description p,
[data-theme="vip_dark"] .description-text,
[data-theme="vip_dark"] .timeline-day-content,
[data-theme="vip_dark"] .faq-answer {
    color: #cbd5e1 !important;
}

[data-theme="vip_dark"] .apple-tabs-nav {
    background: #1f2937 !important;
}

[data-theme="vip_dark"] .apple-tab-btn {
    color: #94a3b8 !important;
}

[data-theme="vip_dark"] .apple-tab-btn.active {
    background: #111827 !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="vip_dark"] .timeline-day-card,
[data-theme="vip_dark"] .single-day-card,
[data-theme="vip_dark"] .program-action-bar {
    background: #151d30 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #f8fafc !important;
}

[data-theme="vip_dark"] .timeline-day-title {
    color: #f8fafc !important;
}

[data-theme="vip_dark"] .card-included-green {
    background: rgba(22, 101, 52, 0.18) !important;
    border-color: rgba(34, 197, 94, 0.3) !important;
}

[data-theme="vip_dark"] .card-excluded-red {
    background: rgba(153, 27, 27, 0.18) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

[data-theme="vip_dark"] .footer {
    background-color: #060911 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* 3. Mediterranean Warm (Akdeniz & Gün Batımı) */
[data-theme="mediterranean_warm"] {
    --primary-color: #ea580c;
    --primary-hover: #c2410c;
    --apple-blue: #ea580c;
    --apple-blue-hover: #c2410c;
    --secondary-color: #1c1917;
    --accent-color: #0d9488;
    --site-bg: #fdfbf7;
    --card-bg: #ffffff;
    --card-border: #f0eae1;
    --text-color: #292524;
    --text-muted: #78716c;
    --navbar-bg: #ffffff;
    --topbar-bg: #1c1917;
}

[data-theme="mediterranean_warm"] body {
    background-color: #fdfbf7 !important;
    color: #292524 !important;
}

[data-theme="mediterranean_warm"] .tour-card,
[data-theme="mediterranean_warm"] .tour-description,
[data-theme="mediterranean_warm"] .booking-calc-card,
[data-theme="mediterranean_warm"] .blog-card {
    border-color: #f0eae1 !important;
}

[data-theme="mediterranean_warm"] .top-bar {
    background-color: #292524 !important;
}

/* 4. Emerald Nature (Doğa & Karadeniz) */
[data-theme="emerald_nature"] {
    --primary-color: #059669;
    --primary-hover: #047857;
    --apple-blue: #059669;
    --apple-blue-hover: #047857;
    --secondary-color: #064e3b;
    --accent-color: #d97706;
    --site-bg: #f2f7f4;
    --card-bg: #ffffff;
    --card-border: #d1e2d7;
    --text-color: #132a1e;
    --text-muted: #4b6354;
    --navbar-bg: #ffffff;
    --topbar-bg: #064e3b;
}

[data-theme="emerald_nature"] body {
    background-color: #f2f7f4 !important;
    color: #132a1e !important;
}

[data-theme="emerald_nature"] .tour-card,
[data-theme="emerald_nature"] .tour-description,
[data-theme="emerald_nature"] .booking-calc-card,
[data-theme="emerald_nature"] .blog-card {
    border-color: #d1e2d7 !important;
}

[data-theme="emerald_nature"] .top-bar {
    background-color: #064e3b !important;
}

/* =========================================================
   ADMIN PANEL THEMES (Dark / Light)
   ========================================================= */

body.admin-dark-mode {
    background: #0b0f19 !important;
    color: #f1f5f9 !important;
}

body.admin-dark-mode .sidebar {
    background: linear-gradient(180deg, #070a12, #0b1120) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.admin-dark-mode .main-header h1,
body.admin-dark-mode h2,
body.admin-dark-mode h3,
body.admin-dark-mode h4 {
    color: #f8fafc !important;
}

body.admin-dark-mode .card,
body.admin-dark-mode .stat-card,
body.admin-dark-mode .form-card,
body.admin-dark-mode .settings-card,
body.admin-dark-mode .table-card,
body.admin-dark-mode .table-responsive {
    background: #111827 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4) !important;
}

body.admin-dark-mode table thead th {
    background: #1f2937 !important;
    color: #94a3b8 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body.admin-dark-mode table tbody td {
    color: #cbd5e1 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body.admin-dark-mode input,
body.admin-dark-mode select,
body.admin-dark-mode textarea {
    background: #1f2937 !important;
    border-color: #374151 !important;
    color: #f8fafc !important;
}
