.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.4)), url(../img/hero.jpeg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.hero-content {
    color: var(--color-text-main);
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero .btn {
    background-color: var(--color-white);
    color: var(--color-text-main);
    border-color: var(--color-white);
}

.hero .btn:hover {
    background-color: transparent;
    color: var(--color-white);
}

.resumen {
    background-color: var(--color-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 992px) {
    .benefit-card:nth-child(2) {
        margin-top: 50px;
    }
}

.benefit-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.preview-habitaciones {
    background-color: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}


.rooms-preview-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    align-items: center;
}

.room-preview-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 4px;
}

.room-preview-card:nth-child(1) {
    grid-column: span 7;
}

.room-preview-card:nth-child(2) {
    grid-column: span 5;
    height: 400px;
}

.room-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-preview-card:hover .room-preview-img {
    transform: scale(1.05);
}

.room-preview-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(44, 36, 27, 0.9), transparent);
    color: var(--color-white);
    transform: translateY(20px);
    opacity: 0.9;
    transition: var(--transition-smooth);
}

.room-preview-card:hover .room-preview-info {
    transform: translateY(0);
    opacity: 1;
}

.room-preview-info h3 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.room-price {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--color-beige-dark);
}

.gastronomy {
    position: relative;
    height: 80vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
}

.gastronomy-grid {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gastronomy-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gastronomy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: transform 10s ease;
}

.gastronomy:hover .gastronomy-image img {
    transform: scale(1.05);
}

.gastronomy-content {
    color: var(--color-white);
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    text-align: center;
}

.gastronomy-content h2 {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.gastronomy-content p {
    color: var(--color-white);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.btn-outline-white {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-outline-white:hover {
    background-color: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-text-main);
}


@media (max-width: 900px) {
    .gastronomy-content h2 {
        font-size: 2.5rem;
    }
}

.wellness {
    background-color: var(--color-beige-light);
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.wellness-grid {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 600px;
}

@media (min-width: 992px) {
    .wellness-grid {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: row-reverse;
    }

    .wellness-content {
        width: 45%;
        margin-left: -10%;
        position: relative;
        z-index: 2;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--color-gold);
        padding: 4rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        border-radius: 4px;
    }

    .wellness-image {
        width: 65%;
        height: 500px;
        position: relative;
    }

    .wellness-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        box-shadow: none;
    }
}

.testimonials {
    background-color: var(--color-white);
    color: var(--color-text-main);
    text-align: center;
}

.testimonials .section-header h2 {
    color: var(--color-text-main);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Tinte dorado */
}

.testimonial-card .stars {
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--color-accent);
}

.newsletter {
    background-color: var(--color-white);
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: 1px solid var(--color-silver);
    border-radius: 4px;
    font-family: var(--font-body);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-gold);
}

.btn-1 {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-gold);
    color: var(--color-white);
    border: 1px solid var(--color-gold);
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-1:hover {
    background-color: transparent;
    color: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .rooms-preview-grid {
        grid-template-columns: 1fr;
    }

    .gastronomy-grid,
    .wellness-grid,
    .benefits-grid,
    .rooms-preview-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 2rem;
        height: auto;
    }

    .room-preview-card,
    .room-preview-card:nth-child(1),
    .room-preview-card:nth-child(2) {
        grid-column: span 1;
        height: 300px;
    }



    .gastronomy-content,
    .wellness-content {
        width: 100%;
        margin: 0;
        padding: 2rem 0;
        box-shadow: none;
        background: transparent;
    }

    .gastronomy-grid,
    .wellness-grid {
        flex-direction: column !important;
        min-height: auto;
    }

    .gastronomy-image,
    .wellness-image {
        width: 100%;
        height: 300px;
    }

    .wellness-grid .wellness-image {
        order: -1;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

.highlights {
    background-color: var(--color-white);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    text-align: center;
}

.highlight-item {
    padding: 2rem;
    border: 1px solid var(--color-beige-dark);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.highlight-item:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-5px);
    border-color: transparent;
}

.highlight-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: var(--color-bg-light);
    margin-left: auto;
    margin-right: auto;
    transition: var(--transition-smooth);
}

.highlight-item:hover .highlight-icon {
    background-color: var(--color-gold);
    color: var(--color-white);
}

.highlight-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.highlight-item p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.gallery-walk {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: var(--color-white);
}

.gallery-track {
    display: flex;
    width: max-content;
    animation: scrollGallery 40s linear infinite;
}

.gallery-item {
    flex: 0 0 auto;
    width: 300px;
    height: 400px;
    margin-right: 0;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%) brightness(0.7);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.gallery-text {
    text-align: center;
    color: var(--color-text-main);
    pointer-events: auto;
}

.gallery-text h2 {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

@keyframes scrollGallery {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.news-section {
    background-color: var(--color-white);
}

.news-grid-elegant {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.news-card-elegant {
    background-color: var(--color-white);
    box-shadow: var(--shadow-soft);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.news-card-elegant:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.news-img {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card-elegant:hover .news-img img {
    transform: scale(1.05);
}

.date-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--color-beige-medium);
    color: var(--color-text-main);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.news-body h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
    line-height: 1.3;
}

.news-body p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 0.8rem;
}

.tourist-carousel-section {
    background-color: var(--color-white);
    overflow: hidden;
}

.tourist-slider-wrapper {
    margin-top: 3rem;
    position: relative;
    padding: 2rem 0;
}

.tourist-track {
    display: flex;
    gap: 3rem;
    overflow-x: auto;
    width: 100%;
    padding: 2rem 4rem;
    scroll-snap-type: x mandatory;
    cursor: default;
    scrollbar-width: none;
}

.tourist-track::-webkit-scrollbar {
    display: none;
}

.tourist-card {
    scroll-snap-align: center;
    flex: 0 0 auto;
    width: 300px;
    height: 450px;
    position: relative;
    border-radius: 100px 100px 0 0;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.tourist-card:hover {
    transform: translateY(-10px);
}

.tourist-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tourist-card:hover img {
    transform: scale(1.1);
}

.tourist-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(44, 36, 27, 0.95), transparent);
    color: white;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.tourist-card:hover .tourist-info {
    transform: translateY(0);
}

.tourist-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: white;
}

.tourist-nav {
    position: absolute;
    bottom: 40px;
    right: 5%;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    z-index: 10;
    pointer-events: none;
}

.nav-btn {
    pointer-events: auto;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--color-gold);
    background: white;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}