/*
 * A to Z Car Rental - Main Stylesheet
 * * Note: Core layout handles by Tailwind CSS (loaded via CDN).
 * This file handles specific overrides, animations, and WordPress standards.
 */

/* ================= 1. GLOBAL TYPOGRAPHY (Luxury Standard) ================= */
html {
    scroll-behavior: smooth;
    background-color: #000000; /* Prevent white flash on load */
}

body {
    background-color: #000000;
    color: #F5F5F5; /* Off-white for body text for readability against black */
    font-family: 'Lato', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 🔥 RULE: All Headings Must Be White */
h1, h2, h3, h4, h5, h6 {
    color: #FFFFFF !important;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Gold Text Utility */
.text-luxury-gold {
    color: #D4AF37 !important;
}

/* ================= 2. CUSTOM SCROLLBAR (Gold/Black) ================= */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #000000; 
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #D4AF37 0%, #B8860B 100%); 
    border-radius: 5px;
    border: 2px solid #000000;
}

::-webkit-scrollbar-thumb:hover {
    background: #FFFDD0; /* Cream gold on hover */
}

/* ================= 3. LUXURY BUTTONS ================= */
/* Primary Gold Button */
.btn-luxury {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: #000000;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

/* Shine Effect Animation */
.btn-luxury::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-luxury:hover::after {
    left: 100%;
}

.btn-luxury:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px -10px rgba(212, 175, 55, 0.6); /* Gold Glow */
    color: #000000;
}

/* Outline Button */
.btn-outline-luxury {
    position: relative;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.btn-outline-luxury:hover {
    border-color: #D4AF37;
    background: rgba(212, 175, 55, 0.1); /* Subtle gold tint */
    color: #D4AF37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* ================= 4. ANIMATIONS & EFFECTS ================= */

/* Text Glow (Subtle Neon) */
.text-glow {
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Slow Background Zoom (Hero) */
@keyframes slow-zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}
.animate-slow-zoom {
    animation: slow-zoom 20s infinite alternate linear;
}

/* Hero Slideshow Animation */
@keyframes slideshow {
    0%, 45% { opacity: 1; }
    50%, 95% { opacity: 0; }
    100% { opacity: 1; }
}
.animate-fade-slideshow {
    animation: slideshow 10s infinite;
}

/* Fade In Up (for content) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
.fade-in-up {
    animation-name: fadeInUp;
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

/* ================= 5. WORDPRESS STANDARDS ================= */
.aligncenter {
    display: block;
    margin: 0 auto;
}
.alignright {
    float: right;
    margin-left: 1.5em;
}
.alignleft {
    float: left;
    margin-right: 1.5em;
}
.wp-caption {
    max-width: 100%;
    background: #111;
    padding: 10px;
    border: 1px solid #333;
}
.wp-caption-text {
    color: #888;
    font-size: 0.9em;
    text-align: center;
    margin-top: 5px;
}

/* ================= 6. MOBILE MENU OVERRIDES ================= */
#mobile-menu {
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
    backdrop-filter: blur(15px); /* Premium Glassmorphism */
    background-color: rgba(0, 0, 0, 0.95);
}

body.mobile-menu-open {
    overflow: hidden;
}