/* Custom CRC Taxi & Limo Service Styles */

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0D0D0D;
}

::-webkit-scrollbar-thumb {
    background: #C8A75B;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E5C97A;
}

/* Typography */
.font-display {
    font-family: 'Playfair Display', serif;
}

.font-body {
    font-family: 'Inter', sans-serif;
}

/* Gold Button Style */
.gold-btn {
    background: linear-gradient(135deg, #C8A75B 0%, #E5C97A 100%);
    color: #0D0D0D;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(200, 167, 91, 0.3);
    position: relative;
    overflow: hidden;
}

.gold-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.gold-btn:hover::before {
    left: 100%;
}

.gold-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 167, 91, 0.4);
}

/* Secondary Button */
.secondary-btn {
    background: transparent;
    color: #F5F5F5;
    border: 2px solid #C8A75B;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: #C8A75B;
    color: #0D0D0D;
    transform: translateY(-2px);
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Delays for staggered animations */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* Image Hover Effects */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.7s ease;
}

.img-zoom:hover img {
    transform: scale(1.1);
}

/* Gold Border Glow */
.gold-glow {
    box-shadow: 0 0 20px rgba(200, 167, 91, 0.3);
}

/* Text Selection */
::selection {
    background: #C8A75B;
    color: #0D0D0D;
}

/* Form Input Focus Effects */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(200, 167, 91, 0.1);
}

/* Smooth transitions for links */
a {
    transition: color 0.3s ease;
}

/* Card Hover Effects */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: rgba(200, 167, 91, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Hero Parallax Effect */
.hero-bg {
    will-change: transform;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    /* Ensure smooth scrolling on mobile */
    html {
        scroll-behavior: smooth;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .fixed {
        display: none !important;
    }

    .bg-crc-black {
        background: white !important;
        color: black !important;
    }
}