/* --- Importar Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Montserrat:wght@400;500;700&display=swap');

/* --- Paleta de Colores Pastel --- */
:root {
    --bg-color: #FCFBF8;
    --text-color: #4E4E4E;
    --green-pastel: #A8D8B4;
    --pink-pastel: #E6A8A8;
    --yellow-pastel: #FFFACD;
}

/* --- Estilos Generales --- */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    line-height: 1.7;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h2, h3 {
    font-family: 'Lora', serif;
}

h2 {
    text-align: center;
    font-size: 2.8em;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 40px;
    text-transform: none;
}

/* --- Header y Navegación --- */
.header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.header .logo img {
    height: 65px;
}

.header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.header nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    padding: 20px 15px;
    font-weight: 500;
    font-size: 1em;
    transition: color 0.3s;
}

.header nav ul li a:hover {
    color: var(--pink-pastel);
}

/* --- Banner Principal --- */
.banner {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
}

.banner-slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: fadeIn 1.5s;
}

.banner-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* --- Flechas del Banner --- */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


/* --- Galería de Imágenes --- */
.gallery {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #eee;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.cta-button {
    display: block;
    margin: 40px auto 0;
    padding: 15px 35px;
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--green-pastel);
    border-radius: 50px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-button:hover {
    background-color: var(--green-pastel);
    color: #fff;
    transform: translateY(-3px);
}

/* --- Sección de Contacto --- */
.contact-section {
    background-color: var(--yellow-pastel);
    padding: 60px 0;
    text-align: center;
}

.contact-info a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px dotted var(--green-pastel);
}

.contact-info i {
    margin-right: 10px;
    color: var(--green-pastel);
}

/* --- Footer --- */
.footer {
    background-color: #FFFFFF;
    color: #555;
    padding-top: 50px;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.footer-map iframe {
    border-radius: 8px;
}

.footer-contact h3 {
    font-size: 1.8em;
    color: var(--text-color);
}

.footer-contact i {
    color: var(--pink-pastel);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.social-icons a {
    color: var(--green-pastel);
    font-size: 1.8em;
    margin-right: 20px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--pink-pastel);
}

.footer-bottom {
    text-align: center;
    padding: 25px;
    margin-top: 40px;
    border-top: 1px solid #eee;
    font-size: 0.9em;
}

.footer-bottom a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
}

/* --- Media Queries --- */
@media (max-width: 768px) {
    h2 { font-size: 2.2em; }
    .header .container, .footer-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
        text-align: center;
    }
    .header nav { margin-top: 15px; }
    .footer-contact i { display: none; }
}