/* 
   Theme: Wholesale Industrial
   Colors: Deep Warehouse Blue (#0A2342), Signal Orange (#FF6B00), White (#FFFFFF), Light Gray (#F4F4F4), Dark Gray (#333333)
   Fonts: Oswald (Headings), Roboto (Body)
*/

:root {
    --primary-color: #0A2342; /* Deep Warehouse Blue */
    --secondary-color: #FF6B00; /* Signal Orange */
    --text-color: #333333;
    --bg-light: #FFFFFF;
    --bg-gray: #F4F4F4;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Top Bar */
.top-bar {
    background-color: var(--secondary-color);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: white;
    text-decoration: underline;
}

.icon {
    margin-right: 5px;
}

/* Navigation */
.navbar {
    background-color: var(--bg-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

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

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

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.btn-nav {
    background-color: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 0; /* Industrial look: square corners */
    transition: background-color 0.3s ease;
}

.btn-nav:hover {
    background-color: #153a66;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 80vh;
    min-height: 600px;
    background-image: url('images/hero_warehouse.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 35, 66, 0.8), rgba(10, 35, 66, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.badge {
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 15px 35px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: white;
    padding: 15px 35px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* USPs */
.usps {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.usp-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.usp-item h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.usp-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* Sections General */
section {
    padding: 80px 0;
}

.section-gray {
    background-color: var(--bg-gray);
}

.section-dark {
    background-color: #1a1a1a; /* Darker than primary for contrast */
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
}

.text-white {
    color: white !important;
}

.divider {
    width: 80px;
    height: 5px;
    background-color: var(--primary-color);
    margin: 20px auto 0;
}

.divider-orange {
    background-color: var(--secondary-color);
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #777;
    font-weight: 500;
}

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

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Wider cards for more details */
    gap: 30px;
}

.product-card {
    background-color: white;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background-color: #f9f9f9;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.stock-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-cat {
    color: #999;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--primary-color);
}

/* Details List (V1 Style) */
.details-list {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #555;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.detail-item {
    margin-bottom: 8px;
}

.detail-item strong {
    color: #333;
    font-weight: 700;
    margin-right: 5px;
}

/* Stats Box (V2 Style) */
.stats-box {
    background-color: #f9f9f9;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.stats-box h4 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
    font-weight: 500;
    color: #555;
    font-size: 0.85rem;
}

.stat-bar {
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    margin-bottom: 8px;
    overflow: hidden;
}

.stat-bar div {
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 3px;
}

.brands {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #777;
    font-style: italic;
    border-top: 1px solid #eee;
    padding-top: 5px;
}

/* Price Block */
.price-block {
    background-color: var(--bg-gray);
    padding: 15px;
    text-align: center;
    margin-top: auto; /* Push to bottom */
    margin-bottom: 0;
}

.price-net {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.price-net small {
    font-size: 1rem;
    font-weight: 400;
    color: #777;
}

.price-gross {
    display: block;
    font-size: 0.9rem;
    color: #777;
}

.btn-buy {
    display: block;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 15px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    border: none;
    width: 100%;
    cursor: pointer;
}

.btn-buy:hover {
    background-color: var(--secondary-color);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    color: white;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
}

.step h3 {
    color: white;
    font-size: 1.5rem;
}

.step p {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
footer {
    background-color: #111;
    color: white;
    padding: 60px 0 20px;
    border-top: 5px solid var(--secondary-color);
}

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

.footer-col h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

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

.contact-info a {
    color: var(--secondary-color);
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
    background-color: white;
    padding: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #666;
}

/* Legal Pages */
.legal-page {
    padding-top: 40px;
    min-height: 60vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border: 1px solid #eee;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.legal-content p {
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .navbar .container {
        position: relative;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
