/* ========================================
   6XSIM - Centro de Entrenamiento de Pilotos
   Hoja de Estilos Principal - Modern Tech Edit
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@700;800;900&family=Orbitron:wght@400;700&display=swap');


/* Variables CSS */
:root {
    /* Color Palette - High Tech Dark */
    --primary-color: #0a0b0e;
    --secondary-color: #16181d;
    --accent-color: #e31e24;
    --accent-hover: #ff2b32;
    --accent-glow: rgba(227, 30, 36, 0.4);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #64748b;
    --text-light: #f8f9fa;

    /* Layout */
    --container-width: 1200px;
    --section-padding: 100px 0;

    /* Effects */
    --glass-bg: rgba(22, 24, 29, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --tech-shadow: 0 0 20px rgba(227, 30, 36, 0.2);

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
    --font-tech: 'Orbitron', sans-serif;
    --font-alt: 'Montserrat', sans-serif;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0a0b0e 0%, #16181d 100%);
    --gradient-accent: linear-gradient(135deg, #e31e24 0%, #9e1519 100%);
    --gradient-dark: linear-gradient(180deg, rgba(10, 11, 14, 0) 0%, rgba(10, 11, 14, 1) 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background-color: var(--primary-color);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-tech);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-title {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.bg-dark-deep {
    background-color: #050507 !important;
    color: var(--text-primary) !important;
}

.bg-light-deep {
    background-color: var(--secondary-color) !important;
    color: var(--text-primary) !important;
}

.lead {
    color: var(--text-secondary);
}

.table {
    border-color: var(--glass-border) !important;
    color: var(--text-primary) !important;
    background-color: transparent !important;
}

.table td,
.table th {
    color: var(--text-primary) !important;
    border-color: var(--glass-border) !important;
    background-color: transparent !important;
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
    background-color: rgba(255, 255, 255, 0.03) !important;
    color: var(--text-primary) !important;
}

.table-light {
    background: var(--glass-bg);
    color: var(--text-primary);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    background: var(--gradient-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-top {
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 0;
    font-size: 0.85rem;
}

.contact-info a {
    color: var(--text-light);
    margin-right: 20px;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--accent-color);
}

.contact-info i,
.location-info i {
    margin-right: 5px;
    color: var(--accent-color);
}

.location-info {
    color: var(--text-light);
}

.header-main {
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    width: 60px;
    height: 60px;
    margin-right: 12px;
    object-fit: contain;
}

.logo-text {
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: 2px;
}

.logo-text span {
    color: var(--accent-color);
}

.logo-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 1px;
    margin-top: -5px;
}

.navbar {
    background: transparent !important;
}

.nav-link {
    color: var(--text-light) !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px !important;
    transition: all 0.3s;
    position: relative;
}

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

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(243, 156, 18, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: linear-gradient(rgba(10, 11, 14, 0.7), rgba(10, 11, 14, 0.4)),
        url('../img/6xsimbuilding.png') center/cover no-repeat fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15vh;
    background: linear-gradient(to top, var(--primary-color), transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-accent);
    color: white;
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    animation: fadeInDown 0.8s ease;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 span {
    color: var(--accent-color);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator {
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Botones */
.btn-cta {
    background: var(--gradient-accent);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: all 0.3s;
    margin: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.4);
    color: white;
}

.btn-outline-light {
    background: transparent;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid white;
    transition: all 0.3s;
    margin: 10px;
    display: inline-block;
}

.btn-outline-light:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* ========================================
   SECCIONES GENERALES
   ======================================== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(243, 156, 18, 0.1);
    color: var(--accent-color);
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    /* Forzar blanco */
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    /* Gris claro/lavanda */
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    background: var(--secondary-color);
}

.feature-card {
    background: var(--secondary-color);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 20px var(--accent-glow);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   ABOUT PREVIEW SECTION
   ======================================== */
.about-preview {
    background: var(--primary-color);
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content {
    padding: 40px 0;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

.about-list i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.btn-service {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}

.btn-service:hover {
    background: var(--gradient-accent);
    color: white;
    transform: translateX(5px);
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats {
    background: var(--gradient-primary);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    color: var(--text-light);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-color);
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 10px;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-preview {
    background: var(--primary-color);
}

.service-card {
    background: var(--secondary-color);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.service-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.service-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.service-features i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* ========================================
   SIMULATORS PREVIEW SECTION
   ======================================== */
.simulators-preview {
    background: var(--secondary-color);
}

.simulator-preview-card {
    background: var(--secondary-color);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}

.simulator-preview-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.simulator-preview-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.simulator-preview-icon i {
    font-size: 2.2rem;
    color: white;
}

.simulator-preview-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.simulator-preview-card>p {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.simulator-preview-specs {
    list-style: none;
    padding: 0;
    text-align: left;
}

.simulator-preview-specs li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.simulator-preview-specs i {
    color: #27ae60;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: var(--gradient-accent);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.btn-white {
    background: white;
    color: var(--accent-color);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: var(--accent-color);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-top {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    margin-bottom: 25px;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    object-fit: contain;
}

.footer-logo span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
}

.footer-logo span span {
    color: var(--accent-color);
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-links span {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    opacity: 0.7;
    margin: 0;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--accent-color);
}

/* ========================================
   PAGE HEADER (Para páginas internas)
   ======================================== */
.page-header {
    background: var(--gradient-primary);
    padding: 100px 0 60px;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
    justify-content: center;
}

.breadcrumb-item a {
    color: var(--accent-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-info-card {
    background: var(--gradient-primary);
    color: white;
    border-radius: 15px;
    padding: 40px;
    height: 100%;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.contact-item-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-item-text p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.contact-form-card {
    background: var(--secondary-color);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--card-shadow);
}

.contact-form-card h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 25px;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(243, 156, 18, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.btn-submit {
    background: var(--gradient-accent);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    transition: all 0.3s;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.4);
    color: white;
}

.map-section {
    background: var(--light-bg);
    padding: 80px 0;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.team-card {
    background: var(--secondary-color);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-image {
    height: 280px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-content {
    padding: 25px;
}

.team-content h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.team-content p {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s;
}

.team-social a:hover {
    background: var(--accent-color);
    color: white;
}

/* ========================================
   SIMULATORS PAGE
   ======================================== */
.simulator-detail-card {
    background: var(--secondary-color);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
}

.simulator-detail-header {
    background: var(--gradient-primary);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.simulator-detail-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.simulator-badge {
    background: var(--accent-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.simulator-detail-body {
    padding: 30px;
}

.simulator-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.spec-item {
    text-align: center;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
}

.spec-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.spec-item .spec-label {
    font-size: 0.85rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-item .spec-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 5px;
}

.simulator-features {
    list-style: none;
    padding: 0;
}

.simulator-features li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.simulator-features i {
    color: #27ae60;
    margin-top: 3px;
}

/* Tablas técnicas */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(243, 156, 18, 0.05);
}

.table th {
    font-weight: 600;
    color: var(--primary-color);
}

.table td {
    vertical-align: middle;
}

/* ========================================
   SERVICES PAGE
   ======================================== */
.service-detail-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--tech-shadow);
    margin-bottom: 30px;
}

.service-detail-card h3 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-detail-card h4 {
    color: var(--text-primary);
}

.service-detail-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-detail-card .table {
    color: var(--text-primary);
}

.service-detail-card .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.service-detail-card .table td {
    border-color: var(--glass-border);
    color: var(--text-primary);
}

.service-detail-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-detail-features li {
    padding: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.service-detail-features i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

/* ========================================
   CAREER TIMELINE
   ======================================== */
.career-timeline {
    position: relative;
    padding: 60px 0;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--glass-border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--primary-color);
    border: 4px solid var(--accent-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--accent-glow);
}

.left {
    left: 0;
    text-align: right;
}

.right {
    left: 50%;
    text-align: left;
}

.left::after {
    right: -10px;
}

.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    position: relative;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: var(--tech-shadow);
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.timeline-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ========================================
   DIGITAL LOGBOOK PREVIEW
   ======================================== */
.logbook-preview {
    background: var(--secondary-color);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
}

.logbook-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.student-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    border: 2px solid var(--accent-color);
}

.student-meta h4 {
    margin: 0;
    font-size: 1.2rem;
}

.student-meta span {
    color: var(--accent-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
}

.log-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.log-stat-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.log-stat-card .value {
    display: block;
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: var(--accent-color);
}

.log-stat-card .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.progress-track {
    margin-bottom: 20px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.tech-progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.tech-progress-bar {
    height: 100%;
    background: var(--gradient-accent);
    box-shadow: 0 0 10px var(--accent-glow);
    transition: width 1.5s ease-in-out;
}

/* ========================================
   VIDEO HERO
   ======================================== */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.hero-video-bg video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

/* ========================================
   SIMULATORS MODAL / ENHANCED CARDS
   ======================================== */
.simulator-preview-card {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border) !important;
}

.simulator-preview-card:hover {
    box-shadow: 0 0 30px rgba(227, 30, 36, 0.15) !important;
}

/* Simulator Detailed Cards */
.simulator-detail-card {
    background: var(--secondary-color);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 50px;
}

.simulator-detail-header {
    background: var(--gradient-primary);
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.simulator-detail-header h3 {
    margin: 0;
    font-weight: 700;
}

.simulator-detail-body {
    padding: 40px;
}

.simulator-badge {
    background: white;
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.simulator-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.spec-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--glass-border);
}

.spec-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 8px;
    display: block;
}

.spec-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.spec-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.simulator-features {
    list-style: none;
    padding: 0;
}

.simulator-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.simulator-features li i {
    color: var(--accent-color);
    margin-top: 4px;
}

/* Override Bootstrap bg-light in cards */
.simulator-detail-card .bg-light {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-primary) !important;
}

.simulator-detail-card .table {
    color: var(--text-primary) !important;
}

.simulator-detail-card .table td {
    color: var(--text-primary) !important;
    border-color: var(--glass-border) !important;
}

.simulator-detail-card h5,
.simulator-detail-card h4 {
    color: var(--text-primary);
}

/* Responsive Ajustes Timeline */
@media screen and (max-width: 768px) {
    .timeline-container::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        text-align: left;
    }

    .timeline-item::after {
        left: 21px;
    }

    .left,
    .right {
        left: 0;
    }
}