/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Open Sans', Arial, sans-serif;
}

body {
    background-color: #F2F1EF;
    color: #1A1A1A;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #6AACB8;
    height: 100px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    margin-right: 80px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

.logo span {
    color: #FFD166;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.menu-links {
    display: flex;
    list-style: none;
    margin-right: 80px;
}

.menu-links li {
    margin: 0 15px;
}

.menu-links a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 600;
    transition: color 0.3s ease;
}

.menu-links a:hover {
    color: #FFD166;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
    margin-right: 80px;
}

.dropbtn {
    background-color: #118AB2;
    color: #FFFFFF;
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.dropbtn:hover {
    background-color: #073B4C;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 250px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    max-height: 400px;
    overflow-y: auto;
}

.dropdown-content a {
    color: #1A1A1A;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #EDF6F9;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Search Bar Styles */
.search-container {
    display: flex;
    align-items: center;
}

.search-bar {
    display: flex;
    align-items: center;
}

.search-bar input {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    width: 200px;
    font-size: 16px;
}

.search-bar button {
    background-color: #118AB2;
    color: #FFFFFF;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.search-bar button:hover {
    background-color: #073B4C;
}

/* Hero Section Styles */
.hero-section {
    height: 400px;
    width: 100%;
    background-color: #f5f5f5;
    margin-top: 100px;
    overflow: hidden;
    position: relative;
}

.hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Section Styles */
.content-section {
    padding: 40px 0;
    margin-bottom: 40px;
}

.content-section h1 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #073B4C;
}

.content-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    margin-top: 30px;
    color: #118AB2;
}

.content-section p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Sidebar Styles */
.page-with-sidebar {
    display: flex;
    margin-top: 100px;
}

.sidebar {
    width: 250px;
    background-color: #EDF6F9;
    padding: 20px;
    min-height: calc(100vh - 220px);
    margin-bottom: 20px;
    border-radius: 0 0 5px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sidebar h3 {
    margin-bottom: 20px;
    color: #073B4C;
}

.main-content-with-sidebar {
    flex: 1;
    padding: 20px;
}

/* Footer Styles */
footer {
    background-color: #6AACB8;
    color: #FFFFFF;
    padding: 20px 0;
    height: 120px;
    width: 100%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    margin-right: 15px;
    transition: color 0.3s ease;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info p {
    margin-bottom: 5px;
}

/* Utility Classes */
.hidden {
    display: none;
}

.btn {
    background-color: #118AB2;
    color: #FFFFFF;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #073B4C;
}

.accent-color {
    color: #FFD166;
}

/* List Styles */
ul, ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

ul li, ol li {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .logo {
        margin-right: 40px;
    }
    
    .menu-links, .dropdown {
        margin-right: 40px;
    }
    
    .search-bar input {
        width: 150px;
    }
}

@media (max-width: 768px) {
    .page-with-sidebar {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        min-height: auto;
        margin-bottom: 20px;
    }
    
    .menu-links li {
        margin: 0 10px;
    }
}

@media (max-width: 600px) {
    header {
        height: auto;
    }
    
    .header-container {
        flex-direction: column;
        padding: 10px;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
    }
    
    .logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .menu-links {
        margin-right: 0;
        margin-bottom: 10px;
        justify-content: center;
        width: 100%;
    }
    
    .dropdown {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
    }
    
    .search-container {
        width: 100%;
    }
    
    .search-bar {
        width: 100%;
    }
    
    .search-bar input {
        width: 70%;
    }
    
    .search-bar button {
        width: 30%;
    }
    
    .sidebar {
        display: none;
    }
    
    .hero-section {
        margin-top: 200px;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-bottom: 10px;
    }
    
    .footer-links a {
        display: block;
        margin-bottom: 5px;
    }
}

/* Search Results Page Styles */
.search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.product-card {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    background-color: #fff;
    transition: transform 0.3s ease;
}

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

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.product-card h3 {
    margin-bottom: 10px;
    color: #073B4C;
}

.product-card p {
    margin-bottom: 15px;
    color: #666;
}

.product-card .price {
    font-weight: bold;
    color: #118AB2;
    font-size: 18px;
    margin-bottom: 10px;
}

/* Filter Panel Styles */
.filter-panel {
    display: none;
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.filter-group select,
.filter-group input[type="range"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.price-range {
    display: flex;
    align-items: center;
}

.price-range input {
    width: 45%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.price-range span {
    margin: 0 10px;
}

.apply-filters {
    background-color: #118AB2;
    color: #FFFFFF;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.apply-filters:hover {
    background-color: #073B4C;
}