/* --- Global Styles & Variables --- */
:root {
    --primary-color: #e4007f; /* Hot Pink / Magenta */
    --secondary-color: #ff69b4; /* Lighter Pink */
    --dark-color: #333;
    --light-color: #f4f4f4;
    --text-color: #555;
    --white-color: #fff;
    --font-family: 'Arial', sans-serif;
    --container-width: 90%;
    --max-container-width: 1100px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

.container {
    width: var(--container-width);
    max-width: var(--max-container-width);
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

.py-5 { padding: 50px 0; }
.bg-light { background-color: var(--light-color); }
.bg-dark { background-color: var(--dark-color); }
.bg-primary-dark { background-color: #a00059; } /* Darker shade of primary */
.text-light { color: var(--light-color); }
.text-center { text-align: center; }

.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.btn-primary:hover {
    background-color: #c0006a; /* Darker primary */
    color: var(--white-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white-color);
}
.btn-secondary:hover {
    background-color: #e450a0; /* Darker secondary */
    color: var(--white-color);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 2.5em;
    color: var(--dark-color);
    margin-bottom: 5px;
}
.section-title h2 i {
    color: var(--primary-color);
    font-style: normal;
}
.section-title span {
    color: var(--text-color);
    font-size: 1.1em;
}
.section-title.light h2,
.section-title.light span {
    color: var(--light-color);
}
.section-title .subtitle {
    font-size: 0.9em;
    margin-top: 10px;
    color: var(--text-color);
}
.section-title.light .subtitle {
    color: var(--light-color);
}


/* --- Header --- */
header {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

header .logo img {
    height: 40px; /* Adjust as needed */
}

header .main-nav ul {
    display: flex;
}

header .main-nav ul li {
    margin-left: 20px;
    position: relative; /* For dropdown */
}

header .main-nav ul li a {
    color: var(--white-color);
    padding: 5px 0;
    transition: color 0.3s ease;
}
header .main-nav ul li a:hover,
header .main-nav ul li a.active {
    color: var(--primary-color);
}

header .main-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--dark-color);
    border-top: 2px solid var(--primary-color);
    padding: 10px 0;
    min-width: 180px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
header .main-nav .dropdown:hover .dropdown-menu {
    display: block;
}
header .main-nav .dropdown-menu li {
    margin: 0;
}
header .main-nav .dropdown-menu li a {
    display: block;
    padding: 8px 15px;
    white-space: nowrap;
}
header .main-nav .dropdown-menu li a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}


.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white-color);
    font-size: 1.5em;
    cursor: pointer;
}

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    height: 70vh; /* Adjust as needed */
    min-height: 400px;
    overflow: hidden;
}
.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.hero-slider .slide.active {
    opacity: 1;
    z-index: 1;
}
.hero-slider .slide::before { /* Dark overlay for text readability */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.hero-slider .slide-content {
    position: relative;
    z-index: 2;
}
.hero-slider .slide-content h2 {
    font-size: 3em;
    margin-bottom: 20px;
}
.hero-slider .slide-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: var(--white-color);
    border: none;
    padding: 10px 15px;
    font-size: 1.5em;
    cursor: pointer;
    z-index: 3;
    transition: background-color 0.3s ease;
}
.slider-nav:hover {
    background-color: var(--primary-color);
}
.slider-nav.prev { left: 20px; }
.slider-nav.next { right: 20px; }

/* --- About Section --- */
.about-content {
    display: flex;
    gap: 30px;
    align-items: center;
}
.about-text { flex: 1; }
.about-video {
    flex: 1;
    position: relative;
    max-width: 570px; /* Match image size */
}
.about-video img {
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.about-video .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5em;
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}
.about-video .play-button:hover {
    color: var(--primary-color);
}

/* --- Card Grid (Used for Rooms, Services, Blog, Extras, Massages) --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.card {
    background-color: var(--white-color);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.card img {
    width: 100%;
    height: 200px; /* Adjust as needed, or use aspect-ratio */
    object-fit: cover;
}
.services-grid .card img { height: 170px; }
.extras-grid .card img { height: 300px; object-fit: contain; padding: 10px;}
.massages-grid .card { text-align: center; }

