@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Estilos generales */
:root {
    --primary-color: #F8BBD0;
    --secondary-color: #E1BEE7;
    --accent-color: #D1C4E9;
    --text-color: #424242;
    --bg-color: #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: #000;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 100;
}

main {
    padding-top: 80px;
}

section {
    padding: 4rem 5%;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ff66c4;
}

/* Estilos del menú de navegación */
.logo img {
    height: 60px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    height: 80px;       
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff66c4;
}

.nav-links {
    display: flex;
    justify-content: space-around;
    list-style: none;
    width: 40%;
}

.nav-links.nav-active {
    display: flex;
    flex-direction: column;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #cb6ce6;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* BOTÓN HAMBURGUESA */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #ff69b4;
    cursor: pointer;
}

/* Contenido principal */
#hero {
    background: linear-gradient(135deg, #ff66c4, #cb6ce6);
    color: white;
    min-height: calc(100vh - 80px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.cta-button {
    background-color: white;
    color: #cb6ce6;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 2rem;
}

.cta-button:hover {
    color: white;
    background-color: #cb6ce6;
    transform: translateY(-2px);
}

#about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* GALERÍA MEJORADA */
.filter-container {
    margin-bottom: 3rem;
}

.filter-btn {
    background: #f0f0f0;
    color: #666;
    border: none;
    padding: 0.8rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, #ff66c4, #cb6ce6);
    color: white;
    transform: translateY(-2px);
}

#about {
    background-color: #f9f9f9;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.product-item {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.product-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.product-item.hidden {
    display: none;
}

.product-image-container {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,102,196,0.8), rgba(203,108,230,0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.product-item:hover .image-overlay {
    opacity: 1;
}

.view-btn, .details-btn {
    background: rgba(255,255,255,0.9);
    color: #cb6ce6;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
}

.view-btn:hover, .details-btn:hover {
    background: white;
    transform: scale(1.05);
}

.product-content {
    padding: 2rem;
}

.product-item h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.product-price {
    color: #ff66c4;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.product-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tag {
    background: #f0f0f0;
    color: #666;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    animation: fadeIn 0.3s ease;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
}

.lightbox img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    max-height: 70vh;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ff66c4;
}

.lightbox-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
}

.lightbox-info h3 {
    color: #ff66c4;
    margin-bottom: 1rem;
}

.lightbox-info p {
    color: #666;
    margin-bottom: 1rem;
}

.lightbox-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.feature-item {
    text-align: left;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 10px;
}

.feature-item h4 {
    color: #cb6ce6;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #666;
    font-size: 0.9rem;
}

#contact {
    background-color: #f9f9f9;
}

.details-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.details-content {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    color: #333;
    position: relative;
    text-align: justify;
}

.details-content h2 {
    text-align: center;
    color: #cb6ce6;
    margin-bottom: 1rem;
}

.details-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.details-tags span {
    background-color: #f0f0f0;
    color: #666;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

.details-modal .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    color: white;
    cursor: pointer;
}

.social-link {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.05);
}

.social-link i {
    margin-right: 0.5rem;
}

.whatsapp-button {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-button:after  {
    content: '¡Escribinos!';
    position: absolute;
    right: 70px;
    background-color: #25D366;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 14px;
    transform: scale(1.1);
}

.whatsapp-button:hover::after {
    opacity: 1;
}

footer {
    background-color: var(--text-color);
    color: white;
    text-align: center;
    padding: 1.5rem 5%;
}

/* ANIMACIONES */
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes zoomIn {
        from { transform: translateY(-50%) scale(0.8); }
        to { transform: translateY(-50%) scale(1); }
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        
        to {
            opacity: 1;
            transform: translateX(0px);
        }
    }

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Estilos responsivos */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #ffeef5;
        position: absolute;
        top: 60px;
        right: 15px;
        width: 200px;
        border-radius: 10px;
        padding: 10px;
        box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }
}

/* Estilos para la galería */
@media screen and (max-width: 600px) {
    .details-content {
        max-width: 90%;
        padding: 1.5rem;
        font-size: 0.95rem;
        text-align: justify;
    }

    .details-content h2 {
        text-align: center;
        font-size: 1.4rem;
    }

    .details-content p {
        font-size: 0.95rem;
    }

    .details-tags span {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
}

/* ===== MENÚ RESPONSIVO LANDSCAPE ===== */
@media screen and (max-width: 768px) and (orientation: landscape) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 15px;
    }

    .logo img {
        max-width: 120px;
        height: auto;
        margin-bottom: 10px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding: 0;
        margin: 0;
    }

    .nav-links.nav-active {
        display: flex;
        flex-direction: column;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-links a {
        display: block;
        padding: 10px;
        width: 100%;
        font-size: 16px;
        text-align: left;
    }

    .burger {
        align-self: flex-end;
        margin-bottom: 10px;
    }
}
