/* ============================================
   BoyAuto - Main Stylesheet (Blue Theme)
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a2e;
    background-color: #f0f4f8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Bankruptcy Banner
   ============================================ */
.bankruptcy-banner {
    background: linear-gradient(135deg, #b71c1c, #d32f2f);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 30px;
    text-align: center;
    animation: pulse-border 2s infinite;
    box-shadow: 0 4px 20px rgba(183, 28, 28, 0.4);
    position: relative;
    z-index: 1000;
}

@keyframes pulse-border {
    0%, 100% { box-shadow: 0 4px 20px rgba(183, 28, 28, 0.4); }
    50% { box-shadow: 0 4px 40px rgba(183, 28, 28, 0.7); }
}

.bankruptcy-banner .banner-icon {
    font-size: 40px;
    flex-shrink: 0;
    animation: shake 0.5s infinite;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.bankruptcy-banner .banner-content h2 {
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.bankruptcy-banner .banner-content p {
    font-size: 1.05rem;
    max-width: 900px;
    margin: 0 auto 8px;
    opacity: 0.95;
}

.bankruptcy-banner .banner-email {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 6px;
    transition: background 0.3s;
}

.bankruptcy-banner .banner-email:hover {
    background: rgba(255,255,255,0.35);
}

/* ============================================
   Header
   ============================================ */
.site-header {
    background: #0d1b3e;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
}

.logo-icon {
    filter: drop-shadow(0 0 6px rgba(30, 144, 255, 0.5));
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: #b0c4de;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1E90FF;
    transition: width 0.3s;
}

nav ul li a:hover {
    color: #1E90FF;
}

nav ul li a:hover::after {
    width: 100%;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6b 50%, #1E90FF 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    background: #1E90FF;
    color: #fff;
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.4);
}

.btn-primary:hover {
    background: #187bcd;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.6);
}

/* ============================================
   Section Common
   ============================================ */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #0d1b3e;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #1E90FF;
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: 80px 0;
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.3s;
    cursor: default;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 144, 255, 0.15);
    border-color: #1E90FF;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.3rem;
    color: #0d1b3e;
    margin-bottom: 12px;
}

.service-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: 80px 0;
    background: #f0f4f8;
}

.about-content {
    display: flex;
    justify-content: center;
}

.about-text {
    max-width: 800px;
}

.about-text p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    text-align: center;
    background: #fff;
    padding: 25px 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    min-width: 160px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1E90FF;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: #666;
    margin-top: 6px;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 80px 0;
    background: #fff;
}

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-info {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #f8fafc;
    padding: 25px 30px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    min-width: 280px;
}

.contact-item:hover {
    border-color: #1E90FF;
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.1);
}

.contact-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    color: #0d1b3e;
    margin-bottom: 4px;
}

.contact-item p {
    color: #555;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: #0d1b3e;
    color: #b0c4de;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-logo h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.footer-logo p {
    opacity: 0.7;
}

.footer-links h4,
.footer-legal h4 {
    color: #fff;
    margin-bottom: 12px;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 8px;
}

.footer-links ul li a,
.footer-legal ul li a {
    color: #b0c4de;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover,
.footer-legal ul li a:hover {
    color: #1E90FF;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        gap: 20px;
    }

    .stat-item {
        min-width: 130px;
        padding: 20px;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    nav ul {
        gap: 15px;
    }

    .bankruptcy-banner {
        flex-direction: column;
        padding: 15px 20px;
    }

    .bankruptcy-banner .banner-content h2 {
        font-size: 1.1rem;
    }

    .bankruptcy-banner .banner-content p {
        font-size: 0.9rem;
    }
}
