/* Info Display */
.info-display { 
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(17, 20, 28, 0.9);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    color: var(--color-foreground);
}

.info-display h2 {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
}

.info-display p {
    font-size: 1.2rem;
    color: var(--color-secondary);
}

/* Section Grid */
.section-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
}

.section-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideIn 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.section-row.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section Card */
.section-card {
    width: 70%;
    min-height: 180px;
    padding: 2rem;
    background: var(--color-surface-dark);
    border-radius: 16px;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    color: var(--color-foreground);
}
.section-card:hover {
    transform: translateY(-8px);
    background: var(--color-secondary-alt);
}

/* Image Box */
.image-box {
    width: 28%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-box img {
    max-width: 100%;
    border: 3px solid var(--color-secondary-alt);
    background: var(--color-surface-dark);
    border-radius: 12px;
    object-fit: cover;
    height: 180px;
}

/* Row Alignment */
.section-row.left-align .section-card {
    order: 1;
}

.section-row.right-align .section-card {
    order: 0;
}

/* Fade and Slide Animations */
.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

.slide-left-out {
    animation: slideOutLeft 0.3s forwards;
}

.slide-right-in {
    animation: slideInRight 0.3s forwards;
}

/* Keyframes */
@keyframes slideOutLeft {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50px);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
