/* Custom styles for General AutoBody And Repairs Inc */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #050507;
    color: #f3f4f6;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* Gold gradient text */
.text-gold-gradient {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

::-webkit-scrollbar-track {
    background: #09090b;
}

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

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9c5c9c, #fbbf24);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(251, 191, 36, 0.6);
    }
}

/* Utility classes */
.float-animation {
    animation: float 6s ease-in-out infinite;
}

.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

/* Reveal animation for scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #09090b;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.btn-secondary {
    border: 2px solid #fbbf24;
    color: #fbbf24;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: #fbbf24;
    color: #09090b;
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Service card */
.service-card {
    background: linear-gradient(145deg, rgba(61, 18, 64, 0.3) 0%, rgba(9, 9, 11, 0.9) 100%);
    border: 1px solid rgba(125, 61, 125, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    transition: border-color 0.3s ease;
}

.service-card:hover {
    border-color: rgba(251, 191, 36, 0.4);
}

/* Hero card */
.hero-card {
    background: linear-gradient(145deg, rgba(125, 61, 125, 0.1) 0%, rgba(21, 4, 19, 0.8) 100%);
    border: 1px solid rgba(251, 191, 36, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
}

/* Section divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #fbbf24 50%, transparent 100%);
}

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

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

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(10px);
}

/* Input styles */
input,
select,
textarea {
    background-color: #050507;
    border: 1px solid #582058;
    color: #f3f4f6;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    width: 100%;
    transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #fbbf24;
}

input::placeholder,
textarea::placeholder {
    color: #6b7280;
}

/* Select styles */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fbbf24' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

select option {
    background-color: #09090b;
    color: #f3f4f6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: 2.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .btn-primary,
    .btn-secondary {
        background: none;
        border: 2px solid black;
        color: black;
    }
}
