/* Prevent Overflow */
html, body {
    overflow-x: hidden;
    font-family: "Century Gothic", sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
}

/* First Row: Promo Bar */
.promo-bar {
    background-color: black;
    color: white;
    font-style: italic;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Second Row: Header */
.header-section {
    background-color: #f0f0f0;
    padding: 10px 15px;
}

.logo {
    font-weight: bold;
    color: black;
}

.search-bar {
    width: 100%;
    border-radius: 5px;
}

/* Icons */
.login-icon, .fav-icon {
    font-size: 1.2rem;
    margin-left: 15px;
    cursor: pointer;
}

/* Third Row: Navigation */
.nav-bar {
    background-color: white;
    padding: 10px 0;
}

.nav-link {
    color: black;
    font-weight: normal;
    padding: 10px 15px;
}

.nav-link:hover {
    color: #007bff;
}

/* Ensure full width and reduced height (80% of screen) */
.categories {
    margin: 0;
    padding: 0;
    width: 100vw; /* Full width */
    height: calc(80vh - 120px); /* Reduced height */
    display: flex;
    flex-wrap: wrap;
}

/* Remove Bootstrap's extra padding from row */
.row {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Category Box Styling */
.category-box {
    flex: 1;
    min-height: 40vh; /* Adjusted for reduced height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    color: white;
    padding: 20px;
    text-align: center;
}

/* Background colors + images for each section */
.shirts {
    background: 
        linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), /* Dark overlay */
        url('shirt.png'); /* Replace with actual image path */
}
.trousers {
    background: 
        linear-gradient(to bottom, rgba(34, 34, 34, 0.5), rgba(34, 34, 34, 0.5)), 
        url('trouser.png');
}
.underwears {
    background: 
        linear-gradient(to bottom, rgba(0, 128, 128, 0.5), rgba(0, 128, 128, 0.5)), 
        url('tshirt.png');
}
.accessories {
    background: 
        linear-gradient(to bottom, rgba(255, 165, 0, 0.5), rgba(255, 165, 0, 0.5)), 
        url('accessories.png');
}

/* Shop Now Button */
.shop-btn {
    background: white;
    color: black;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    transition: 0.3s;
}

.shop-btn:hover {
    background: #007bff;
    color: white;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .category-box {
        height: 50vh;
    }
}
