/* 
   Beauty Rita - Main Stylesheet
   Theme: Elegant, Modern, Beauty
*/

:root {
    --primary-color: #cd8c52;
    /* Bronze - New Primary */
    --secondary-color: #786e6d;
    /* Taupe - New Secondary */
    --accent-color: #e0d5be;
    /* Cream - New Accent */
    --text-color: #1f222b;
    /* Dark Navy - New Text */
    --light-text-color: #555555;
    /* Dark Grey */
    --bg-color: #ffffff;
    --light-bg-color: #f4f1ea;
    /* Light Greige */
    --white: #ffffff;
    --header-height: 80px;
    --font-heading: 'Montserrat', sans-serif;
    /* Global Montserrat */
    --font-body: 'Montserrat', sans-serif;
    /* Global Montserrat */
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--primary-color);
    /* All titles match contact title color */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(205, 140, 82, 0.3);
}

.btn-secondary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--light-bg-color);
    transform: translateY(-2px);
}

/* Header */
.header {
    height: var(--header-height);
    background-color: var(--white);
    /* Changed to pure white */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    /* Display images side by side */
    align-items: center;
    gap: 10px;
    /* Space between the two images */
    max-width: 300px;
    /* Increased max-width to fit both */
    height: auto;
}

.logo img {
    height: 60px;
    /* Constrain height to fit header */
    width: auto;
    object-fit: contain;
}

/* Specific adjustment if needed for the text logo part */
.logo .logo-text {
    height: 50px;
    /* Slightly smaller or adjusted if needed */
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

/* Promozioni Button Style in Nav */
.nav-list a.nav-btn {
    border: 2px solid var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-list a.nav-btn::after {
    display: none;
    /* Remove underline effect */
}

.nav-list a.nav-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(205, 140, 82, 0.2);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color);
    /* Changed text to dark for contrast with light overlay */
    margin-top: 0;
}

.hero-bg-video {
    position: fixed;
    /* Changed to fixed to stay in place while scrolling */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.65);
    /* White transparency 65% */
    z-index: -1;
}

.hero-center-img {
    max-width: 90%;
    width: 700px;
    /* Increased size */
    height: auto;
    margin: -50px auto 30px;
    /* Moved up */
    display: block;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    /* Primary color for title */
    text-shadow: none;
    /* Removed shadow */
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: none;
    /* Removed shadow */
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Zoom Animation */
.zoom-in {
    opacity: 0;
    transform: scale(0.8);
    animation: zoomIn 5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    /* Slowed down to 5s */
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.delay-2 {
    animation-delay: 2s;
}

/* Scroll Animation Classes */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Zoom for Bio Images */
.bio-img-hover {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-origin: center center;
    position: relative;
    z-index: 1;
}

.bio-img-hover:hover {
    transform: scale(2);
    z-index: 1000;
    cursor: zoom-in;
    /* Removed shadow as requested */
}

/* Video Background for Chi Siamo */
#chisiamo-video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#chisiamo-video-bg video,
#chisiamo-video-bg img {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.1;
    /* Transparency adjusted again (was 0.2) */
}

.team-bios {
    background-color: #ffffff;
    /* Solid background to cover video */
    position: relative;
    z-index: 10;
    /* Ensure it covers video */
    padding: 60px 0;
    margin-top: 50px;
    /* Separation */
}

/* Ensure about text is readable on video */
/* .about-text p, .about-text h2 {} - Removed empty rule */


/* About Section */
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--light-text-color);
    font-size: 1.1rem;
}

/* Services */
.services {
    background-color: var(--light-bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Flexbox for alignment */
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensure full height */
}

/* Home Intro Specifics */
#home-intro .about-container {
    align-items: stretch;
    /* Stretch to match height */
}

#home-intro .about-image img {
    height: 100%;
    object-fit: cover;
    /* Maintain aspect ratio filling the height */
    width: 100%;
}

#home-intro .about-text h2 {
    font-family: 'Montserrat', sans-serif;
    /* color: #000; Removed to inherit primary color */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.8rem;
    /* Reduced size */
    line-height: 1.2;
    /* Tighter line height to help fit 2 lines */
}

