/* BMW Be The First - Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bmw-blue: #1C69D4;
    --bmw-dark-blue: #0E3C6E;
    --bmw-light-blue: #4A90E2;
    --bmw-black: #1A1A1A;
    --bmw-gray: #666666;
    --bmw-light-gray: #F5F5F5;
    --bmw-white: #FFFFFF;
    --accent-gold: #D4AF37;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--bmw-black);
    background-color: var(--bmw-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }

/* Header */
header {
    background-color: var(--bmw-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--bmw-black);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav a:hover {
    color: var(--bmw-blue);
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bmw-white);
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(28,105,212,0.8), rgba(14,60,110,0.9));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--bmw-blue);
    color: var(--bmw-white);
}

.btn-primary:hover {
    background-color: var(--bmw-dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28,105,212,0.4);
}

.btn-secondary {
    background-color: var(--bmw-white);
    color: var(--bmw-blue);
    border: 2px solid var(--bmw-blue);
}

.btn-secondary:hover {
    background-color: var(--bmw-blue);
    color: var(--bmw-white);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--bmw-white);
}

.btn-whatsapp:hover {
    background-color: #1DA851;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--bmw-dark-blue);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--bmw-gray);
    font-size: 1.1rem;
}

/* Model Grid */
.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.model-card {
    background: var(--bmw-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.model-card-content {
    padding: 1.5rem;
}

.model-card h3 {
    color: var(--bmw-dark-blue);
    margin-bottom: 0.5rem;
}

.model-card .price {
    color: var(--bmw-blue);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 1rem 0;
}

.model-card p {
    color: var(--bmw-gray);
    margin-bottom: 1rem;
}

/* Breadcrumb */
.breadcrumb {
    background-color: var(--bmw-light-gray);
    padding: 1rem 0;
}

.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.breadcrumb ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--bmw-gray);
}

.breadcrumb a {
    color: var(--bmw-blue);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--bmw-gray);
}

/* Model Detail Page */
.model-detail {
    background-color: var(--bmw-white);
}

.model-hero {
    background: linear-gradient(135deg, var(--bmw-dark-blue), var(--bmw-blue));
    color: var(--bmw-white);
    padding: 4rem 0;
    text-align: center;
}

.model-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.model-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.model-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.model-info h2 {
    color: var(--bmw-dark-blue);
    margin-bottom: 1rem;
}

.specs-table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #E0E0E0;
}

.specs-table th {
    background-color: var(--bmw-light-gray);
    color: var(--bmw-dark-blue);
    font-weight: 600;
}

.specs-table tr:hover {
    background-color: var(--bmw-light-gray);
}

/* Contact Form */
.contact-form {
    background-color: var(--bmw-light-gray);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.contact-form h3 {
    color: var(--bmw-dark-blue);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--bmw-black);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #DDD;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background-color: var(--bmw-black);
    color: var(--bmw-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--bmw-blue);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--bmw-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--bmw-light-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: var(--bmw-gray);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .model-content {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    
    .hero {
        height: 400px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .model-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}
