/* ===== SERVICES PAGE STYLES - INDEPENDENT SCROLL VERSION ===== */

.container-fluid {
    max-width: 100%;
    padding: 0;
}

/* Services Hero */
.services-hero {
    height: 50vh;
    min-height: 400px;
    background: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.85), rgba(26, 26, 26, 0.7)),
        url('https://images.unsplash.com/photo-1604654894610-df63bc536371?w=1920') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    position: relative;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.services-hero-content {
    text-align: center;
    z-index: 2;
}

.services-hero-content h1 {
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--bright-silver);
    margin-bottom: 15px;
    letter-spacing: 4px;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

.services-hero-content p {
    font-size: 1.5rem;
    color: var(--metallic-silver);
    letter-spacing: 3px;
    font-weight: 300;
}

/* ============================================
   SERVICES LAYOUT - INDEPENDENT SCROLL
   ============================================ */
.services-page-content {
    background: var(--bg-dark);
    padding: 60px 0;
    position: relative;
}

.services-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
    min-height: 100vh;
    position: relative;
}

/* ============================================
   SIDEBAR - STICKY POSITION (FIXED)
   ============================================ */
.services-sidebar {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 90px;
    align-self: flex-start;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    z-index: 100;
    will-change: transform;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    scroll-behavior: smooth;
}

.services-sidebar::-webkit-scrollbar {
    width: 6px;
}

.services-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.services-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.services-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.services-nav {
    display: flex;
    flex-direction: column;
}

.service-nav-link {
    padding: 18px 30px;
    color: var(--metallic-silver);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    transition: var(--transition);
    border-left: 3px solid transparent;
    text-decoration: none;
}

.service-nav-link:hover,
.service-nav-link.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--bright-silver);
    border-left-color: var(--primary-silver);
    padding-left: 35px;
}

/* ============================================
   MAIN CONTENT - INDEPENDENT SCROLL CONTAINER
   ============================================ */
.services-main {
    position: relative;
    height: calc(100vh - 150px);
    overflow: hidden;
}

/* Wrapper con scroll interno */
.services-main-scroll {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 60px 60px 60px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05);
}

.services-main-scroll::-webkit-scrollbar {
    width: 8px;
}

.services-main-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.services-main-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.services-main-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Service Section */
.service-section {
    margin-bottom: 80px;
    scroll-margin-top: 20px;
}

.service-header-image {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.service-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.7), rgba(26, 26, 26, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-header-overlay h2 {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: var(--bright-silver);
    letter-spacing: 4px;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
}

.service-section:hover .service-header-image img {
    transform: scale(1.05);
}

/* Service Content */
.service-content {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-description {
    font-size: 1.1rem;
    color: var(--metallic-silver);
    margin-bottom: 30px;
    line-height: 1.8;
}

.subsection-title {
    font-size: 1.8rem;
    color: var(--bright-silver);
    margin: 40px 0 25px 0;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

/* Service Item */
.service-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item:hover {
    padding-left: 15px;
    background: rgba(183, 110, 121, 0.08);
    border-radius: 10px;
}

.service-item::after {
    content: '\f05a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(183, 110, 121, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rose-gold-light);
    font-size: 14px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
    pointer-events: none;
}

.service-item:hover::after {
    opacity: 1;
    transform: scale(1);
}

.service-details {
    flex: 1;
    padding-right: 30px;
}

.service-details h3 {
    font-size: 1.4rem;
    color: var(--bright-silver);
    margin-bottom: 10px;
    font-weight: 600;
}

.service-details h4 {
    font-size: 1.1rem;
    color: var(--bright-silver);
    margin-bottom: 5px;
    font-weight: 600;
}

.service-details p {
    font-size: 0.95rem;
    color: var(--metallic-silver);
    line-height: 1.7;
    margin: 0;
}

.service-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--bright-silver);
    white-space: nowrap;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Highlighted Services */
.service-item.highlight {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 10px 0;
}

.service-item.premium {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(232, 232, 232, 0.05));
    padding: 30px 25px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin: 15px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 255, 255, 0.1);
}

.service-note {
    display: block;
    font-size: 0.85rem;
    color: var(--primary-silver);
    font-style: italic;
    margin-top: 10px;
    font-weight: 500;
}

.small-note {
    font-size: 0.75rem;
    color: var(--metallic-silver);
    font-weight: 400;
    font-style: italic;
}

