/* Variables Corporativas */
:root {
    --negro-profundo: #000000;
    --negro-secundario: #121212;
    --dorado-premium: #C89D4A;
    --dorado-claro: #D4AF37;
    --gris-carbon: #262626;
    --gris-oscuro: #1A1A1A;
    --blanco-hueso: #F4F4F4;
    --marfil: #EAEAEA;
    --rojo-borgoña: #7A1515;
    --transicion: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--negro-profundo);
    color: var(--marfil);
    line-height: 1.6;
}

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

.fw-900 {
    font-weight: 900 !important;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--negro-profundo);
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--dorado-premium), transparent);
    margin: 15px auto 0;
}

/* Colores Corporativos */
.gold-text {
    color: var(--dorado-premium) !important;
}

.bg-gold {
    background-color: var(--dorado-premium) !important;
    color: var(--negro-profundo) !important;
}

.btn-gold {
    background-color: var(--dorado-premium);
    border-color: var(--dorado-premium);
    color: var(--negro-profundo);
    font-weight: 600;
    transition: var(--transicion);
    padding: 12px 32px;
}

.btn-gold:hover {
    background-color: var(--dorado-claro);
    border-color: var(--dorado-claro);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(200, 157, 74, 0.4);
    color: var(--negro-profundo);
}

.btn-outline-gold {
    border: 2px solid var(--dorado-premium);
    color: var(--dorado-premium);
    transition: var(--transicion);
}

.btn-outline-gold:hover {
    background-color: var(--dorado-premium);
    color: var(--negro-profundo);
}

.btn-outline-light {
    border: 2px solid var(--blanco-hueso);
    color: var(--blanco-hueso);
    transition: var(--transicion);
}

.btn-outline-light:hover {
    background-color: var(--blanco-hueso);
    color: var(--negro-profundo);
    transform: translateY(-3px);
}

/* Navbar */
.navbar {
    background-color: rgba(0, 0, 0, 0.95) !important;
    border-bottom: 3px solid var(--dorado-premium);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.4rem;
    color: var(--dorado-premium) !important;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    letter-spacing: 1px;
}

.navbar-brand:hover {
    color: var(--dorado-claro) !important;
}

.nav-link {
    color: var(--marfil) !important;
    font-weight: 500;
    transition: var(--transicion);
    margin: 0 10px;
    position: relative;
}

.nav-link:hover {
    color: var(--dorado-premium) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--dorado-premium);
    transition: var(--transicion);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 30px;
}

/* Sección Hero */
.hero-section {
    position: relative;
    background: url('images/hero-bg.jpg') center/cover no-repeat,
                linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0f0f1e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0 0 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    pointer-events: none;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s ease 0.3s both;
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 900;
    text-shadow: 4px 4px 15px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
    letter-spacing: 3px;
    color: var(--blanco-hueso);
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

.slogan-text {
    color: var(--dorado-claro);
    font-size: 1.5rem;
    font-style: italic;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.8);
    font-weight: 300;
    line-height: 1.5;
}

.badges-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.badge-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 157, 74, 0.25);
    border: 2px solid var(--dorado-premium);
    color: var(--dorado-claro);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transicion);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.badge-custom:hover {
    background: rgba(200, 157, 74, 0.25);
    transform: translateY(-2px);
}

.hero-image-placeholder {
    width: 100%;
    max-width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--gris-carbon) 0%, var(--gris-oscuro) 100%);
    border: 3px solid var(--dorado-premium);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--marfil);
    font-size: 3rem;
    box-shadow: 0 20px 60px rgba(200, 157, 74, 0.2);
    animation: slideInRight 1s ease 0.5s both;
}

.hero-image-placeholder i {
    color: var(--dorado-premium);
    opacity: 0.5;
    margin-bottom: 15px;
}

/* Sección Nosotros */
#nosotros {
    background-color: var(--marfil);
    padding: 80px 0;
}

#nosotros .section-title {
    color: var(--negro-profundo);
}

#nosotros h2,
#nosotros h3,
#nosotros h4,
#nosotros h5,
#nosotros h6 {
    color: var(--negro-profundo);
}

#nosotros p {
    color: var(--negro-profundo);
}

.feature-box {
    background: var(--blanco-hueso);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transicion);
    border-top: 5px solid var(--dorado-premium);
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(200, 157, 74, 0.2);
}

.feature-box i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dorado-premium);
}

.feature-box h5 {
    color: var(--negro-profundo);
    font-weight: 700;
    margin: 15px 0;
    font-size: 1.2rem;
}

.feature-box p {
    color: var(--negro-profundo);
}

.image-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, var(--gris-carbon) 0%, var(--gris-oscuro) 100%);
    border: 3px solid var(--dorado-premium);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--marfil);
    font-size: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.image-placeholder i {
    color: var(--dorado-premium);
    opacity: 0.5;
    margin-bottom: 10px;
}

.image-placeholder p {
    color: var(--marfil);
}

