/* Custom Styles for Tuffy Tire & Auto Service */

:root {
    --color-dark-900: #0a0f0d;
    --color-dark-800: #111a16;
    --color-dark-700: #1a2620;
    --color-dark-600: #24332a;
    --color-gold-400: #d4a853;
    --color-gold-500: #c49a3e;
    --color-gold-600: #b8860b;
    --color-forest-green: #1b4332;
    --color-forest-green-light: #2d6a4f;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--color-dark-900);
    color: #e5e7eb;
    overflow-x: hidden;
}

/* Typography */
.font-cinzel {
    font-family: 'Cinzel', serif;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* Gold Gradient */
.gold-gradient {
    background: linear-gradient(135deg, #d4a853 0%, #f4d03f 50%, #d4a853 100%);
}

/* Gold Button */
.gold-btn {
    background: linear-gradient(135deg, #d4a853 0%, #f4d03f 50%, #d4a853 100%);
    color: #0a0f0d;
    font-weight: 700;
    transition: all 0.3s ease;
    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 ease;
}

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

.gold-btn:hover {
    box-shadow: 0 0 30px rgba(212, 168, 83, 0.4);
    transform: translateY(-2px);
}

/* Shadow */
.shadow-gold {
    box-shadow: 0 0 30px rgba(212, 168, 83, 0.3);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4a853, #f4d03f);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Mobile Menu */
.mobile-nav-link {
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: #d4a853;
    background: rgba(212, 168, 83, 0.1);
}

/* Service Cards */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #d4a853, #f4d03f, #d4a853);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease forwards;
}

.animate-slide-up-delay {
    animation: slideUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.animate-slide-up-delay-2 {
    animation: slideUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4a853, #b8860b);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f4d03f, #d4a853);
}

/* Input Focus */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #d4a853 !important;
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
}

/* Back to Top */
#back-to-top {
    background: linear-gradient(135deg, #d4a853 0%, #f4d03f 50%, #d4a853 100%);
}

#back-to-top:hover {
    box-shadow: 0 0 20px rgba(212, 168, 83, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .gold-btn {
        width: 100%;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

/* Parallax-like effect for hero */
#home {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    #home {
        background-attachment: scroll;
    }
}

/* Subtle pattern overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 25% 25%, rgba(212, 168, 83, 0.02) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(27, 67, 50, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}
