/* ===== BASE ===== */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    padding-top: 70px; /* compensar navbar fixed */
    font-family: 'Segoe UI', sans-serif;
}

.btn:focus, .btn:active:focus, .form-control:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #2e7d32;
}

/* ===== NAVBAR ===== */
.navbar-cabana {
    background-color: rgba(30, 60, 30, 0.95);
    backdrop-filter: blur(6px);
    transition: background-color 0.3s;
}

.lang-selector {
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 4px;
    padding: 0.2rem 0.6rem !important;
}

.lang-selector:hover {
    background-color: rgba(255,255,255,0.1);
}

/* ===== HERO ===== */
.hero-section {
    min-height: 92vh;
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 50%, #40916c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/img/hero-cabana.jpg') center/cover no-repeat;
    opacity: 0.25;
}

.hero-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 2rem;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.btn-hero {
    background-color: #fff;
    color: #1b4332;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: 2px solid #fff;
    transition: all 0.2s;
}

.btn-hero:hover {
    background-color: #1b4332;
    color: #fff;
}

.btn-hero-outline {
    background-color: transparent;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: 2px solid #fff;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-hero-outline:hover {
    background-color: #fff;
    color: #1b4332;
}

/* ===== SECCIONES ===== */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1b4332;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

/* ===== CABANAS ===== */
.cabana-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cabana-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
}

.cabana-img-placeholder {
    height: 200px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0.75rem;
}

.cabana-img-1 { background: linear-gradient(135deg, #52b788, #1b4332); }
.cabana-img-2 { background: linear-gradient(135deg, #74c69d, #2d6a4f); }
.cabana-img-3 { background: linear-gradient(135deg, #95d5b2, #40916c); }

.cabana-badge {
    background-color: rgba(255,255,255,0.9);
    color: #1b4332;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.cabana-badge-popular {
    background-color: #f4a261;
    color: #fff;
}

.cabana-info {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

.precio {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1b4332;
}

/* ===== COMODIDADES ===== */
.comodidad-item {
    padding: 1.5rem 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: background 0.2s;
}

.comodidad-item:hover {
    background: #d8f3dc;
}

.comodidad-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.comodidad-item p {
    margin: 0;
    font-weight: 500;
    color: #333;
}

/* ===== PASOS ===== */
.paso-item {
    padding: 2rem 1.5rem;
}

.paso-numero {
    width: 60px;
    height: 60px;
    background-color: #1b4332;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* ===== RESENAS ===== */
.resena-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.estrellas {
    color: #f4a261;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.resena-texto {
    color: #555;
    font-style: italic;
    margin-bottom: 0.75rem;
}

.resena-autor {
    font-weight: 600;
    color: #1b4332;
    margin: 0;
}

/* ===== UBICACION ===== */
.ubicacion-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ubicacion-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.ubicacion-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.mapa-placeholder {
    background: #e9ecef;
    border-radius: 12px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #adb5bd;
}

/* ===== CONTACTO ===== */
.contacto-section {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    padding: 5rem 0;
}

.contacto-section .section-title {
    color: #fff;
}

.contacto-section .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.btn-whatsapp {
    background-color: #25d366;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    color: #fff;
}

.btn-outline-light {
    border-radius: 50px;
    font-weight: 600;
}

/* ===== FOOTER ===== */
.footer-cabana {
    background-color: #0d2b1a;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-padding {
        padding: 3rem 0;
    }
}

/* ===== PAGINA RESERVAS ===== */
.reservas-hero {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    padding: 4rem 0 3rem;
}

.text-cabana {
    color: #2d6a4f;
}

.btn-reservar {
    background-color: #2d6a4f;
    border-color: #2d6a4f;
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-reservar:hover {
    background-color: #1b4332;
    border-color: #1b4332;
    color: white;
}

/* ===== PAGINA LOGIN ===== */
.login-icon {
    font-size: 2.5rem;
}

.login-page .card {
    border-radius: 12px;
}
