/* Estilos generales */
:root {
    --primary-color: #E87EA1; /* Rosa pastel más suave y moderno */
    --secondary-color: #FFF0F5; /* Rosa muy claro para fondos */
    --accent-color: #D25B82; /* Rosa medio para acentos */
    --text-color: #333333; /* Gris oscuro para mejor legibilidad */
    --light-text: #FFFFFF;
    --border-radius: 8px;
    --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--box-shadow);
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

/* Header y navegación */
header {
    background-color: var(--light-text);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 5%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.logo-container {
    width: 120px;
}

.logo {
    width: 100%;
    height: auto;
}

nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    gap: 30px;
}

.menu li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

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

.menu li a:hover {
    color: var(--primary-color);
}

.menu li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* Sección Hero */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 0;
    position: relative;
    color: var(--light-text);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(216, 27, 96, 0.7), rgba(173, 20, 87, 0.7));
    opacity: 0.8;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--light-text);
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--light-text);
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Secciones de menú */
.menu-section {
    padding: 100px 5%;
    background-color: #FFFFFF;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
}

.decorative-line {
    height: 3px;
    width: 80px;
    background-color: var(--accent-color);
    margin: 0 auto;
    position: relative;
}

.decorative-line::before, .decorative-line::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
    top: -3.5px;
}

.decorative-line::before {
    left: -15px;
}

.decorative-line::after {
    right: -15px;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas fijas en escritorio */
    gap: 40px;
    margin-top: 40px;
}

.product-card {
    background-color: var(--light-text);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background-color: var(--primary-color);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

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

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.2) 100%);
}

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

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--accent-color);
    font-weight: 600;
}

.product-info p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Estilos para el footer de las tarjetas de productos */
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

/* Ajuste para el precio */
.price {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    padding: 5px 15px;
    background-color: var(--secondary-color);
    border-radius: 20px;
    margin: 0;
}

/* Estilos para el botón de ordenar */
.order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366; /* Color de WhatsApp */
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.order-btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.order-btn:hover {
    background-color: #128C7E; /* Color más oscuro de WhatsApp al pasar el cursor */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

/* Ajuste para la altura de las tarjetas */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 25px;
}

.product-info p {
    flex-grow: 1;
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 0;
    line-height: 1.7;
}

/* Sección de contacto */
.contact-section {
    background-color: var(--secondary-color);
    padding: 100px 5%;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%23D81B60" opacity="0.1"/></svg>');
    opacity: 0.5;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--accent-color);
    font-family: 'Dancing Script', cursive;
}

.contact-info p {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}

.contact-info i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.4rem;
    width: 30px;
    text-align: center;
}

.social-media {
    display: flex;
    gap: 20px;
    margin-top: 35px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--light-text);
    color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    font-size: 1.2rem;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.contact-form {
    background-color: var(--light-text);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background-color: var(--primary-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: #f9f9f9;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.1);
    background-color: #fff;
}

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

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 60px 5% 40px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.footer-logo {
    width: 100px;
}

.logo-small {
    width: 100%;
    height: auto;
}

.footer-info p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.footer-info a {
    color: var(--light-text);
    text-decoration: none;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.footer-info a:hover {
    border-bottom-color: var(--light-text);
}