/* Highlights Carousel (Homepage - Infinite Scroll) */
.highlights-carousel {
    overflow: hidden;
    /* Mask content */
    width: 100%;
    position: relative;
    padding-bottom: 20px;
}

/* Carousel Arrows */
.nav-arrow {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.nav-arrow:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.nav-arrow.prev {
    margin-right: 15px;
}

.nav-arrow.next {
    margin-left: 15px;
}

.carousel-track {
    display: flex;
    width: max-content;
    /* animation: scroll 30s linear infinite; REMOVED for JS Control */
    gap: 30px;
    padding-left: 0;
    /* Removed padding to simplify JS math */
}

/* Pause on hover */
.carousel-track:hover {
    animation-play-state: paused;
}

/* Animation Keyframes */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move half the length (since we duplicated content) */
    }
}

.highlights-carousel .service-card {
    min-width: 320px;
    max-width: 320px;
    flex: 0 0 auto;
    /* No scroll snap needed for continuous auto-scroll */
    display: flex;
    flex-direction: column;
    height: 480px;
    /* Force identical fixed height */
}

/* Hide scrollbar logic no longer needed as we use overflow hidden but keep reset just in case */

/* Center on large screens if they fit */
@media (min-width: 1200px) {
    .highlights-carousel {
        justify-content: center;
    }
}

.needs-section {
    background-color: var(--light-bg-color);
    /* Light Greige background */
    padding: 60px 0;
}

.needs-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    /* color: #000; Removed */
    margin-bottom: 50px;
    font-size: 2rem;
}

.needs-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.need-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 160px;
}

.need-icon {
    width: 100px;
    height: 100px;
    background-color: #ffffff;
    /* White circle */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.need-icon img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
}

.need-item:hover .need-icon {
    transform: translateY(-5px);
    background-color: var(--accent-color);
}