/* Sección Productos */
#productos {
    background-color: var(--negro-profundo);
    padding: 80px 0;
}

#productos .section-title {
    color: var(--blanco-hueso);
}

.product-card {
    background: var(--gris-carbon);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transicion);
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.product-card:hover {
    transform: translateY(-15px);
    border-color: var(--dorado-premium);
    box-shadow: 0 25px 60px rgba(200, 157, 74, 0.25);
}

.product-image-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--negro-profundo) 0%, var(--gris-oscuro) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--marfil);
    font-size: 2rem;
    border-bottom: 3px solid var(--dorado-premium);
    position: relative;
    overflow: hidden;
}

.product-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(200, 157, 74, 0.1) 0%, transparent 70%);
}

.product-image-placeholder i {
    color: var(--dorado-premium);
    opacity: 0.6;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.product-image-placeholder p {
    color: var(--marfil);
    position: relative;
    z-index: 1;
}

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h5 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--dorado-premium);
}

.product-info p {
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--marfil);
}

.badge {
    font-weight: 600;
    padding: 6px 12px;
    background-color: var(--dorado-premium);
    color: var(--negro-profundo);
}

/* Sección Contacto */
#contacto {
    background-color: var(--marfil);
    padding: 80px 0;
}

#contacto h2 {
    color: var(--negro-profundo);
}

.contact-info-box {
    background: var(--blanco-hueso);
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid var(--dorado-premium);
    transition: var(--transicion);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info-box:hover {
    box-shadow: 0 15px 35px rgba(200, 157, 74, 0.2);
    transform: translateY(-5px);
}

.contact-info-box h5 {
    color: var(--negro-profundo);
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 1.2rem;
}

.contact-info-box p {
    color: var(--negro-profundo);
}

.contact-info-box a {
    color: var(--dorado-premium);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transicion);
}

.contact-info-box a:hover {
    color: var(--rojo-borgoña);
    text-decoration: underline;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--dorado-premium);
}

/* Footer */
footer {
    background-color: var(--negro-profundo);
    border-top: 3px solid var(--dorado-premium);
    color: var(--blanco-hueso);
    padding: 60px 0 20px;
}

.border-gold {
    border-color: var(--dorado-premium) !important;
}

footer h5 {
    color: var(--dorado-premium);
    font-weight: 700;
    font-size: 1.1rem;
}

footer p {
    color: var(--blanco-hueso);
}

footer a {
    transition: var(--transicion);
    color: var(--blanco-hueso);
    text-decoration: none;
}

footer a:hover {
    color: var(--dorado-premium) !important;
    text-decoration: underline;
}

footer ul li {
    padding: 5px 0;
}

/* Botón Flotante WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transicion);
    z-index: 999;
    text-decoration: none;
    border: 2px solid white;
}

.whatsapp-btn:hover {
    background-color: #20BA5F;
    transform: scale(1.15) translateY(-8px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn:active {
    transform: scale(0.95);
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 110px;
    width: 55px;
    height: 55px;
    background-color: var(--dorado-premium);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--negro-profundo);
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 998;
    transition: var(--transicion);
    box-shadow: 0 8px 20px rgba(200, 157, 74, 0.4);
}

.scroll-to-top:hover {
    background-color: var(--dorado-claro);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(200, 157, 74, 0.6);
}

.scroll-to-top.show {
    display: flex;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    .slogan-text {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-image-placeholder {
        max-width: 100%;
        height: 300px;
        margin-top: 30px;
    }

    .image-placeholder {
        height: 250px;
    }

    .badges-group {
        gap: 10px;
    }

    .badge-custom {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .product-card {
        margin-bottom: 20px;
    }

    .whatsapp-btn {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
        font-size: 1.7rem;
    }

    .scroll-to-top {
        right: 90px;
    }

    footer .row {
        text-align: center;
    }

    footer .col-md-4 {
        margin-bottom: 20px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 100vh;
        padding-top: 80px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
        letter-spacing: 0px;
    }

    .slogan-text {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .hero-image-placeholder {
        max-width: 100%;
        height: 250px;
    }

    .feature-box {
        padding: 15px;
        margin-bottom: 15px;
    }

    .product-image-placeholder {
        height: 150px;
        font-size: 1.5rem;
    }

    .contact-info-box {
        margin-bottom: 15px;
    }

    .badges-group {
        flex-direction: column;
    }

    .badge-custom {
        width: 100%;
        justify-content: center;
    }

    .gap-3 {
        gap: 10px !important;
    }

    .btn-lg {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.slide-in-left {
    animation: slideInFromLeft 0.8s ease forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

/* Utilidades */
.min-vh-100 {
    min-height: 100vh;
}

.z-3 {
    position: relative;
    z-index: 3;
}

/* Estilos Bootstrap Override */
.lead {
    font-size: 1.3rem;
    font-weight: 300;
}

#nosotros .lead {
    color: var(--negro-profundo);
}

#contacto .lead {
    color: var(--negro-profundo);
}

.gap-3 {
    gap: 20px;
}
