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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(212, 165, 116, 0.3));
    animation: logoPulse 3s ease-in-out infinite;
}

.nav-logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(212, 165, 116, 0.8)) brightness(1.2);
    animation-play-state: paused;
}

/* Logo styles for all pages */
.logo-img {
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(212, 165, 116, 0.3));
    animation: logoPulse 3s ease-in-out infinite;
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(212, 165, 116, 0.8)) brightness(1.2);
    animation-play-state: paused;
}

/* Logo pulsing animation */
@keyframes logoPulse {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(212, 165, 116, 0.3)) brightness(1);
    }
    25% {
        filter: drop-shadow(0 0 12px rgba(212, 165, 116, 0.4)) brightness(1.05);
    }
    50% {
        filter: drop-shadow(0 0 18px rgba(212, 165, 116, 0.6)) brightness(1.1);
    }
    75% {
        filter: drop-shadow(0 0 12px rgba(212, 165, 116, 0.4)) brightness(1.05);
    }
}

/* Dark Mode Toggle */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #2c3e50;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.theme-toggle:hover {
    background: rgba(212, 165, 116, 0.1);
    transform: rotate(180deg);
}

.theme-toggle:active {
    transform: scale(0.95) rotate(180deg);
}

/* Dark Mode Styles */
body.dark-mode {
    background: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .header {
    background: rgba(26, 26, 26, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .nav-logo span {
    color: #e0e0e0;
}

body.dark-mode .nav-menu a {
    color: #e0e0e0;
}

body.dark-mode .nav-menu a:hover {
    color: #d4a574;
}

body.dark-mode .theme-toggle {
    color: #e0e0e0;
}

body.dark-mode .theme-toggle:hover {
    background: rgba(212, 165, 116, 0.2);
}

body.dark-mode .section-header h2 {
    color: #e0e0e0;
}

body.dark-mode .section-header p {
    color: #b0b0b0;
}

body.dark-mode .service-card,
body.dark-mode .accommodation-card,
body.dark-mode .room-card,
body.dark-mode .feature-card,
body.dark-mode .service-showcase-item,
body.dark-mode .form-container,
body.dark-mode .faq-item {
    background: #2a2a2a;
    color: #e0e0e0;
}

body.dark-mode .service-features span,
body.dark-mode .accommodation-features span {
    background: rgba(212, 165, 116, 0.15);
    color: #d4a574;
}

body.dark-mode .feature-card p,
body.dark-mode .service-showcase-item p,
body.dark-mode .benefits-list p {
    color: #b0b0b0;
}

body.dark-mode .benefits-text h2,
body.dark-mode .benefits-list h4 {
    color: #e0e0e0;
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background: #2a2a2a;
    border-color: #404040;
    color: #e0e0e0;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group select:focus,
body.dark-mode .form-group textarea:focus {
    border-color: #d4a574;
}

body.dark-mode .form-group label {
    color: #e0e0e0;
}

body.dark-mode .breadcrumb {
    background: #2a2a2a;
    border-bottom-color: #404040;
}

body.dark-mode .breadcrumb li {
    color: #b0b0b0;
}

body.dark-mode .services,
body.dark-mode .accommodation,
body.dark-mode .events-preview,
body.dark-mode .contact,
body.dark-mode .service-features,
body.dark-mode .room-types,
body.dark-mode .corporate-services,
body.dark-mode .benefits-section,
body.dark-mode .reservation-form,
body.dark-mode .faq-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

body.dark-mode .footer {
    background: #0f0f0f;
}

body.dark-mode .footer-section a {
    color: #b0b0b0;
}

body.dark-mode .footer-section a:hover {
    color: #d4a574;
}

/* Dark mode for service hero */
body.dark-mode .service-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('../images/hero/corporate-hero.jpg') center/cover;
}

/* Dark mode logo adjustments */
body.dark-mode .logo-img,
body.dark-mode .nav-logo img {
    filter: drop-shadow(0 0 8px rgba(212, 165, 116, 0.4)) brightness(1.1);
}

body.dark-mode .logo-img:hover,
body.dark-mode .nav-logo img:hover {
    filter: drop-shadow(0 0 25px rgba(212, 165, 116, 0.8)) brightness(1.3);
}

/* Dark mode animation */
body.dark-mode .logo-img,
body.dark-mode .nav-logo img {
    animation: logoPulseDark 3s ease-in-out infinite;
}

@keyframes logoPulseDark {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(212, 165, 116, 0.4)) brightness(1.1);
    }
    25% {
        filter: drop-shadow(0 0 15px rgba(212, 165, 116, 0.5)) brightness(1.15);
    }
    50% {
        filter: drop-shadow(0 0 22px rgba(212, 165, 116, 0.7)) brightness(1.2);
    }
    75% {
        filter: drop-shadow(0 0 15px rgba(212, 165, 116, 0.5)) brightness(1.15);
    }
}

.nav-logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #d4a574;
}

