/* 
==============================================
Variables Globales y Configuración Base
==============================================
*/
:root {
    /* Paleta de colores Brief (Café, Oliva, Nude, Blanco) */
    --color-cafe: #3d2b1f;
    --color-cafe-light: #5a4030;
    --color-oliva: #707a5e;
    --color-nude: #e8d5c4;
    --color-blanco: #fdfaf7;
    
    --bg-dark: #1a1512; /* Café muy oscuro */
    --bg-lighter: #261f1b;
    --accent-gold: var(--color-nude);
    --accent-hover: var(--color-oliva);
    --text-light: var(--color-blanco);
    --text-muted: #b0a398;
    
    /* Colores para las tarjetas (Glassmorphism) */
    --card-bg: rgba(30, 25, 22, 0.7);
    --card-border: rgba(112, 122, 94, 0.2); /* Oliva suave */
    --card-text: var(--text-light);
    
    /* Tipografía */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Transiciones */
    --transition-fast: all 0.3s ease;
    --transition-smooth: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Efecto Ruido Cinematográfico */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 1;
    opacity: 0.04;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* Luces Ambientales */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}
.bg-glow-1 {
    top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(197, 169, 122, 0.15) 0%, transparent 70%);
}
.bg-glow-2 {
    bottom: -20%; left: -10%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(197, 169, 122, 0.1) 0%, transparent 70%);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

.section-padding {
    padding: 7rem 0;
}

/* 
==============================================
Tipografía Global
==============================================
*/
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 400;
}

.italic {
    font-style: italic;
}

.section-title {
    font-size: 3.5rem;
    color: transparent;
    background: linear-gradient(135deg, var(--color-blanco) 0%, var(--color-nude) 50%, var(--color-oliva) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.section-title.center {
    text-align: center;
    margin-bottom: 4rem;
}

/* 
==============================================
Botones Modernos
==============================================
*/
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: rgba(232, 213, 196, 0.1);
    border: 1px solid var(--color-nude);
    color: var(--color-nude);
    backdrop-filter: blur(5px);
}

.btn-primary:hover {
    background-color: var(--color-nude);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(232, 213, 196, 0.2);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid rgba(197, 169, 122, 0.5);
    color: var(--accent-gold);
    font-size: 0.8rem;
    padding: 0.8rem 2rem;
}

.btn-secondary:hover {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
    border-color: var(--accent-gold);
}

/* 
==============================================
Placeholders Animados (Mientras llegan fotos)
==============================================
*/
.placeholder-img {
    background: linear-gradient(45deg, #161412, #24201d, #161412);
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-img::after {
    content: "Imagen pendiente";
    color: rgba(197, 169, 122, 0.5);
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(197, 169, 122, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Imágenes Reales */
.real-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .real-image {
    transform: scale(1.05);
}

/* 
==============================================
Header y Navegación
==============================================
*/
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    z-index: 100;
    display: flex;
    justify-content: flex-end;
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    border-radius: 50%; /* Opcional: para logos circulares */
    border: 1px solid var(--color-oliva);
    padding: 5px;
    background: rgba(30, 25, 22, 0.8);
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.social-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-nude);
    transition: var(--transition-fast);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(232, 213, 196, 0.2);
    border-radius: 50px;
    background: rgba(112, 122, 94, 0.05);
}

.instagram-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-text {
    font-size: 0.9rem;
    text-transform: lowercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.social-icon-wrapper:hover {
    color: var(--color-oliva);
    background: rgba(112, 122, 94, 0.1);
    border-color: var(--color-oliva);
    transform: translateY(-2px);
}

.social-icon-wrapper:hover .instagram-icon {
    transform: rotate(5deg) scale(1.1);
}

/* 
 ==============================================
 Avisos Importantes
 ==============================================
 */
.hotel-warning {
    text-align: center;
    padding: 1.5rem;
    background: rgba(112, 122, 94, 0.1);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.hotel-warning span {
    color: var(--color-nude);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

.hotel-warning-bottom {
    text-align: center;
    margin-bottom: 3rem;
}

.hotel-warning-bottom span {
    color: var(--color-oliva);
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 500;
}

/* 
==============================================
Sección Hero
==============================================
*/
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 4rem;
    background: url('img/backhero.png') no-repeat center center;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26, 21, 18, 0.95) 0%, rgba(26, 21, 18, 0.6) 50%, rgba(26, 21, 18, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
    margin-top: -5rem;
    padding-left: 2rem;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.8;
}

.hero-description {
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.6;
    max-width: 550px;
    font-weight: 300;
}

/* Scroll Indicator (Ruedita del ratón animada) */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(197, 169, 122, 0.6);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-gold);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

.hero-bottom-text {
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    font-style: italic;
    z-index: 3;
    padding: 0 2rem;
}

/* 
==============================================
Sección de Servicios
==============================================
*/
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-card {
    display: flex;
    background-color: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    color: var(--card-text);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 5;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(197, 169, 122, 0.1);
    border-color: rgba(197, 169, 122, 0.4);
}

.service-card.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1.2; /* Toma un poco más de espacio */
    min-height: 450px;
    overflow: hidden;
}

.service-card:hover .placeholder-img {
    background-size: 150% 150%; /* Efecto sutil de zoom al hacer hover en el placeholder */
}

.service-info {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-info h3 {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    color: var(--accent-gold);
}

.service-info > p {
    color: #e0d8c9;
    margin-bottom: 3rem;
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 300;
}

.pricing {
    display: flex;
    gap: 4rem;
}

.price-item .duration {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    color: #9c8052; /* Un dorado un poco más oscuro para fondo claro */
    margin-bottom: 0.8rem;
    font-style: italic;
    font-size: 1.1rem;
}

.price-item ul li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.2rem;
    font-weight: 400;
}

.price-item ul li::before {
    content: '◇'; /* Viñeta elegante */
    position: absolute;
    left: 0;
    color: #9c8052;
    font-size: 0.8rem;
    top: 2px;
}

/* 
==============================================
Sección Experiencia (Galería)
==============================================
*/
.bg-light-brown {
    background-color: var(--bg-lighter);
    position: relative;
}

.bg-light-brown::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(112, 122, 94, 0.3), transparent);
}

/* 
==============================================
Sección Mapa
==============================================
*/
.map-section {
    background-color: var(--bg-dark);
}

.map-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-top: -3rem;
    margin-bottom: 4rem;
    font-weight: 300;
}

