/* Paleta de colores principal */
:root {
    --primary: #ff6b9d;
    --secondary: #ffc2d6;
    --accent: #ff4081;
    --light: #fff5f7;
    --dark: #a12a5e;
    --text: #333;
    --white: #ffffff;
}

/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

h2 {
    text-align: center;
    color: var(--dark);
    margin-bottom: 30px;
    font-size: 2rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Botones */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Navegación */
nav {
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.cart-icon {
    position: relative;
}

#cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Modales */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalFade 0.3s;
}

@keyframes modalFade {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s;
}

.close-modal:hover {
    color: var(--primary);
    transform: scale(1.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--secondary);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.2);
}

.modal-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--dark);
}

.modal-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* Banner */
.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin: 20px 0;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner img.active {
    opacity: 1;
}

/* Secciones */
section {
    padding: 60px 0;
}

.about {
    background-color: rgba(255, 193, 214, 0.2);
    border-radius: 15px;
    margin: 30px 0;
    padding: 40px;
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.mini-catalog, .services {
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 30px 0;
}

/* Productos */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.product {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.product img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.product:hover img {
    transform: scale(1.05);
}

.product-content {
    padding: 20px;
}

.product h3 {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.product p {
    color: #666;
    margin-bottom: 15px;
}

.price {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.4rem;
    display: block;
    margin: 10px 0;
}

/* Servicios */
.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.service {
    background: linear-gradient(135deg, var(--light), var(--white));
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--secondary), var(--white));
}

.service h3 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Social */
.social {
    text-align: center;
    padding: 50px 0;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    border-radius: 15px;
    margin: 30px 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-5px);
}

/* Contacto */
.contact {
    background: var(--white);
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 30px 0;
}

.contact p {
    max-width: 700px;
    margin: 0 auto 30px;
    text-align: center;
    font-size: 1.1rem;
}

form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

form input {
    padding: 15px;
    border: 2px solid var(--secondary);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

form input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.2);
}

form button {
    grid-column: span 2;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    color: white;
    margin-top: auto;
}

footer p {
    margin: 5px 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .banner {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 15px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .banner {
        height: 300px;
    }
    
    form {
        grid-template-columns: 1fr;
    }
    
    form button {
        grid-column: span 1;
    }
    
    section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }
    
    .banner {
        height: 250px;
    }
    
    .about, .mini-catalog, .services, .contact {
        padding: 25px;
    }
}
/* Paleta de colores rosados */
:root {
    --rosa-principal: #f06292;
    --rosa-claro: #f8bbd0;
    --rosa-oscuro: #ec407a;
    --rosa-suave: #ffcdd2;
    --texto-oscuro: #880e4f;
    --texto-claro: #ffffff;
}

/* Modales */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: var(--rosa-suave);
    margin: 10% auto;
    padding: 25px;
    border-radius: 10px;
    width: 350px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: var(--rosa-oscuro);
}

/* Formularios */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--texto-oscuro);
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--rosa-claro);
    border-radius: 5px;
    box-sizing: border-box;
}

.btn {
    background-color: var(--rosa-principal);
    color: var(--texto-claro);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--rosa-oscuro);
}

.modal-footer {
    margin-top: 15px;
    text-align: center;
    color: var(--texto-oscuro);
}

.modal-footer a {
    color: var(--rosa-oscuro);
    text-decoration: none;
}

/* Información de usuario */
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-info span {
    font-weight: bold;
    color: var(--rosa-oscuro);
}

.user-info a {
    color: var(--texto-oscuro);
    text-decoration: none;
    font-size: 0.9rem;
}

/* Productos */
.producto {
    background-color: var(--rosa-suave);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.producto:hover {
    transform: translateY(-5px);
}

.producto-imagen {
    max-width: 100%;
    border-radius: 8px;
}

.btn-agregar {
    background-color: var(--rosa-principal);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.btn-agregar:hover {
    background-color: var(--rosa-oscuro);
}