/* === Guide Page Styles === */

/* === ANIMAZIONI === */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === HERO SECTION === */
.guia-hero {
    background: linear-gradient(135deg, #003DA5 0%, #003DA5 50%, #CE1126 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.guia-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 196, 0, 0.15) 0%, rgba(206, 17, 38, 0.15) 100%);
    pointer-events: none;
}

.guia-hero .container {
    position: relative;
    z-index: 1;
}

.guia-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.guia-hero .lead {
    font-size: 1.2rem;
    opacity: 0.95;
}

.guia-hero .btn {
    margin-top: 1.5rem;
    font-weight: 600;
    padding: 12px 30px;
    box-shadow: 0 4px 15px rgba(255, 196, 0, 0.4);
}

/* === SEZIONI === */
.guia-section {
    padding: 60px 0;
    background-color: white;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    animation: slideInUp 0.8s ease-out;
}

.guia-section h2 {
    color: #003DA5;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.guia-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FFC400, #CE1126);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.guia-section h2:hover::after {
    width: 120px;
}

.guia-section h3 {
    color: #003DA5;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.guia-section p {
    color: #333333;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

/* === IMMAGINI === */
.guia-images {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.guia-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    border: 1px solid rgba(0, 61, 165, 0.08);
}

.guia-img:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 61, 165, 0.3);
    border-color: rgba(255, 196, 0, 0.3);
}

.guia-img-small {
    max-width: 280px;
}

.guia-img-medium {
    max-width: 350px;
}

.guia-img-large {
    max-width: 500px;
    width: 100%;
}

/* === GRIGLIA IMMAGINI === */
.three-col-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}

.three-col-images img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    border: 1px solid rgba(0, 61, 165, 0.08);
}

.three-col-images img:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 60px rgba(0, 61, 165, 0.3);
    border-color: rgba(255, 196, 0, 0.3);
}

/* === CARDS === */
.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #FFC400;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 61, 165, 0.15);
}

.feature-card h3 {
    color: #003DA5;
    margin-top: 0;
}

.feature-card i {
    color: #CE1126;
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* === LISTE === */
.guia-section ul {
    margin-left: 0;
    padding-left: 0;
    list-style: none;
}

.guia-section li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.guia-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFC400;
    font-weight: bold;
    font-size: 1.2rem;
}

/* === ALERT BOXES === */
.tip-box {
    background: linear-gradient(135deg, rgba(255, 196, 0, 0.1) 0%, rgba(255, 196, 0, 0.05) 100%);
    border-left: 4px solid #FFC400;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.tip-box i {
    color: #FFC400;
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.warning-box {
    background: linear-gradient(135deg, rgba(206, 17, 38, 0.1) 0%, rgba(206, 17, 38, 0.05) 100%);
    border-left: 4px solid #CE1126;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.warning-box i {
    color: #CE1126;
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* === BACK BUTTON === */
.back-button {
    display: inline-block;
    margin-bottom: 2rem;
}

.back-button a {
    color: white;
    background: linear-gradient(135deg, #003DA5, #003DA5);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(0, 61, 165, 0.3);
}

.back-button a:hover {
    background: linear-gradient(135deg, #CE1126, #003DA5);
    transform: translateX(-8px);
    box-shadow: 0 10px 30px rgba(206, 17, 38, 0.4);
}

/* === BOX HIGHLIGHT === */
.guia-highlight {
    background: rgba(0, 61, 165, 0.05);
    border-left: 4px solid #003DA5;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 61, 165, 0.1);
}

.guia-highlight:hover {
    background: rgba(0, 61, 165, 0.08);
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 61, 165, 0.15);
}

.guia-highlight strong {
    color: #003DA5;
    font-weight: 700;
}

.guia-highlight.warning {
    background: rgba(255, 196, 0, 0.05);
    border-left-color: #FFC400;
    border-top: 1px solid rgba(255, 196, 0, 0.1);
}

.guia-highlight.warning:hover {
    background: rgba(255, 196, 0, 0.08);
    box-shadow: 0 8px 25px rgba(255, 196, 0, 0.15);
}

.guia-highlight.warning strong {
    color: #FFC400;
}

/* === BOX FUNZIONALITÀ === */
.guia-feature-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 61, 165, 0.1);
    padding: 25px;
    border-radius: 16px;
    margin: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    animation: slideInUp 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.guia-feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 196, 0, 0.05) 0%, rgba(206, 17, 38, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.guia-feature-box:hover::before {
    opacity: 1;
}

.guia-feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 61, 165, 0.2);
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 196, 0, 0.3);
}

.guia-feature-box h4 {
    color: #003DA5;
    font-weight: 700;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.guia-feature-box p {
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.guia-feature-box ul {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .guia-hero h1 {
        font-size: 2rem;
    }

    .guia-hero p {
        font-size: 1.1rem;
    }

    .guia-section h2 {
        font-size: 1.6rem;
    }

    .guia-img-large {
        max-width: 100%;
    }

    .three-col-images {
        grid-template-columns: 1fr;
    }

    .guia-feature-box {
        padding: 20px;
        margin: 15px 0;
    }
}
