/* =====================================================
   CATEGORY TEMPLATE CSS - Miami Cakes Sevilla
   ===================================================== */

:root {
    --cat-primary: #F2B872;
    --cat-secondary: #A66F5B;
    --cat-accent: #F2C4C4;
    --cat-accent-dark: #F2F2F2;
    --cat-dark: #0D0D0D;
    --cat-light: #ffffff;
    --cat-gray: #666;
}

/* ===================================
   CATEGORY HERO
   =================================== */
.category-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    overflow: hidden;
}

.category-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.category-hero:hover .category-hero-bg {
    transform: scale(1);
}

.category-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.75) 0%, rgba(166, 111, 91, 0.55) 100%);
}

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

.category-hero-content .breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.category-hero-content .breadcrumb a {
    color: var(--cat-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.category-hero-content .breadcrumb a:hover {
    color: var(--cat-accent);
}

.category-hero-content .breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
}

.category-hero-content .breadcrumb .current {
    color: rgba(255, 255, 255, 0.8);
}

.category-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-weight: 300;
    max-width: 720px;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services-section {
    padding: 80px 0;
    background: #fafafa;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    color: var(--cat-dark);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--cat-gray);
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ===================================
   SERVICE CARD
   =================================== */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    border-left: 5px solid var(--cat-primary);
}

.service-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 32px rgba(242, 184, 114, 0.2);
    border-left-color: var(--cat-secondary);
}

.service-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--cat-primary) 0%, var(--cat-secondary) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 16px rgba(242, 184, 114, 0.35);
}

.service-content {
    flex: 1;
}

.service-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--cat-dark);
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--cat-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.975rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: linear-gradient(135deg, #FFF5E6 0%, #FFF0E0 100%);
    color: var(--cat-secondary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(242, 184, 114, 0.3);
}

.btn-service {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--cat-primary) 0%, var(--cat-secondary) 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(242, 184, 114, 0.3);
    text-decoration: none;
}

.btn-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242, 184, 114, 0.4);
    color: white;
}

/* ===================================
   CATEGORY CTA
   =================================== */
.category-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--cat-primary) 0%, var(--cat-secondary) 100%);
    text-align: center;
}

.category-cta .cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    color: white;
    margin-bottom: 1rem;
}

.category-cta .cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.category-cta .btn-primary {
    background: white;
    color: var(--cat-secondary);
}

.category-cta .btn-primary:hover {
    background: var(--cat-dark);
    color: white;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .category-hero-content h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .category-hero {
        padding: 120px 0 60px;
        min-height: 380px;
    }

    .category-hero-content h1 {
        font-size: 2rem;
    }

    .hero-intro {
        font-size: 1rem;
    }

    .service-card {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.75rem;
    }

    .service-icon {
        width: 65px;
        height: 65px;
    }

    .section-title {
        font-size: 2rem;
    }

    .category-cta .cta-content h2 {
        font-size: 2rem;
    }
}
