* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;
    --text-dark: #0f172a;
    --text-medium: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-gray: #f1f5f9;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    font-size: 15px;
}

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

/* Header */
.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Hero Section */
.hero {
    background-image: url('assets/hero/warehouse-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Top Products Section */
.top-products-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.top-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 0;
}

.view-all-container {
    text-align: center;
    margin-top: 2rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

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

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.btn-cta {
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
    background-color: #ffffff;
    color: var(--primary-color);
    transition: all 0.3s;
}

.btn-cta:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Products Section */
.products-section {
    padding: 2.5rem 0 4rem;
    background-color: var(--bg-white);
}

/* Products Layout with Sidebar */
.products-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.products-sidebar {
    flex: 0 0 280px;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
    padding: 1.5rem;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.sidebar-section .search-bar {
    margin-bottom: 0;
}

.sidebar-section .search-input {
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    font-size: 0.9rem;
}

.sidebar-filters {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-filters .filter-btn {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
}

.catalog-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    color: var(--text-medium);
    font-size: 0.875rem;
    line-height: 1.5;
}

.catalog-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.catalog-note a:hover {
    text-decoration: underline;
}

.products-content {
    flex: 1;
    min-width: 0;
}

.show-more-container {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.section-header p {
    color: var(--text-medium);
    font-size: 1rem;
}

/* Filters */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-medium);
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: var(--bg-light);
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Search Bar */
.search-bar {
    margin-bottom: 0;
    position: relative;
}

.products-content .search-bar {
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.95rem;
    transition: all 0.2s;
    background-color: var(--bg-white);
    color: var(--text-dark);
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-bar::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    opacity: 0.6;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-card {
    background-color: var(--bg-white);
    border-radius: 0.5rem;
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.product-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.product-image {
    width: 100%;
    height: 200px;
    background-color: var(--bg-gray);
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-light);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.product-emoji {
    color: white;
    font-size: 3rem;
    font-weight: 700;
}

.product-sku {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.product-description {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.product-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-category {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background-color: var(--bg-gray);
    color: var(--text-medium);
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: var(--bg-gray);
    color: var(--text-dark);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-section p {
    color: var(--text-medium);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-medium);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        justify-content: center;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 4rem 0;
        min-height: 400px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .top-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .products-layout {
        flex-direction: column;
    }

    .products-sidebar {
        flex: 0 0 auto;
        position: static;
        max-height: none;
        width: 100%;
        margin-bottom: 2rem;
    }

    .products-content {
        width: 100%;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1.1rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .filters {
        justify-content: flex-start;
    }

    .about-section-row {
        flex-direction: column;
        gap: 2rem;
    }

    .about-section-row-reverse {
        flex-direction: column;
    }

    .about-image-square {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        height: 400px;
        margin: 0 auto;
    }

    .commitment-section {
        padding: 3rem 0;
    }

    .commitment-content h2 {
        font-size: 1.75rem;
    }

    .commitment-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .products-grid,
    .top-products-grid {
        grid-template-columns: 1fr;
    }

    .products-sidebar {
        padding: 1rem;
    }

    .sidebar-section h3 {
        font-size: 1rem;
    }

    .hero {
        padding: 3rem 0;
        min-height: 350px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .btn-cta {
        font-size: 1rem;
        padding: 0.875rem 2rem;
    }

    .about-image-square {
        height: 300px;
        max-width: 100%;
    }

    .commitment-section {
        padding: 2.5rem 0;
    }

    .commitment-content h2 {
        font-size: 1.5rem;
    }

    .commitment-content p {
        font-size: 0.95rem;
    }
}

/* About Section */
/* About Page Hero */
.about-hero {
    background-image: url('assets/hero/warehouse.jpg');
}

/* Contact Page Hero */
.contact-hero {
    background-image: url('assets/hero/warehouse-contact.jpg');
}

.about-section {
    padding: 3rem 0 4rem;
    background-color: var(--bg-white);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-section-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-section-row-reverse {
    flex-direction: row-reverse;
}

.about-image {
    margin-bottom: 3rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-image-square {
    flex: 0 0 400px;
    width: 400px;
    height: 400px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-image-square img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.about-text {
    flex: 1;
    color: var(--text-dark);
}

.about-text h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-text h2:first-child {
    margin-top: 0;
}

.about-text p {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-categories {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.product-categories li {
    padding: 0.75rem 0;
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--border-light);
}

.product-categories li:last-child {
    border-bottom: none;
}

.product-categories li strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Commitment Section */
.commitment-section {
    background-color: #dc2626;
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
}

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

.commitment-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.commitment-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #ffffff;
    margin: 0;
}

/* Contact Section */
.contact-info {
    margin: 2rem 0;
}

.contact-item {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.contact-email {
    margin-top: 1rem;
    margin-bottom: 0 !important;
}

.contact-email a {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-email a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}