.nav-logo span {
    color: #2c3e50;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #d4a574;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('../images/pampa-tamarugal.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(212, 165, 116, 0.8), rgba(44, 62, 80, 0.8));
    opacity: 0.7;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

/* Imagen flotante estática sobre el contenido */
.hero-floating-image {
    position: fixed;
    top: 20%;
    right: -50%;
    width: 2250px;
    height: auto;
    z-index: 9999;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
    pointer-events: none;
    opacity: 0.9;
    transition: all 0.3s ease;
}

/* Solo se aplica en dispositivos móviles */
@media (max-width: 768px) {
    .hero-floating-image {
        width: 800px;
        right: -40%;
        top: 15%;
        opacity: 0.7;
    }
}

@media (max-width: 480px) {
    .hero-floating-image {
        width: 500px;
        right: -30%;
        top: 10%;
        opacity: 0.6;
    }
}

@media (max-width: 360px) {
    .hero-floating-image {
        width: 400px;
        right: -25%;
        top: 8%;
        opacity: 0.5;
    }
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: #d4a574;
    color: white;
}

.btn-primary:hover {
    background: #c19560;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 165, 116, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2c3e50;
}

.btn-outline {
    background: transparent;
    color: #d4a574;
    border: 2px solid #d4a574;
}

.btn-outline:hover {
    background: #d4a574;
    color: white;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll i {
    font-size: 2rem;
    color: white;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23d4a574" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.3;
    animation: floatPattern 20s ease-in-out infinite;
}

/* Floating particles animation */
@keyframes floatPattern {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-10px) translateX(5px);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-5px) translateX(-5px);
        opacity: 0.2;
    }
    75% {
        transform: translateY(-15px) translateX(10px);
        opacity: 0.35;
    }
}

/* Particle effects */
.services::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 165, 116, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(212, 165, 116, 0.06) 0%, transparent 50%);
    animation: particleFloat 25s ease-in-out infinite;
    pointer-events: none;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    33% {
        transform: translate(10px, -10px) scale(1.1);
        opacity: 0.7;
    }
    66% {
        transform: translate(-10px, 10px) scale(0.9);
        opacity: 0.3;
    }
}

.services-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 2rem;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

/* Elegant scrollbar */
.services-grid::-webkit-scrollbar {
    height: 6px;
}

.services-grid::-webkit-scrollbar-track {
    background: rgba(44, 62, 80, 0.1);
    border-radius: 10px;
    margin: 0 1rem;
}

.services-grid::-webkit-scrollbar-thumb {
    background: rgba(212, 165, 116, 0.3);
    border-radius: 10px;
    border: none;
}

.services-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 165, 116, 0.4);
}

.service-card {
    min-width: 350px;
    scroll-snap-align: start;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #d4a574, #c19560);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.2);
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.service-features span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    background: rgba(212, 165, 116, 0.08);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #d4a574;
    font-weight: 500;
}

.service-features i {
    color: #d4a574;
    font-size: 0.8rem;
}

.service-card .btn-primary {
    background: linear-gradient(135deg, #d4a574, #c19560);
    color: white;
    padding: 12px 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    border: none;
    cursor: pointer;
    margin-top: auto;
    text-align: center;
    font-size: 0.9rem;
}


/* Accommodation Section */
.accommodation {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.accommodation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23d4a574" fill-opacity="0.03"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.5;
}

.accommodation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
    gap: 3.5rem;
    position: relative;
    z-index: 1;
}

.accommodation-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.accommodation-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.accommodation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.accommodation-content {
    padding: 3rem;
    position: relative;
    z-index: 2;
}

.accommodation-content h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.accommodation-content p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.accommodation-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.accommodation-features span {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.08), rgba(193, 154, 107, 0.05));
    border-radius: 25px;
    font-size: 0.9rem;
    color: #d4a574;
    font-weight: 500;
    border: 1px solid transparent;
}

.accommodation-features i {
    color: #d4a574;
    font-size: 1rem;
}

.accommodation-content .btn-primary {
    background: linear-gradient(135deg, #d4a574, #c19560);
    color: white;
    padding: 16px 3rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-block;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.2);
}


/* Scroll Navigation Buttons */
.scroll-navigation {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -3rem;
    padding: 0 2rem;
    pointer-events: none;
    z-index: 10;
}

.scroll-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4a574, #c19560);
    border: 3px solid white;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(212, 165, 116, 0.3);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.scroll-btn:hover {
    background: linear-gradient(135deg, #c19560, #b88555);
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.4);
    opacity: 1;
}

.scroll-btn:active {
    transform: scale(0.95);
}

