/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.header {
    background-color: #5BA199;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
}

.desktop-header {
    display: none;
    flex-direction: column;
    align-items: center;
}

.header-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 64rem;
}

.logo-section {
    margin-right: 1rem;
}

.logo {
    height: 4rem; /* Adjusted size for better fit */
    margin: 0;
}

.tagline-section {
    display: none; /* Removed as per request */
}

.search-categories-section {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
    gap: 0.5rem;
}

.search-form {
    position: relative;
    flex-grow: 1;
    max-width: 400px; /* Limit search bar width */
}

.search-input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 2px solid #01453F;
    border-radius: 0.5rem;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #023430;
}

.search-button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #01453F;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.search-button:hover {
    color: #023430;
}

.category-dropdown-container {
    position: relative;
}

.category-button {
    background-color: #01453F;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.category-button:hover {
    background-color: #023430;
}

.category-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 20rem;
    max-height: 24rem;
    overflow-y: auto;
    z-index: 60;
    display: none;
}

.category-dropdown.show {
    display: block;
}

.category-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s ease;
}

.category-item:hover {
    background-color: #f9fafb;
}

.category-item.header-item {
    font-weight: 600;
    color: #01453F;
    background-color: #f3f4f6;
    cursor: default;
}

.category-item.highlight {
    background-color: #fef3c7;
    color: #92400e;
    font-weight: 500;
}

/* Mobile Header */
.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hamburger-button,
.mobile-search-button {
    background: none;
    border: none;
    color: #01453F;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-logo {
    height: 3rem;
}

.mobile-search-container {
    display: none;
    margin-top: 1rem;
}

.mobile-search-container.show {
    display: block;
}

.mobile-search-form {
    display: flex;
    gap: 0.5rem;
}

.mobile-search-input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #01453F;
    border-radius: 0.5rem;
    font-size: 1rem;
    outline: none;
}

.mobile-search-submit {
    background-color: #01453F;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-menu.show {
    display: block;
}

.mobile-menu-content {
    padding: 1rem 0;
}

.mobile-menu-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s ease;
}

.mobile-menu-item:hover {
    background-color: #f9fafb;
}

/* Main Content */
.main-content {
    padding-top: 12rem;
}

/* Hero Banner */
.hero-banner {
    background-color: #01453E;
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.hero-content {
    text-align: center;
    padding: 2rem;
    border-radius: 0.5rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    color: white;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: white;
}

.hero-button {
    background-color: #01453E;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: 2px solid white;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.hero-button:hover {
    background-color: #023430;
}

/* Sections */
.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #01453E;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Featured Categories */
.featured-categories {
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.category-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.category-content {
    padding: 1.5rem;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #01453E;
    margin-bottom: 0.5rem;
}

.category-description {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.category-link {
    color: #01453E;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.category-link:hover {
    border-color: #01453E;
}

/* Best Selling Products */
.best-selling {
    padding: 3rem 0;
    background: white;
    margin-bottom: 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.product-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #01453E;
    margin-bottom: 0.5rem;
}

.product-description {
    color: #6b7280;
    margin-bottom: 1rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: #fbbf24;
}

.rating-text {
    color: #6b7280;
    font-size: 0.875rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #01453E;
}

.original-price {
    font-size: 1rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.product-button {
    width: 100%;
    background-color: #01453E;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-button:hover {
    background-color: #023430;
}

/* Newsletter */
.newsletter {
    background-color: #01453E;
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.newsletter-content {
    text-align: center;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.newsletter-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 28rem;
    margin: 0 auto;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    outline: none;
}

.newsletter-button {
    background-color: #5BA199;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.newsletter-button:hover {
    background-color: #4a8a81;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    text-align: center;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #5BA199;
}

.footer-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-description {
    color: #d1d5db;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    color: #d1d5db;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #5BA199;
}

.footer-links {
    list-style: none;
}

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

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

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (min-width: 640px) {
    .categories-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-form {
        flex-direction: row;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-section {
        text-align: left;
    }
    
    .social-links {
        justify-content: flex-start;
    }
}

@media (min-width: 768px) {
    .main-content {
        padding-top: 8rem; /* Adjusted padding for new header height */
    }
    
    .desktop-header {
        display: flex;
        flex-direction: row; /* Changed to row for horizontal layout */
        justify-content: space-between; /* Space out items */
        align-items: center; /* Vertically align items */
    }
    
    .mobile-header {
        display: none;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .categories-grid,
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.show {
    display: block !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Breadcrumb Styles */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.breadcrumb-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #01453E;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #9ca3af;
}

.breadcrumb-current {
    color: #01453E;
    font-weight: 500;
}

/* Category Header */
.category-header {
    background: white;
    padding: 3rem 0;
    text-align: center;
}

.category-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.category-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #01453E;
    margin-bottom: 1rem;
}

.category-description {
    font-size: 1.2rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Category Products */
.category-products {
    padding: 3rem 0;
    background: #f8f9fa;
}

/* Category Info */
.category-info {
    background: white;
    padding: 3rem 0;
}

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

.info-title {
    font-size: 2rem;
    font-weight: 600;
    color: #01453E;
    margin-bottom: 1.5rem;
}

.info-description {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.info-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #01453E;
    font-weight: 500;
}

.feature-item i {
    color: #5BA199;
    font-size: 1.2rem;
}

/* Responsive adjustments for category pages */
@media (max-width: 768px) {
    .category-title {
        font-size: 2rem;
    }
    
    .category-description {
        font-size: 1rem;
    }
    
    .info-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

