/* =========================================
   ECO HOSTAL - ESTILO NATURAL
   ========================================= */

:root {
    --primary: #27ae60;
    /* Verde Bosque */
    --secondary: #d35400;
    /* Tono madera/tierra */
    --bg-light: #fdfbf7;
    /* Crema suave */
    --text-dark: #2c3e50;
    --white: #ffffff;
}

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

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Merriweather', serif;
    color: var(--text-dark);
}

a {
    text-decoration: none;
}

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

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

/* --- NAVBAR --- */
.navbar {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: bold;
    font-size: 0.9rem;
}

.btn-nav {
    background: var(--primary);
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-nav:hover {
    background: #219150;
}

/* --- HERO --- */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1449156493391-d2cfa28e468b?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

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

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn-hero {
    background: var(--white);
    color: var(--text-dark);
    padding: 15px 35px;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s;
}

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

/* --- HABITACIONES --- */
.section-container {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 50px;
    font-style: italic;
}

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

.room-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    border: 1px solid #eee;
}

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

.room-img {
    position: relative;
    height: 200px;
}

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

.price-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--white);
    color: var(--text-dark);
    padding: 5px 15px;
    font-weight: bold;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.room-info {
    padding: 25px;
}

.room-info h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.amenities {
    list-style: none;
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #7f8c8d;
    font-size: 0.85rem;
}

.amenities i {
    color: var(--primary);
    margin-right: 5px;
}

.room-info p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
}

.btn-book {
    display: block;
    text-align: center;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 10px;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s;
}

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

/* --- TOURS --- */
.section-tours {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 80px 0;
}

.section-tours .white {
    color: var(--white);
}

.tours-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tour-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.tour-icon {
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.tour-text h4 {
    color: var(--white);
    margin-bottom: 5px;
}

.tour-text p {
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* --- FOOTER --- */
.footer {
    background: #222;
    color: #ecf0f1;
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer p {
    margin-bottom: 10px;
    color: #bdc3c7;
}

.socials a {
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: 0.3s;
}

.socials a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #7f8c8d;
}

.copyright a {
    color: #95a5a6;
}

/* --- WHATSAPP --- */
.float-wa {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 100;
    transition: 0.3s;
}

.float-wa:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Simplificado para demo */
    .hero h1 {
        font-size: 2.5rem;
    }

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