/* Automotive Theme CSS */

/* Custom Color Variables */
:root {
    --automotive-dark: #1e3a8a;
    --automotive-orange: #ea580c;
    --automotive-light: #f8fafc;
    --light-gray: #9ca3af;
    --text-muted: #6b7280;
}

/* Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #374151;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

/* Custom Bootstrap Colors */
.bg-automotive-dark {
    background-color: var(--automotive-dark) !important;
}

.bg-automotive-light {
    background-color: var(--automotive-light) !important;
}

.text-automotive-dark {
    color: var(--automotive-dark) !important;
}

.text-automotive-orange {
    color: var(--automotive-orange) !important;
}

.text-light-gray {
    color: var(--light-gray) !important;
}

/* Custom Buttons */
.btn-automotive-orange {
    background-color: var(--automotive-orange);
    border-color: var(--automotive-orange);
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-automotive-orange:hover {
    background-color: #dc2626;
    border-color: #dc2626;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.btn-automotive-dark {
    background-color: var(--automotive-dark);
    border-color: var(--automotive-dark);
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-automotive-dark:hover {
    background-color: #1e40af;
    border-color: #1e40af;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Navigation */
.navbar-dark .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-dark .navbar-nav .nav-link {
    font-weight: 500;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--automotive-orange);
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(234, 88, 12, 0.8)),
                url('/gallery_photos/hero-d74f6b4b483685ace1e558739111199f.jpg') center/cover no-repeat;
    position: relative;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.hero-buttons .btn {
    margin-bottom: 10px;
}

.hero-contact-info {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.service-card-body {
    padding: 24px;
}

.price-tag {
    color: var(--automotive-orange);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Advantage Cards */
.advantage-card {
    padding: 30px 20px;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--automotive-orange), #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.3);
}

/* Review Cards */
.review-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    border: none;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.review-stars {
    color: #fbbf24;
    font-size: 1.1rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.team-card-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-card-body {
    padding: 24px;
    text-align: center;
}

/* Forms */
.form-control, .form-select {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--automotive-orange);
    box-shadow: 0 0 0 0.2rem rgba(234, 88, 12, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--automotive-dark);
}

/* Portfolio Grid */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(234, 88, 12, 0.8));
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* FAQ Styles */
.faq-item {
    border: none;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    background: white;
    border: none;
    padding: 20px 24px;
    font-weight: 600;
    color: var(--automotive-dark);
    text-align: left;
    width: 100%;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--automotive-light);
    color: var(--automotive-orange);
}

.faq-answer {
    padding: 0 24px 20px;
    background: white;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 24px;
    z-index: 9999;
    border: 2px solid var(--automotive-orange);
}

.cookie-content h6 {
    color: var(--automotive-dark);
    margin-bottom: 8px;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

/* Contact Page Styles */
.contact-info-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: none;
    height: 100%;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--automotive-orange), #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: white;
}

/* Success/Thank you styles */
.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 3rem;
    color: white;
    animation: successPulse 2s infinite;
}

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

/* Blog/Article Styles */
.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.blog-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-content {
    padding: 24px;
}

.blog-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.read-more-content {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--automotive-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-content {
        padding: 40px 0;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .hero-buttons .btn {
        display: block;
        margin-bottom: 15px;
        width: 100%;
    }
    
    .hero-contact-info {
        flex-direction: column;
        gap: 15px !important;
    }
    
    .cookie-consent-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 20px;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .advantage-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .display-5 {
        font-size: 2rem;
    }
    
    .service-card-body, .review-card {
        padding: 20px;
    }
    
    .team-card-body {
        padding: 20px;
    }
}

/* Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.section-padding {
    padding: 80px 0;
}

/* Performance Page Specific Styles */
.performance-option-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.performance-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.performance-option-card.featured {
    border: 3px solid var(--automotive-orange);
    transform: scale(1.02);
}

.option-header {
    padding: 30px 30px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.price-range {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--automotive-orange);
    margin-top: 10px;
}

.option-body {
    padding: 30px;
}

.metric-card {
    text-align: center;
    padding: 15px;
    background: var(--automotive-light);
    border-radius: 8px;
}

.sound-profile-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.sound-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.sound-visual {
    margin-bottom: 20px;
}

.sound-bars {
    display: flex;
    justify-content: center;
    align-items: end;
    height: 60px;
    gap: 4px;
}

.sound-bars .bar {
    width: 8px;
    background: var(--automotive-orange);
    border-radius: 4px;
    animation: soundWave 2s infinite ease-in-out;
}

.sound-bars.mild .bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.sound-bars.mild .bar:nth-child(2) { height: 35px; animation-delay: 0.2s; }
.sound-bars.mild .bar:nth-child(3) { height: 25px; animation-delay: 0.4s; }

.sound-bars.moderate .bar:nth-child(1) { height: 30px; animation-delay: 0s; }
.sound-bars.moderate .bar:nth-child(2) { height: 45px; animation-delay: 0.2s; }
.sound-bars.moderate .bar:nth-child(3) { height: 50px; animation-delay: 0.4s; }
.sound-bars.moderate .bar:nth-child(4) { height: 35px; animation-delay: 0.6s; }

.sound-bars.aggressive .bar:nth-child(1) { height: 40px; animation-delay: 0s; }
.sound-bars.aggressive .bar:nth-child(2) { height: 55px; animation-delay: 0.2s; }
.sound-bars.aggressive .bar:nth-child(3) { height: 60px; animation-delay: 0.4s; }
.sound-bars.aggressive .bar:nth-child(4) { height: 50px; animation-delay: 0.6s; }
.sound-bars.aggressive .bar:nth-child(5) { height: 45px; animation-delay: 0.8s; }

@keyframes soundWave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.7); }
}

.characteristic-tag {
    display: inline-block;
    background: var(--automotive-light);
    color: var(--automotive-dark);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    margin: 2px;
    border: 1px solid var(--automotive-orange);
}

.process-detail-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.process-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.process-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--automotive-orange), #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: white;
}

.application-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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