/* ======================================== */
/* CATALOG PAGE STYLES - NETFLIX STYLE      */
/* ======================================== */

:root {
    --primary-orange: #FF8C00;
    --secondary-orange: #FFA500;
    --dark-bg: #1a1a1a;
    --darker-bg: #0f0f0f;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --text-lighter: #999999;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.2;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 140, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 60px;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
    display: block;
}

.logo img:hover {
    transform: scale(1.05);
}

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    position: relative;
    transition: color 0.3s ease;
    padding: 8px 0;
    font-family: 'Montserrat', sans-serif;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    position: relative;
    height: 44px;
    width: 44px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu Toggle Active State */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Catalog Hero */
.catalog-hero {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%), 
                url("images/catalog-hero-bg.jpg") no-repeat center center/cover;
    padding: 140px 0 100px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    margin-top: 80px;
}

.catalog-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

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

.catalog-title {
    font-size: 4em;
    margin-bottom: 20px;
    font-weight: 900;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    letter-spacing: -1px;
    font-family: 'Montserrat', sans-serif;
}

.catalog-description {
    font-size: 1.4em;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    font-family: 'Montserrat', sans-serif;
}

/* Filters Section */
.catalog-filters {
    background-color: #1a1a1a;
    padding: 30px 0;
    border-bottom: 2px solid var(--primary-orange);
    position: sticky;
    top: 80px;
    z-index: 99;
    backdrop-filter: blur(10px);
}

.filters-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    font-size: 0.9em;
    color: var(--primary-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
}

.filter-group select,
.filter-group input[type="text"] {
    padding: 12px 16px;
    border: 2px solid var(--primary-orange);
    border-radius: 6px;
    font-size: 1em;
    background-color: #0a0a0a;
    color: #fff;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Products Grid */
.products-container {
    padding: 60px 0;
    background: var(--darker-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: var(--dark-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 140, 0, 0.2);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 16px 50px rgba(255, 140, 0, 0.3);
    border-color: var(--primary-orange);
}

.product-image {
    width: 100%;
    height: 200px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.product-category {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.product-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.btn-product {
    flex: 1;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 14px;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 13px;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: #fff;
    padding: 40px 0 20px;
    border-top: 1px solid rgba(255, 140, 0, 0.2);
}

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

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-orange);
}

.footer-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 140, 0, 0.2);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .nav-menu {
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 40px 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 18px;
        margin: 20px 0;
        width: 100%;
        text-align: left;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 140, 0, 0.1);
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        color: var(--primary-orange);
        padding-left: 10px;
    }
}

@media (max-width: 768px) {
    .catalog-title {
        font-size: 2.5em;
    }

    .catalog-description {
        font-size: 1.1em;
    }

    .catalog-hero {
        padding: 120px 0 80px;
        margin-top: 70px;
    }

    .filters-wrapper {
        flex-direction: column;
    }

    .filter-group {
        min-width: 100%;
    }

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

    .nav-menu {
        width: 100%;
        max-width: none;
        padding: 80px 20px 40px;
    }

    .mobile-menu-toggle {
        right: 16px;
    }
}

@media (max-width: 480px) {
    .catalog-title {
        font-size: 1.8em;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-footer {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-product,
    .btn-whatsapp {
        width: 100%;
    }

    .nav-menu {
        width: 100%;
        max-width: none;
        padding: 80px 16px 40px;
    }

    .nav-menu a {
        font-size: 16px;
        margin: 15px 0;
    }
}