.card-body {
    padding: 20px;
    flex-grow: 1; /* Make card bodies fill space */
    display: flex;
    flex-direction: column;
}
.card-body h3, .card-body h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
}
.card-body p {
    margin-bottom: 15px;
    flex-grow: 1; /* Push button to bottom */
}
.card-body .price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1em;
}
.card-body .btn {
    margin-top: auto; /* Push button to bottom */
    align-self: flex-start;
}
.blog-grid .card .date {
    font-size: 0.8em;
    color: var(--text-color);
    margin-bottom: 5px;
    display: block;
}

/* --- Offers Section --- */
.offers-content {
    display: flex;
    gap: 30px;
    align-items: center;
}
.offers-text { flex: 1.2; }
.offer-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.offer-main, .offer-small {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}
.offer-main img, .offer-small img {
    transition: transform 0.3s ease;
}
.offer-main:hover img, .offer-small:hover img {
    transform: scale(1.05);
}
.offer-details {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white-color);
    padding: 15px;
}
.offer-details h5 {
    font-size: 1.3em;
    margin-bottom: 5px;
}
.offer-small-container {
    display: flex;
    gap: 15px;
}
.offer-small { flex: 1; }

/* --- Stats Section --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}
.stats-grid .count {
    display: block;
    font-size: 3em;
    font-weight: bold;
    color: var(--primary-color);
}
.stats-grid span {
    font-size: 1.1em;
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    /* Masonry-like with explicit placement for demo. JS would be better for true masonry. */
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    color: var(--white-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 15px;
}
.gallery-item:hover .gallery-hover {
    opacity: 1;
}
.gallery-hover h4 {
    font-size: 1.5em;
    margin-bottom: 10px;
}
/* Example for specific item sizing for gallery */
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }


/* --- Testimonials / "Vosotros" Section --- */
.testimonials-slider {
    display: flex; /* Changed from grid for easier JS slide */
    overflow: hidden; /* Hide non-active slides */
    position: relative;
    max-width: 800px; /* Adjust as needed */
    margin: 0 auto 20px auto; /* Center the slider and add margin for controls */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.testimonial-slide {
    min-width: 100%; /* Each slide takes full width */
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: rgba(255, 255, 255, 0.1); /* Slight background for contrast */
    padding: 30px;
    transition: transform 0.5s ease-in-out;
}
.testimonial-slide img {
    width: 200px; /* Fixed width for image */
    height: 250px; /* Fixed height */
    object-fit: cover;
    border-radius: 5px;
}
.testimonial-content { flex: 1; }
.testimonial-content h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
}
.testimonial-content h3 span {
    color: var(--secondary-color);
    font-style: italic;
}
.testimonial-content p {
    font-size: 1.05em;
}
.slider-controls {
    text-align: center;
}
.slider-controls button {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1em;
}
.slider-controls button:hover {
    background: var(--primary-color);
}

/* --- FAQ Section --- */
.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-item h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

/* --- Footer --- */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-col h4 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 1.2em;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a, .footer-col ul li {
    color: #bbb;
}
.footer-col ul li a:hover {
    color: var(--primary-color);
}
.footer-col .footer-logo {
    margin-bottom: 20px;
    max-width: 180px;
}
.footer-col form input,
.footer-col form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #555;
    background-color: #444;
    color: var(--white-color);
    border-radius: 3px;
}
.footer-col form textarea {
    min-height: 80px;
}
.bottom-strip {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.9em;
    color: #aaa;
}
.bottom-strip a { color: var(--primary-color); }

/* --- Reservation Popup --- */
.popup-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.popup-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}
.popup-base {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    max-width: 600px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.popup-base h2 {
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 10px;
}
.popup-base h2 i { font-style: normal; color: var(--primary-color); }
.popup-base p { margin-bottom: 15px; }
.popup-base .warning {
    color: red;
    font-weight: bold;
    text-align: center;
    border: 1px solid red;
    padding: 10px;
    border-radius: 3px;
    background-color: #ffeeee;
}
.close-popup-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5em;
    color: var(--text-color);
    cursor: pointer;
}
#popup-reservation-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}
#popup-reservation-form input,
#popup-reservation-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}
#popup-reservation-form button {
    width: 100%;
}
.popup-base .small-text {
    font-size: 0.8em;
    text-align: center;
    color: #777;
    margin-top: 15px;
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.9);
    color: var(--white-color);
    padding: 15px 0;
    z-index: 3000;
    display: none; /* Initially hidden, JS will show it */
}
.cookie-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cookie-banner p {
    margin: 0;
    font-size: 0.9em;
    flex-grow: 1;
}
.cookie-banner .cookie-link {
    color: var(--secondary-color);
    text-decoration: underline;
}
.cookie-banner .cookie-link:hover {
    color: var(--primary-color);
}
.cookie-banner #accept-cookies {
    margin-left: 20px;
    padding: 8px 15px;
}


