/* 
Theme Name: Ambasciatori 
Template Name: Eventi
*/

/* ============== HERO SECTION (Eventi) ================ */
.hero-eventi {
    position: relative;
    color: var(--text-white);
    padding: 120px 0 100px;
    text-align: center;
}

.hero-eventi .hero-bg,
.hero-eventi .hero-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    object-fit: cover;
    background: #0d1b31;
}

.hero-eventi .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 54, 100, 0.2);
    /* Transparent dark overlay */
    z-index: -1;
}

.hero-eventi .hero-content {
    position: relative;
    z-index: 1;
}

.hero-eventi .hero-subtitle {
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-eventi .hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
}

.hero-eventi .hero-desc {
    font-size: 22px;
    font-weight: 400;
    font-style: italic;
}

/* ============== FUTURO SECTION ================ */
.futuro-section {
    padding: 80px 0;
}

.futuro-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.futuro-image {
    flex: 1;
    position: relative;
}

.futuro-image img {
    width: 100%;
    border-radius: var(--border-radius);
    background: #e0e0e0;
    min-height: 350px;
    object-fit: cover;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.image-text-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 40px;
    font-weight: 800;
    color: var(--text-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.futuro-text {
    flex: 1.2;
}

.futuro-text h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 25px;
}

.futuro-text p {
    font-size: 15px;
    margin-bottom: 20px;
    color: #444;
    line-height: 1.7;
}

/* ============== FORMAZIONE SECTION ================ */
.formazione-section {
    padding: 60px 0;
    background-color: #fafafa;
}

.formazione-section h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 0px;
    text-align: left;
}

.formazione-text p {
    font-size: 15px;
    margin-bottom: 20px;
    color: #444;
    line-height: 1.7;
}

.text-blue {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 0px !important;
    font-size: 18px;
}

/* ============== AWARDS SECTION ================ */
.awards-section {
    padding: 80px 0;
}

.awards-section h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 10px;
}

.awards-subtitle {
    color: #666;
    margin-bottom: 40px;
}

.awards-grid {
    text-align: left !important;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.award-card {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 30px 20px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.award-card p {
    margin-bottom: 10px;
}

.award-card p:last-child {
    margin-bottom: 0;
}

.award-card h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-white);
}

.award-placeholder {
    background-color: #f0f0f0;
    color: #333;
    border: 2px dashed #ccc;
    box-shadow: none;
}

.award-placeholder h2 {
    color: #333;
    font-size: 40px;
    margin: 0;
}

/* ============== FORM SECTION ================ */
.form-section {
    padding: 80px 0;
    background-color: #fff;
}

.form-section .section-heading {
    margin-bottom: 40px;
}

.form-section .section-heading h2 {
    color: var(--primary-color);
    font-size: 32px;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.associazione-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
}

.form-group.full-width {
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    background-color: #fcfcfc;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 14px;
    color: var(--text-dark);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-submit.full-width {
    width: 100%;
    margin-top: 10px;
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--text-white);
    border: none;
    padding: 18px;
    font-size: 16px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: var(--secondary-color);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .futuro-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .hero-eventi .hero-title {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .awards-grid {
        grid-template-columns: 1fr;
    }
}