/* NOXARU - Estilos Principales */

:root {
    --ivory: #F9F1F0;
    --marsala: #663635;
    --rosewater: #E1999F;
    --dusty-rose: #DEB3AD;
    --dark-gray: #3a3a3a;
    --light-gray: #f5f5f5;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--ivory);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============= NAVBAR ============= */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(102, 54, 53, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 150px;
}

.logo h1 {
    font-size: 28px;
    color: var(--marsala);
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--rosewater);
    letter-spacing: 1px;
    margin-top: 2px;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    flex: 1;
    margin-left: 60px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--marsala);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rosewater);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-login, .btn-cart {
    background: transparent;
    border: 2px solid var(--marsala);
    color: var(--marsala);
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    position: relative;
}

.btn-login:hover, .btn-cart:hover {
    background: var(--marsala);
    color: white;
}

.btn-cart {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--rosewater);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--marsala);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============= HERO SECTION ============= */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 54, 53, 0.7), rgba(225, 153, 159, 0.7)), url('../assets/images/bg1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: white;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ============= BOTONES ============= */
.btn-primary {
    background: var(--marsala);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--dark-gray);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 54, 53, 0.3);
}

.btn-secondary {
    background: var(--rosewater);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.btn-secondary:hover {
    background: var(--dusty-rose);
}

/* ============= SECCIONES ============= */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 40px;
    color: var(--marsala);
    margin-bottom: 50px;
    text-align: center;
    font-weight: 700;
}

/* ============= ABOUT SECTION ============= */
.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--dark-gray);
    line-height: 1.8;
    font-size: 16px;
}

.about-values {
    list-style: none;
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.about-values li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--marsala);
    font-weight: 600;
}

.about-values i {
    color: var(--rosewater);
    font-size: 18px;
}

.placeholder-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--ivory), var(--dusty-rose));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: var(--rosewater);
    opacity: 0.5;
}

/* ============= BANNERS SECTION ============= */
.banners {
    background: white;
    padding: 60px 0;
}

.banners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.banner-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(102, 54, 53, 0.12);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.banner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 35px rgba(102, 54, 53, 0.2);
    border-color: var(--rosewater);
}

.banner-image {
    height: 250px;
    background: linear-gradient(135deg, var(--dusty-rose), var(--rosewater));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: white;
    opacity: 0.9;
    transition: var(--transition);
}

.banner-card:hover .banner-image {
    opacity: 1;
}

.banner-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.banner-card h3 {
    color: var(--marsala);
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 700;
}

.banner-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.banner-link {
    color: var(--rosewater);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
    width: fit-content;
}

.banner-link:hover {
    color: var(--marsala);
    transform: translateX(5px);
}

/* ============= SERVICES SECTION ============= */
.services {
    background: linear-gradient(135deg, var(--dusty-rose) 0%, var(--rosewater) 100%);
    color: white;
}

.services h2 {
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    font-size: 14px;
    opacity: 0.9;
}

/* ============= PRODUCTS SECTION ============= */
.products {
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border: 1px solid var(--dusty-rose);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(102, 54, 53, 0.05);
}

.product-card:hover {
    box-shadow: 0 8px 20px rgba(102, 54, 53, 0.15);
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--ivory), var(--rosewater));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: white;
    opacity: 0.7;
}

.product-info {
    padding: 20px;
}

.product-category {
    color: var(--rosewater);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-name {
    font-size: 18px;
    color: var(--marsala);
    margin-bottom: 10px;
    font-weight: 600;
}

.product-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.price {
    font-size: 22px;
    color: var(--marsala);
    font-weight: 700;
}

.rating {
    color: var(--rosewater);
    font-size: 14px;
}

.btn-add-cart {
    width: 100%;
    background: var(--marsala);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background: var(--dusty-rose);
}

/* ============= CONTACT SECTION ============= */
.contact {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-item i {
    font-size: 30px;
    color: var(--marsala);
    min-width: 40px;
}

.info-item h4 {
    color: var(--marsala);
    margin-bottom: 5px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 2px solid var(--dusty-rose);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--marsala);
    box-shadow: 0 0 0 3px rgba(225, 153, 159, 0.1);
}

.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.btn-whatsapp {
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: scale(1.1);
}

/* ============= FOOTER ============= */
.footer {
    background: var(--marsala);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--rosewater);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--rosewater);
    border-color: var(--rosewater);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.8;
}

/* ============= MODALES ============= */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--marsala);
    transition: var(--transition);
}

.close:hover {
    color: var(--rosewater);
}

.modal h2 {
    color: var(--marsala);
    margin-bottom: 20px;
}

/* Cart Items */
.cart-items {
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid var(--dusty-rose);
    align-items: center;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: var(--marsala);
    margin-bottom: 5px;
}

.cart-item-quantity {
    color: #999;
    font-size: 14px;
}

.cart-item-price {
    color: var(--marsala);
    font-weight: 700;
    font-size: 18px;
    margin-right: 15px;
}

.btn-remove-cart {
    background: none;
    border: none;
    color: var(--rosewater);
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
}

.btn-remove-cart:hover {
    color: var(--dusty-rose);
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.cart-total {
    text-align: right;
    padding: 20px;
    border-top: 2px solid var(--dusty-rose);
    background: var(--ivory);
    border-radius: 8px;
}

/* Form */
.modal-form {
    max-width: 400px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--marsala);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--dusty-rose);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--marsala);
    box-shadow: 0 0 0 3px rgba(225, 153, 159, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.form-options a {
    color: var(--rosewater);
    text-decoration: none;
}

.form-options a:hover {
    color: var(--marsala);
}

.signup-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.signup-link a {
    color: var(--rosewater);
    text-decoration: none;
    font-weight: 600;
}

/* ============= RESPONSIVE ============= */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-content {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    section h2 {
        font-size: 28px;
    }

    section {
        padding: 50px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .banners-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .whatsapp-button {
        bottom: 20px;
        right: 20px;
    }

    .btn-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .modal-content {
        width: 95%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }

    .nav-actions {
        gap: 8px;
    }

    .btn-login, .btn-cart {
        padding: 6px 12px;
        font-size: 12px;
    }

    .hero {
        height: 400px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 14px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
