/* 
 * Products Page - Complete Redesign
 * Modern, Clean, Professional Layout
 */

/* ===== PAGE HERO SECTION ===== */
.page-hero {
    padding: 120px 0 100px;
    background: var(--primary-blue);
    color: var(--white);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(184, 115, 51, 0.08);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-weight: var(--font-weight-medium);
}

.breadcrumb a:hover {
    color: var(--copper);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
}

.page-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-regular);
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.2;
    text-shadow: none;
}

.page-subtitle {
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--white);
    margin-bottom: 0;
    font-weight: var(--font-weight-regular);
    max-width: 600px;
}

/* ===== PRODUCTS TABBED SECTION ===== */
.products-tabbed-section {
    padding: 100px 0;
    background: var(--light-gray);
    position: relative;
    width: 100%;
}

.products-tabs-navigation {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-medium);
    font-size: 0.9rem;
    font-weight: var(--font-weight-regular);
    color: var(--text-dark);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    min-width: 200px;
    justify-content: center;
    box-shadow: none;
}

.tab-btn:hover {
    border-color: var(--copper);
    color: var(--copper);
    background: #fef7f0;
}

.tab-btn.active {
    background: var(--copper);
    border-color: var(--copper);
    color: var(--white);
    box-shadow: none;
}

.tab-btn i {
    font-size: 1.1rem;
    transition: none;
}

/* ===== TAB CONTENT ===== */
.products-tabs-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeInUp 0.6s ease-out;
}

.tab-panel.active {
    display: block;
}

.tab-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 0;
    align-items: stretch;
    background: var(--white);
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.tab-image {
    position: relative;
    height: 520px;
    overflow: hidden;
}

.tab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.tab-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 35, 50, 0.2);
    z-index: 1;
}

/* Remove hover scale effect */

.tab-info {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-title {
    font-size: 1.8rem;
    font-weight: var(--font-weight-regular);
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.category-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-medium);
    margin-bottom: 32px;
    font-weight: var(--font-weight-regular);
}

/* ===== PRODUCTS LIST ===== */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-medium);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 1px solid #e5e7eb;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-item:hover {
    background: #f9fafb;
    border-color: var(--copper);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.product-preview {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-small);
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.product-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}

.product-details {
    flex-grow: 1;
}

.product-details h3 {
    font-size: 1.1rem;
    font-weight: var(--font-weight-regular);
    color: var(--text-dark);
    margin-bottom: 6px;
    transition: none;
}

.product-details p {
    color: var(--text-medium);
    margin-bottom: 8px;
    line-height: 1.4;
    font-size: 0.9rem;
    font-weight: var(--font-weight-regular);
}

.view-product-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--copper);
    text-decoration: none;
    font-weight: var(--font-weight-regular);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    padding: 8px 16px;
    border-radius: var(--radius-small);
    background: transparent;
    border: 1px solid var(--copper);
}

.view-product-btn:hover {
    background: var(--copper);
    color: var(--white);
    gap: 14px;
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(184, 115, 51, 0.3);
}

.view-product-btn i {
    transition: transform var(--transition-fast);
}

.view-product-btn:hover i {
    transform: translateX(4px);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 100px 0;
    background: var(--primary-blue-dark);
    color: var(--white);
    text-align: center;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    background-size: 50px 50px;
    animation: float 20s linear infinite;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.cta-title {
    font-size: 3.2rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 24px;
    color: var(--white);
    text-shadow: none;
}

.cta-description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: var(--font-weight-regular);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: var(--copper);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-large);
    font-weight: var(--font-weight-semibold);
    font-size: 1.1rem;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
}

