
/* Project Card */
.project-card {
    background: #111;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.3s ease, background 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    background: #222;
}

/* Project Header */
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
}

.project-header h2 {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin: 0;
}

/* Toggle Button */
.toggle-btn {
    background: none;
    border: 2px solid #fff;
    border-radius: 25px;
    color: #fff;
    padding: 5px 15px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn:hover {
    background: #fff;
    color: #111;
}

/* Project Content (Accordion) */
.project-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    background: #1a1a1a;
    transition: all 0.5s ease;
}

.project-content.active {
    max-height: 500px;
    padding: 20px 30px 30px;
}

/* Accordion Row Layout */
.project-row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

/* Left Column: Text + Button */
.project-text {
    flex: 2;
}

/* View Button */
.project-text .view-btn {
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
}

/* Right Column: Thumbnail */
.project-thumbnail {
    flex: 1;
}

.project-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-thumbnail img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 117, 140, 0.7);
}

/* Responsive for mobile */
@media (max-width: 900px) {
    .project-row {
        flex-direction: column;
    }
    .project-thumbnail img {
        width: 100%;
        height: 200px;
    }
}


/* View Button */
.view-btn {
    display: inline-block;
    background: #ff758c;
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: #ff7eb9;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: #111;
    padding: 30px 20px;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    text-align: center;
    position: relative;
}

.modal-content iframe {
    width: 100%;
    height: 500px;
    border-radius: 15px;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #ff758c;
}

/* Responsive */
@media (max-width: 900px) {
    .page-header h1 {
        font-size: 2.4rem;
        letter-spacing: 4px;
    }

    .project-header h2 {
        font-size: 1.2rem;
    }

    .modal-content iframe {
        height: 300px;
    }
}
