/* --- Variables de Color y Tipografía (Extraídas de globals.css y tailwind.config.ts) --- */
@import url('https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400;0,700;1,400;1,700&family=Belleza&display=swap');


:root {
    --background-hsl: 60 56% 91%;
    --foreground-hsl: 116 25% 20%;
    --primary-hsl: 116 44% 34%;
    --accent-hsl: 25 56% 40%;
    --primary-light-hsl: 116 44% 34% / 0.05;
    --primary-lighter-hsl: 116 44% 34% / 0.1;
    --foreground-light-hsl: 116 25% 20% / 0.8;
    --foreground-lighter-hsl: 116 25% 20% / 0.7;
    --border-hsl: 60 20% 80%;

    --font-body: 'Alegreya', serif;
    --font-headline: 'Belleza', sans-serif;
}



/* --- Estilos Generales --- */
body {
    font-family: var(--font-body);
    background-color: hsl(var(--background-hsl));
    color: hsl(var(--foreground-hsl));
    margin: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headline);
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* --- Header --- */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background-color: hsla(var(--background-hsl), 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-bottom: 1px solid hsl(var(--border-hsl));
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

header .logo img {
    height: 60px;
    width: auto;
    /* REdondear logo 15% */
    border-radius: 15%;
}

/* --- Header Responsivo --- */
header nav ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    gap: 7px;
}

.hamburger span {
    display: block;
    height: 4px;
    width: 100%;
    background: hsl(var(--foreground-hsl));
    border-radius: 2px;
    transition: 0.3s;
}


header nav a {
    font-family: var(--font-headline);
    color: hsl(var(--foreground-light-hsl));
    transition: color 0.2s;
}

header nav a:hover {
    color: hsl(var(--foreground-hsl));
}

/* --- Main --- */
main {
    flex-grow: 1;
}

/* --- Hero Section --- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1rem;
    background-color: hsla(var(--primary-light-hsl));
}

.hero h1 {
    font-size: 3.75rem; /* ~text-6xl */
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    color: hsl(var(--primary-hsl));
}

.hero p {
    max-width: 56rem; /* ~max-w-3xl */
    color: hsl(var(--foreground-light-hsl));
    font-size: 1.25rem; /* ~text-xl */
    margin: 0 auto;
}

/* --- Carousel Section --- */
.carousel-container {
    width: 100%;
    padding: 3rem 0;
    text-align: center;
}

.carousel-container h2 {
    font-size: 2.25rem; /* ~text-4xl */
    font-weight: 700;
    margin-bottom: 3rem;
    color: hsl(var(--primary-hsl));
}

.carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem;
    max-width: 1024px;
    margin: 0 auto;
}

.carousel-item {
    flex: 0 0 33%; /* Tres imágenes visibles */
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s;
}

.carousel-item:hover img {
    transform: scale(1.05);
}


/* --- Footer --- */
footer {
    background-color: hsla(var(--primary-lighter-hsl));
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

footer p {
    font-size: 0.875rem; /* ~text-sm */
    color: hsl(var(--foreground-lighter-hsl));
    margin: 0;
}

.social-media {
    display: flex;
    align-items: center;
    gap: 2rem;

}

.social-media a img {
    width: 24px;
    height: 24px;
    filter: grayscale(100%) brightness(70%);
    transition: filter 0.3s;

}

.social-media a:hover img {
    filter: none;
}


/* --- Media Queries for Responsiveness --- */
@media (min-width: 768px) {
    header {
        padding: 0 1.5rem;
    }
    .hero {
        padding: 8rem 1.5rem;
    }
    footer {
        flex-direction: row;
    }
}

.location {
    margin-top: 1rem;
    font-size: 0.875rem; /* ~text-sm */
    color: hsl(var(--foreground-lighter-hsl));
    text-align: center;

}

.location a {
    color: hsl(var(--foreground-light-hsl));
    text-decoration: underline;

}

/* style1.css */
.mobile-menu {
    display: none;
}

.mobile-menu.active {
    display: flex;
}
