:root {
    --primary-color: #ddad3e; 
    --secondary-color: #2ecc71; 
    --text-color: #f7f7f7; 
    /* --background-color: #3b3b3b; */
    --background-color: #212121;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}
html {
    font-size: 10px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

body {
    font-size: 1.6rem;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

.layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%; 
    margin: 0 auto;
    overflow-x: hidden;
}

.hamburger {
    display: none;
    font-size: 2.5rem;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
}
#nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}
.logo__chico{
    display: none;

}
/* logo flotante */
.floating-logo {
    position: absolute; /* Para mantenerlo flotando sobre la página */
    top: 66px; /* Ajusta la posición vertical */
    left: 20px; /* Ajusta la posición horizontal */
    z-index: 1000; /* Asegura que esté por encima del slider */
}

.floating-logo img {
    width: 350px; /* Ajusta el tamaño del logo */
    height: auto;
}

/* escarapela flotante */
.floating-escarapela {
    position: fixed; /* Para mantenerlo flotando sobre la página */
    bottom: 20px; /* Ajusta la posición vertical */
    right: 20px; /* Ajusta la posición horizontal */
    z-index: 1000; /* Asegura que esté por encima del slider */
}

.floating-escarapela img {
    width: 90px; /* Ajusta el tamaño del logo */
    height: auto;
    filter: drop-shadow(10px 10px 10px black);
}



/* Estilos de navegación */
.layout__nav {
    width: 100%;
    height: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    background-color: rgba(59, 59, 59, 1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-sizing: border-box;
    
    
}
.layout__nav p{
    font-size: 2.3rem;
    color: var(--text-color);
    font-weight: bold;
}

.layout__nav ul {
    display: flex;
    gap: 3rem;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: -13rem;
    font-size: 1.4rem;
}

.layout__nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    transition: all 200ms ease-in-out;
}

.layout__nav ul li a:hover {
    color: var(--primary-color);
    transform: scale(1.2);
    font-weight: 600;
}

.nav__logo {
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    
}

.nav__logo img {
    width: 3rem;
    height: 3rem;
}

.nav__redes {
    display: flex;
    gap: 2rem;
    
}

.nav__redes i {
    font-size: 2rem;
    color: var(--text-color);
    transition: color 0.3s ease;
    transition: all 200ms ease-in-out;
}

.nav__redes i:hover {
    color: var(--primary-color);
    transform: scale(1.5);
}



/* Estilos del Hero Section */


/* Slider sin animación */
.slider {
width: 100%;
display: flex;
overflow: hidden;
transition: transform 1s ease-in-out;

}


/* Cada slide ocupa el 100% del slider y es invisible al inicio */
.slide {
    width: 100%;
    opacity: 0;               /* Inicialmente invisibles */
    position: absolute;       /* Superponen las imágenes para el efecto fade */
    transition: opacity 1s ease-in-out;  /* Transición suave */
}

/* Clase activa para el slide visible */
.slide.active {
    opacity: 1;               /* El slide activo es visible */
    position: relative;       /* Reposiciona la imagen activa */
}



/* Imagen dentro del slide */
.slide img {
width: 100%;
height: 450px;
object-fit: cover;
}

/* Centrado del overlay de texto */
.text-overlay {
position: absolute;
top: 70%;
left: 80%;
transform: translate(-50%, -50%);
text-align: center;
color: var(--primary-color);
background-color: rgba(24, 22, 22, 0.5);
padding: 10px;
border-radius: 10px;
-webkit-backdrop-filter: blur(5px);
backdrop-filter: blur(5px); /* Efecto de desenfoque */
}

/* Tamaños de texto */
.text-overlay h3 {
font-size: 2rem;
font-weight: bold;
margin: 0;
text-shadow: 2px 2px 9px black;
}

.text-overlay h2 {
font-size: 5rem;
font-weight: bold;
margin: 0;
text-shadow: 2px 2px 4px black;
}

.venta {
font-size: 2rem;
font-weight: bold;
margin: 0;
text-shadow: 2px 2px 4px black;
}


/* Estilos de las cards */
.categories {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background-color: var(--background-color);
}

.category-card {
    position: relative;
    width: 18%;
    height: 180px; /* Altura reducida */
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out, transform 0.3s;
}

.category-card .card-text {
    position: absolute;
    top: 0px; /* Posición en la parte superior */
    left: 0;
    width: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7); /* Fondo semitransparente inicial */
    padding: 10px 0;
    transition: color 0.3s, font-size 0.3s;
}

.category-card h3 {
    color: #fff;
    font-size: 1em;
    margin: 0;
    transition: color 0.3s, font-size 0.3s;
}

.category-card:hover {
    transform: scale(1.05); /* Aumento de tamaño al hacer hover */
    box-shadow: 0px 0px 10px rgb(92, 90, 90);
}

.category-card:hover img {
    opacity: 0.7; /* Opacidad reducida al hacer hover */
    transform: scale(1.05); /* Aumento de tamaño de la imagen */
}

.category-card:hover .card-text {
    background-color: rgba(0, 0, 0, 0.6); /* Fondo más oscuro en hover */
}

.category-card:hover h3 {
    color: var(--primary-color); /* Color del texto en hover */
    font-size: 1.2em; /* Tamaño del texto en hover */
}



/* Whatsapp */
.whatsapp {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 10;
}

.whatsapp img {
    width: 60px;
    transition: all 300ms ease-in-out; 
}

.whatsapp img:hover {
    transform: scale(1.1);
}

.tooltip {
    visibility: hidden; 
    background-color: var(--background-color); 
    color: var(--text-color); 
    font-weight: 600;
    text-align: center; 
    border-radius: 5px; 
    padding: 5px; 
    position: absolute; 
    bottom: 25%; 
    right: 200%; 
    transform: translateX(50%); 
    opacity: 0; 
    transition: opacity 0.3s; 
}

.whatsapp:hover .tooltip {
    visibility: visible; 
    opacity: 1; 
}
/* Footer */
.footer {
    background-color: #212121; 
    color: #f7f7f7; 
    padding: 2rem;
    text-align: center;
    font-size: 1.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer__social {
    display: flex;
    gap: 2rem;
}

.footer__social a {
    color: #f7f7f7;
    font-size: 2.5rem;
    transition: color 0.3s ease;
}

.footer__social a:hover {
    color: var(--primary-color); 
    transform: scale(1.1);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__contact p {
    margin: 0;
    font-size: 1.4rem;
}

.footer__contact i {
    margin-right: 0.5rem;
}
.footer__link{
    font-size: 1.6rem;
}

.footer__credits {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #bbb;
}

.footer__credits p {
    margin: 0;
}

.contact__title{
    margin: 1rem;
}

.calendario{
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
}

    
/* RESPONSIVE */



/* Para pantallas de 768px o menos */

@media (max-width: 968px) {
/* Ocultar el menú y mostrar el botón de hamburguesa */
.hamburger {
    display: block;
}

.nav-menu {
    display: none; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--background-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

/* Al hacer clic en la hamburguesa se abrirá el menú */
.nav-menu.open {
    display: flex;
}

/* Ajuste de logo y espaciado */
.nav__logo {
    font-size: 1.8rem;
}

.layout__nav {
    padding: 1rem;
}
}



/* Para pantallas de 768px o menos */
@media (max-width: 968px) {
.hero {
    height: 300px;
}

.slide img {
    height: 300px;
}

.text-overlay {
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.text-overlay h1 {
    font-size: 2rem;
}

.text-overlay h2 {
    font-size: 2.8rem;
}
/* logo flotante */
.floating-logo {
    position: absolute; /* Para mantenerlo flotando sobre la página */
    top: 66px; /* Ajusta la posición vertical */
    left: 20px; /* Ajusta la posición horizontal */
    z-index: 1000; /* Asegura que esté por encima del slider */
}

.floating-logo img {
    width: 150px; /* Ajusta el tamaño del logo */
    height: auto;
}


}




/* Para pantallas de 768px o menos */
@media (max-width: 968px) {
.categories {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 10px;
}

.category-card {
    width: 48%; /* Que ocupen el 100% de la pantalla */
    
    height: auto;
}
.hamburger {
    display: block; 
}


#nav-menu {
    display: none; 
    flex-direction: column;
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(59, 59, 59, 0.9);
}

#nav-menu.active {
    display: flex; 
}

#nav-menu li {
    text-align: center;
    padding: 1rem 0;
}



/* Para pantallas de 768px o menos */
@media (max-width: 968px) {

.footer {
    padding: 1rem;
    font-size: 1.2rem;
}

.footer__social {
    font-size: 1.8rem;
}

.footer__contact p, .footer__credits p {
    font-size: 1.1rem;
}

.hamburger {
    display: block; 
}


#nav-menu {
    display: none; 
    flex-direction: column;
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(59, 59, 59, 0.9);
}

#nav-menu.active {
    display: flex; 
}

#nav-menu li {
    text-align: center;
    padding: 1rem 0;
}
.text-overlay h1 {
    font-size: 1.8rem;
    
}

.text-overlay h2 {
    font-size: 2.5rem;
}
.text-overlay h3 {
    font-size: 1.8rem;
}
}

