/* CSS Personalizado para Las Minas de Wanda */

:root {
    --primary-blue: #0F4C81;      /* Classic Blue / Azul Zafiro */
    --dark-blue: #0a2d4d;         /* Azul Oscuro Profundo */
    --light-blue: #e8f1f9;        /* Azul Claro Sutil */
    --accent-blue: #3a86c8;       /* Azul Brillante */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #333333;
    --text-muted: #6c757d;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--dark-gray);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.text-dark-blue {
    color: var(--dark-blue);
}

.bg-dark-blue {
    background-color: var(--dark-blue);
}

.text-primary {
    color: var(--primary-blue) !important;
}

.bg-primary {
    background-color: var(--primary-blue) !important;
}

/* Navbar */
.navbar-brand .brand-text {
    line-height: 1.1;
}

.navbar .nav-link {
    transition: color 0.3s ease;
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: var(--primary-blue) !important;
}

/* Botón Primary Personalizado */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    transition: all 0.3s ease;
}

.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active {
    background-color: var(--dark-blue) !important;
    border-color: var(--dark-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(15, 76, 129, 0.3) !important;
}

.btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 30%, #e8f1f9 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(15,76,129,0.08) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Tarjetas de Producto */
.product-card {
    border: none;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: var(--white);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.product-image-wrapper {
    position: relative;
    padding-top: 100%; /* Aspect ratio 1:1 */
    overflow: hidden;
    background-color: var(--light-gray);
}

.product-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Filtros */
.filter-btn {
    border: 1px solid var(--medium-gray);
    background-color: var(--white);
    color: var(--dark-gray);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

/* Modales */
.modal-content {
    overflow: hidden;
}

/* Contacto y Formulario */
.contact-info-card {
    background-color: var(--light-blue);
    border-radius: 16px;
    border: none;
}

.captcha-box {
    background-color: var(--light-gray);
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Footer Hover Effects */
.hover-primary:hover {
    color: var(--accent-blue) !important;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animated-fade {
    animation: fadeIn 0.8s ease forwards;
}

/* Floating WhatsApp Button for Global Inquiries */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    font-size: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

/* Cart Item Styling */
.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--medium-gray);
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--medium-gray);
    border-radius: 20px;
    padding: 2px;
}

.quantity-control btn {
    padding: 0 8px;
}
