/* Importar una fuente similar a la imagen (ejemplo con Montserrat) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&display=swap');

/* --- Variables y Reset Básico --- */
:root {
    --color-primary: #121212; /* Negro/Oscuro para fondo y navbar */
    --color-secondary: #2c9a63; /* Verde para acentos */
    --color-text-light: #f0f0f0;
    --color-text-dark: #333;
    --color-bg-hero: #254a5c; /* Azul/Verde oscuro para el área principal de la imagen */
    --font-family-main: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-main);
    color: var(--color-text-dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- Top Bar (Barra superior) --- */
.topbar {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    font-size: 0.8rem;
    padding: 8px 0;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-info span {
    margin-right: 20px;
}

.topbar-info i {
    color: var(--color-secondary);
    margin-right: 5px;
}

.topbar-social a {
    margin-left: 15px;
    transition: color 0.3s;
}

.topbar-social a:hover {
    color: var(--color-secondary);
}

/* --- Navigation Bar (Barra de Navegación) --- */
.navbar {
    background-color: var(--color-primary);
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Separador sutil */
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-light);
}

.logo-name {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--color-secondary); /* Color del texto "VAFTEC" */
}

.nav-links {
    display: flex;
    gap: 30px;
    font-weight: 600;
}

.nav-links a {
    padding: 5px 0;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links li:first-child a { /* Simular el enlace activo en "Inicio" */
    color: var(--color-secondary);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-number {
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: 0.85rem;
}

.contact-number .number {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-secondary);
}

.search-btn {
    background: none;
    border: none;
    color: var(--color-text-light);
    font-size: 1.2rem;
    cursor: pointer;
}


/* --- Hero Section (Sección Principal) --- */
.hero-section {
    position: relative;
    height: 89vh; /* Ajusta la altura según necesites */
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-hero); /* Color base antes de la imagen */
    background-image: url('/img/banner_1.jpg'); /* ¡CAMBIA ESTO! */
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    /* Overlay para oscurecer la imagen y mejorar la legibilidad del texto */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Oscurecimiento */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text {
    max-width: 800px;
    margin-top: 100px; /* Ajuste para centrar verticalmente, considerando la posición de la imagen */
}

.tagline {
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Estilos de botones */
.btn {
    padding: 12px 30px;
    border: 2px solid transparent;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-text-light);
    border-color: var(--color-secondary);
}

.btn-primary:hover {
    background-color: #248154; /* Un verde un poco más oscuro */
    border-color: #248154;
}

.btn-secondary {
    background-color: rgba(0, 0, 0, 0.4);
    color: var(--color-text-light);
    border-color: var(--color-text-light);
}

.btn-secondary:hover {
    background-color: var(--color-text-light);
    color: var(--color-primary);
}

/* Flechas del Slider */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: var(--color-text-light);
    padding: 15px 10px;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
}

.left-arrow {
    left: 0;
}

.right-arrow {
    right: 0;
}