.scroll-btn.scroll-left {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    box-shadow: 0 5px 20px rgba(44, 62, 80, 0.3);
}

.scroll-btn.scroll-left:hover {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    box-shadow: 0 8px 30px rgba(44, 62, 80, 0.4);
}

/* Hide/show buttons based on scroll position */
.scroll-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: scale(0.8);
}

.scroll-btn.disabled:hover {
    transform: scale(0.8);
    opacity: 0.3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .accommodation-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .accommodation-content {
        padding: 2rem;
    }
    
    .accommodation-content h3 {
        font-size: 1.8rem;
    }
    
    .accommodation-image {
        height: 250px;
    }
    
    .scroll-navigation {
        padding: 0 1rem;
        margin-top: -2rem;
    }
    
    .scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Improved mobile services grid */
    .services-grid {
        padding: 1rem 0; /* Remove left padding that causes edge clipping */
        gap: 1rem; /* Further reduced gap for better mobile fit */
        margin-left: 1rem; /* Add margin to container instead */
        margin-right: 1rem; /* Balance right margin */
    }
    
    .service-card {
        min-width: 280px; /* Better fit for mobile screens */
        max-width: 300px; /* Prevent cards from being too wide */
    }
    
    /* Better mobile card content */
    .service-card-content {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .service-features {
        gap: 0.4rem;
        margin-bottom: 1rem;
    }
    
    .service-features span {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
    
    .service-card .btn-primary {
        font-size: 0.85rem;
        padding: 10px 1.5rem;
    }
}

@media (max-width: 480px) {
    .scroll-navigation {
        padding: 0 0.5rem;
        margin-top: -1.5rem;
    }
    
    .scroll-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    /* Ultra-compact mobile layout */
    .services-grid {
        padding: 0.5rem 0; /* Remove left padding */
        gap: 0.8rem; /* Smaller gap for very small screens */
        margin-left: 0.5rem; /* Smaller margin */
        margin-right: 0.5rem;
    }
    
    .service-card {
        min-width: 250px; /* Fit better on small phones */
        max-width: 280px; /* Consistent max width */
    }
    
    .service-card-content {
        padding: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.8rem;
    }
    
    .service-icon i {
        font-size: 1.3rem;
    }
    
    .service-features {
        gap: 0.3rem;
        margin-bottom: 0.8rem;
    }
    
    .service-features span {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    .service-card .btn-primary {
        font-size: 0.8rem;
        padding: 8px 1.2rem;
    }
}

/* Extra small phones */
@media (max-width: 360px) {
    .services-grid {
        margin-left: 0.3rem;
        margin-right: 0.3rem;
        gap: 0.6rem;
    }
    
    .service-card {
        min-width: 220px; /* Even smaller for very small phones */
        max-width: 260px;
    }
    
    .service-card-content {
        padding: 0.8rem;
    }
    
    .service-card h3 {
        font-size: 1rem;
    }
    
    .service-card p {
        font-size: 0.8rem;
    }
}

/* Improve scroll indicators on mobile */
@media (max-width: 768px) {
    .services-grid {
        scroll-snap-type: x mandatory;
        -webkit-scroll-snap-type: x mandatory;
    }
    
    .service-card {
        scroll-snap-align: center;
        -webkit-scroll-snap-align: center;
    }
    
    /* Better scrollbar styling for mobile */
    .services-grid::-webkit-scrollbar {
        height: 4px;
    }
    
    .services-grid::-webkit-scrollbar-track {
        background: rgba(212, 165, 116, 0.1);
        border-radius: 4px;
        margin: 0 0.5rem;
    }
    
    .services-grid::-webkit-scrollbar-thumb {
        background: rgba(212, 165, 116, 0.5);
        border-radius: 4px;
    }
}

/* Add visual hint for horizontal scroll on mobile */
@media (max-width: 768px) {
    .services-grid::before {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 60px;
        background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.2));
        pointer-events: none;
        z-index: 2;
    }
}

/* Touch-friendly scroll buttons */
@media (max-width: 768px) {
    .scroll-navigation {
        margin-top: -2.5rem; /* Better positioning */
        padding: 0 1rem;
    }
    
    .scroll-btn {
        opacity: 0.7; /* Slightly transparent but visible */
        transform: scale(0.8);
        width: 45px;
        height: 45px;
    }
    
    .scroll-btn:hover {
        transform: scale(0.9);
        opacity: 1;
    }
    
    .scroll-btn:active {
        transform: scale(0.75);
        opacity: 0.8;
    }
    
    /* Hide scroll buttons on very small mobile - rely on touch scroll */
    @media (max-width: 480px) {
        .scroll-navigation {
            display: none; /* Hide buttons on small phones, use touch scroll */
        }
        
        .services-grid {
            margin-left: 0.5rem;
            margin-right: 0.5rem;
        }
    }
}

/* Events Section */
.events-preview {
    background: #f8f9fa;
}

.events-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.event-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-content h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.event-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(212, 165, 116, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: white;
}

/* Contact Section */
.contact {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('../images/pintados.png') center/cover;
    position: relative;
}

.contact .section-header h2,
.contact .section-header p {
    color: white;
    position: relative;
    z-index: 2;
}

.contact-info h3,
.contact-form h3 {
    color: white;
}

.contact-item h4 {
    color: white;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-item i {
    color: #d4a574;
}

/* Additional styling for contact form elements */
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    border-color: #d4a574;
    background: rgba(255, 255, 255, 0.15);
}

.contact-form .form-group select option {
    background: #2c3e50;
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #d4a574;
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.contact-item h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-form h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4a574;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* WhatsApp Buttons */
.whatsapp-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 20px;
    margin-bottom: 10px;
    background: #25d366;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: translateX(-10px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn.corporate {
    background: #2c3e50;
}

.whatsapp-btn.tourists {
    background: #3498db;
}

.whatsapp-btn.events {
    background: #e74c3c;
}

.whatsapp-btn.weddings {
    background: #e91e63;
}

.whatsapp-btn.gastronomy {
    background: #f39c12;
}

.whatsapp-btn.activities {
    background: #9b59b6;
}

.whatsapp-btn.main {
    background: #25d366;
    font-size: 1.1rem;
}

.whatsapp-btn span {
    display: none;
}

.whatsapp-btn.main span {
    display: inline;
}

.whatsapp-buttons:hover .whatsapp-btn span {
    display: inline;
}

/* Footer */
.footer {
    position: relative;
    color: white;
    padding: 50px 0 20px;
    overflow: hidden;
}

.footer-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.footer-video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(212, 165, 116, 0.7));
    z-index: 2;
}

