/* FILE: style.css - VERSIONE DEFINITIVA */

/* --- 1. VARIABILI & COLORI GLOBALI --- */
:root {
    --primary-navy: #1a253a; /* Blu scuro Corporate */
    --accent-gold: #c5a065;  /* Oro CSA */
    --light-gray: #f4f4f4;
    --text-dark: #333;
    --text-light: #889bb0;
    --ey-gray: #f6f6fa;      /* Grigio "Big 4" per sfondi leggeri */
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
}

h1, h2, h3, h4, .navbar-brand {
    font-family: 'Playfair Display', serif;
    color: var(--primary-navy);
}

/* --- 2. TOP BAR (BANDA NERA/BLU) --- */
/* Questo è il pezzo che mancava */
.top-bar { 
    background: var(--primary-navy); /* Usa il colore corporate per eleganza */
    color: #fff; 
    font-size: 0.75rem; 
    padding: 8px 0; 
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar span {
    opacity: 0.9;
    margin-right: auto; /* Spinge i link a destra */
    font-weight: 500;
    letter-spacing: 0.5px;
}

.top-bar a { 
    color: var(--accent-gold); /* Link color oro */
    text-decoration: none; 
    margin-left: 20px; 
    transition: color 0.3s ease;
}

.top-bar a:hover { 
    color: #fff; 
    text-decoration: underline;
}

/* --- 3. NAVBAR --- */
.navbar {
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 0.5rem 0;
}
.navbar-brand img {
    max-height: 55px;
    width: auto;
}
.nav-link {
    color: var(--primary-navy) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-left: 20px;
    transition: color 0.3s;
}
.nav-link:hover, .nav-link.active {
    color: var(--accent-gold) !important;
}

/* --- 4. HERO SECTIONS & HEADERS --- */

/* Hero per Pagine Interne (About, Services) */
.page-header {
    background-color: var(--primary-navy);
    color: white;
    padding: 100px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Hero Specifica per Home Page (Big 4 Style) */
.hero-big4 {
    height: 85vh; /* Altezza quasi tutto schermo */
    background: linear-gradient(rgba(26, 37, 58, 0.6), rgba(26, 37, 58, 0.4)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
}
.hero-content { 
    background: rgba(26, 37, 58, 0.95); 
    padding: 3rem; 
    max-width: 600px; 
    border-left: 5px solid var(--accent-gold); 
}

/* Sezione Aerospace (Industries) */
.aerospace-section {
    background: linear-gradient(to right, #1a253a 0%, #2c3e50 100%);
    color: white;
    padding: 80px 0;
}
.industry-header {
    background: var(--primary-navy);
    color: white;
    padding: 100px 0;
    text-align: center;
}

/* --- 5. COMPONENTI (Bottoni, ecc.) --- */
.btn-gold {
    background-color: var(--accent-gold);
    color: #fff;
    border-radius: 0;
    padding: 12px 30px;
    font-weight: 600;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}
.btn-gold:hover {
    background-color: #b08d55;
    color: #fff;
}
.section-title { 
    font-size: 2.5rem; 
    margin-bottom: 2rem; 
    position: relative; 
}
.section-title::after { 
    content: ''; 
    display: block; 
    width: 50px; 
    height: 3px; 
    background: var(--accent-gold); 
    margin-top: 15px; 
}

/* --- 6. CARDS (Tutti i tipi) --- */

/* Card Tecniche (Industries) & Servizi Standard */
.tech-card, .service-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    height: 100%;
    transition: 0.3s;
    overflow: hidden;
}
.tech-card:hover, .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--accent-gold);
}
.tech-card-header {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #eee;
    font-weight: 700;
    color: var(--primary-navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tech-card-body { padding: 25px; }
.tech-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--primary-navy);
    color: white;
    padding: 5px 10px;
    border-radius: 2px;
}
.tech-icon { color: var(--accent-gold); font-size: 1.5rem; margin-bottom: 15px; }

/* Service Card Minimal (Home Page) */
.service-card-minimal { 
    border: 1px solid #e0e0e0; 
    padding: 2rem; 
    transition: 0.3s; 
    height: 100%; 
    background: #fff; 
}
.service-card-minimal:hover { 
    border-color: var(--accent-gold); 
    transform: translateY(-5px); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
}

/* Process Card (Methodology) */
.process-card {
    background: #fff;
    padding: 2rem;
    border-left: 4px solid var(--accent-gold);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s;
    position: relative;
}
.process-card:hover { transform: translateY(-5px); }
.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: #e9ecef;
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

/* Insight Card (Home Page) */
.insight-card img { width: 100%; height: 200px; object-fit: cover; }
.insight-meta { font-size: 0.8rem; color: #888; margin: 10px 0; text-transform: uppercase; letter-spacing: 1px; }

/* Leader Card (About) */
.leader-card { 
    border-left: 5px solid var(--accent-gold); 
    background: #fff; 
    padding: 2rem; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
}

/* --- 7. TABS SERVIZI --- */
.nav-pills .nav-link {
    color: var(--primary-navy);
    background-color: white;
    border: 1px solid #e0e0e0;
    margin-bottom: 10px;
    border-radius: 4px;
    font-weight: 500;
    text-align: left;
    padding: 15px 20px;
}
.nav-pills .nav-link.active {
    background-color: var(--primary-navy);
    color: var(--accent-gold);
}

/* --- 8. FOOTER --- */
footer {
    background-color: var(--primary-navy);
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 4rem 0;
}
footer h5 { 
    color: #fff; 
    margin-bottom: 1.5rem; 
    font-family: 'Roboto', sans-serif; 
    text-transform: uppercase; 
    font-size: 0.9rem; 
    letter-spacing: 1px; 
}
footer ul li { margin-bottom: 10px; }
footer a { color: var(--text-light); text-decoration: none; }
footer a:hover { color: var(--accent-gold); }