/* ============================
   VARIABLES Y ESTILOS GLOBALES
   ============================ */

:root {
    --primary-color: #b9935a;      /* Dorado personalizado pedido */
    --secondary-color: #1a1a1a;    /* Negro oscuro */
    --accent-color: #2c2c2c;       /* Gris oscuro */
    --light-color: #ffffff;        /* Blanco cremoso */
    --text-color: #333;            /* Texto oscuro */
    --border-color: #e0e0e0;       /* Borde claro */
    
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-elegant: 'Georgia', serif;
    
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --box-shadow-heavy: 0 8px 25px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================
   BOTONES
   ============================ */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #a07e45; /* versión más oscura de --primary-color */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(185, 147, 90, 0.35);
    color: #fff;
}

.btn-secondary {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
}

.btn-secondary:hover {
    background-color: #a07e45;
    color: #fff;
}

.btn-light {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--secondary-color);
}

.btn-light:hover {
    background-color: #ffffff;
}

/* ============================
   HEADER / NAVEGACIÓN
   ============================ */

.header {
    background-color: #ffffff; /* header blanco */
    color: rgb(0, 0, 0);
    padding: 0px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--box-shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    max-height: 70px;
    width: auto;
    object-fit: contain;
    background: transparent;
    padding: 0;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--secondary-color);
    padding: 5px 10px;
}

/* Force display for smaller viewports */
@media (max-width: 900px) {
    .mobile-toggle {
        display: block;
    }
}

.nav-menu {
    flex: 1;
    min-width: 0;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-icons {
    display: flex;
    gap: 20px;
    flex: 0 0 auto;
    align-items: center;
}

.header-icons a {
    font-size: 20px;
    color: #000000;
    text-decoration: none;
    transition: var(--transition);
}

.header-icons a:hover {
    color: #404040;
    transform: scale(1.1);
}

/* ============================
   SECCIÓN BANNER
   ============================ */

.banner-section {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: white;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    object-fit: cover;
}

/* ============================
   BANNER INTERACTIVO
   ============================ */

.interactive-banner{
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    background-color: #ffffff;
    position: relative;
    padding: 50px 0;
}

.interactive-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('imagenes/banner-3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(2px) brightness(0.6);
    z-index: 1;
}

.interactive-banner .banner-inner{
    display: none;
}

.interactive-banner .interactive-img{
    display: none;
}

.banner-text {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
}

.banner-text .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner-text .feature-item {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.banner-text .feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.banner-text .feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.banner-text .feature-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ============================
   SECCIÓN NUEVA COLECCION
   ============================ */

.featured-products {
    padding: 30px 0;
    background-color: white;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    font-family: var(--font-elegant);
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 50px;
    font-size: 16px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-heavy);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background-color: #f5f5f5;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-family: var(--font-elegant);
}

.product-category {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.product-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 14px;
}

.rating-count {
    color: #999;
}

.product-price {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 600;
}

.price {
    font-size: 20px;
    color: var(--primary-color);
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 16px;
}

.product-info .btn-secondary {
    width: 100%;
    margin-top: auto;
}

.view-all {
    text-align: center;
}

/* ============================
   SECCIÓN COLECCIONES
   ============================ */

.collections {
    padding: 80px 0;
    background-color: var(--light-color);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.collection-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 350px;
    cursor: pointer;
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collection-card:hover img {
    transform: scale(1.1);
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.collection-card:hover .collection-overlay {
    opacity: 1;
}

.collection-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-family: var(--font-elegant);
    color: var(--primary-color);
}

.collection-overlay p {
    margin-bottom: 15px;
    font-size: 14px;
}

/* ============================
   SECCIÓN CARACTERÍSTICAS
   ============================ */

.features {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2c2c2c 100%);
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-family: var(--font-elegant);
    color: var(--primary-color);
}

.feature-item p {
    color: #d0d0d0;
    font-size: 14px;
    line-height: 1.8;
}

/* ============================
   SECCIÓN TESTIMONIOS
   ============================ */

.testimonials {
    padding: 80px 0;
    background-color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-heavy);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    color: #555;
    font-style: italic;
    line-height: 1.8;
    font-size: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.author-info h4 {
    font-size: 15px;
    color: var(--secondary-color);
    margin-bottom: 3px;
}

.author-info p {
    font-size: 13px;
    color: #999;
}

.testimonial-rating {
    font-size: 14px;
    color: var(--primary-color);
}

/* ============================
   SECCIÓN NEWSLETTER
   ============================ */

.newsletter {
    padding: 60px 0;
    background: var(--secondary-color);
    color: white;
}

.newsletter-content {
    text-align: center;
}

.newsletter-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
    font-family: var(--font-elegant);
}

.newsletter-content p {
    font-size: 16px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: #999;
}

.newsletter-form .btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    white-space: nowrap;
}

.newsletter-form .btn-primary:hover {
    background-color: #a07e45;
    color: #fff;
}

/* ============================
   SECCIÓN ACERCA DE
   ============================ */

.about-preview {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-family: var(--font-elegant);
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--box-shadow-heavy);
}

/* ============================
   SECCIÓN CATEGORÍAS
   ============================ */

.categories-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.category-card {
    background-color: white;
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(185, 147, 90, 0.25);
}

.category-icon {
    font-size: 50px;
    margin-bottom: 15px;
    display: block;
}

.category-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0;
    font-family: var(--font-elegant);
}

/* ============================
   FOOTER
   ============================ */

