/* General Reset */
/* 
paleta de colores 
 #cdba96;
 #ab8d65;
 #804e25;
 #28140a;
    */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: playfair display, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    background-color: #cdba96;
    display: flex;
    width:100%;
    flex-direction: column;
    min-height: 100vh;
    
}

/* Header Styles */
header {
    display: flex;
    font-size: 1.25rem;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    padding: 10px;
    background-color: rgba(51, 51, 51, 0.5); /* Fondo con transparencia */
    color: #cdba96;
    position: relative; /* Cambiado a relative para que se desplace con el contenido */
    width: 100%;
    z-index: 1000;
}
header h1 {
    margin: 0;
    font-size: 1,5rem;
  }
  
header a {
    text-decoration: none;
    color: #cdba96;
}
  header .logo {
    width: 6rem; /* Ajusta el tamaño según sea necesario */
    height: auto;
    margin: 0;
}

/* Main content styles */
main {
    padding: 20px;
}


.nav-links {
    list-style: none; 
    display: flex;
    gap: 20px;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: #cdba96;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #28140a
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    background-color: #cdba96;
    height: 3px;
    width: 25px;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Main Content */
main {
    flex: 1;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32%, 1fr));
    gap: 20px;
    
  }


.logo_MI {
    margin-top: 10px;
    width: 200px; /* Ajusta el tamaño según sea necesario */
    
}


.product-card {
    min-height: 300px;
    background-color: #cdba96;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #cdba96;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.product-card h2 {
    font-size: 1,5rem;
    color: #cdba96;
  text-shadow: 
    -1px -1px 0 black, 
     1px -1px 0 black, 
    -1px  1px 0 black, 
     1px  1px 0 black;
	
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}
.product-card h3 {
    font-size: 1,25rem;
    color: #cdba96;
  text-shadow: 
    -1px -1px 0 black, 
     1px -1px 0 black, 
    -1px  1px 0 black, 
     1px  1px 0 black;
	
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.product-card p {
    font-size: 0,5rem;
    color: #cdba96;
  text-shadow: 
    -1px -1px 0 black, 
     1px -1px 0 black, 
    -1px  1px 0 black, 
     1px  1px 0 black;
	
    position: relative;
    z-index: 2;
    text-align: center;
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    z-index: 1;
    filter: brightness(0.7);
}

/* Footer */
footer {
    background-color: rgba(51, 51, 51, 0.5); /* Fondo con transparencia */
    color: #cdba96;
    text-align: center;
    /* padding: 10px 20px; */
    height: auto;
    clear: left;
    text-align: center;
    position:relative;
    bottom: 0;
    width: 100%;
}

footer .redes {
    color: #cdba96;
    text-decoration: none;
    font-size: 2rem;
    transition: color 0.3s ease;
    margin: 0 10px;
}

footer .redes :hover {
    color: #28140a
}

footer p {
    font-size: 1 rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        flex-direction: column;
        background-color: rgba(51, 51, 51, 0.5); /* Fondo con transparencia */
        position: absolute;
        top: 60px;
        right: 0;
        overflow: hidden;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }

    .nav-links a {
        padding: 10px;
        text-align: center;
        border-bottom: 1px solid #444;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }
    body {
        margin: 0;
    }

    main {
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
    }

    .product-card {
        width: 100%;
        height: 75vh;
        padding: 0;
        border: none;
        border-radius: 0; /* Asegurar que no haya bordes redondeados */
        box-shadow: none; /* Eliminar cualquier sombra en el diseño responsivo */
    }
}

main .img {
    display:block;
    max-width: 640px;
    margin: 0 auto 20px auto; /* Centrar horizontalmente y agregar espacio inferior */
}

main p  {
    
    color: #28140a;
}

/* Estilos para el botón de scroll hacia el inicio */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    
    z-index: 1000;
}

.scroll-to-top:hover {
    background-color: #555;
}
