/* Custom Styles for HDPL Groups Website */
.hero-section {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Custom rounded corners */
.rounded-5 {
    border-radius: 1rem;
}

/* Header Styles */
.custom-header {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-card {
    background: white;
    border-radius: 16px;
    padding: 12px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-card img {
    max-height: 60px;
    width: auto;
    display: block;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.company-name {
    font-size: 22px;
    font-weight: 800;
    color: #1d3557;
    line-height: 1;
}

.company-tagline {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    line-height: 1;
}

.header-center {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-link {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
}

.header-link:hover {
    color: #e63946;
}

.header-link.active {
    color: #e63946;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-button {
    background: #1d3557;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(29, 53, 87, 0.3);
}

.cart-count {
    background: #e63946;
    color: white;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

/* Mobile Header */
@media (max-width: 991.98px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .header-center {
        width: 100%;
        order: 3;
        justify-content: center;
        margin-top: 15px;
        flex-wrap: wrap;
        gap: 18px;
    }
    
    .company-name {
        font-size: 18px;
    }
    
    .company-tagline {
        font-size: 12px;
    }
    
    .header-link {
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .header-left {
        gap: 12px;
    }
    
    .logo-card {
        padding: 10px 16px;
    }
    
    .logo-card img {
        max-height: 45px;
    }
    
    .cart-button {
        padding: 12px 20px;
        font-size: 14px;
    }
}