/* Para pantallas de 480px o menos */
@media (max-width: 480px) {

html {
    font-size: 9px;
    
}


.nav__logo p{
    font-size: 1.5rem;
}

.text-overlay{
    width: 95%;
    position: absolute;
top: 70%;
left: 50%;
}


.text-overlay h1 {
    font-size: 1.5rem;
    
    
}

.text-overlay h2 {
    font-size: 2.5rem;
}
.text-overlay h3 {
    font-size: 1.5rem;
}
#nav-menu{
    display: none;
}

#nav-menu.open {
    display: block; 
}
.footer p{
    font-size: 1.5rem;
}
.category-card{
    height: 18rem;
    width: 100%;

}

.hamburger {
    display: block; 
}


#nav-menu {
    display: none; 
    flex-direction: column;
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(59, 59, 59, 0.9);
}

#nav-menu.active {
    display: flex; 
}

#nav-menu li {
    text-align: center;
    padding: 1rem 0;
}
/* logo flotante */
.floating-logo {
    display: none;
    
}

/* escarapela flotante */
.floating-escarapela {
    
    bottom: 15px; /* Ajusta la posición vertical */
    right: 15px; /* Ajusta la posición horizontal */
    
}

.floating-escarapela img {
    width: 60px; /* Ajusta el tamaño del logo */
    height: auto;
    
}

.logo__chico{
    display: flex;
    flex-direction: row;
    width: 100px;
    line-height: 15px;

}
.logo__chico p{
    font-size: 1rem;
    
}
.argentinos{
    font-size: 12px;
    text-align: center;
    margin-left: 20px;
}


.maps {
  width: 300px;
  margin: 0 auto; /* centra horizontalmente */
  display: block; /* necesario para que margin funcione */
  border-radius: 15px;
}
}
}