.cta-btn:hover {
    background: var(--copper-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    gap: 16px;
}

.cta-btn i {
    transition: transform var(--transition-fast);
    font-size: 1.1rem;
}

.cta-btn:hover i {
    transform: translateX(4px);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

/* ===== DARK MODE SUPPORT ===== */
[data-theme="dark"] .page-hero {
    background: #0f1419;
    color: #f8fafc;
}

[data-theme="dark"] .breadcrumb a {
    color: rgba(248, 250, 252, 0.8);
}

[data-theme="dark"] .breadcrumb a:hover {
    color: #d4822a;
}

[data-theme="dark"] .breadcrumb span {
    color: rgba(248, 250, 252, 0.6);
}

[data-theme="dark"] .page-title {
    color: #f8fafc;
}

[data-theme="dark"] .page-subtitle {
    color: rgba(248, 250, 252, 0.9);
}

[data-theme="dark"] .products-tabbed-section {
    background: #1a1a1a;
}

[data-theme="dark"] .tab-btn {
    background: #2c2c2c;
    color: #e0e0e0;
    border-color: #2c2c2c;
}

[data-theme="dark"] .tab-btn:hover {
    background: rgba(184, 115, 51, 0.2);
    color: var(--copper-light);
    border-color: rgba(184, 115, 51, 0.4);
}

[data-theme="dark"] .tab-btn.active {
    background: var(--copper);
    color: var(--white);
    border-color: var(--copper);
}

[data-theme="dark"] .tab-content-wrapper {
    background: #2c2c2c;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .category-title {
    color: var(--white);
}

[data-theme="dark"] .category-description {
    color: #b0b0b0;
}

[data-theme="dark"] .product-item {
    background: #353535;
    border-color: transparent;
}

[data-theme="dark"] .product-item:hover {
    background: #404040;
    border-color: rgba(184, 115, 51, 0.4);
}

[data-theme="dark"] .product-details h3 {
    color: var(--white);
}

[data-theme="dark"] .product-item:hover .product-details h3 {
    color: var(--copper-light);
}

[data-theme="dark"] .product-details p {
    color: #b0b0b0;
}

[data-theme="dark"] .view-product-btn {
    background: rgba(184, 115, 51, 0.2);
    color: var(--copper-light);
    border-color: rgba(184, 115, 51, 0.4);
}

[data-theme="dark"] .view-product-btn:hover {
    background: var(--copper);
    color: var(--white);
    border-color: var(--copper);
}

[data-theme="dark"] .cta-section {
    background: #0a0e14;
}

[data-theme="dark"] .cta-content {
    background: rgba(30, 41, 54, 0.8);
    border-color: #334155;
}

[data-theme="dark"] .cta-title {
    color: #f8fafc;
}

[data-theme="dark"] .cta-description {
    color: rgba(248, 250, 252, 0.9);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .tab-content-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .tab-image {
        height: 400px;
        order: -1;
    }
    
    .tab-info {
        padding: 40px;
    }
    
    .category-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 60px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .products-tabbed-section {
        padding: 80px 0;
    }
    
    .products-tabs-navigation {
        flex-direction: column;
        gap: 16px;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .tab-btn {
        min-width: 100%;
        background: var(--white);
        border: 1px solid #e5e7eb;
        padding: 14px 20px;
        border-radius: var(--radius-medium);
    }
    
    .tab-btn:hover {
        border-color: var(--copper);
        background: #fef7f0;
    }
    
    .tab-btn.active {
        background: var(--copper);
        border-color: var(--copper);
        box-shadow: none;
    }
    
    .tab-image {
        height: 300px;
    }
    
    .tab-info {
        padding: 30px 20px;
    }
    
    .category-title {
        font-size: 1.5rem;
        font-weight: var(--font-weight-regular);
    }
    
    .category-description {
        font-size: 1rem;
        font-weight: var(--font-weight-regular);
    }
    
    .product-item {
        flex-direction: row;
        text-align: left;
        gap: 16px;
        padding: 16px;
    }
    
    .product-preview {
        width: 50px;
        height: 50px;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
    }
    
    .cta-content {
        padding: 60px 40px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 100px 0 50px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .products-tabbed-section {
        padding: 60px 0;
    }
    
    .tab-info {
        padding: 20px;
    }
    
    .category-title {
        font-size: 1.8rem;
    }
    
    .cta-section {
        padding: 80px 0;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .cta-content {
        padding: 40px 30px;
    }
}

/* Product Category Sections */
.product-category-section {
    margin-bottom: 3rem;
}

.subcategory-title {
    font-size: 1.6rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--copper);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.subcategory-title::before {
    content: \

\;
    color: var(--copper);
    font-weight: bold;
    font-size: 1.4rem;
}

[data-theme=\dark\] .subcategory-title {
    color: var(--copper);
    border-bottom-color: var(--copper);
}



/* Detailed Products Section - OUTSIDE TABS */
.detailed-products-section {
    padding: 80px 0;
    background: var(--white);
}

[data-theme=\

dark\] .detailed-products-section {
    background: var(--dark-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-blue);
    margin-bottom: 16px;
}

[data-theme=\dark\] .section-title {
    color: var(--copper);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

[data-theme=\dark\] .section-subtitle {
    color: var(--text-light);
}

.product-category-detailed {
    margin-bottom: 60px;
}

.category-main-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-blue);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.category-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--copper);
    border-radius: 2px;
}

[data-theme=\dark\] .category-main-title {
    color: var(--copper);
}

.product-subcategory {
    margin-bottom: 50px;
}

.product-subcategory .subcategory-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 4px solid var(--copper);
}

[data-theme=\dark\] .product-subcategory .subcategory-title {
    color: var(--white);
}

.detailed-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.detailed-product-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.detailed-product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

[data-theme=\dark\] .detailed-product-item {
    background: var(--dark-surface);
    border-color: var(--border-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme=\dark\] .detailed-product-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.detailed-product-image {
    height: 200px;
    overflow: hidden;
}

.detailed-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.detailed-product-item:hover .detailed-product-image img {
    transform: scale(1.05);
}

.detailed-product-info {
    padding: 20px;
}

.detailed-product-info h5 {
    font-size: 1.2rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-bottom: 8px;
}

[data-theme=\dark\] .detailed-product-info h5 {
    color: var(--white);
}

.detailed-product-info p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.5;
    margin-bottom: 15px;
}

[data-theme=\dark\] .detailed-product-info p {
    color: var(--text-light);
}

.detailed-product-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--copper);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
}

.detailed-product-btn:hover {
    background: var(--copper-dark);
    transform: translateX(2px);
}

@media (max-width: 768px) {
    .detailed-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .category-main-title {
        font-size: 1.6rem;
    }
    
    .product-subcategory .subcategory-title {
        font-size: 1.3rem;
    }
}