.need-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    margin: 0;
    line-height: 1.4;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img {
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-info {
    padding: 25px;
    text-align: center;
    flex: 1;
    /* Take remaining space */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Space out content, button at bottom */
}

.service-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

/* Ensure button is at bottom */
.service-info .btn {
    margin-top: auto;
    align-self: center;
}

/* Parallax CTA */
.parallax-cta {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.parallax-cta .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(205, 140, 82, 0.8);
    /* Primary Bronze with opacity */
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Contact */
.contact-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-info ul {
    margin: 30px 0;
}

.contact-info ul li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info ul li i {
    color: var(--accent-color);
    width: 25px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: rotate(360deg);
}

.contact-image {
    flex: 1;
}

.contact-image img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: #1f222b;
    color: #eee;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer a {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 991px) {
    .header-container {
        padding: 0 20px;
    }

    .nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-container,
    .contact-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .contact-info ul li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Reviews Carousel */
.reviews-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.reviews-track {
    display: flex;
    width: max-content;
    gap: 30px;
    padding: 10px;
    /* Space for shadow */
}

.review-card {
    min-width: 300px;
    max-width: 300px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 200px;
    /* Fixed height for uniformity */
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.review-card p {
    font-size: 1rem;
    font-style: italic;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

.review-wrap {
    min-width: 300px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.review-wrap .review-card {
    width: 100%;
    min-width: auto;
    max-width: none;
    /* Reset previous constraints effectively */
}

.review-author {
    margin-top: 15px;
    font-size: 1rem;
    color: #000;
    text-align: center;
}

/* Update author alignment */
.review-author {
    margin-top: 5px;
    width: 100%;
    text-align: left;
    padding-left: 0;
}

/* Reviews Carousel Navigation specific override */
.reviews-carousel-wrapper .nav-arrow {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.reviews-carousel-wrapper .nav-arrow:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* --- Contacts Section --- */
.contacts-section {
    background-color: var(--secondary-color);
    /* Taupe requested */
    color: #ffffff;
    padding: 60px 0;
}

.contacts-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.contact-info-block {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.contact-info-block h3 {
    color: var(--accent-color);
    /* Gold */
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
}

.contact-info-block p,
.contact-info-block a {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-decoration: none;
    display: block;
}

.contact-info-block a:hover {
    color: var(--accent-color);
}

/* New Contact Hero Section */
.contact-hero {
    position: relative;
    background-image: url('../images/contact_bg.png');
    background-size: cover;
    background-position: center 75px;
    background-repeat: no-repeat;
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay for text contrast */
    z-index: 1;
}

.contact-hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    /* Align to the left */
}

.contact-hero-content {
    max-width: 500px;
    width: 100%;
    text-align: left;
}

.contact-title {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.form-block-hero {
    background: rgba(255, 255, 255, 0.95);
    /* High opacity white */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-block-hero h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Contact Form Inside Hero */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 5px rgba(205, 140, 82, 0.2);
}

.form-group textarea {
    resize: vertical;
}

/* Button override for form */
.contact-form .btn-white {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    align-self: flex-start;
}

.contact-form .btn-white:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Info Section Refinement */
.contacts-details-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    /* Light background for contrast */
}

.contacts-details-section .contacts-container {
    /* Reusing container but resetting layout if needed */
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.contacts-details-section .contact-info-block {
    text-align: center;
    color: #333;
    /* Dark text for light background */
}

.contacts-details-section .contact-info-block p,
.contacts-details-section .contact-info-block a {
    color: #555;
    font-weight: 500;
}

.contacts-details-section .social-icons-contact a {
    color: var(--primary-color);
}

.contacts-details-section .contact-info-block h3 {
    color: var(--primary-color);
}

.social-icons-contact {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.social-icons-contact a {
    color: #ffffff;
    font-size: 2rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons-contact a:hover {
    color: var(--accent-color);
    transform: translateY(-5px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.4s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Promozioni Page Hero */
.promo-hero {
    background-image: url('../images/sfondo_promozioni_new.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Parallax effect like other pages */
    padding-top: 150px;
    min-height: 100vh;
    position: relative;
}

/* Ensure text is readable on background */
.promo-hero .section-title,
.promo-hero p {
    color: var(--text-color);
    /* Maintain default or switch to white if image is dark */
    /* Add text shadow just in case */
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
}

.promo-hero .service-card {
    background: rgba(255, 255, 255, 0.95);
    /* Slightly transparent cards */
    position: relative;
    z-index: 2;
}

/* Overlay for better readability */
.promo-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    /* Light overlay */
    z-index: 1;
}

/* Interactive Price List Styles */
.price-tabs-container {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.price-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.tab-btn {
    padding: 12px 25px;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.tab-btn:hover {
    background-color: rgba(205, 140, 82, 0.1);
    transform: translateY(-2px);
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(205, 140, 82, 0.3);
}

.price-content-wrapper {
    min-height: 400px;
    /* Prevent jumpiness */
}

.price-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.price-category-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2rem;
}

.price-note {
    text-align: center;
    margin-bottom: 30px;
    color: var(--light-text-color);
}

.price-list {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.service-name {
    color: var(--text-color);
    font-weight: 600;
    flex-shrink: 0;
    /* Prevent name from shrinking too much */
}

.service-dots {
    flex-grow: 1;
    border-bottom: 2px dotted #ddd;
    margin: 0 15px;
    position: relative;
    top: -5px;
    /* Visual alignment */
}

.service-price {
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Mobile Adjustments for Price List */
@media (max-width: 768px) {
    .price-tabs {
        gap: 10px;
    }

    .tab-btn {
        padding: 10px 15px;
        font-size: 0.8rem;
    }

    .price-item {
        font-size: 1rem;
    }
}

/* --- Updates for Listino Page 2026 --- */
.year-subtitle {
    display: block;
    font-size: 1.5rem;
    margin-top: 10px;
    color: var(--text-color);
    font-weight: 300;
}

/* Dropdown Menu for Tabs */
.tab-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.tab-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 10px 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
    /* Space from button */
}

/* Arrow indicator for dropdown menu */
.tab-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 8px 8px 8px;
    border-style: solid;
    border-color: transparent transparent var(--white) transparent;
}

.tab-dropdown-wrapper:hover .tab-dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 5px;
    /* slight animation up */
}

.tab-dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
    text-align: center;
}

.tab-dropdown-item:hover {
    background-color: var(--light-bg-color);
    color: var(--primary-color);
}