/* Dark Blue Theme CSS for A & S Garage LLC */

/* Root Variables */
:root {
    --chalk-bg: #0a1628;
    --chalk-dark: #061018;
    --chalk-light: #1a2332;
    --chalk-white: #f8fafc;
    --chalk-gray: #64748b;
    --chalk-primary: #3b82f6;
    --chalk-secondary: #06b6d4;
    --chalk-accent: #8b5cf6;
    --chalk-success: #10b981;
    --chalk-warning: #f59e0b;
    --chalk-danger: #ef4444;
    --chalk-font-primary: 'Kalam', cursive;
    --chalk-font-secondary: 'Caveat', cursive;
    
    /* Enhanced dark blue theme with hot rod orange */
    --chalk-blue-light: #1e40af;
    --chalk-blue-bright: #60a5fa;
    --chalk-cyan: #22d3ee;
    --chalk-orange: #ff5722;
    --chalk-orange-bright: #ff7043;
    --chalk-orange-dark: #d84315;
    --chalk-shimmer: linear-gradient(45deg, transparent 30%, rgba(96, 165, 250, 0.5) 50%, transparent 70%);
    --chalk-glow: 0 0 20px rgba(59, 130, 246, 0.3);
    --chalk-orange-glow: 0 0 20px rgba(255, 87, 34, 0.4);
    --chalk-magic-gradient: linear-gradient(135deg, var(--chalk-primary), var(--chalk-secondary), var(--chalk-orange));
}

/* Magical Animations */
@keyframes sparkle {
    0% { opacity: 0; transform: rotate(0deg) scale(0); }
    50% { opacity: 1; transform: rotate(180deg) scale(1); }
    100% { opacity: 0; transform: rotate(360deg) scale(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(59, 130, 246, 0.2); }
    50% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.6), 0 0 30px rgba(59, 130, 246, 0.4); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Enchanted Body */
body {
    font-family: var(--chalk-font-primary);
    background-color: var(--chalk-bg);
    color: var(--chalk-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Magical background particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20px 30px, rgba(59, 130, 246, 0.4), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(6, 182, 212, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 87, 34, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(96, 165, 250, 0.4), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255, 112, 67, 0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 4s linear infinite;
    pointer-events: none;
    z-index: -1;
}

/* Enchanted Typography */
.chalk-title {
    font-family: var(--chalk-font-secondary);
    font-weight: 700;
    color: var(--chalk-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.chalk-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--chalk-shimmer);
    animation: shimmer 3s infinite;
    z-index: 1;
}

.chalk-subtitle {
    font-family: var(--chalk-font-secondary);
    font-weight: 600;
    color: var(--chalk-secondary);
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.chalk-text {
    color: var(--chalk-white);
    font-size: 1.1rem;
    line-height: 1.8;
}

.chalk-section-title {
    font-family: var(--chalk-font-secondary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--chalk-white);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.chalk-section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--chalk-shimmer);
    animation: shimmer 4s infinite;
}

.chalk-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--chalk-primary), var(--chalk-orange), var(--chalk-secondary));
    border-radius: 2px;
    animation: glow 2s ease-in-out infinite;
}

/* Navigation */
.chalk-nav {
    background: linear-gradient(135deg, var(--chalk-dark), var(--chalk-light));
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.chalk-brand {
    font-family: var(--chalk-font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--chalk-white) !important;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.chalk-brand:hover {
    color: var(--chalk-secondary) !important;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.chalk-link {
    color: var(--chalk-white) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.chalk-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--chalk-primary), var(--chalk-orange));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.chalk-link:hover::before {
    width: 80%;
}

.chalk-link:hover {
    color: var(--chalk-secondary) !important;
    transform: translateY(-2px);
}

/* Enhanced Navigation Effects */
.navbar-nav .nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--chalk-blue-bright), var(--chalk-orange));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.navbar-nav .nav-link:hover {
    color: var(--chalk-blue-bright) !important;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--chalk-dark), var(--chalk-bg));
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 87, 34, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="sparkle" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(59,130,246,0.4)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23sparkle)"/></svg>');
    z-index: 1;
    animation: sparkle 6s ease-in-out infinite;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-image {
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.chalk-icon-large {
    font-size: 15rem;
    color: var(--chalk-orange);
    opacity: 0.8;
    text-shadow: 0 0 30px rgba(255, 87, 34, 0.7);
    animation: glow 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.chalk-icon-large:hover {
    transform: scale(1.1) rotate(5deg);
    text-shadow: 0 0 40px rgba(255, 87, 34, 0.9);
}

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

/* Buttons */
.btn-chalk-primary {
    background: linear-gradient(45deg, var(--chalk-primary), var(--chalk-secondary));
    border: none;
    color: var(--chalk-white);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    position: relative;
    overflow: hidden;
    animation: glow 3s ease-in-out infinite;
}

.btn-chalk-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--chalk-shimmer);
    transition: left 0.5s ease;
}

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

.btn-chalk-primary:hover {
    background: linear-gradient(45deg, var(--chalk-secondary), var(--chalk-orange));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.5),
        0 0 30px rgba(255, 87, 34, 0.4);
    color: var(--chalk-white);
    animation: pulse 0.6s ease-in-out;
}

.btn-chalk-outline {
    background: transparent;
    border: 2px solid var(--chalk-secondary);
    color: var(--chalk-secondary);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-chalk-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--chalk-secondary);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-chalk-outline:hover::before {
    left: 0;
}

