/* assets/css/style.css */
:root {
    --primary-color: #000000;    /* Negro */
    --secondary-color: #800020;  /* Burdeo */
    --accent-color: #ffffff;     /* Blanco */
    --text-color: #333333;       /* Texto oscuro suave */
    --bg-color: #ffffff;         /* Fondo principal */
    --bg-light: #f8f9fa;         /* Fondo secundario */
    scroll-padding-top: 75px;    /* Offset para navbar fixed-top */
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

/* NAVBAR */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 3px solid var(--secondary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-brand img {
    filter: brightness(0); /* Forza el color negro sobre fondo blanco */
}

.navbar-brand span {
    color: var(--secondary-color);
}

.nav-link {
    font-weight: 600;
    color: var(--primary-color) !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-color) !important;
}

/* HERO SECTION */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1497935586351-b67a49e012bf?q=80&w=2000&auto=format&fit=crop') no-repeat center center / cover;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px; /* offset navbar */
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* BUTTONS */
.btn-custom {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    border: 2px solid var(--secondary-color);
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(128, 0, 32, 0.3);
}

.btn-custom:hover {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* SECTIONS */
.section-padding {
    padding: 100px 0;
}

.bg-lightest {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-weight: 800;
    color: var(--primary-color);
    font-size: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* CARDS / PRODUCTS */
.product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.product-img {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* FOOTER */
.site-footer {
    background-color: #111111;
    color: #e0e0e0 !important;
    padding: 60px 0 0 0;
}

.site-footer h5 {
    color: #ffffff !important;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(128, 0, 32, 0.5);
    padding-bottom: 8px;
}

.site-footer p,
.site-footer li,
.site-footer span {
    color: #bbbbbb !important;
    font-size: 0.95rem;
    line-height: 1.8;
}

.site-footer a {
    color: #bbbbbb !important;
    text-decoration: none !important;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: var(--secondary-color) !important;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: #ffffff !important;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-right: 10px;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: #ffffff !important;
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #000000;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    margin-top: 50px;
    text-align: center;
    font-size: 0.87rem;
    color: #999999 !important;
    line-height: 1.8;
}

/* NOVEDADES CARDS */
.novedad-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0,0,0,0.07);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.novedad-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(128,0,32,0.15);
}
.novedad-img {
    height: 210px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.4s ease;
    flex-shrink: 0;
}
.novedad-card:hover .novedad-img {
    transform: scale(1.04);
}
.novedad-img-placeholder {
    background: linear-gradient(135deg, #1a1a1a 0%, #800020 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.3);
}
.novedad-body {
    padding: 22px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.novedad-fecha {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}
.novedad-titulo {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
    line-height: 1.4;
}
.novedad-excerpt {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 16px;
}
.novedad-leer {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: letter-spacing 0.2s;
}
.novedad-card:hover .novedad-leer {
    letter-spacing: 1.5px;
}

/* UTILS */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
}

/* ANIMATIONS */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* CART SIDEBAR */
.offcanvas-cart {
    width: 400px;
}
