/* Homepage Styles */

.homepage {
    padding: 0;
}

/* Hero Section */
.homepage-hero {
    background: linear-gradient(135deg, #0066cc 0%, #00a86b 100%);
    padding: var(--spacing-xl) 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-sm);
    font-weight: 400;
}

.hero-description {
    font-size: var(--font-size-large);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
}

.hero-ctas {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 6px;
    font-size: var(--font-size-large);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-hero.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-hero.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-hero.btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-hero.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* Homepage Sections */
.homepage-section {
    padding: 0;
    margin-bottom: 0;
}

.section-hero {
    padding: var(--spacing-xl) 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.section-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.section-hero .container {
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    color: #ffffff;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-description {
    font-size: var(--font-size-large);
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto;
}

/* Section Backgrounds */
.section-bathroom .section-hero {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.9), rgba(0, 168, 107, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23e0f2f1" width="1200" height="400"/></svg>');
}

.section-kitchen .section-hero {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.9), rgba(0, 102, 153, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23fff3e0" width="1200" height="400"/></svg>');
}

.section-water .section-hero {
    background: linear-gradient(135deg, rgba(0, 102, 153, 0.9), rgba(0, 153, 204, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23e3f2fd" width="1200" height="400"/></svg>');
}

.section-lock .section-hero {
    background: linear-gradient(135deg, rgba(33, 33, 33, 0.9), rgba(66, 66, 66, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23f5f5f5" width="1200" height="400"/></svg>');
}

.section-electrical .section-hero {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.9), rgba(255, 160, 0, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23fffde7" width="1200" height="400"/></svg>');
}

/* Section Products */
.section-products {
    padding: var(--spacing-xl) 0;
    background: #ffffff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-light);
    font-size: var(--font-size-large);
}

.section-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.btn-section-cta {
    display: inline-block;
    padding: 14px 32px;
    background-color: #003366;
    color: #ffffff;
    border-radius: 6px;
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-section-cta:hover {
    background-color: #001a33;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
}

/* Brands Section */
.homepage-brands {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.homepage-brands .section-title {
    text-align: center;
    font-size: var(--font-size-h2);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-md);
}

.brand-card {
    background: #ffffff;
    padding: var(--spacing-lg);
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.brand-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.brand-name {
    font-size: var(--font-size-large);
    font-weight: 600;
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 48px;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .section-title {
        font-size: 36px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .homepage-hero {
        min-height: 400px;
        padding: var(--spacing-lg) 0;
    }

    .hero-title {
        font-size: 36px;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: var(--font-size-large);
    }

    .hero-description {
        font-size: var(--font-size-base);
    }

    .hero-ctas {
        flex-direction: column;
    }

    .btn-hero {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 28px;
    }

    .section-description {
        font-size: var(--font-size-base);
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: var(--spacing-sm);
    }

    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