.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-family: var(--font-elegant);
    color: var(--primary-color);
}

.footer-section h3 {
    font-size: 24px;
}

.footer-section p {
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    color: #999;
}

/* ============================
   MEDIA QUERIES - RESPONSIVO
   ============================ */

/* Tablet (1024px) */
@media (max-width: 1024px) {
    .section-title {
        font-size: 32px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    .category-card {
        padding: 30px 15px;
    }

    .category-icon {
        font-size: 80px;
    }
}

/* Tablet/Mobile (900px) */
@media (max-width: 900px) {
    .navbar {
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }

    .mobile-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        color: var(--secondary-color);
        padding: 5px 10px;
        order: 2;
        z-index: 1001;
    }

    .logo {
        order: 1;
        flex: 1;
    }

    .nav-menu {
        position: fixed;
        left: 0;
        top: 0;
        width: 280px;
        height: 100vh;
        background-color: white;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.3s ease-out;
        overflow-y: auto;
        padding-top: 80px;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        text-align: left;
        padding: 0;
        width: 100%;
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu a {
        display: block;
        padding: 16px 20px;
        color: var(--secondary-color);
        text-decoration: none;
        font-weight: 500;
        transition: background-color 0.2s ease;
    }

    .nav-menu a:hover {
        background-color: var(--light-color);
        color: var(--primary-color);
    }

    .nav-overlay {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease-out;
        z-index: 997;
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    .header-icons {
        order: 4;
        gap: 15px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-content h2 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
    }

    .product-card {
        margin: 0;
    }

    .product-image {
        height: 200px;
    }

    .collections-grid {
        grid-template-columns: 1fr;
    }

    .collection-card {
        height: 250px;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 20px;
    }

    .category-card {
        padding: 25px 15px;
    }

    .category-icon {
        font-size: 60px;
        margin-bottom: 10px;
    }

    .category-card h3 {
        font-size: 18px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text h2 {
        font-size: 28px;
    }

    .newsletter-content h2 {
        font-size: 28px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input,
    .newsletter-form .btn-primary {
        width: 100%;
    }

    .newsletter-form input {
        min-width: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .newsletter-content p {
        font-size: 15px;
    }
}

/* Mobile (480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo img {
        max-height: 35px;
    }

    .mobile-toggle {
        font-size: 24px;
        padding: 5px 8px;
    }

    .nav-menu ul {
        gap: 10px;
        font-size: 14px;
        padding: 15px 0;
    }

    .nav-menu.active {
        max-height: 250px;
    }

    .header-icons {
        gap: 12px;
    }

    .header-icons img {
        width: 20px;
        height: 20px;
    }

    .hero-content {
        padding: 20px;
    }

    .hero-content h2 {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-card {
        margin: 0;
        padding: 15px;
    }

    .product-image {
        height: 180px;
    }

    .product-name {
        font-size: 16px;
    }

    .product-price {
        margin-bottom: 10px;
    }

    .price {
        font-size: 18px;
    }

    .original-price {
        font-size: 14px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 100%;
    }

    .category-card {
        padding: 20px 12px;
        border-radius: 8px;
    }

    .category-icon {
        font-size: 48px;
        margin-bottom: 8px;
    }

    .category-card h3 {
        font-size: 16px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .newsletter {
        padding: 40px 0;
    }

    .newsletter-content h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .newsletter-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .newsletter-form {
        max-width: 100%;
    }

    .about-text h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .about-text p {
        font-size: 14px;
    }

    .features-grid {
        gap: 20px;
    }

    .feature-icon {
        font-size: 36px;
    }

    .feature-item h3 {
        font-size: 16px;
    }

    .feature-item p {
        font-size: 13px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-content p {
        font-size: 14px;
    }

    .testimonial-author {
        margin-bottom: 10px;
    }

    .author-info h4 {
        font-size: 14px;
    }

    .author-info p {
        font-size: 12px;
    }

    .footer-section h3 {
        font-size: 18px;
    }

    .footer-section h4 {
        font-size: 15px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 13px;
    }

    .social-links {
        gap: 10px;
        margin-top: 10px;
    }
}

/* Extra pequeño (320px) */
@media (max-width: 320px) {
    .logo img {
        max-height: 30px;
    }

    .hero-content h2 {
        font-size: 22px;
    }

    .section-title {
        font-size: 20px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .category-icon {
        font-size: 40px;
    }

    .btn {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* ============================
   ANIMACIONES
   ============================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card,
.testimonial-card,
.feature-item {
    animation: fadeIn 0.6s ease-out;
}

@media (max-width: 768px){
    .interactive-banner {
        height: auto !important;
        padding: 30px 0 !important;
    }
    .banner-text .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 12px !important;
    }
    .banner-text .feature-item {
        padding: 12px !important;
    }
    .banner-text .feature-icon {
        font-size: 24px !important;
        margin-bottom: 6px !important;
    }
    .banner-text .feature-item h3 {
        font-size: 13px !important;
    }
    .banner-text .feature-item p {
        font-size: 11px !important;
    }
}

@media (max-width: 900px) {
    .nav-menu {
        z-index: 1000 !important;
    }
    .nav-overlay {
        z-index: 998 !important;
    }
    .mobile-toggle {
        z-index: 1001 !important;
    }
}

.nav-menu.active {
    z-index: 1000 !important;
    pointer-events: auto !important;
}

.nav-menu.active ul {
    pointer-events: auto !important;
}

.nav-menu.active a {
    pointer-events: auto !important;
    cursor: pointer !important;
}