/* =========================================
   CABLES PAGE STYLES
   ========================================= */

/* Page Title */
.page-title {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    border-bottom: 1px solid #dee2e6;
}

.page-title h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.breadcrumbs {
    color: #666;
    font-size: 14px;
}

.breadcrumbs a {
    color: #f15a2b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #d1481e;
}

.breadcrumbs .current {
    color: #999;
}

/* Categories Section */
.categories-section {
    padding: 80px 0;
    background: #fff;
}

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

.section-intro h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-intro .highlight {
    color: #f15a2b;
}

.section-intro p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border-color: #f15a2b;
}

.category-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f15a2b 0%, #d1481e 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(241, 90, 43, 0.3);
}

.category-content {
    padding: 30px;
}

.category-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.category-card:hover .category-title {
    color: #f15a2b;
}

.category-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.category-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.product-count {
    color: #999;
    font-size: 0.9rem;
    font-weight: 500;
}

.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f15a2b 0%, #d1481e 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(241, 90, 43, 0.2);
}

.view-btn:hover {
    color: white;
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(241, 90, 43, 0.4);
}

.view-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.view-btn:hover i {
    transform: translateX(3px);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-title .highlight {
    color: #f15a2b;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-item {
    text-align: center;
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: #f15a2b;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f15a2b 0%, #d1481e 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-item h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #333 0%, #2c2c2c 100%);
    color: white;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-text h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.cta-text p {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #f15a2b 0%, #d1481e 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(241, 90, 43, 0.3);
}

.btn-primary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(241, 90, 43, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: #666;
}

.btn-outline:hover {
    background: #f15a2b;
    border-color: #f15a2b;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        padding: 40px 0;
    }
    
    .page-title h1 {
        font-size: 2rem;
    }
    
    .categories-section {
        padding: 60px 0;
    }
    
    .section-intro h2,
    .section-title h2 {
        font-size: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .category-card {
        border-radius: 15px;
    }
    
    .category-image {
        height: 200px;
    }
    
    .category-content {
        padding: 25px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
    
    .feature-item {
        padding: 30px 20px;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-content {
        padding: 20px;
    }
    
    .category-title {
        font-size: 1.3rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-item h4 {
        font-size: 1.1rem;
    }
    
    .cta-text h3 {
        font-size: 1.5rem;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        justify-content: center;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Loading State */
.category-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.category-card.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #f15a2b;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Focus styles for accessibility */
.category-card:focus,
.view-btn:focus,
.btn:focus {
    outline: 2px solid #f15a2b;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .category-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .cta-section {
        background: #f8f9fa !important;
        color: #333 !important;
    }
}