/* Home Page Styling */

.home-wrapper {
    min-height: 100vh;
    background-color: #ffffff;
}

/* Home Navigation */
.home-navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo img {
    max-height: 50px;
    height: auto;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.navbar-menu .nav-link {
    color: #b70f11;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-menu .nav-link:hover {
    color: #8f0c0d;
}

.btn-login {
    background-color: #b70f11;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-login:hover {
    background-color: #404040;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(64, 64, 64, 0.3);
}

/* Hero Section */
.hero-section {
    background: url('../../images/hero.jpeg') center center / cover no-repeat;
    color: #404040;
    padding: 80px 0 80px;
    position: relative;
    overflow: hidden;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-section .btn-primary:hover {
    background-color: #404040;
    border-color: #404040;
    color: white;
}

.hero-section .btn-outline-primary {
    border-color: #404040;
    color: #404040;
}

.hero-section .btn-outline-primary:hover {
    background-color: #404040;
    border-color: #404040;
    color: white;
}

.hero-image {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-width: 400px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #404040;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #404040;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #E10A19 0%, #B00815 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #E10A19;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #64748b;
    margin-bottom: 0;
}

/* Categories Section */
.categories-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: #404040;
    transition: all 0.3s ease;
    height: 140px;
}

.category-card:hover {
    background: white;
    color: #404040;
    border-color: #BCBCBC;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(188, 188, 188, 0.3);
}

.category-card i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.category-card span {
    font-weight: 600;
    font-size: 1rem;
}

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

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

.cta-content p {
    font-size: 1.25rem;
    opacity: 0.95;
}

.cta-section .btn-light {
    background: white;
    color: #b70f11;
    border: none;
    font-weight: 600;
}

.cta-section .btn-light:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Footer */
.home-footer {
    background-color: transparent;
    color: #404040;
    padding: 60px 0 30px;
}

.home-footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #404040;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

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

.footer-links a:hover {
    color: #b70f11;
}

.home-footer hr {
    border-color: rgba(64,64,64,0.2);
}

.home-footer .btn-outline-light {
    border-color: #404040;
    color: #404040;
}

.home-footer .btn-outline-light:hover {
    background-color: #404040;
    border-color: #404040;
    color: white;
}

/* Responsive Design */
@media (max-width: 991px) {
    .navbar-logo img {
        max-height: 40px;
    }
    
    .navbar-menu {
        gap: 1rem;
    }
    
    .navbar-menu .nav-link {
        font-size: 0.9rem;
    }
    
    .btn-login {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-image {
        margin-top: 3rem;
    }
    
    .features-section,
    .categories-section,
    .cta-section {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .navbar-menu .nav-link {
        display: none;
    }
    
    .btn-login {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
    
    .btn-login i {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .category-card {
        height: 120px;
    }
}