/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .gallery-item.tall { grid-row: span 1; }
    .gallery-item.wide { grid-column: span 1; }
    .testimonial-slide { flex-direction: column; text-align: center; }
    .testimonial-slide img { width: 150px; height: 180px; margin-bottom: 15px;}
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap; /* Allow wrapping for mobile */
    }
    .main-nav {
        display: none; /* Hidden by default on mobile */
        width: 100%;
        order: 3; /* Place below logo and toggle */
        background-color: var(--dark-color); /* Add background if it opens within header */
        padding-top: 10px;
    }
    .main-nav.active {
        display: block; /* Show when active */
    }
    .main-nav ul {
        flex-direction: column;
    }
    .main-nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    .main-nav .dropdown-menu { /* Adjust dropdown for vertical nav */
        position: static;
        background-color: #2a2a2a; /* Slightly different for visual distinction */
        box-shadow: none;
        border-top: none;
        padding: 5px 0;
    }
    .main-nav .dropdown-menu li a {
        padding: 8px 20px;
    }

    .mobile-menu-toggle {
        display: block;
        order: 2;
    }

    .hero-slider { height: 60vh; }
    .hero-slider .slide-content h2 { font-size: 2em; }
    .hero-slider .slide-content p { font-size: 1em; }

    .about-content, .offers-content {
        flex-direction: column;
    }
    .about-video { margin-top: 20px; }
    .offer-images { margin-top: 20px; }

    .card-grid {
        grid-template-columns: 1fr; /* Stack cards on smaller screens */
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col form { max-width: 400px; margin: auto; }

    #popup-reservation-form .form-grid {
        grid-template-columns: 1fr;
    }

    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner p { margin-bottom: 10px; }
    .cookie-banner #accept-cookies { margin-left: 0; }
}/* --- Global Styles & Variables --- */
:root {
    --primary-color: #e4007f; /* Hot Pink / Magenta */
    --secondary-color: #ff69b4; /* Lighter Pink */
    --dark-color: #333;
    --light-color: #f4f4f4;
    --text-color: #555;
    --white-color: #fff;
    --font-family: 'Arial', sans-serif;
    --container-width: 90%;
    --max-container-width: 1100px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

.container {
    width: var(--container-width);
    max-width: var(--max-container-width);
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

.py-5 { padding: 50px 0; }
.bg-light { background-color: var(--light-color); }
.bg-dark { background-color: var(--dark-color); }
.bg-primary-dark { background-color: #a00059; } /* Darker shade of primary */
.text-light { color: var(--light-color); }
.text-center { text-align: center; }

.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.btn-primary:hover {
    background-color: #c0006a; /* Darker primary */
    color: var(--white-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white-color);
}
.btn-secondary:hover {
    background-color: #e450a0; /* Darker secondary */
    color: var(--white-color);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 2.5em;
    color: var(--dark-color);
    margin-bottom: 5px;
}
.section-title h2 i {
    color: var(--primary-color);
    font-style: normal;
}
.section-title span {
    color: var(--text-color);
    font-size: 1.1em;
}
.section-title.light h2,
.section-title.light span {
    color: var(--light-color);
}
.section-title .subtitle {
    font-size: 0.9em;
    margin-top: 10px;
    color: var(--text-color);
}
.section-title.light .subtitle {
    color: var(--light-color);
}


/* --- Header --- */
header {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

header .logo img {
    height: 40px; /* Adjust as needed */
}

header .main-nav ul {
    display: flex;
}

header .main-nav ul li {
    margin-left: 20px;
    position: relative; /* For dropdown */
}

header .main-nav ul li a {
    color: var(--white-color);
    padding: 5px 0;
    transition: color 0.3s ease;
}
header .main-nav ul li a:hover,
header .main-nav ul li a.active {
    color: var(--primary-color);
}

header .main-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--dark-color);
    border-top: 2px solid var(--primary-color);
    padding: 10px 0;
    min-width: 180px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
header .main-nav .dropdown:hover .dropdown-menu {
    display: block;
}
header .main-nav .dropdown-menu li {
    margin: 0;
}
header .main-nav .dropdown-menu li a {
    display: block;
    padding: 8px 15px;
    white-space: nowrap;
}
header .main-nav .dropdown-menu li a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}


.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white-color);
    font-size: 1.5em;
    cursor: pointer;
}

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    height: 70vh; /* Adjust as needed */
    min-height: 400px;
    overflow: hidden;
}
.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.hero-slider .slide.active {
    opacity: 1;
    z-index: 1;
}
.hero-slider .slide::before { /* Dark overlay for text readability */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.hero-slider .slide-content {
    position: relative;
    z-index: 2;
}
.hero-slider .slide-content h2 {
    font-size: 3em;
    margin-bottom: 20px;
}
.hero-slider .slide-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: var(--white-color);
    border: none;
    padding: 10px 15px;
    font-size: 1.5em;
    cursor: pointer;
    z-index: 3;
    transition: background-color 0.3s ease;
}
.slider-nav:hover {
    background-color: var(--primary-color);
}
.slider-nav.prev { left: 20px; }
.slider-nav.next { right: 20px; }