.service-note-bottom {
    font-size: 0.9rem;
    color: var(--metallic-silver);
    font-style: italic;
    margin-top: 30px;
    text-align: center;
}

.service-note-box {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--primary-silver);
    padding: 20px 25px;
    border-radius: 10px;
    margin-top: 30px;
}

.service-note-box p {
    color: var(--metallic-silver);
    line-height: 1.8;
    margin: 0;
}

.service-note-box strong {
    color: var(--bright-silver);
}

/* Compact Items */
.service-item.compact {
    padding: 15px 0;
}

.service-item.compact h4 {
    font-size: 1rem;
}

/* Extras Grid */
.extras-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 30px 0;
}

.extras-column {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.column-title {
    font-size: 1.1rem;
    color: var(--bright-silver);
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

/* Waxing Grid */
.waxing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Complimentary Section */
.complimentary-section {
    background: rgba(255, 255, 255, 0.08);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 50px;
    margin-top: 60px;
    text-align: center;
}

.complimentary-content i {
    font-size: 4rem;
    color: var(--primary-silver);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.complimentary-content h3 {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--bright-silver);
    margin-bottom: 15px;
    font-style: italic;
}

.complimentary-content p {
    font-size: 1.1rem;
    color: var(--metallic-silver);
    max-width: 600px;
    margin: 0 auto;
}

/* Services CTA */
.services-cta {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(232, 232, 232, 0.03));
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.services-cta h2 {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--bright-silver);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.services-cta p {
    font-size: 1.2rem;
    color: var(--metallic-silver);
    margin-bottom: 40px;
}

/* Active Nav Link */
.nav-link.active {
    color: var(--bright-silver);
    position: relative;
}

.nav-link.active::after {
    width: 100%;
}

/* ============================================
   HAMBURGER MENU
   ============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--bright-silver);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .services-layout {
        grid-template-columns: 250px 1fr;
    }

    .services-main-scroll {
        padding: 0 40px 60px 40px;
    }

    .services-main {
        height: calc(100vh - 140px);
    }
}

@media (max-width: 968px) {
    /* Hamburger Menu */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 75%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 50px 40px;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(183, 110, 121, 0.2);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0;
    }
    
    .nav-link {
        display: block;
        color: var(--bright-silver);
        width: 100%;
        padding: 18px 0;
        border-bottom: 1px solid rgba(183, 110, 121, 0.15);
        font-size: 1.1rem;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-menu .btn {
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }

    /* Services Layout Mobile */
    .services-layout {
        grid-template-columns: 1fr;
    }

    .services-sidebar {
        position: static;
        max-height: none;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 30px 20px;
    }

    .services-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .service-nav-link {
        padding: 12px 20px;
        border-left: none;
        border-bottom: 2px solid transparent;
        border-radius: 25px;
        font-size: 0.8rem;
    }

    .service-nav-link:hover,
    .service-nav-link.active {
        padding-left: 20px;
        border-left: none;
        border-bottom-color: var(--primary-silver);
        background: rgba(255, 255, 255, 0.08);
    }

    /* Disable independent scroll on mobile */
    .services-main {
        height: auto;
        overflow: visible;
    }

    .services-main-scroll {
        height: auto;
        overflow: visible;
        padding: 40px 20px;
    }

    .service-header-overlay h2 {
        font-size: 2.5rem;
    }

    .services-hero-content h1 {
        font-size: 2.5rem;
    }

    .extras-grid,
    .waxing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .services-hero {
        height: 40vh;
        min-height: 300px;
    }

    .services-hero-content h1 {
        font-size: 2rem;
    }

    .services-hero-content p {
        font-size: 1.1rem;
    }

    .service-header-image {
        height: 250px;
    }

    .service-header-overlay h2 {
        font-size: 2rem;
    }

    .service-content {
        padding: 25px 20px;
    }

    .service-item {
        flex-direction: column;
        gap: 15px;
    }

    .service-details {
        padding-right: 0;
    }

    .service-price {
        font-size: 1.5rem;
    }

    .complimentary-section {
        padding: 30px 20px;
    }

    .complimentary-content i {
        font-size: 3rem;
    }

    .complimentary-content h3 {
        font-size: 1.5rem;
    }

    .services-cta h2 {
        font-size: 2rem;
    }
}

/* Accessibility */
.service-item:focus-visible {
    outline: 3px solid rgba(183, 110, 121, 0.6);
    outline-offset: 4px;
}