/* Shared styles for fade animations and transitions */
.fade-in {
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-delay-1 {
    animation-delay: 0.1s;
}

.fade-in-delay-2 {
    animation-delay: 0.2s;
}

.fade-in-delay-3 {
    animation-delay: 0.3s;
}

/* Page transition effect */
.page-transition {
    animation: fadeOut 0.3s ease-in-out forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Shared button and link styles */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #696969;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.button:hover {
    transform: translateY(-2px);
    background-color: #555;
}

.subtle-link {
    color: #696969;
    text-decoration: none;
    border-bottom: 1px solid #696969;
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
}

.subtle-link:hover {
    opacity: 0.7;
}

/* Back button styles */
.back-link {
    display: flex;
    align-items: center;
    color: #696969;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.back-link:hover {
    opacity: 0.7;
}

.back-arrow {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}