.footer .container {
    position: relative;
    z-index: 3;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    color: #d4a574;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #d4a574;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #d4a574;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #c19560;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-logo img {
        height: 40px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .accommodation-grid {
        grid-template-columns: 1fr;
    }

    .events-showcase {
        grid-template-columns: 1fr;
    }

    .event-item {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .whatsapp-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .whatsapp-btn span {
        display: none !important;
    }

    /* Footer video responsive styles */
    .footer-video-background iframe {
        width: 177.78vh; /* 16:9 aspect ratio for portrait */
        height: 100vh;
        min-width: 100%;
        min-height: 56.25vw; /* Fallback for landscape */
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #d4a574;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid #c3e6cb;
}

/* Error Message */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid #f5c6cb;
}

/* Service Page Styles */
.breadcrumb {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e1e8ed;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb li {
    color: #666;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin-left: 10px;
    color: #d4a574;
}

.breadcrumb a {
    color: #d4a574;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.service-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('../images/hero/corporate-hero.jpg') center/cover;
    padding: 120px 0 80px;
    text-align: center;
    color: white;
}

.service-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.service-hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.service-features {
    padding: 80px 0;
    background: white;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #d4a574, #c19560);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.room-types {
    padding: 80px 0;
    background: #f8f9fa;
}

.room-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.room-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.room-card:hover {
    transform: translateY(-10px);
}

.room-image {
    position: relative;
    height: 250px;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #d4a574;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.room-info {
    padding: 2rem;
}

.room-info h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.room-price {
    margin-bottom: 1.5rem;
}

.room-price .price {
    font-size: 2rem;
    font-weight: 700;
    color: #d4a574;
}

.room-price .period {
    color: #666;
    font-size: 1rem;
}

.room-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.room-features li {
    padding: 0.5rem 0;
    color: #555;
    display: flex;
    align-items: center;
}

.room-features i {
    color: #d4a574;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.corporate-services {
    padding: 80px 0;
    background: white;
}

.services-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-showcase-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: #f8f9fa;
}

.service-showcase-item .service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d4a574, #c19560);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.service-showcase-item .service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-showcase-item h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-showcase-item p {
    color: #666;
    font-size: 0.95rem;
}

.benefits-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.benefits-text h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.benefits-list i {
    color: #d4a574;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.benefits-list h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.benefits-list p {
    color: #666;
    font-size: 0.95rem;
}

.benefits-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.reservation-form {
    padding: 80px 0;
    background: white;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    color: #2c3e50;
    margin: 0;
}

.faq-question i {
    color: #d4a574;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Responsive for service pages */
@media (max-width: 768px) {
    .service-hero-content h1 {
        font-size: 2rem;
    }
    
    .service-hero-content p {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .room-cards {
        grid-template-columns: 1fr;
    }
    
    .services-showcase {
        grid-template-columns: 1fr;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}
