* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;

    background-color: #f5f5f5;

    color: #222;
}


/* HEADER */

.header {

    background-color: white;

    text-align: center;

    padding: 30px 20px;

    border-bottom: 1px solid #ddd;
}

.header h1 {

    font-size: 32px;

    margin-bottom: 10px;
}

.header p {

    color: #666;

    font-size: 16px;
}


/* ANA CONTAINER */

.container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 30px 20px;
}


/* GRID */

.card-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 20px;
}


/* KART */

.card {

    background-color: white;

    border-radius: 12px;

    padding: 25px;

    text-align: center;

    text-decoration: none;

    color: #222;

    border: 1px solid #ddd;

    transition: 0.2s;
}

.card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 8px 20px rgba(0,0,0,0.1);
}


/* KLASÖR ICON */

.folder-icon {

    font-size: 60px;

    margin-bottom: 15px;
}


/* PROJECT CARD IMAGE */

.card-image {

    width: 100%;

    height: 180px;

    object-fit: cover;

    border-radius: 8px;

    margin-bottom: 15px;
}


.card h2 {

    font-size: 20px;

    margin-bottom: 5px;
}


.card p {

    color: #777;

    font-size: 14px;
}


/* BACK BUTTON */

.back-button {

    display: inline-block;

    margin-bottom: 20px;

    text-decoration: none;

    color: #333;

    font-weight: bold;
}


/* PROJECT DETAIL */

.project-detail {

    max-width: 900px;

    margin: auto;

    background-color: white;

    padding: 30px;

    border-radius: 15px;

    box-shadow:
        0 5px 20px rgba(0,0,0,0.08);
}


.project-detail h1 {

    text-align: center;

    font-size: 32px;

    margin-bottom: 5px;
}


.project-class {

    text-align: center;

    color: #777;

    margin-bottom: 30px;
}


/* PROJECT IMAGE */

.project-image-container {


    text-align: center;

    margin-bottom: 30px;
}


.project-image {

    max-width: 100%;

    height: auto;

    border-radius: 10px;
}


/* DESCRIPTION */

.project-description {


    margin-bottom: 35px;
}


.project-description h2 {

    margin-bottom: 10px;
}


.project-description p {

    line-height: 1.7;

    color: #555;
}


/* VIDEO */

.video-section h2 {

    margin-bottom: 15px;
}


.video-container {

    position: relative;

    width: 100%;

    padding-bottom: 56.25%;

    height: 0;

    overflow: hidden;

    border-radius: 10px;
}


.video-container iframe {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    border: none;
}

.download-container {
    margin-top: 20px;
    text-align: center;
}

.download-button {
    display: inline-block;

    padding: 12px 22px;

    background-color: #222;
    color: white;

    text-decoration: none;

    border-radius: 8px;

    font-size: 16px;
    font-weight: bold;

    transition: 0.2s;
}



.download-button:hover {

    background-color: #444;

    transform: translateY(-2px);
}

.download-button:active {
    transform: translateY(0);
}
/* MOBILE */

@media (max-width: 600px) {

    .header h1 {

        font-size: 26px;
    }

    .container {

        padding: 20px 15px;
    }

    .card-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 12px;
    }

    .card {

        padding: 15px;
    }

    .folder-icon {

        font-size: 45px;
    }

    .card-image {

        height: 120px;
    }

    .project-detail {

        padding: 20px;
    }

    .project-detail h1 {

        font-size: 25px;



    }

}


/* DOWNLOAD */

.download-container {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 30px;
}


/* PDF SECTION */

.document-section {
    margin-bottom: 35px;
}

.document-section h2 {
    margin-bottom: 15px;
}


/* PDF BUTTONS */

.document-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


.document-button,
.download-button {

    display: inline-block;

    padding: 12px 20px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: bold;

    font-size: 15px;

    background-color: #222;

    color: white;

    transition: 0.2s;
}


.document-button:hover,
.download-button:hover {

    background-color: #444;

    transform: translateY(-2px);
}


/* MOBILE */

@media (max-width: 600px) {

    .document-buttons {
        flex-direction: column;
    }


    .document-button,
    .download-button {
        width: 100%;
        text-align: center;
    }

}
