/* Basic Reset & Defaults */
:root {
    --primary-color: #cc9944; /* Gold/Ochre from original */
    --secondary-color: #2b3b4b; /* Dark Blue/Grey from original */
    --text-color: #333;
    --light-text-color: #fff;
    --background-color: #f9f9f9;
    --card-background: #fff;
    --border-color: #ddd;
    --font-family: 'Raleway', sans-serif; /* Using Raleway as in original */
    --heading-font: 'Courgette', cursive; /* Using Courgette as in original */
}

@import url('https://fonts.googleapis.com/css2?family=Courgette&family=Raleway:wght@400;700&display=swap');

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

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

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

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    color: var(--secondary-color);
    margin-bottom: 0.8em;
}
h1 { font-size: 2.8em; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.8em; }

p {
    margin-bottom: 1em;
}

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

a:hover {
    text-decoration: underline;
}

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

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background-color: darken(var(--primary-color), 10%);
    text-decoration: none;
}
.btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}


.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    text-decoration: none;
}

.section {
    padding: 60px 0;
}

.section-highlight {
    background-color: #fff;
}

/* Header */
header .top-bar {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    padding: 8px 0;
    font-size: 0.9em;
}

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

header .top-bar-right {
    display: flex;
    align-items: center;
}

header .top-bar-right a,
header .top-bar-right .language-selector button {
    color: var(--light-text-color);
    margin-left: 15px;
    text-decoration: none;
}
header .top-bar-right a:hover {
    text-decoration: underline;
}

header .language-selector {
    position: relative;
}

header .language-selector button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: inherit;
}

header .language-selector ul {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--secondary-color);
    list-style: none;
    padding: 5px 0;
    z-index: 100;
    min-width: 50px;
    text-align: center;
}
header .language-selector:hover ul {
    display: block;
}
header .language-selector ul li a {
    display: block;
    padding: 5px 10px;
    color: var(--light-text-color);
    margin-left:0;
}
header .language-selector ul li a:hover {
    background-color: var(--primary-color);
}


header .main-header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

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

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 25px;
}

header nav ul li a {
    color: var(--secondary-color);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.95em;
}
header nav ul li a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

#mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary-color);
}


/* Hero Section */
#hero {
    position: relative;
    height: 80vh; /* Adjust as needed, can be 100vh for full screen */
    color: var(--light-text-color);
    overflow: hidden;
}

.hero-slides {
    width: 100%;
    height: 100%;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}
.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    padding: 20px;
}
#hero h1 {
    color: var(--light-text-color);
    font-size: 3.5em;
    margin-bottom: 0.3em;
}
#hero .stars {
    color: var(--primary-color);
    font-size: 0.8em;
}
#hero p {
    font-size: 1.5em;
    margin-bottom: 1.5em;
}

.booking-engine-placeholder {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: var(--text-color);
    max-width: 800px; /* Adjust width */
    width: 100%;
}
.booking-engine-placeholder h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}
.booking-engine-placeholder p {
    font-size: 1em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

#booking-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}
#booking-form div {
    flex: 1 1 180px; /* Allow wrapping on smaller screens */
    display: flex;
    flex-direction: column;
}
#booking-form label {
    font-size: 0.9em;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--secondary-color);
}
#booking-form input, #booking-form select {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1em;
}
#booking-form button {
    flex-basis: 100%; /* Full width on small screens */
    margin-top: 10px;
}
@media (min-width: 768px) { /* Adjust breakpoint as needed */
    #booking-form button {
        flex-basis: auto; /* Auto width on larger screens */
    }
}


.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px;
    font-size: 20px;
    cursor: pointer;
    z-index: 3;
    transition: background-color 0.3s;
}
.slide-nav:hover {
    background-color: rgba(0,0,0,0.8);
}
.slide-nav.prev { left: 10px; }
.slide-nav.next { right: 10px; }


