/* Categories Page Styles */

.categories-page {
    background: #f9f9f9;
}

/* Hero Section */
.categories-hero {
    background: linear-gradient(135deg, #005b85 0%, #d70f20 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.categories-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".1" fill="%23ffffff"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.1;
}

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

.categories-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.categories-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Intro Section */
.categories-intro {
    padding: 60px 20px;
    background: white;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* New Section */
.categories-new {
    padding: 60px 20px;
    background: linear-gradient(135deg, #fff9e6 0%, #ffe8cc 100%);
    position: relative;
}

.new-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative;
}

.new-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(255,152,0,0.3);
    z-index: 10;
}

.new-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

.new-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.new-text {
    padding: 50px 40px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

@media (max-width: 768px) {
    .new-content {
        grid-template-columns: 1fr;
    }
    
    .new-img {
        height: 250px;
    }
    
    .new-text {
        padding: 30px 25px;
    }
}

/* Categories List */
.categories-list {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
}

.category-card:nth-child(even) {
    grid-template-columns: 1fr 400px;
}

.category-card:nth-child(even) .category-image {
    order: 2;
}

.category-card:nth-child(even) .category-content {
    order: 1;
}

.category-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 350px;
    overflow: hidden;
}

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

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

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(215,15,32,0.1), rgba(0,91,133,0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-title {
    font-size: 2rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #d70f20, #005b85);
    border-radius: 2px;
}

.category-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #555;
    font-size: 0.95rem;
}

.info-item i {
    color: #d70f20;
    font-size: 1.2rem;
    min-width: 20px;
    margin-top: 2px;
}

.info-item.price {
    font-weight: 700;
    color: #d70f20;
    font-size: 1.1rem;
}

.category-description {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

@media (max-width: 992px) {
    .category-card,
    .category-card:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .category-card:nth-child(even) .category-image {
        order: 1;
    }
    
    .category-card:nth-child(even) .category-content {
        order: 2;
    }
    
    .category-image {
        min-height: 280px;
    }
    
    .category-content {
        padding: 30px 25px;
    }
    
    .category-title {
        font-size: 1.6rem;
    }
}

/* CTA Section */
.categories-cta {
    padding: 80px 20px;
    text-align: center;
    background: white;
    max-width: 800px;
    margin: 0 auto;
}

.categories-cta h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.categories-cta p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-categories-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    background: linear-gradient(135deg, #d70f20, #ff3b4e);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(215,15,32,0.25);
}

.btn-categories-primary:hover {
    background: linear-gradient(135deg, #b80d1a, #d70f20);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(215,15,32,0.35);
    color: white;
}

.btn-categories-secondary {
    display: inline-block;
    padding: 16px 35px;
    background: transparent;
    color: #d70f20;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid #d70f20;
    transition: all 0.3s ease;
}

.btn-categories-secondary:hover {
    background: #d70f20;
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .categories-hero h1 {
        font-size: 2rem;
    }
    
    .categories-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-categories-primary,
    .btn-categories-secondary {
        width: 100%;
        max-width: 300px;
    }
}
