:root { --primary-color: #111; --secondary-color: #555; --link-color: #2753C5; --bg-color: #ffffff; --border-color: #eeeeee; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; color: var(--primary-color); }
.container { max-width: 950px; margin: 0 auto; padding: 60px 25px; }

/* Back to Projects */
.back-link { text-decoration: none; color: var(--link-color); font-weight: 600; display: inline-block; margin-bottom: 30px; }
.back-link:hover { text-decoration: underline; }

h1 { font-size: 2rem; margin-bottom: 20px; }
.project-meta { background: #f9f9f9; padding: 20px; border-radius: 8px; margin-bottom: 30px; border: 1px solid var(--border-color); }
.hero-img { width: 100%; border-radius: 12px; margin-bottom: 30px; border: 1px solid var(--border-color); }
h2 { font-size: 1.4rem; margin: 30px 0 15px; }
p { color: var(--secondary-color); margin-bottom: 20px; }

/* Embed button */
.item-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.btn-style { 
    text-decoration: none !important;
    color: #000000 !important;
    font-size: 0.85rem; 
    font-weight: 600;
    background: #f1f1f1;
    padding: 6px 16px; 
    border-radius: 25px;
    transition: all 0.2s ease;
    border: 1px solid #e0e0e0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.btn-style:hover { 
    background: #e5e5e5; 
    transform: translateY(-1px);
}

/* Youtube container */
.video-container {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* PDF modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}
.modal-content {
    width: 80%;
    height: 90%;
    background: white;
    border-radius: 8px;
    position: relative;
}
.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
}
#pdfFrame {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}
@media (max-width: 768px) {
    body { font-size: 0.85rem; }
    h1 { font-size: 1.5rem !important; margin-bottom: 15px !important; }
    h2 { font-size: 1.2rem !important; margin: 30px 0 15px !important; }

    .container { padding: 40px 15px; }
    .project-meta { 
        padding: 15px !important; 
        font-size: 0.85rem !important; 
        line-height: 1.5 !important;
    }
    .video-container { margin-bottom: 25px !important; }
    .item-links { gap: 8px !important; margin-bottom: 30px !important; }
    .btn-style { 
        font-size: 0.8rem !important; 
        padding: 6px 14px !important; 
    }
    p { font-size: 0.9rem !important; line-height: 1.6 !important; }
}
