/* Variables de color - Paleta Frandolce (del logo) */
:root {
    --primary-color: #E1D3C8;      /* Beige claro del logo */
    --secondary-color: #735A77;    /* Morado del logo */
    --accent-color: #586956;       /* Verde del logo */
    --dark-color: #4A3D52;         /* Morado más oscuro */
    --light-color: #F0E8E0;        /* Beige más claro */
    --neutral-color: #8B7A85;      /* Gris-morado intermedio */
    --green-light: #6F7D6C;        /* Verde más claro */
    
    --text-color: #4A3D52;
    --bg-color: #F0E8E0;
    --white: #ffffff;
    --border-color: #E1D3C8;
    --hover-color: #735A77;
    --success-color: #586956;
    --danger-color: #A67C7C;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Variables */
:root {
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer .container {
        flex-direction: column;
        gap: 1rem;
    }y {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(60, 36, 21, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-image {
    max-height: 65px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    border-radius: 8px;
}

.logo-fallback {
    align-items: center;
}

.logo-fallback h1 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.logo i {
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

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

.admin-link {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    color: #fff !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
}

.admin-link:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4) !important;
    color: #fff !important;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
/* Hero Section */
.hero {
    background: linear-gradient(135deg, #735A77, #E1D3C8);
    padding: 100px 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    box-sizing: border-box;
}

.hero .container {
    text-align: center;
    max-width: 800px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-image {
    max-height: 220px;
    width: auto;
    max-width: 85%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.hero-logo-image:hover {
    transform: scale(1.03);
}

.hero-logo-fallback {
    font-size: 6rem;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(74, 61, 82, 0.5);
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(74, 61, 82, 0.3);
    text-align: center;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
}

.feature i {
    font-size: 1rem;
    opacity: 0.8;
}

.btn-primary {
    display: inline-block;
    background: var(--white);
    color: var(--accent-color);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 61, 82, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 61, 82, 0.3);
}



.hero-image i {
    font-size: 15rem;
    color: #fff;
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Products Section */
.products {
    padding: 80px 0;
    background: #f8f9fa;
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    position: relative;
}

.products h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(60, 36, 21, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(74, 61, 82, 0.2);
    border-color: var(--secondary-color);
}

.product-image {
    margin-bottom: 1.5rem;
}

.product-image i {
    font-size: 4rem;
    color: var(--secondary-color);
}

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

.product-card p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.add-to-order {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
    width: 100%;
}

.add-to-order:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
}

/* Order Section */
.order-section {
    padding: 100px 0;
    background: var(--white);
}

.order-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 4rem;
    position: relative;
}

.order-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.order-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.order-summary {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 15px;
    height: fit-content;
    border: 2px solid var(--secondary-color);
}

.order-summary h3 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-size: 1.3rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.order-item:last-child {
    border-bottom: none;
}

.item-info h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0.5rem;
}

.quantity-btn {
    background: #e91e63;
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
}

.quantity-btn:hover {
    background: #c2185b;
}

.quantity-display {
    padding: 5px 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    min-width: 40px;
    text-align: center;
}

.remove-item {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
}

.remove-item:hover {
    background: #c82333;
}

.order-total {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--secondary-color);
    font-size: 1.3rem;
    text-align: center;
    color: var(--accent-color);
}

.empty-order {
    text-align: center;
    color: var(--secondary-color);
    font-style: italic;
    padding: 2rem 0;
    opacity: 0.7;
}

.order-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(60, 36, 21, 0.1);
}

.order-form h3 {
    color: var(--text-color);
    margin-bottom: 2rem;
    font-size: 1.3rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e91e63;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background: var(--success-color);
    transform: translateY(-2px);
}

.btn-whatsapp:disabled {
    background: var(--border-color);
    cursor: not-allowed;
    transform: none;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--light-color);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    position: relative;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.contact-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(60, 36, 21, 0.1);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        padding: 80px 0 20px;
        min-height: 100vh;
    }

    .hero .container {
        max-width: 95%;
        padding: 0 20px;
        justify-content: center;
    }
    
    .hero-logo {
        margin-bottom: 1rem;
    }
    
    .hero-logo-image {
        max-height: 150px;
        max-width: 80%;
    }
    
    .hero-logo-fallback {
        font-size: 4rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
        line-height: 1.4;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-buttons a {
        width: 100%;
        max-width: 250px;
        text-align: center;
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-features {
        gap: 1rem;
        margin-top: 0.8rem;
    }
    
    .feature {
        font-size: 0.8rem;
        gap: 0.3rem;
    }
    
    .feature i {
        font-size: 0.9rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-image i {
        font-size: 8rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .order-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer .container {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .products h2,
    .order-section h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .product-card,
    .order-summary,
    .order-form {
        padding: 1.5rem;
    }
    
    .hero-image i {
        font-size: 6rem;
    }
}

/* Animations */
@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.product-card {
    animation: slideInUp 0.6s ease forwards;
}

.contact-item {
    animation: slideInUp 0.6s ease forwards;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Pantallas con altura pequeña - Todo debe caber */
@media (max-height: 700px) {
    .hero {
        padding: 80px 0 20px;
        min-height: 100vh;
    }
    
    .hero-logo {
        margin-bottom: 1rem;
    }
    
    .hero-logo-image {
        max-height: 120px;
    }
    
    .hero-logo-fallback {
        font-size: 4rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .hero-buttons {
        gap: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-features {
        gap: 1rem;
        margin-top: 0.5rem;
    }
    
    .feature {
        font-size: 0.8rem;
    }
}

/* Pantallas grandes - Ajustado para que quepa en pantalla */
@media (min-width: 1200px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero .container {
        max-width: 900px;
    }
    
    .hero-logo {
        margin-bottom: 2rem;
    }
    
    .hero-logo-image {
        max-height: 280px;
        max-width: 90%;
    }
    
    .hero-logo-fallback {
        font-size: 7rem;
    }
    
    .hero-content h1 {
        font-size: 3.2rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hero-features {
        gap: 2rem;
        margin-top: 1.5rem;
    }
    
    .feature {
        font-size: 0.95rem;
    }
}
}
