/* Stili personalizzati */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 0.5rem;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
}

.badge {
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
}

.btn-outline-primary {
    border-width: 2px;
}

/* Effetto hover per i link di navigazione */
.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 2rem);
    left: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .card-img-top {
        height: 150px !important;
    }
}

.navbar .nav-item.dropdown:hover .nav-link::after {
    width: calc(100% - 2rem);
    left: 1rem;
}

.dropdown-item:active {
    background-color: var(--bs-primary);
}

/* ==============================================
   About Page Styles
   ============================================== */

/* Profile avatar */
.about-page .profile-avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto 1.5rem;
}

/* Social icons */
.about-page .social-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.2s ease;
    margin: 0 0.5rem;
    color: var(--bs-primary);
}

.about-page .social-icon:hover {
    transform: translateY(-3px);
    color: var(--bs-secondary);
}

/* Action buttons */
.about-page .action-btn {
    min-width: 120px;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

/* Divider */
.about-page .divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #dee2e6, transparent);
    margin: 2rem auto;
    width: 80%;
}

/* Text sections */
.about-page .bio-text {
    max-width: 700px;
    margin: 0 auto;
}

.about-page .lead {
    color: var(--bs-gray-600);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-page .profile-avatar {
        width: 120px;
        height: 120px;
    }
    
    .about-page .action-btn {
        width: 100%;
        max-width: 250px;
    }
}