.btn-chalk-outline:hover {
    color: var(--chalk-white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(6, 182, 212, 0.4),
        0 0 20px rgba(6, 182, 212, 0.3);
    border-color: var(--chalk-blue-bright);
}

/* Hot Rod Orange Button */
.btn-chalk-orange {
    background: linear-gradient(45deg, var(--chalk-orange), var(--chalk-orange-bright));
    border: none;
    color: var(--chalk-white);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
    position: relative;
    overflow: hidden;
    animation: glow 3s ease-in-out infinite;
}

.btn-chalk-orange::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--chalk-shimmer);
    transition: left 0.5s ease;
}

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

.btn-chalk-orange:hover {
    background: linear-gradient(45deg, var(--chalk-orange-dark), var(--chalk-orange));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(255, 87, 34, 0.6),
        0 0 30px rgba(255, 87, 34, 0.5);
    color: var(--chalk-white);
}

.chalk-buttons {
    margin-top: 2rem;
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, var(--chalk-bg), var(--chalk-light));
    padding: 5rem 0;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    animation: glow 4s ease-in-out infinite;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg, 
        var(--chalk-primary), 
        var(--chalk-secondary), 
        var(--chalk-orange)
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: rgba(10, 22, 40, 0.95);
    border-radius: 13px;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(59, 130, 246, 0.4),
        0 0 30px rgba(255, 87, 34, 0.3);
    background: rgba(255, 255, 255, 0.15);
    animation: pulse 0.6s ease-in-out;
}

.service-card:hover::before {
    opacity: 0.8;
}

.service-icon {
    font-size: 3rem;
    color: var(--chalk-orange);
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(255, 87, 34, 0.7);
    animation: float 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
    text-shadow: 0 0 25px rgba(255, 87, 34, 0.9);
}

.chalk-card-title {
    font-family: var(--chalk-font-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--chalk-white);
    margin-bottom: 1rem;
}

.chalk-card-text {
    color: var(--chalk-gray);
    line-height: 1.6;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, var(--chalk-light), var(--chalk-dark));
    padding: 5rem 0;
}

.chalk-list {
    list-style: none;
    padding: 0;
}

.chalk-list li {
    color: var(--chalk-white);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.chalk-list li i {
    color: var(--chalk-success);
    margin-right: 0.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 87, 34, 0.3);
}

.chalk-stat-number {
    font-family: var(--chalk-font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--chalk-orange);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 87, 34, 0.5);
}

.chalk-stat-text {
    color: var(--chalk-white);
    font-size: 0.9rem;
    margin: 0;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--chalk-bg), var(--chalk-light));
    padding: 5rem 0;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--chalk-primary);
    margin-bottom: 1rem;
}

.chalk-form {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    margin-top: 2rem;
}

.chalk-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 12px 15px;
    color: var(--chalk-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.chalk-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--chalk-orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 87, 34, 0.25);
    color: var(--chalk-white);
}

.chalk-input::placeholder {
    color: var(--chalk-gray);
}

/* Contact Methods Styling */
.contact-info-only {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    margin-top: 2rem;
}

.contact-methods {
    max-width: 500px;
    margin: 0 auto;
}

.contact-method {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.contact-method i {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 30px;
    text-align: center;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--chalk-dark), var(--chalk-bg));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
}

.chalk-footer-title {
    font-family: var(--chalk-font-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--chalk-orange);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 87, 34, 0.4);
}

.chalk-footer-text {
    color: var(--chalk-gray);
    margin-bottom: 0.5rem;
}

.social-links {
    margin-top: 1rem;
}

.chalk-social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--chalk-white);
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.chalk-social-link:hover {
    background: var(--chalk-orange);
    color: var(--chalk-white);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 87, 34, 0.5);
}

.chalk-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}

/* Cards */
.chalk-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.chalk-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Alerts */
.chalk-alert {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Text Utilities with Orange Theme */
.text-orange {
    color: var(--chalk-orange) !important;
    text-shadow: 0 0 10px rgba(255, 87, 34, 0.4);
}

.text-orange-bright {
    color: var(--chalk-orange-bright) !important;
    text-shadow: 0 0 8px rgba(255, 112, 67, 0.4);
}

.text-highlight {
    background: linear-gradient(135deg, var(--chalk-orange), var(--chalk-orange-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(255, 87, 34, 0.5);
}

.border-orange {
    border-color: var(--chalk-orange) !important;
}

.bg-orange-glow {
    background: var(--chalk-orange);
    box-shadow: 0 0 20px rgba(255, 87, 34, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .chalk-section-title {
        font-size: 2.5rem;
    }
    
    .chalk-title {
        font-size: 2.5rem;
    }
    
    .chalk-icon-large {
        font-size: 8rem;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .chalk-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-chalk-primary,
    .btn-chalk-outline,
    .btn-chalk-orange {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .service-card,
    .contact-info {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .chalk-section-title {
        font-size: 2rem;
    }
    
    .chalk-title {
        font-size: 2rem;
    }
    
    .chalk-icon-large {
        font-size: 6rem;
    }
    
    .btn-chalk-primary,
    .btn-chalk-outline {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--chalk-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--chalk-primary);
}

/* Loading animation */
.loading-spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid var(--chalk-secondary);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility classes */
.text-chalk-primary {
    color: var(--chalk-primary) !important;
}

.text-chalk-secondary {
    color: var(--chalk-secondary) !important;
}

.bg-chalk-primary {
    background-color: var(--chalk-primary) !important;
}

.bg-chalk-secondary {
    background-color: var(--chalk-secondary) !important;
}

.border-chalk-primary {
    border-color: var(--chalk-primary) !important;
}

.border-chalk-secondary {
    border-color: var(--chalk-secondary) !important;
}
