/* ==========================================================================
   Variables - Paleta de colores extraída de la imagen de referencia
   ========================================================================== */
   :root {
    --color-primary: #C49A6C;       /* Tono caramelo/dorado (Logo y Botón) */
    --color-primary-hover: #b0875c; /* Caramelo oscuro (Hover de botones) */
    --color-hero-bg: #E3D8CE;       /* Arena cálido (Fondo original) */
    --color-bg-light: #FBF9F6;      /* Crema muy claro (Fondo de secciones) */
    --color-text-dark: #3E3935;     /* Carbón/Marrón oscuro (Texto principal) */
    --color-text-muted: #6b635e;    /* Texto secundario */
    --color-white: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* ==========================================================================
   Reset & Estilos Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Desplazamiento suave entre anclas */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   Navegación (Navbar)
   ========================================================================== */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
}

#navbar.scrolled {
    background-color: var(--color-white);
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* ==========================================================================
   Sección: Inicio (Hero)
   ========================================================================== */
.hero {
    height: 100vh;
    background-color: var(--color-hero-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
    margin-top: 50px; /* Compensa el navbar */
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--color-text-dark);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-text-dark);
    margin-bottom: 40px;
    font-weight: 300;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s, transform 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-3px);
}

/* ==========================================================================
   Sección: El Local (Nosotros)
   ========================================================================== */
.about {
    padding: 100px 0;
    background-color: var(--color-bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--color-primary);
}

.about-text p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* ==========================================================================
   Sección: Servicios
   ========================================================================== */
.services {
    padding: 100px 0;
    background-color: var(--color-white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--color-text-dark);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--color-primary);
    font-style: italic;
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--color-bg-light);
    padding: 50px 30px;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.4s, box-shadow 0.4s;
    border: 1px solid rgba(196, 154, 108, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
}

.service-card .icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Sección: Ubicación
   ========================================================================== */
.location {
    padding: 100px 0;
    background-color: var(--color-hero-bg); /* Retomamos el color cálido */
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.location-info h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.location-info p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.info-list {
    list-style: none;
    margin-bottom: 40px;
}

.info-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    font-weight: 500;
}

.info-list i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

/* Botones Sociales */
.social-buttons {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--color-white);
    transition: transform 0.3s, background-color 0.3s;
}

.social-btn.instagram { background-color: #E1306C; }
.social-btn.tiktok { background-color: #000000; }
.social-btn.whatsapp-icon { background-color: #25D366; }

.social-btn:hover {
    transform: translateY(-5px);
}

/* Placeholder Mapa */
.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: var(--color-bg-light);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: var(--color-text-dark);
    color: var(--color-white);
    text-align: center;
    padding: 40px 0;
}

footer h2 {
    color: var(--color-primary);
    margin-bottom: 10px;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ==========================================================================
   WhatsApp Flotante
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   Clases de Animación (Usadas vía JS)
   ========================================================================== */
.section-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none; /* En un proyecto real aquí iría un menú hamburguesa */
    }
    
    .hero h1 { font-size: 3rem; }
    
    .about-grid, .location-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}