/* ============================================
   Services V2 - Horizontal Compact Layout
   ============================================ */

.services-v2-hero .container,
.services-tabs-section .container,
.services-main-content .container,
.accordion-section .container,
.category-strip .container,
.cta-section-v2 .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* TOP BAR */
.services-v2-hero {
    padding: calc(80px + 2rem) 0 1.5rem;
    text-align: center;
    background: transparent;
}

.services-v2-title {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.services-v2-subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* SERVICES TABS */
.services-tabs-section {
    padding: 1.5rem 0;
    background: rgba(31, 68, 51, 0.15);
    border-top: 1px solid rgba(61, 107, 79, 0.3);
    border-bottom: 1px solid rgba(61, 107, 79, 0.3);
}

.services-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 2rem;
    background: rgba(31, 68, 51, 0.3);
    border: 1px solid rgba(61, 107, 79, 0.4);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-base);
    font-family: var(--font-primary);
}

.tab-btn:hover {
    background: rgba(61, 107, 79, 0.4);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--accent-gold);
    color: #1f4433;
    border-color: var(--accent-gold);
    font-weight: 600;
}

/* MAIN CONTENT AREA */
.services-main-content {
    padding: 2rem 0;
    min-height: 500px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.panel-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.panel-title {
    font-family: var(--font-secondary);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-gold);
}

.panel-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.panel-bullets {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.panel-bullets li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.panel-bullets li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 700;
}

.highlight-card {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.highlight-card strong {
    color: var(--accent-gold);
    display: block;
    margin-bottom: 0.25rem;
}

.highlight-partnership {
    background: rgba(61, 107, 79, 0.2);
    border-color: rgba(61, 107, 79, 0.4);
}

.highlight-partnership strong {
    color: var(--accent-gold);
}

/* IMAGE CAROUSEL */
.panel-right {
    position: relative;
}

.image-carousel {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: rgba(31, 68, 51, 0.2);
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
    overflow: hidden;
}

/* SERVICE IMAGE (Single Image, No Carousel) */
.service-image {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 16/10;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Service Image Carousel */
.service-image-carousel {
    position: relative;
}

.service-image-carousel .carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.service-image-carousel .carousel-image.active {
    opacity: 1;
    position: relative;
}

.carousel-item {
    min-width: 100%;
    position: relative;
    aspect-ratio: 16/10;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: var(--radius-full);
    font-size: 1.5rem;
    color: #1f4433;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    font-weight: 300;
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

/* ACCORDION */
.accordion-section {
    padding: 2rem 0;
    background: rgba(31, 68, 51, 0.1);
}

.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: rgba(31, 68, 51, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    border: 1px solid rgba(61, 107, 79, 0.3);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    transition: var(--transition-base);
}

.accordion-header:hover {
    background: rgba(61, 107, 79, 0.2);
}

.accordion-item.active .accordion-header {
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent-gold);
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: var(--accent-gold);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 1rem 1.5rem 1.5rem;
}

.accordion-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* CATEGORY STRIP */
.category-strip {
    padding: 2rem 0;
    background: transparent;
}

.category-strip-title {
    text-align: center;
    font-family: var(--font-secondary);
    font-size: clamp(1.5rem, 2.5vw, 1.9rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.category-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.category-scroll::-webkit-scrollbar {
    height: 6px;
}

.category-scroll::-webkit-scrollbar-track {
    background: rgba(31, 68, 51, 0.2);
    border-radius: var(--radius-full);
}

.category-scroll::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: var(--radius-full);
}

.category-item {
    flex: 0 0 140px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-base);
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-image {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 0.75rem;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.category-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--accent-gold);
    color: #1f4433;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.napoli-badge {
    background: var(--accent-gold);
    color: #1f4433;
}

.category-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* CTA SECTION */
.cta-section-v2 {
    padding: 2rem 0;
    text-align: center;
    background: rgba(31, 68, 51, 0.15);
    border-top: 1px solid rgba(61, 107, 79, 0.3);
}

.cta-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.cta-buttons-v2 {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .content-panel {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .panel-right {
        order: -1;
    }

    .services-tabs {
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .services-v2-hero {
        padding: calc(80px + 1.5rem) 0 1rem;
    }

    .services-main-content {
        padding: 1.5rem 0;
    }

    .accordion-section {
        padding: 1.5rem 0;
    }

    .category-strip {
        padding: 1.5rem 0;
    }

    .category-item {
        flex: 0 0 120px;
    }

    .category-image {
        width: 120px;
        height: 120px;
    }
}