.map-container {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    filter: grayscale(0.2) contrast(1.1); /* Toque elegante */
    transition: var(--transition-smooth);
}

.map-container:hover {
    filter: grayscale(0);
    border-color: var(--color-oliva);
}

.map-container iframe {
    display: block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    aspect-ratio: 4/5;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.gallery-item:hover {
    transform: scale(1.04) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(197, 169, 122, 0.4);
}

/* 
==============================================
Footer
==============================================
*/
.footer {
    background-color: var(--bg-dark);
    padding: 5rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 169, 122, 0.2), transparent);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-top-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.footer-logo-img {
    height: 140px;
    width: auto;
    border-radius: 50%;
    border: 2px solid var(--color-oliva);
    padding: 10px;
    background: rgba(30, 25, 22, 0.8);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.footer-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    width: 100%;
    max-width: 1000px;
}

.footer-center {
    text-align: center;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-center h4 {
    color: var(--color-nude);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: var(--font-heading);
}

.footer-center p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 2rem;
    border-left: 1px solid rgba(112, 122, 94, 0.2);
}

.footer-contact h3 {
    color: var(--color-nude);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.footer-contact p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-weight: 300;
}

.footer-contact .icon {
    color: var(--color-oliva);
    font-size: 1.4rem;
}

.footer-contact .btn {
    margin-top: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom a {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0 1.5rem;
    letter-spacing: 1px;
}

.footer-bottom a:hover {
    color: var(--accent-gold);
}

/* 
==============================================
Clases de Animación Inicial (Al cargar)
==============================================
*/
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* 
==============================================
Animaciones Scroll Reveal (Con Javascript)
==============================================
*/
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delays para elementos en grid revelados juntos */
.delay-1-reveal { transition-delay: 0.2s; }
.delay-2-reveal { transition-delay: 0.4s; }

/* 
==============================================
Diseño Responsivo (Mobile & Tablet)
==============================================
*/
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .footer-info-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .footer-contact {
        border-left: none;
        border-top: 1px solid rgba(112, 122, 94, 0.2);
        padding-left: 0;
        padding-top: 4rem;
        align-items: center;
    }
}

@media (max-width: 850px) {
    .service-card, .service-card.reverse {
        flex-direction: column;
    }
    .service-image {
        min-height: 300px;
    }
    .service-info {
        padding: 3rem 2rem;
    }
    .pricing {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero { padding: 6rem 2rem 2rem; }
    .hero-content { padding-left: 0; margin-top: 0; }
    .hero-title { font-size: 3rem; }
    .section-title { font-size: 2.2rem; }
    
    .flex-between {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .header { padding: 2rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .pricing { flex-direction: column; gap: 1.5rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .footer-bottom a {
        display: block;
        margin: 1rem 0;
    }
}

/* 
==============================================
Botón Flotante WhatsApp
==============================================
*/
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}