/* --- About Section --- */
.about-content {
    display: flex;
    gap: 30px;
    align-items: center;
}
.about-text { flex: 1; }
.about-video {
    flex: 1;
    position: relative;
    max-width: 570px; /* Match image size */
}
.about-video img {
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.about-video .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5em;
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}
.about-video .play-button:hover {
    color: var(--primary-color);
}

/* --- Card Grid (Used for Rooms, Services, Blog, Extras, Massages) --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.card {
    background-color: var(--white-color);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.card img {
    width: 100%;
    height: 200px; /* Adjust as needed, or use aspect-ratio */
    object-fit: cover;
}
.services-grid .card img { height: 170px; }
.extras-grid .card img { height: 300px; object-fit: contain; padding: 10px;}
.massages-grid .card { text-align: center; }

.card-body {
    padding: 20px;
    flex-grow: 1; /* Make card bodies fill space */
    display: flex;
    flex-direction: column;
}
.card-body h3, .card-body h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
}
.card-body p {
    margin-bottom: 15px;
    flex-grow: 1; /* Push button to bottom */
}
.card-body .price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1em;
}
.card-body .btn {
    margin-top: auto; /* Push button to bottom */
    align-self: flex-start;
}
.blog-grid .card .date {
    font-size: 0.8em;
    color: var(--text-color);
    margin-bottom: 5px;
    display: block;
}

/* --- Offers Section --- */
.offers-content {
    display: flex;
    gap: 30px;
    align-items: center;
}
.offers-text { flex: 1.2; }
.offer-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.offer-main, .offer-small {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}
.offer-main img, .offer-small img {
    transition: transform 0.3s ease;
}
.offer-main:hover img, .offer-small:hover img {
    transform: scale(1.05);
}
.offer-details {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white-color);
    padding: 15px;
}
.offer-details h5 {
    font-size: 1.3em;
    margin-bottom: 5px;
}
.offer-small-container {
    display: flex;
    gap: 15px;
}
.offer-small { flex: 1; }

/* --- Stats Section --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}
.stats-grid .count {
    display: block;
    font-size: 3em;
    font-weight: bold;
    color: var(--primary-color);
}
.stats-grid span {
    font-size: 1.1em;
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    /* Masonry-like with explicit placement for demo. JS would be better for true masonry. */
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    color: var(--white-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 15px;
}
.gallery-item:hover .gallery-hover {
    opacity: 1;
}
.gallery-hover h4 {
    font-size: 1.5em;
    margin-bottom: 10px;
}
/* Example for specific item sizing for gallery */
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }


/* --- Testimonials / "Vosotros" Section --- */
.testimonials-slider {
    display: flex; /* Changed from grid for easier JS slide */
    overflow: hidden; /* Hide non-active slides */
    position: relative;
    max-width: 800px; /* Adjust as needed */
    margin: 0 auto 20px auto; /* Center the slider and add margin for controls */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.testimonial-slide {
    min-width: 100%; /* Each slide takes full width */
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: rgba(255, 255, 255, 0.1); /* Slight background for contrast */
    padding: 30px;
    transition: transform 0.5s ease-in-out;
}
.testimonial-slide img {
    width: 200px; /* Fixed width for image */
    height: 250px; /* Fixed height */
    object-fit: cover;
    border-radius: 5px;
}
.testimonial-content { flex: 1; }
.testimonial-content h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
}
.testimonial-content h3 span {
    color: var(--secondary-color);
    font-style: italic;
}
.testimonial-content p {
    font-size: 1.05em;
}
.slider-controls {
    text-align: center;
}
.slider-controls button {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1em;
}
.slider-controls button:hover {
    background: var(--primary-color);
}

