/* ===== VARIABILI COLORI BLU/CELESTE/AVIO ===== */
:root {
    --blu-principale: #0E7FBD;
    --blu-scuro: #054A7D;
    --celeste: #00B4FF;
    --avio: #1F4B7A;
    --bianco: #FFFFFF;
    --grigio-chiaro: #F8F9FA;
    --grigio-scuro: #495057;
    --grigio-border: #E9ECEF;
}

/* ===== STILE GENERALE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #FFFFFF;
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--blu-principale);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #FFFFFF !important;
    margin-left: 1rem;
}

.nav-link {
    color: #FFFFFF !important;
    font-weight: 500;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--celeste) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--celeste);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    background: var(--avio);
    padding: 100px 0;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    color: #E8F4F8;
    margin-bottom: 2rem;
}

.btn-primary-custom {
    background: var(--celeste);
    border: none;
    color: #333;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 180, 255, 0.3);
    color: #333;
    background: #00A0E0;
}

/* ===== SEZIONI CONTENUTO ===== */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--celeste);
    border-radius: 2px;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    background: var(--grigio-chiaro);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card-header {
    background: var(--blu-principale);
    border: none;
    border-radius: 15px 15px 0 0;
    padding: 2rem;
    color: #FFFFFF;
}

/* ===== FOOTER ===== */
footer {
    background: var(--blu-scuro);
    color: #FFFFFF;
    padding: 40px 0 20px;
    margin-top: 60px;
    border-top: 3px solid var(--celeste);
}

footer h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

footer p {
    margin-bottom: 0.5rem;
    color: #FFFFFF;
}

footer a {
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--celeste);
    text-decoration: underline;
}

.footer-section {
    margin-bottom: 2rem;
}

.company-info {
    background: rgba(255, 255, 255, 0.7);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.company-info p {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333 !important;
}

.footer-buttons {
    margin-top: 1.5rem;
}

.footer-buttons a {
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
    padding: 10px 20px;
    background: var(--celeste);
    border-radius: 25px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

.footer-buttons a:hover {
    background: #00A0E0;
    transform: scale(1.05);
    color: #333;
}

.footer-bottom {
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    padding-top: 2rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .navbar-brand {
        margin-left: 0;
    }
}

/* ===== ANIMAZIONI ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
