/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header Styles */
header {
    background: #4a5fc1;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

header.scrolled nav a {
    color: #333 !important;
}

header.scrolled .auth-links a {
    color: #333 !important;
}

header.scrolled .auth-links a:hover {
    color: #4a5fc1 !important;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo img {
    height: 100px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo .logo-dark {
    display: none;
}

.logo .logo-white {
    display: block;
}

header.scrolled .logo .logo-dark {
    display: block;
}

header.scrolled .logo .logo-white {
    display: none;
}

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

.nav-left ul li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-left ul li a:hover {
    color: #ffd700;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-links {
    display: flex;
    gap: 1rem;
}

.auth-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
}

.auth-links a:hover {
    color: #ffd700;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #ffd700;
    color: #333;
    border-color: #ffd700;
    font-weight: 600;
}

.btn-primary:hover {
    background: #ffed4e;
    border-color: #ffed4e;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
    font-weight: 600;
}

.btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-1px);
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/showroom-header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 160px 20px 80px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-hero {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Why Us Section */
.why-us-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.why-us-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

.reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.reason {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.reason img {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: block;
}

.reason h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.reason p {
    color: #666;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.feature.reverse {
    grid-template-columns: 1fr 1fr;
}

.feature.reverse .feature-text {
    order: 2;
}

.feature.reverse .feature-image {
    order: 1;
}

.feature-text h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.how-it-works-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.step span {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background: #343a40;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-links ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: white;
}

.social-media {
    display: flex;
    gap: 1rem;
}

.social-media a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #495057;
    color: #adb5bd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-left ul {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .feature {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature.reverse .feature-text,
    .feature.reverse .feature-image {
        order: unset;
    }
    
    .cta-hero {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .features-section h2,
    .why-us-section h2,
    .how-it-works-section h2,
    .cta-section h2 {
        font-size: 2rem;
    }
}
