/* Reza Chauffeur Service - Custom Styles */

/* Animation keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounceOnce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    70% {
        transform: translateY(-5px);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation classes */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
    animation: slideInUp 0.6s ease-out forwards;
}

.animate-bounce-once {
    animation: bounceOnce 0.8s ease-out 1s;
}

.animate-count-up {
    animation: countUp 0.6s ease-out forwards;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Primary CTA Button - Gold */
.btn-primary {
    background-color: #C9A227;
    color: #000;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #B08D1F;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 162, 39, 0.3);
}

/* Secondary CTA Button - Outline */
.btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Floating Contact Buttons - Mobile */
.floating-btn {
    border-radius: 9999px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Mobile floating bar with safe area */
.mobile-floating-bar {
    padding-bottom: env(safe-area-inset-bottom, 0);
    bottom: 0;
    left: 0;
    right: 0;
}

/* Stats Number Styling */
.stat-number {
    font-weight: 700;
    color: #B8951A;
}

/* Gold border for images */
.gold-border {
    border: 1px solid rgba(201, 162, 39, 0.3);
}

/* Logo styling */
.logo-circle {
    border: 1px solid rgba(201, 162, 39, 0.4);
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.1);
}

/* Hero subheading max-width */
.hero-subheading {
    max-width: 600px;
    line-height: 1.8;
}

/* Form styles */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: white;
    -webkit-box-shadow: 0 0 0px 1000px #000 inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* Selection color */
::selection {
    background-color: #C9A227;
    color: #000;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C9A227;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #C9A227;
    outline-offset: 2px;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Image loading placeholder */
img {
    background-color: #171717;
}

/* Custom date/time picker styling */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* Button luxury effect */
.btn-luxury {
    position: relative;
    overflow: hidden;
}

.btn-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-luxury:hover::before {
    left: 100%;
}

/* Card hover lift effect */
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Text gradient */
.text-gradient-gold {
    background: linear-gradient(135deg, #C9A227 0%, #D4B84A 50%, #A88520 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Border gradient */
.border-gradient-gold {
    border-image: linear-gradient(135deg, #C9A227, #D4B84A, #A88520) 1;
}

/* Glass effect */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Testimonial card */
.testimonial-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Font display swap for performance */
@font-face {
    font-family: 'Playfair Display';
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    font-display: swap;
}

/* Responsive typography */
@media (max-width: 640px) {
    .font-display {
        letter-spacing: -0.02em;
    }
}

/* Print styles */
@media print {
    nav, footer, .floating-contact {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
