﻿:root {
    --primary-color: #003a68; /* Blu scuro DBA */
    --secondary-color: #1863dc; /* Blu chiaro per link e accenti */
    --accent-color: #0094ff; /* Blu accento */
    --dark-text: #131313; /* Testo scuro quasi nero */
    --light-bg: #fafbfc; /* Sfondo sezioni chiare */
    --white: #ffffff;
    --gray-light: #9aa4b2; /* Grigio chiaro per testi secondari */
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--dark-text);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar-brand img {
    height: 40px;
}

.navbar-light {
    background-color: var(--white);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-text);
    margin: 0 10px;
    padding: 8px 0;
    position: relative;
}

    .navbar-nav .nav-link:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--secondary-color);
        transition: width 0.3s ease;
    }

    .navbar-nav .nav-link:hover:after,
    .navbar-nav .nav-link.active:after {
        width: 100%;
    }

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

/* Hero styles sono stati spostati in hero.css */

/* Buttons */
.btn {
    font-weight: 600;
    font-size: 14px;
    padding: 10px 25px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: none;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

    .btn-primary:hover {
        background-color: var(--secondary-color);
        border-color: var(--secondary-color);
    }

.btn-outline-primary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

    .btn-outline-primary:hover {
        background-color: var(--white);
        color: var(--primary-color);
        border-color: var(--white);
    }

.btn-rounded {
    border-radius: 30px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 14px;
}

/* Login Button */
.btn-login {
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 30px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
}

    .btn-login:hover {
        background-color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .btn-login i {
        margin-right: 5px;
        font-size: 16px;
    }

@media (max-width: 992px) {
    .nav-item .btn-login {
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
}

/* Content sections */
.content {
    padding: 30px 0;
}

.content--border {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.content--bg-light {
    background-color: var(--light-bg);
}

.section-title {
    position: relative;
    margin-bottom: 20px;
    font-weight: 600;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 0;
        width: 60px;
        height: 3px;
        background-color: var(--secondary-color);
    }

/* Cards */
.card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* News section */
.news-item {
    margin-bottom: 30px;
}

.news-date {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.news-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.news-excerpt {
    margin-bottom: 15px;
}

/* Features with icons */
.feature-box {
    margin-bottom: 30px;
    padding: 30px;
    border-radius: 8px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

    .feature-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Stats counter */
.counter-box {
    text-align: center;
    margin-bottom: 30px;
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.counter-text {
    font-weight: 500;
    color: var(--gray-light);
}

/* Footer */
footer {
    background-color: var(--white);
    padding: 80px 0 0;
    position: relative;
}

    footer .logo {
        margin-bottom: 30px;
    }

        footer .logo img {
            height: 40px;
        }

    footer h5 {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 25px;
        color: var(--primary-color);
    }

    footer ul {
        list-style: none;
        padding-left: 0;
    }

        footer ul li {
            margin-bottom: 10px;
        }

            footer ul li a {
                color: var(--dark-text);
                text-decoration: none;
                transition: all 0.3s ease;
            }

                footer ul li a:hover {
                    color: var(--secondary-color);
                    text-decoration: none;
                }

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--primary-color);
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

    .social-links a:hover {
        background-color: var(--secondary-color);
        color: var(--white);
    }

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    margin-top: 50px;
}

    .footer-bottom p {
        margin-bottom: 0;
        font-size: 0.9rem;
    }

    .footer-bottom a {
        color: var(--secondary-color);
        text-decoration: none;
    }

/* Responsive adjustments */
@media (max-width: 992px) {
    /* Gli stili hero sono stati spostati in hero.css */
}

@media (max-width: 768px) {
    /* Gli stili hero sono stati spostati in hero.css */

    .section-title {
        text-align: center;
    }

        .section-title::after {
            left: 50%;
            transform: translateX(-50%);
        }

    .content {
        padding: 50px 0;
    }

    .feature-box,
    .counter-box {
        text-align: center;
    }
}

/* Syncfusion button customization */
.e-btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

    .e-btn-primary:hover {
        background-color: var(--secondary-color);
        border-color: var(--secondary-color);
    }

.e-card {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

    .e-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

/* Form elements */
.e-input-group {
    margin-bottom: 20px;
}

.e-input {
    border-radius: 4px;
    padding: 8px 12px;
    border: 1px solid #ccc;
}

    .e-input:focus {
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 0.2rem rgba(24, 99, 220, 0.25);
    }
