/* ===== COLLAPSIBLE SECTIONS STYLES ===== */

/* About Section - Hidden/Visible States */
.about-hidden {
    display: none !important;
    opacity: 0;
    transform: translateY(30px);
}

.about-visible {
    display: flex !important;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInSlide 0.6s ease-out;
}

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

/* Hero Section - Single Button Centered */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    min-width: 220px;
}

/* Projects Preview - Show One Project */
.projects-preview {
    padding-bottom: 0;
}

.projects-preview h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 900;
    text-shadow: 0 0 40px rgba(255, 107, 0, 0.3);
}

.projects-preview .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 107, 0, 0.8),
        rgba(255, 140, 0, 0.8),
        rgba(255, 165, 0, 0.8),
        transparent
    );
}

.projects-preview-subtitle {
    font-family: var(--font-primary);
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 4rem;
}

/* Toggle Buttons - Centered */
.toggle-btn {
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 3rem auto 0 auto;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.3);
}

.toggle-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.5);
}

.toggle-btn:active {
    transform: translateY(-1px);
}

.toggle-btn i {
    font-size: 1.1rem;
}

/* Projects Full - Hidden by default */
.projects-full {
    display: none;
    opacity: 0;
    margin-top: 6rem;
}

/* Smooth transitions */
.projects-full {
    transition: all 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .projects-preview h2 {
        font-size: 2rem;
    }

    .projects-preview-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .toggle-btn {
        width: 90%;
        max-width: 400px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .hero-buttons .btn {
        width: 90%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .projects-preview h2 {
        font-size: 1.8rem;
    }

    .toggle-btn {
        width: 95%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .hero-buttons .btn {
        width: 95%;
        font-size: 1rem;
    }
}