﻿/* Custom styles for TirePro */
:root {
    --primary-color: #dc2626;
    --secondary-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --text-color: #4b5563;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navigation */
.custom-navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.brand-text {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    position: relative;
}

    .navbar-nav .nav-link:hover {
        color: var(--primary-color) !important;
    }

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--primary-color);
        transition: width 0.3s ease;
    }

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-buttons {
    margin-bottom: 2rem;
}

.hero-image img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Section Titles */
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

/* Product Cards */
.product-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

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

.product-image {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-features li {
    padding: 0.25rem 0;
    color: var(--text-color);
}

.product-features i {
    margin-right: 0.5rem;
    font-weight: bold;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 16px;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
}

.service-price {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    background-color: #fef2f2;
    border-radius: 8px;
    display: inline-block;
}

/* Stats Card */
.stats-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
}

/* About Items */
.about-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.about-item p {
    color: var(--text-color);
    line-height: 1.7;
}

/* Contact */
.contact-item h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Footer */
.custom-footer {
    background-color: var(--dark-color);
    color: #d1d5db;
    padding: 4rem 0 1.5rem;
}

    .custom-footer h5,
    .custom-footer h6 {
        color: white;
        margin-bottom: 1rem;
        font-weight: 600;
    }

    .custom-footer h5 {
        color: var(--primary-color);
        font-size: 1.5rem;
    }

.footer-link {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .footer-link:hover {
        color: var(--primary-color);
    }

/* Buttons */
.btn-danger {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

    .btn-danger:hover {
        background-color: #b91c1c;
        border-color: #b91c1c;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
    }

.btn-outline-danger {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

    .btn-outline-danger:hover {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
    }

/* Form Controls */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .hero-buttons {
        text-align: center;
    }

        .hero-buttons .btn {
            display: block;
            width: 100%;
            margin-bottom: 1rem;
        }

            .hero-buttons .btn:last-child {
                margin-bottom: 0;
            }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-image {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Accessibility */
.btn:focus,
.nav-link:focus,
.form-control:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-section {
        background: white;
    }

    .product-card,
    .service-card {
        border: 2px solid #000 !important;
    }
}
