/* ======== VARIABLES Y ESTILOS GLOBALES ======== */
:root {
    --primary-color: #005AAB; /* Azul del logo */
    --accent-color: #FFA726;  /* Naranja/Amarillo de las flores */
    --dark-color: #333333;
    --light-color: #FFFFFF;
    --bg-light: #fdf8f0; /* Un fondo cálido muy sutil */
    --font-headings: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 4rem 2rem;
    overflow: hidden;
}

h1, h2, h3 {
    font-family: var(--font-headings);
    color: var(--primary-color);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--light-color);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
}

.btn.btn-secondary {
    background: var(--light-color);
    color: var(--primary-color);
}

/* ======== HEADER / NAVEGACIÓN ======== */
header {
    background: var(--light-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0.5rem 2rem;
}

nav .logo img {
    height: 60px;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

nav ul li a:hover {
    border-bottom-color: var(--accent-color);
}

nav ul li a.btn {
    border: none;
}

/* ======== SECCIÓN HERO ======== */
#hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1740&q=80') no-repeat center center/cover;
    color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
}

#hero h1 {
    font-size: 4rem;
    color: var(--light-color);
}

#hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 2rem auto;
}

/* ======== SOBRE NOSOTROS ======== */
#sobre-nosotros {
    background: var(--bg-light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.2);
}

/* ======== MENÚ ======== */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.menu-item {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-10px);
}

.menu-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.menu-item h3 {
    margin-bottom: 1rem;
}

/* ======== GALERÍA ======== */
#galeria {
    padding: 4rem 0;
    background: var(--bg-light);
}

#galeria h2 {
    padding-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 5px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-grid img:hover {
    transform: scale(1.03);
    cursor: pointer;
}

/* ======== RESERVAS ======== */
#reservas {
    text-align: center;
}

#reservas p {
    max-width: 500px;
    margin: 0 auto 2rem auto;
}
.contact-info {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.contact-info p {
    color: var(--primary-color);
    font-weight: bold;
}
.contact-info i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* ======== FOOTER ======== */
footer {
    background: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 2rem;
}
.social-icons {
    margin-top: 1rem;
}
.social-icons a {
    color: var(--light-color);
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}
.social-icons a:hover {
    color: var(--accent-color);
}


/* ======== RESPONSIVE (PARA MÓVILES) ======== */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }
    
    nav {
        flex-direction: column;
        padding: 1rem;
    }
    nav ul {
        padding-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul li {
        margin: 0.5rem;
    }

    #hero {
        height: 80vh;
    }
    #hero h1 {
        font-size: 2.5rem;
    }

    .about-content {
        flex-direction: column;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
}