/* Custom styles for premium dark luxury auto detailing website */

:root {
    --gold-light: #fcd34d;
    --gold-primary: #f59e0b;
    --gold-dark: #d97706;
    --terracotta-light: #ee9a82;
    --terracotta-primary: #e36f4f;
    --terracotta-dark: #c43e22;
    --sand-light: #fefce8;
    --sand-primary: #fef9c3;
    --sand-dark: #854d0e;
    --dark-900: #0a0a0a;
    --dark-800: #111111;
    --dark-700: #1a1a1a;
    --dark-600: #222222;
    --dark-500: #2a2a2a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--dark-900);
    color: #f5f0eb;
    line-height: 1.6;
    overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
    background: var(--dark-700);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--gold-primary), var(--gold-primary));
}

/* Gold gradient text */
.gold-gradient-text {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Terracotta gradient text */
.terracotta-gradient-text {
    background: linear-gradient(135deg, var(--terracotta-light) 0%, var(--terracotta-primary) 50%, var(--terracotta-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero gradient background */
.hero-gradient {
    background: linear-gradient(135deg, var(--dark-700) 0%, #2a1a1a 25%, #1a2a2a 50%, #2a2a1a 75%, var(--dark-900) 100%);
}

/* Service card styling */
.service-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.9), rgba(42, 42, 42, 0.9));
    border: 1px solid rgba(251, 191, 36, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    border-color: rgba(251, 191, 36, 0.6);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15);
}

/* Navigation link underline effect */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, var(--gold-light), var(--gold-primary));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Card hover effect */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15);
}

/* Scroll indicator animation */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--gold-primary) !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2) !important;
}

/* Button hover effects */
button[type="submit"]:hover {
    transform: scale(1.05);
}

/* Image hover zoom */
.aspect-square img,
.aspect-\[4\/5\] img {
    transition: transform 0.5s ease;
}

.aspect-square:hover img,
.aspect-\[4\/5\]:hover img {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif.text-5xl {
        font-size: 2.5rem;
    }
    
    .font-serif.text-4xl {
        font-size: 2rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Print styles */
@media print {
    .scroll-indicator,
    .mobile-menu {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
