@font-face {
    font-family: 'Madimi';
    src: url('public/madimi-one-latin-400-normal.woff2') format('woff2'),
         url('public/madimi-one-latin-400-normal.woff') format('woff'),
         url('public/madimi-one-latin-ext-400-normal.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
/* {
    
    "color3": "#D76475", cherry
    "color4": "#CFD383", lima
    #c6c2f2
    
  }
*/
/* Variables globales */
:root {
    --primary-color: #D76475;
    --secondary-color: #f6f5ff;
    --accent-color: #662e7e;
    --light-bg: #f6f5ff;
    --white: #fff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
    --transition: all 0.3s ease;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    font-size: 2rem;
    color: var(--primary-color);
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Header & Navegación */
header {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('/public/tienda-banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.9rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background 0.4s;
}

nav.scrolled {
    background-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.logo-small {
    display: none;
}

.nav.scrolled .logo-small {
    display: block;
}

.logo-small p {
    font-family: 'Madimi';
    font-size: 1.8rem;
    color: var(--white);
}

.nav-links {
    display: flex;
}

.nav-links a {
    margin: 0 15px;
    color: var(--white);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

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

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

.hero-content {
    color: var(--white);
    max-width: 600px;
}

.logo p {
    font-family: 'Madimi';
    font-size: 8rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.heroText h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.heroButton {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.heroButton:hover {
    background-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.social-media-hero {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    font-size: 2rem;
}

.social-media-hero a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}
/* Sección Sobre Nosotros */
.about {
    display: flex;
    padding: 5rem 0;
    background-color: var(--white);
    height: 100vh;
    align-items : center;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);

}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    font-weight: 500;
}

/* Galería de Productos */
#productos {
    display: flex;
    padding: 5rem 0;
    background-color: var(--light-bg);
    height: 100vh;
    align-items : center;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.image-container {
    width: 100%;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(6, 0, 8, 6));
    color: var(--white);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .overlay {
    transform: translateY(0);
}

.overlay h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Sección Cómo Llegar */
#como-llegar {
    padding: 5rem 0;
    background-color: var(--white);
}

.como-llegar {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.map-container {
    flex: 1;
    width: 100%;
    max-width: 600px;
    max-height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}



.directions-preview {
    flex: 1;
    width: 100%;
    max-width: 600px;
    max-height: 500px;
    padding: 2rem;
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.directions-preview h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.directions-preview h3 i {
    margin-right: 10px;
    color: var(--accent-color);
}

.directions-preview p {
    margin-bottom: 0.5rem;
}

/* Sección Contacto */
.contact {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.contact-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 3rem;

}

.contact-info {
    text-align: start;
    max-width: 500px;
}

.contact-info h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 2rem;
}

.contact-form {
    width: 100%;
    max-width: 500px;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 163, 115, 0.25);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    width: 100%;
}

.contact-form button:hover {
    background-color: var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo span {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Madimi';
    font-size: 1.8rem;
}
.footer-logo p {
    font-family: 'system-ui';
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.slogan {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    margin-bottom: 0.5rem;
    color: var(--white);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-media {
    display: flex;
    gap: 1rem;
}

.social-media a {
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-media a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Media Queries para Responsive */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: 0.5s;
        z-index: 900;
    }

    nav {
        justify-content: space-between;
    }


    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: flex;
        z-index: 1000;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(9px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .logo-small {
        display: block;
    }

    #productos {
        height: auto; /* Ajusta la altura automáticamente al contenido */
    }

    .about-content {
        flex-direction: column;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en pantallas pequeñas */
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    nav {
        justify-content: space-between;
    }

    .about-content,
    .como-llegar,
    .contact-container {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    #productos {
        height: auto; /* Ajusta la altura automáticamente al contenido */
    }
}

@media (max-width: 480px) {
    html {
        font-size: 12px;
    }

    nav {
        justify-content: space-between;
    }
    .section-title {
        font-size: 1.8rem;
    }

    .logo p {
        font-size: 4rem;
    }

    .heroText h1 {
        font-size: 2rem;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    #productos {
        height: auto; /* Ajusta la altura automáticamente al contenido */
    }

}