/* ==========================================================================
   Estilos Globales e Identidad Visual NVC Towing & Junk Buys
   ========================================================================== */
:root {
    --brand-red: #e11d48;
    --brand-dark: #080808;
    --brand-card-bg: #121212;
    --brand-stone-text: #a8a29e;
}

body {
    background-color: var(--brand-dark);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Tipografía de Encabezados (Inclinada y audaz para imitar el logo) */
.font-display {
    font-family: 'Kanit', sans-serif;
    font-weight: 700;
}

.font-black {
    font-weight: 900;
}

.italic {
    font-style: italic;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Header & Banner Principal
   ========================================================================== */
.header-banner-container {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.header-banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ==========================================================================
   Barra de Navegación (Menú)
   ========================================================================== */
.main-navigation-bar {
    background-color: #030303 !important;
    border-bottom: 2px solid #161616;
}

.main-navigation-bar .nav-link {
    color: var(--brand-stone-text) !important;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.5rem 1.2rem !important;
    letter-spacing: 0.05em;
    transition: color 0.3s ease, border-color 0.3s ease;
    border-bottom: 2px solid transparent;
}

.main-navigation-bar .nav-link:hover,
.main-navigation-bar .nav-link.active {
    color: #ffffff !important;
    border-color: var(--brand-red);
}

/* ==========================================================================
   Cajón Central de Contenido con Fondo Estático (Tileable back.png)
   ========================================================================== */
.content-box-container {
    /* Fondo que se repite y permanece estático con respecto a la pantalla */
    background-image: url('../img/back.png');
    background-attachment: fixed;
    background-repeat: repeat;
    background-position: center top;
    background-color: #050505;
    
    flex-grow: 1;
    position: relative;
    border-bottom: 2px solid #161616;
}

/* Intro de Ventas Estilizada */
.intro-sales-box {
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid #1f1f1f;
}

.seal-icon {
    width: 80px;
    height: auto;
    object-fit: contain;
}

.lead-text {
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 300;
}

/* ==========================================================================
   Sección y Tarjetas de Servicios
   ========================================================================== */
.services-main-title {
    color: #ffffff;
    font-size: 2.25rem;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
    width: 100%;
}

.services-main-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--brand-red);
    margin: 15px auto 0 auto;
}

.service-card {
    background-color: rgba(18, 18, 18, 0.95);
    border: 1px solid #1f1f1f;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.30s ease, border-color 0.30s ease, box-shadow 0.30s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-red);
    box-shadow: 0 10px 20px rgba(225, 29, 72, 0.15) !important;
}

.service-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 60%; /* Relación de aspecto moderna */
    overflow: hidden;
    border-bottom: 1px solid #1f1f1f;
}

.service-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-title {
    color: #ffffff;
    letter-spacing: 0.03em;
    transition: color 0.3s ease;
}

.service-card:hover .service-card-title {
    color: var(--brand-red);
}

.service-card-desc {
    color: #ffffff !important; /* Ajustado a blanco puro para máxima legibilidad */
    line-height: 1.5;
}

/* Botón de solicitud de servicio estilo limpio y oscuro */
.btn-request {
    border: 1px solid #2d2d2d;
    background-color: rgba(225, 29, 72, 0.05);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    letter-spacing: 0.05em;
    transition: all 0.30s ease;
}

.btn-request:hover {
    background-color: var(--brand-red);
    color: #ffffff;
    border-color: var(--brand-red);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

/* ==========================================================================
   Footer (Pie de Página)
   ========================================================================== */
.main-footer-section {
    background-color: #030303;
    border-top: 2px solid #161616;
}

.footer-logo-img {
    max-height: 240px; /* Ajustado a 240px (3 veces más grande que el original) */
    width: auto;
    object-fit: contain;
}

.footer-about-text {
    color: #ffffff !important; /* Ajustado a blanco puro */
    line-height: 1.6;
}

.footer-links-list li a {
    color: var(--brand-stone-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links-list li a:hover {
    color: var(--brand-red);
}

.footer-contact-info-list {
    color: #ffffff !important; /* Ajustado a blanco puro */
}

.footer-contact-info-list i {
    font-size: 1rem;
    width: 20px;
}

.text-brand-red {
    color: var(--brand-red) !important;
}

.hover-white {
    color: #ffffff !important; /* Ajustado a blanco puro */
    transition: color 0.2s ease;
}

.hover-white:hover {
    color: var(--brand-red) !important;
}

.footer-copyright-text {
    color: #ffffff !important; /* Ajustado a blanco para visibilidad */
}

/* Selector de Idioma en el Footer */
.language-selector-box {
    background-color: #0c0c0c;
    border: 1px solid #1a1a1a;
}

.lang-option {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-stone-text);
    transition: all 0.2s ease;
}

.lang-option:hover {
    color: #ffffff;
}

.active-lang {
    background-color: var(--brand-red);
    color: #ffffff !important;
}

/* Enlaces de Redes Sociales */
.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #0d0d0d;
    border: 1px solid #1e1e1e;
    color: var(--brand-stone-text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    color: #ffffff;
    border-color: var(--brand-red);
    background-color: var(--brand-red);
    transform: translateY(-3px);
}

/* ==========================================================================
   WhatsApp Flotante
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: #fff;
}

/* ==========================================================================
   Alineación de SEO Oculto (Accesibilidad)
   ========================================================================== */
.seo-h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}