:root {
    --gold: #D4AF37;
    --gold-dark: #B8960C;
    --black: #000000;
    --dark-gray: #111111;
}

body {
    background-color: var(--black);
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar */
.navbar {
    background-color: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid var(--gold);
    padding: 1rem 0;
}

.navbar-brand span {
    font-size: 1.3rem;
    font-weight: bold;
}

.nav-link {
    color: white !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--gold) !important;
}

/* Texto dorado */
.text-gold {
    color: var(--gold important);
}

.bg-gold {
    background-color: var(--gold) !important;
}

/* Botones */
.btn-gold {
    background-color: var(--gold);
    color: black;
    border: none;
    padding: 10px 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: var(--gold-dark);
    color: black;
    transform: translateY(-2px);
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: black;
}


/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background-color: #000;
    background-image: url('/img/hero-bg.jpg');
  
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section h1 {
    animation: fadeInUp 1s ease;
}

.hero-section .lead {
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-section .btn {
    animation: fadeInUp 1s ease 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive para hero */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
        background-attachment: scroll;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
}




/* Cards */
.card {
    border: 1px solid var(--gold);
    transition: transform 0.3s ease;
    background-color: var(--black) !important;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
}

/* Productos */
.producto-card {
    cursor: pointer;
}

.producto-precio {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Reseñas */
.reseña-card {
    text-align: center;
    padding: 20px;
    background-color: #111;
    border: 1px solid #D4AF37;
    border-radius: 10px;
    height: 100%;
}

.reseña-foto {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #D4AF37;
    margin-bottom: 15px;
}

.reseña-nombre {
    color: #D4AF37;
    font-weight: bold;
    margin-bottom: 10px;
}

.reseña-estrellas {
    color: #D4AF37;
    margin: 10px 0;
    font-size: 1.2rem;
}



/* Carrusel */
.carousel-item img {
    height: 500px;
    object-fit: cover;
}

/* Formularios */
.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

/* Footer */
.footer {
    background-color: #0a0a0a;
    border-top: 1px solid var(--gold);
}

.footer a:hover {
    color: var(--gold) !important;
}

hr.bg-gold {
    background-color: var(--gold);
    height: 1px;
}

/* Tabla */
.table-dark {
    background-color: var(--black);
}

.table-dark td, .table-dark th {
    border-color: var(--gold);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .carousel-item img {
        height: 300px;
    }
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.producto-card, .reseña-card {
    animation: fadeIn 0.6s ease-out;
}


/* Estilos para los campos del formulario del carrito */
.modal .form-control {
    background-color: #1a1a1a !important;
    color: white !important;
    border: 1px solid #D4AF37 !important;
}

.modal .form-control:focus {
    background-color: #2a2a2a !important;
    color: white !important;
    border-color: #D4AF37 !important;
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.modal .form-control::placeholder {
    color: #888 !important;
}

.modal .form-label {
    color: #D4AF37;
}


/* FORZAR estilos de productos - PRIORIDAD sobre Bootstrap */
#productosContainer .card-img-top {
    width: 100% !important;
    height: 250px !important;
    object-fit: contain !important;
    background-color: #000 !important;
    padding: 10px !important;
}

#productosContainer .card-title {
    color: #D4AF37 !important;
}

#productosContainer .card-text {
    color: white !important;
}

#productosContainer .producto-precio {
    color: #D4AF37 !important;
    font-size: 1.5rem !important;
    font-weight: bold !important;
}

#productosContainer .card {
    background-color: #111 !important;
    border: 1px solid #D4AF37 !important;
}



/* ==================== BLOG - Texto blanco ==================== */
#blog .card {
    background-color: #111 !important;
    border: 1px solid #D4AF37;
}

#blog .card-title {
    color: #D4AF37 !important;
}

#blog .card-text {
    color: white !important;
}

#blog .text-muted {
    color: #bbb !important;
}

#blog .card-body p:not(.text-gold) {
    color: white !important;
}

/* ==================== FORMULARIO DE CONTACTO ==================== */
#contacto .form-control {
    background-color: #1a1a1a !important;
    color: white !important;
    border: 1px solid #D4AF37 !important;
}

#contacto .form-control::placeholder {
    color: #aaa !important;
    opacity: 1;
}

#contacto .form-control:focus {
    background-color: #2a2a2a !important;
    color: white !important;
    border-color: #D4AF37 !important;
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

/* Para los textos de ayuda dentro del formulario */
#contacto label, 
#contacto .form-label {
    color: #D4AF37 !important;
}

/* Para el texto de ubicación */
#contacto h5, 
#contacto p {
    color: white !important;
}




/* ==================== VIDEOS ==================== */
#videos .card {
    background-color: #111 !important;
    border: 1px solid #D4AF37;
}

#videos .card-title,
#videos h5,
#videos .card-body h5 {
    color: white !important;
}

/* Si quieres mantener el dorado para algunos títulos */
#videos .text-gold {
    color: #D4AF37 !important;
}

/* Para el texto dentro de las tarjetas de video */
#videos .card-body {
    color: white;
}