/* --- FAQ Section --- */
.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-item h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

/* --- Footer --- */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-col h4 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 1.2em;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a, .footer-col ul li {
    color: #bbb;
}
.footer-col ul li a:hover {
    color: var(--primary-color);
}
.footer-col .footer-logo {
    margin-bottom: 20px;
    max-width: 180px;
}
.footer-col form input,
.footer-col form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #555;
    background-color: #444;
    color: var(--white-color);
    border-radius: 3px;
}
.footer-col form textarea {
    min-height: 80px;
}
.bottom-strip {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.9em;
    color: #aaa;
}
.bottom-strip a { color: var(--primary-color); }

/* --- Reservation Popup --- */
.popup-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.popup-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}
.popup-base {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    max-width: 600px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.popup-base h2 {
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 10px;
}
.popup-base h2 i { font-style: normal; color: var(--primary-color); }
.popup-base p { margin-bottom: 15px; }
.popup-base .warning {
    color: red;
    font-weight: bold;
    text-align: center;
    border: 1px solid red;
    padding: 10px;
    border-radius: 3px;
    background-color: #ffeeee;
}
.close-popup-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5em;
    color: var(--text-color);
    cursor: pointer;
}
#popup-reservation-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}
#popup-reservation-form input,
#popup-reservation-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}
#popup-reservation-form button {
    width: 100%;
}
.popup-base .small-text {
    font-size: 0.8em;
    text-align: center;
    color: #777;
    margin-top: 15px;
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.9);
    color: var(--white-color);
    padding: 15px 0;
    z-index: 3000;
    display: none; /* Initially hidden, JS will show it */
}
.cookie-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cookie-banner p {
    margin: 0;
    font-size: 0.9em;
    flex-grow: 1;
}
.cookie-banner .cookie-link {
    color: var(--secondary-color);
    text-decoration: underline;
}
.cookie-banner .cookie-link:hover {
    color: var(--primary-color);
}
.cookie-banner #accept-cookies {
    margin-left: 20px;
    padding: 8px 15px;
}


/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .gallery-item.tall { grid-row: span 1; }
    .gallery-item.wide { grid-column: span 1; }
    .testimonial-slide { flex-direction: column; text-align: center; }
    .testimonial-slide img { width: 150px; height: 180px; margin-bottom: 15px;}
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap; /* Allow wrapping for mobile */
    }
    .main-nav {
        display: none; /* Hidden by default on mobile */
        width: 100%;
        order: 3; /* Place below logo and toggle */
        background-color: var(--dark-color); /* Add background if it opens within header */
        padding-top: 10px;
    }
    .main-nav.active {
        display: block; /* Show when active */
    }
    .main-nav ul {
        flex-direction: column;
    }
    .main-nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    .main-nav .dropdown-menu { /* Adjust dropdown for vertical nav */
        position: static;
        background-color: #2a2a2a; /* Slightly different for visual distinction */
        box-shadow: none;
        border-top: none;
        padding: 5px 0;
    }
    .main-nav .dropdown-menu li a {
        padding: 8px 20px;
    }

    .mobile-menu-toggle {
        display: block;
        order: 2;
    }

    .hero-slider { height: 60vh; }
    .hero-slider .slide-content h2 { font-size: 2em; }
    .hero-slider .slide-content p { font-size: 1em; }

    .about-content, .offers-content {
        flex-direction: column;
    }
    .about-video { margin-top: 20px; }
    .offer-images { margin-top: 20px; }

    .card-grid {
        grid-template-columns: 1fr; /* Stack cards on smaller screens */
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col form { max-width: 400px; margin: auto; }

    #popup-reservation-form .form-grid {
        grid-template-columns: 1fr;
    }

    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner p { margin-bottom: 10px; }
    .cookie-banner #accept-cookies { margin-left: 0; }
}