/* Advantages Section */
#advantages h2 { text-align: center; margin-bottom: 40px; }
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: center;
}
.advantage-item {
    background-color: var(--card-background);
    padding: 20px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    font-weight: bold;
    color: var(--secondary-color);
}

/* Promo Section */
#promociones h2 { text-align: center; margin-bottom: 40px; }
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.promo-card {
    background-color: var(--card-background);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.promo-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
}
.promo-card h3 {
    padding: 15px 20px 5px;
    color: var(--primary-color);
}
.promo-card p {
    padding: 0 20px 15px;
    flex-grow: 1; /* Pushes button to bottom */
}
.promo-card .btn-secondary {
    margin: 0 20px 20px;
    align-self: flex-start;
}

/* Location Info Section */
.subvencion-img {
    max-width: 300px; /* Adjust as needed */
    margin: 20px auto;
    display: block;
}

/* Features Section */
#features h2 { text-align: center; margin-bottom: 40px; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.feature-card {
    height: 300px; /* Adjust height */
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end; /* Aligns content to bottom */
    text-decoration: none;
    color: var(--light-text-color);
    transition: transform 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    text-decoration: none;
}
.feature-card::before { /* Overlay for text readability */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%);
}
.feature-content {
    position: relative; /* Above overlay */
    z-index: 1;
    padding: 20px;
}
.feature-content h4 {
    color: var(--light-text-color); /* White for headings on images */
    margin-bottom: 5px;
    font-size: 1.5em;
}
.feature-content p {
    margin-bottom: 0;
    font-size: 0.95em;
}

/* Reviews Section */
#reviews h2 { text-align: center; margin-bottom: 30px; }
.reviews-summary {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}
.review-score .score, .review-recommendation .percentage {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}
#reviews .btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: #ccc; /* Lighter text for footer */
    padding: 50px 0 20px;
    font-size: 0.9em;
}
.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}
.footer-col {
    flex: 1 1 200px; /* Grow and shrink, base width 200px */
    min-width: 180px;
}
.footer-logo {
    height: 40px; /* Adjust as needed */
    margin-bottom: 10px;
}
.footer-col h4 {
    color: var(--light-text-color);
    margin-bottom: 15px;
    font-size: 1.1em;
}
.footer-col address, .footer-col p {
    line-height: 1.8;
}
.footer-col a {
    color: #ccc;
}
.footer-col a:hover {
    color: var(--primary-color);
}
.social-links a {
    margin-right: 10px;
    font-size: 1.5em; /* Make icons larger */
    /* Replace text with actual icons later (FontAwesome, SVGs) */
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444; /* Darker border for contrast */
}

/* Go To Top Button */
#go-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: none; /* Hidden by default */
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.85);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    font-size: 0.9em;
}
.cookie-banner p {
    margin: 0;
    margin-right: 15px;
}
.cookie-banner a {
    color: var(--primary-color);
    text-decoration: underline;
}
.cookie-banner button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}


/* Responsive Adjustments */
@media (max-width: 992px) {
    #booking-form {
        flex-direction: column;
    }
    #booking-form div, #booking-form button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2em; }
    #hero h1 { font-size: 2.5em; }
    #hero p { font-size: 1.2em; }

    header .main-header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    header .logo { margin-bottom: 10px; }

    #mobile-menu-toggle { display: block; position: absolute; top: 25px; right: 20px; }
    header nav ul {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        width: 100%;
        background-color: #fff; /* Background for open menu */
        padding: 10px 0;
        margin-top: 10px;
    }
    header nav ul.open {
        display: flex; /* Shown when .open class is added */
    }
    header nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    
    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }
    .top-bar-right {
        margin-top: 5px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .top-bar-right a, .top-bar-right .language-selector button {
        margin: 5px 8px;
    }
    .footer-columns {
        flex-direction: column;
        text-align: center;
    }
    .footer-col {
        margin-bottom: 20px;
    }
    .social-links {
        justify-content: center;
        display: flex;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner p {
        margin-bottom: 10px;
    }
}