/*
Theme Name: VIP Rent a Car Tour Islamabad
Theme URI: https://share.google/54KQmdGYYJXZJR6xS
Author: VIP Rent a Car Team
Author URI: https://share.google/54KQmdGYYJXZJR6xS
Description: Premium Luxury Car Rental & Tour WordPress Theme for Islamabad & Rawalpindi with built-in Day/Night Mode, AutoRental Schema.org JSON-LD, WhatsApp instant booking desk, and fleet rate calculator.
Version: 1.0.3
Tested up to: 6.7
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vip-rent-a-car
Tags: car-rental, auto-rental, luxury, chauffeur, tour, schema, tailwind, dark-mode, custom-post-type
*/

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Day Mode (Light Theme) */
html:not(.dark) body {
  background-color: #F8FAFC;
  color: #0F172A;
}

/* Night Mode (Elegant Luxury Midnight Navy/Slate Shade - not pitch black) */
html.dark body {
  background-color: #0F172A;
  color: #F1F5F9;
}

/* Gradients */
.gold-gradient {
  background: linear-gradient(135deg, #F5D061 0%, #D4AF37 50%, #AA820A 100%);
  color: #000000 !important;
}

/* Gold Text Gradient for Night Mode */
html.dark .gold-text-gradient {
  color: #E6C35C;
  background: linear-gradient(135deg, #FFF0B3 0%, #E6C35C 50%, #B88E18 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Gold Text Gradient for Day Mode */
html:not(.dark) .gold-text-gradient {
  color: #B8860B;
  background: linear-gradient(135deg, #B8860B 0%, #996515 50%, #704214 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Top Announcement Bar */
html.dark .top-announcement-bar {
  background: linear-gradient(90deg, #381A05 0%, #111827 50%, #2E1504 100%) !important;
  color: #F8FAFC !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3) !important;
}
html:not(.dark) .top-announcement-bar {
  background: linear-gradient(90deg, #FDF4E3 0%, #FFFBEB 50%, #FEF3C7 100%) !important;
  color: #78350F !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4) !important;
}

/* Header & Navigation Styles */
/* Night Mode Header */
html.dark header.site-header {
  background-color: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid #1E293B !important;
}
html.dark header.site-header nav a,
html.dark header.site-header a.nav-link-item {
  color: #E2E8F0 !important;
}
html.dark header.site-header nav a:hover,
html.dark header.site-header a.nav-link-item:hover {
  color: #D4AF37 !important;
}
html.dark header.site-header .brand-title {
  color: #FFFFFF !important;
}
html.dark header.site-header .quick-inquiry-btn {
  color: #E2E8F0 !important;
  background-color: #1E293B !important;
  border: 1px solid #334155 !important;
}

/* Day Mode Header */
html:not(.dark) header.site-header {
  background-color: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid #E2E8F0 !important;
}
html:not(.dark) header.site-header nav a,
html:not(.dark) header.site-header a.nav-link-item {
  color: #334155 !important;
}
html:not(.dark) header.site-header nav a:hover,
html:not(.dark) header.site-header a.nav-link-item:hover {
  color: #B8860B !important;
}
html:not(.dark) header.site-header .brand-title {
  color: #0F172A !important;
}
html:not(.dark) header.site-header .quick-inquiry-btn {
  color: #1E293B !important;
  background-color: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
}

/* WP Nav Menu integration */
.vip-nav-menu ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
html.dark .vip-nav-menu li a {
  color: #E2E8F0 !important;
}
html:not(.dark) .vip-nav-menu li a {
  color: #334155 !important;
}
html.dark .vip-nav-menu li a:hover {
  color: #D4AF37 !important;
}
html:not(.dark) .vip-nav-menu li a:hover {
  color: #B8860B !important;
}

/* Adaptive Glass Cards */
.glass-card {
  transition: all 0.25s ease-in-out;
}
html.dark .glass-card {
  background: rgba(26, 36, 56, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #E2E8F0;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.25);
}
html:not(.dark) .glass-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #1E293B;
  box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.05);
}
.glass-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 10px 25px -5px rgba(212, 175, 55, 0.18);
}

/* Bottom Sheet Popup Animations */
#bottom-popup {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}
#bottom-popup.popup-hidden {
  transform: translateY(115%);
  opacity: 0;
  pointer-events: none;
}
#bottom-popup.popup-visible {
  transform: translateY(0%);
  opacity: 1;
  pointer-events: auto;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #94A3B8;
  border-radius: 4px;
}
html.dark ::-webkit-scrollbar-thumb {
  background: #334155;
}
