/* ================= BODY ================= */
body {
    margin: 0;
    padding: 0;
    font-family: cursive;
    background-color: white;
}

/* ================= HEADER & NAV ================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background-color: white;
}

header img {
    width: 100px;
    height: 100px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    padding: 10px 20px;
    transition: 0.3s;
}

nav a:hover {
    background-color: #1f31d7;
    color: white;
    border-radius: 8px;
}

/* ================= HERO SECTION ================= */
.hero-section {
    height: 250px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url("41490588_10156597533764659_6411831091354664960_n.jpg") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-section h2 {
    font-size: 32px;
    margin: 0;
}

/* ================= CONTAINERS ================= */
.container {
    padding: 40px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* ================= INFO CARDS ================= */
.info-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    max-width: 400px;
}

.info-card h2 {
    color: #0a2a66;
    margin-bottom: 15px;
}

.info-card p {
    color: #444;
    line-height: 1.6;
}

/* ================= PROFILE SECTION ================= */
.profile-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    max-width: 400px;
    text-align: center;
}

.profile-card p {
    line-height: 1.7;
}

.profile-img {
    width: 180px;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.team-img {
    max-width: 800px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    display: block;
    margin: 20px auto;
}

/* ================= FIRST TEAM / TEAMS ================= */
.first-team {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 8%;
    background: #f5f7fb;
    flex-wrap: wrap;
}

.first-team img {
    width: 100%;
    max-width: 400px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.first-team-text {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.first-team-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #0a2a66;
}

.first-team-text h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #133b8a;
}

.first-team-text p {
    line-height: 1.7;
    color: #444;
}

.first-team-text ul {
    padding-left: 20px;
}

.first-team-text li {
    margin-bottom: 10px;
    color: #222;
}

/* ================= CONTACT ================= */
.contact-section {
    padding: 50px 5%;
    text-align: center;
}

.contact-section h1 {
    margin-bottom: 40px;
    color: #0a2a66;
}

.contact-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-info iframe {
    width: 350px;
    height: 250px;
    border: none;
    border-radius: 12px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-box {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* ================= MATCH SCHEDULE / TEAMS ================= */
.oraret {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.orari {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: 0.3s;
    flex-wrap: wrap;
    gap: 20px;
}

.orari:hover {
    transform: translateY(-5px);
}

.orari img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    background: #f5f5f5;
    padding: 5px;
}

.orari h3 {
    font-size: 18px;
    color: #0a2a66;
    text-align: center;
}

.detajetorai {
    text-align: center;
    background: #1f31d7;
    color: white;
    padding: 10px 20px;
    border-radius: 14px;
    min-width: 150px;
}

.detajetorai h1 {
    font-size: 20px;
    margin-bottom: 5px;
}

.detajetorai h2 {
    font-size: 16px;
}

/* ================= FOOTER ================= */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1f31d7;
    color: whitesmoke;
    padding: 40px 20px;
    text-align: center;
}

footer img {
    width: 150px;
    margin-bottom: 20px;
}

footer h1 {
    margin: 0;
    font-size: 28px;
}

footer p {
    margin: 5px 0 0 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    .first-team {
        flex-direction: column;
        padding: 40px 20px;
    }

    .first-team-text {
        padding: 25px;
    }

    .first-team-text h2 {
        font-size: 28px;
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-info iframe {
        width: 300px;
        height: 200px;
    }

    .orari {
        flex-direction: column;
    }

    .orari img {
        width: 80px;
        height: 80px;
    }

    .detajetorai {
        min-width: 100px;
        padding: 8px 15px;
    }

    .hero-section h2 {
        font-size: 24px;
    }
}