/* 
==============================================
   Homepage Specific Styles (Redesign)
==============================================
*/

/* Hero Section */
.hero-section {
    background-color: var(--color-secondary);
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    text-align: center;
    color: var(--color-white);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-actions .btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

/* Part Finder Section */
.part-finder-section {
    background-color: var(--color-light);
}

.part-finder-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
}

.feature-card {
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-grid .card-img-top {
    height: 200px;
}

.bg-light {
    background-color: var(--color-light);
}

/* Call to Action Section */
.cta-section {
    background-color: var(--color-primary);
    text-align: center;
    color: var(--color-secondary);
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.cta-section .btn-secondary {
    background-color: var(--color-white);
    border-color: var(--color-white);
}
.cta-section .btn-secondary:hover {
    background-color: var(--color-light);
    border-color: var(--color-light);
}

/* Showroom Section */
.showroom-section {
    background-color: var(--color-light);
    padding: 4rem 0;
}

.showroom-section .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.showroom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.showroom-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showroom-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.showroom-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.showroom-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--color-white);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.showroom-item:hover .showroom-overlay {
    transform: translateY(0);
}

.showroom-overlay h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.showroom-overlay p {
    font-size: 0.95rem;
    line-height: 1.4;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .showroom-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .showroom-image {
        height: 250px;
    }
    
    .showroom-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    }
}
