* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Baloo 2", sans-serif;
    background: #f7eddd;
    color: #2b211b;
}


/* =========================
   AÇILIŞ EKRANI
========================= */

.intro {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
    z-index: 999;
}

.background {
    position: absolute;
    inset: 0;

    background-image: url("assets/workshop.jpg");
    background-size: cover;
    background-position: center;

    transform: scale(1.05);

    animation: backgroundZoom 8s ease-in-out infinite alternate;
}

.overlay {
    position: absolute;
    inset: 0;

    background: rgba(255, 247, 232, 0.68);

    backdrop-filter: blur(3px);
}

.intro-content {
    position: relative;
    z-index: 2;

    text-align: center;

    animation: introAppear 1.2s ease forwards;
}

.title {
    line-height: 0.85;
    text-transform: uppercase;
    filter: drop-shadow(0 8px 5px rgba(0,0,0,0.18));
}

.maranqoz {
    display: flex;
    justify-content: center;

    font-size: clamp(55px, 9vw, 130px);
    font-weight: 800;
    letter-spacing: -5px;
}

.maranqoz span:nth-child(1) { color: #ff4b4b; }
.maranqoz span:nth-child(2) { color: #ffc928; }
.maranqoz span:nth-child(3) { color: #61d84b; }
.maranqoz span:nth-child(4) { color: #23c7df; }
.maranqoz span:nth-child(5) { color: #4f8cff; }
.maranqoz span:nth-child(6) { color: #ffcf3f; }
.maranqoz span:nth-child(7) { color: #ff9f3f; }
.maranqoz span:nth-child(8) { color: #e94bc8; }

.kids {
    display: flex;
    justify-content: center;

    font-size: clamp(60px, 10vw, 140px);
    font-weight: 800;
    letter-spacing: -4px;

    margin-top: 15px;
}

.kids span:nth-child(1) { color: #ff9c2e; }
.kids span:nth-child(2) { color: #ed4cc6; }
.kids span:nth-child(3) { color: #ffd329; }
.kids span:nth-child(4) { color: #24c8e8; }

.gaziantep {
    margin-top: 20px;

    font-size: clamp(25px, 4vw, 55px);
    font-weight: 800;
    letter-spacing: 5px;

    color: #ff6b35;
}

.welcome-text {
    margin-top: 35px;

    font-size: clamp(17px, 2vw, 25px);
    font-weight: 600;

    color: #493728;
}

.enter-button {
    margin-top: 30px;

    padding: 15px 32px;

    border: none;
    border-radius: 50px;

    background: #2b211b;
    color: white;

    font-family: inherit;
    font-size: 17px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.3s;
}

.enter-button span {
    margin-left: 10px;
    font-size: 22px;
}

.enter-button:hover {
    transform: scale(1.08);
    background: #ff713b;
}


/* =========================
   ANA SAYFA
========================= */

#main {
    display: none;
    opacity: 0;
}


/* NAVBAR */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    padding: 18px 6%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    z-index: 100;

    background: rgba(255, 249, 239, 0.82);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(43, 33, 27, 0.08);
}

.logo {
    font-size: 27px;
    font-weight: 800;

    letter-spacing: -1px;
}

.logo span {
    color: #ff713b;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 16px;

    text-decoration: none;
    color: #2b211b;

    font-size: 16px;
    font-weight: 700;

    border: 2px solid #ff9a62;
    border-radius: 14px;

    background: rgba(255, 154, 98, 0.12);

    transition: all 0.3s ease;
}

.nav-links a::after {
    display: none;
}

.nav-links a:hover {
    color: white;

    background: #ff713b;

    border-color: #ff713b;

    transform: translateY(-2px);

    box-shadow: 0 6px 15px rgba(255, 113, 59, 0.25);
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0;
    height: 3px;

    border-radius: 5px;

    background: #ff713b;

    transition: 0.3s;
}

.nav-links a:hover {
    color: #ff713b;
}

.nav-links a:hover::after {
    width: 100%;
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 140px 8%;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(247, 237, 221, 0.97) 0%,
            rgba(247, 237, 221, 0.87) 38%,
            rgba(247, 237, 221, 0.30) 100%
        ),
        url("assets/workshop.jpg");

    background-size: cover;
    background-position: center;
}

.hero::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -100px;
    bottom: -100px;

    border-radius: 50%;

    background: rgba(255, 113, 59, 0.16);
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 750px;
}

.small-title,
.section-label {
    color: #ff713b;

    font-weight: 800;
    letter-spacing: 3px;

    font-size: 15px;
}

.hero h1 {
    margin-top: 15px;

    font-size: clamp(55px, 7vw, 105px);
    line-height: 0.88;

    font-weight: 800;

    letter-spacing: -3px;
}

.hero h1::first-line {
    color: #2b211b;
}

.hero p {
    margin-top: 28px;

    max-width: 600px;

    font-size: 20px;
    line-height: 1.5;

    color: #59483b;
}

.hero-button {
    display: inline-flex;
    align-items: center;

    margin-top: 35px;

    padding: 16px 28px;

    border-radius: 50px;

    background: #2b211b;
    color: white;

    text-decoration: none;

    font-weight: 700;

    transition: 0.3s;
}

.hero-button:hover {
    background: #ff713b;
    transform: translateY(-4px);
}


/* =========================
   WORKSHOPLAR
========================= */

.workshops {
    position: relative;

    padding: 130px 8%;

    text-align: center;

    background: #fffaf2;

    overflow: hidden;
}

.workshops::before {
    content: "✦";

    position: absolute;

    top: 70px;
    left: 7%;

    font-size: 70px;

    color: #ffc928;

    transform: rotate(-15deg);
}

.workshops::after {
    content: "✦";

    position: absolute;

    right: 8%;
    bottom: 80px;

    font-size: 55px;

    color: #61d84b;

    transform: rotate(20deg);
}

.workshops h2,
.about h2,
.gallery h2,
.contact h2 {
    margin-top: 10px;

    font-size: clamp(42px, 6vw, 78px);

    line-height: 0.95;

    font-weight: 800;

    letter-spacing: -2px;
}

h2 span {
    color: #ff713b;
}

.workshop-cards {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    max-width: 1200px;

    margin: 65px auto 0;
}

.card {
    position: relative;

    padding: 45px 32px;

    min-height: 280px;

    border-radius: 28px;

    background: white;

    box-shadow: 0 15px 40px rgba(71, 48, 29, 0.09);

    border: 2px solid transparent;

    transition: 0.35s;
}

.card:nth-child(1) {
    border-color: #ffc928;
}

.card:nth-child(2) {
    border-color: #61d84b;
}

.card:nth-child(3) {
    border-color: #23c7df;
}

.card:hover {
    transform: translateY(-12px) rotate(-1deg);

    box-shadow: 0 25px 50px rgba(71, 48, 29, 0.14);
}

.card-icon {
    width: 80px;
    height: 80px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 25px;

    font-size: 42px;

    background: #fff2d5;
}

.card:nth-child(2) .card-icon {
    background: #e9f8df;
}

.card:nth-child(3) .card-icon {
    background: #e2f8fc;
}

.card h3 {
    margin-top: 22px;

    font-size: 28px;
}

.card p {
    margin-top: 10px;

    font-size: 17px;
    line-height: 1.5;

    color: #665548;
}


/* =========================
   ATÖLYEMİZ
========================= */

.about {
    position: relative;

    padding: 140px 15%;

    text-align: center;

    background: #2b211b;

    color: white;

    overflow: hidden;
}

.about::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -250px;
    left: -150px;

    border-radius: 50%;

    background: rgba(255, 201, 40, 0.08);
}

.about .section-label {
    color: #ffc928;
}

.about h2 span {
    color: #ff713b;
}

.about p:last-child {
    position: relative;

    max-width: 750px;

    margin: 35px auto 0;

    font-size: 20px;
    line-height: 1.7;

    color: #b17437;
}


/* =========================
   GALERİ
========================= */

.gallery {
    padding: 130px 8%;

    text-align: center;

    background: #f7eddd;
}

.gallery-placeholder {
    max-width: 1200px;

    margin: 55px auto 0;

    height: 430px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 30px;

    background:
        linear-gradient(
            rgba(255,255,255,0.55),
            rgba(255,255,255,0.55)
        ),
        url("assets/workshop.jpg");

    background-size: cover;
    background-position: center;

    border: 5px solid white;

    box-shadow: 0 20px 50px rgba(71, 48, 29, 0.12);

    font-size: 28px;

    color: #2b211b;
}


/* =========================
   İLETİŞİM
========================= */

.contact {
    position: relative;

    padding: 130px 10%;

    text-align: center;

    background: #ff713b;

    color: white;

    overflow: hidden;
}

.contact::before {
    content: "🪵";

    position: absolute;

    left: 8%;
    top: 40px;

    font-size: 80px;

    transform: rotate(-15deg);
}

.contact::after {
    content: "🔨";

    position: absolute;

    right: 8%;
    bottom: 40px;

    font-size: 75px;

    transform: rotate(15deg);
}

.contact .section-label {
    color: white;
}

.contact h2 span {
    color: #ffc928;
}

.contact p {
    position: relative;
    z-index: 2;

    max-width: 600px;

    margin: 30px auto;

    font-size: 20px;

    line-height: 1.5;
}

.contact button {
    position: relative;
    z-index: 2;

    padding: 17px 32px;

    border: none;
    border-radius: 50px;

    background: white;
    color: #2b211b;

    font-family: inherit;
    font-size: 17px;
    font-weight: 800;

    cursor: pointer;

    transition: 0.3s;
}

.contact button:hover {
    transform: scale(1.06);
}


/* =========================
   ANİMASYONLAR
========================= */

@keyframes introAppear {

    from {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

}

@keyframes backgroundZoom {

    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1.12);
    }

}


/* =========================
   MOBİL
========================= */

@media (max-width: 800px) {

    .navbar {
        padding: 15px 5%;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 120px 7%;
        background-position: 65% center;
    }

    .hero h1 {
        font-size: clamp(48px, 14vw, 75px);
    }

    .workshop-cards {
        grid-template-columns: 1fr;
    }

    .workshops,
    .gallery {
        padding: 100px 7%;
    }

    .about {
        padding: 100px 8%;
    }

    .gallery-placeholder {
        height: 300px;
    }

}/* =========================
   İLETİŞİM
========================= */

.contact {
    position: relative;

    padding: 130px 7%;

    background: #ff713b;

    color: white;

    overflow: hidden;
}

.contact::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    left: -250px;
    top: -250px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);
}

.contact::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -150px;
    bottom: -150px;

    border-radius: 50%;

    background: rgba(255, 201, 40, 0.18);
}


.contact-container {
    position: relative;

    z-index: 2;

    max-width: 1200px;

    margin: auto;
}


/* BAŞLIK */

.contact-header {
    text-align: center;

    max-width: 750px;

    margin: auto;
}

.contact-header .section-label {
    color: white;
}

.contact-header h2 {
    margin-top: 10px;

    font-size: clamp(45px, 6vw, 80px);

    line-height: 0.95;

    font-weight: 800;

    letter-spacing: -2px;
}

.contact-header h2 span {
    color: #ffc928;
}

.contact-header > p:last-child {
    margin-top: 25px;

    font-size: 19px;

    line-height: 1.6;

    color: rgba(255, 255, 255, 0.9);
}


/* KARTLAR */

.contact-cards {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

    margin-top: 60px;
}


.contact-card {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 25px 20px;

    border-radius: 22px;

    background: rgba(255, 255, 255, 0.14);

    border: 1px solid rgba(255, 255, 255, 0.25);

    color: white;

    text-decoration: none;

    backdrop-filter: blur(8px);

    transition: 0.3s;
}

.contact-card:hover {
    transform: translateY(-8px);

    background: rgba(255, 255, 255, 0.23);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}


.contact-icon {
    min-width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 17px;

    background: #ffc928;

    font-size: 26px;
}


.whatsapp-icon {
    background: #65d66d;
}

.instagram-icon {
    background: #ed72c1;
}

.location-icon {
    background: #5dc8ed;
}


.contact-card h3 {
    font-size: 20px;
}

.contact-card p {
    margin-top: 2px;

    font-size: 14px;

    color: rgba(255, 255, 255, 0.8);
}


/* ALT KISIM */

.contact-bottom {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

    margin-top: 70px;

    padding-top: 35px;

    border-top: 1px solid rgba(255, 255, 255, 0.25);
}


.contact-bottom strong {
    font-size: 22px;
}

.contact-bottom p {
    margin-top: 5px;

    color: rgba(255, 255, 255, 0.8);
}


.whatsapp-button {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 16px 28px;

    border-radius: 50px;

    background: white;

    color: #2b211b;

    text-decoration: none;

    font-weight: 800;

    transition: 0.3s;
}

.whatsapp-button:hover {
    transform: scale(1.06);

    background: #65d66d;

    color: white;
}


/* MOBİL */

@media (max-width: 900px) {

    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .contact {
        padding: 100px 6%;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-bottom {
        flex-direction: column;

        align-items: flex-start;
    }

    .contact-button-area {
        width: 100%;
    }

    .whatsapp-button {
        justify-content: center;

        width: 100%;
    }

}/* =========================
   VELİLER İÇİN GÜVEN
========================= */

.safety {
    position: relative;

    padding: 130px 8%;

    background: #f89900;

    overflow: hidden;
}


/* Dekoratif şekiller */

.safety::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    left: -150px;
    top: -100px;

    border-radius: 50%;

    background: rgba(60, 217, 32, 0.1);
}

.safety::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    right: -100px;
    bottom: -100px;

    border-radius: 50%;

    background: rgba(35, 199, 223, 0.10);
}


/* BAŞLIK */

.safety-header {
    position: relative;

    z-index: 2;

    max-width: 800px;

    margin: auto;

    text-align: center;
}

.safety-header h2 {
    margin-top: 12px;

    font-size: clamp(42px, 6vw, 75px);

    line-height: 0.95;

    font-weight: 800;

    letter-spacing: -2px;
}

.safety-header h2 span {
    display: block;

    color: #ff713b;
}

.safety-header > p:last-child {
    max-width: 680px;

    margin: 28px auto 0;

    font-size: 19px;

    line-height: 1.6;

    color: #665548;
}


/* KARTLAR */

.safety-cards {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    max-width: 1250px;

    margin: 65px auto 0;
}


.safety-card {
    padding: 35px 25px;

    min-height: 300px;

    background: white;

    border-radius: 28px;

    text-align: center;

    border: 2px solid #ff9100;

    box-shadow: 0 12px 35px rgba(130, 88, 53, 0.07);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* Kart renkleri */

.safety-card:nth-child(1) {
    border-top: 5px solid #ff4b4b;
}

.safety-card:nth-child(2) {
    border-top: 5px solid #ffc928;
}

.safety-card:nth-child(3) {
    border-top: 5px solid #23c7df;
}

.safety-card:nth-child(4) {
    border-top: 5px solid #26ff00;
}


.safety-card:hover {
    transform: translateY(-10px);

    box-shadow: 0 25px 50px rgba(71, 48, 29, 0.12);
}


/* İKON */

.safety-icon {
    width: 75px;
    height: 75px;

    margin: 0 auto 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 23px;

    background: #ffae00;

    font-size: 38px;
}

.safety-card:nth-child(2) .safety-icon {
    background: #ffd500;
}

.safety-card:nth-child(3) .safety-icon {
    background: #00d9ff;
}

.safety-card:nth-child(4) .safety-icon {
    background: #66ff00;
}


/* YAZILAR */

.safety-card h3 {
    font-size: 23px;

    line-height: 1.1;
}

.safety-card p {
    margin-top: 13px;

    font-size: 16px;

    line-height: 1.55;

    color: #e67315;
}


/* MOBİL */

@media (max-width: 1000px) {

    .safety-cards {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .safety {
        padding: 100px 6%;
    }

    .safety-cards {
        grid-template-columns: 1fr;
    }

    .safety-card {
        min-height: auto;
    }

}/* =========================
   GALERİ
========================= */

.gallery {
    padding: 130px 7%;

    background: #f7eddd;
}

.gallery-header {
    max-width: 750px;

    margin: auto;

    text-align: center;
}

.gallery-header h2 {
    margin-top: 10px;

    font-size: clamp(42px, 6vw, 78px);

    line-height: 0.95;

    font-weight: 800;

    letter-spacing: -2px;
}

.gallery-header h2 span {
    color: #ff713b;
}

.gallery-header > p:last-child {
    margin-top: 25px;

    font-size: 19px;

    line-height: 1.6;

    color: #665548;
}


/* FOTOĞRAFLAR */

.gallery-grid {
    max-width: 1250px;

    margin: 60px auto 0;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.gallery-item {
    position: relative;

    height: 330px;

    overflow: hidden;

    border-radius: 25px;

    background: #dfcdb5;

    cursor: pointer;

    box-shadow: 0 12px 30px rgba(71, 48, 29, 0.10);

    transition: 0.35s;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(5) {
    height: 420px;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.5s ease;
}

.gallery-item::after {
    content: "🔍";

    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%) scale(0.5);

    opacity: 0;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,0.9);

    font-size: 25px;

    transition: 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover::after {
    opacity: 1;

    transform: translate(-50%, -50%) scale(1);
}

.gallery-item:hover {
    box-shadow: 0 20px 45px rgba(71, 48, 29, 0.18);
}


/* =========================
   FOTOĞRAF LIGHTBOX
========================= */

.lightbox {
    position: fixed;

    inset: 0;

    z-index: 2000;

    display: none;

    align-items: center;
    justify-content: center;

    background: rgba(25, 18, 13, 0.92);

    backdrop-filter: blur(8px);
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 85vw;
    max-height: 85vh;

    object-fit: contain;

    border-radius: 15px;

    box-shadow: 0 20px 70px rgba(0,0,0,0.4);
}


/* KAPAT */

.lightbox-close {
    position: absolute;

    top: 25px;
    right: 35px;

    width: 55px;
    height: 55px;

    border: none;

    border-radius: 50%;

    background: rgba(255,255,255,0.15);

    color: white;

    font-size: 40px;

    line-height: 1;

    cursor: pointer;

    transition: 0.3s;
}

.lightbox-close:hover {
    background: #ff713b;

    transform: rotate(90deg);
}


/* SOL / SAĞ */

.lightbox-prev,
.lightbox-next {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 60px;
    height: 60px;

    border: none;

    border-radius: 50%;

    background: rgba(255,255,255,0.15);

    color: white;

    font-size: 45px;

    line-height: 1;

    cursor: pointer;

    transition: 0.3s;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: #ff713b;
}


/* MOBİL */

@media (max-width: 850px) {

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item,
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(5) {
        height: 280px;
    }

}

@media (max-width: 550px) {

    .gallery {
        padding: 100px 6%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item,
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(5) {
        height: 300px;
    }

    .lightbox img {
        max-width: 92vw;
        max-height: 75vh;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

}/* =========================
   OKUL GRUP WORKSHOPLARI
========================= */

.school-workshops {
    position: relative;

    padding: 130px 7%;

    background: #fffaf2;

    overflow: hidden;
}


/* Dekoratif şekiller */

.school-workshops::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    left: -180px;
    top: 100px;

    border-radius: 50%;

    background: rgba(255, 201, 40, 0.12);
}

.school-workshops::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -150px;
    bottom: 50px;

    border-radius: 50%;

    background: rgba(35, 199, 223, 0.10);
}


/* BAŞLIK */

.school-header {
    position: relative;

    z-index: 2;

    max-width: 850px;

    margin: auto;

    text-align: center;
}

.school-header h2 {
    margin-top: 10px;

    font-size: clamp(42px, 6vw, 76px);

    line-height: 0.95;

    font-weight: 800;

    letter-spacing: -2px;
}

.school-header h2 span {
    color: #ff713b;
}

.school-header > p:last-child {
    max-width: 750px;

    margin: 30px auto 0;

    font-size: 19px;

    line-height: 1.65;

    color: #665548;
}


/* FOTOĞRAFLAR */

.school-gallery {
    position: relative;

    z-index: 2;

    max-width: 1200px;

    margin: 60px auto 0;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.school-photo {
    height: 350px;

    overflow: hidden;

    border-radius: 28px;

    background: #dfcdb5;

    border: 5px solid white;

    box-shadow:
        0 15px 40px rgba(71, 48, 29, 0.10);

    transition: 0.35s;
}

.school-photo:nth-child(2) {
    transform: translateY(25px);
}

.school-photo:hover {
    transform: translateY(-8px) rotate(-1deg);

    box-shadow:
        0 25px 50px rgba(71, 48, 29, 0.16);
}

.school-photo:nth-child(2):hover {
    transform: translateY(17px) rotate(1deg);
}

.school-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: 0.5s;
}

.school-photo:hover img {
    transform: scale(1.07);
}


/* ALT BİLGİLER */

.school-bottom {
    position: relative;

    z-index: 2;

    max-width: 1100px;

    margin: 85px auto 0;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.school-feature {
    padding: 25px;

    text-align: center;

    border-radius: 22px;

    background: white;

    border: 2px solid #f0e4d4;
}

.school-feature span {
    display: block;

    font-size: 35px;

    margin-bottom: 8px;
}

.school-feature strong {
    display: block;

    font-size: 21px;
}

.school-feature p {
    margin-top: 5px;

    color: #766557;

    font-size: 15px;
}


/* MOBİL */

@media (max-width: 850px) {

    .school-gallery {
        grid-template-columns: 1fr;
    }

    .school-photo,
    .school-photo:nth-child(2) {
        height: 320px;

        transform: none;
    }

    .school-photo:hover,
    .school-photo:nth-child(2):hover {
        transform: translateY(-5px);
    }

    .school-bottom {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .school-workshops {
        padding: 100px 6%;
    }

    .school-photo {
        height: 280px;
    }

}/* =========================
   SCROLL ANIMASYONLARI
========================= */

.reveal {
    opacity: 0;
    transform: translateY(50px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* Kartlar sırayla gelsin */

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}/* =========================
   MOBİL MENÜ
========================= */

.menu-toggle {
    display: none;

    border: none;

    background: transparent;

    color: #2b211b;

    font-size: 32px;

    cursor: pointer;

    padding: 5px;

    z-index: 1001;
}


/* TABLET / TELEFON */

@media (max-width: 850px) {

    .navbar {
        position: relative;

        padding: 18px 6%;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;

        top: 100%;

        left: 0;

        width: 100%;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px 6% 20px;

        background: rgba(255, 250, 242, 0.98);

        backdrop-filter: blur(15px);

        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.10);

        opacity: 0;

        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity 0.3s ease,
            transform 0.3s ease,
            visibility 0.3s ease;

        z-index: 1000;
    }

    .nav-links.active {
        opacity: 1;

        visibility: visible;

        transform: translateY(0);
    }

    .nav-links a {
        line-height: 1.3;
        
        display: block;

        width: 100%;

        padding: 15px 10px;

        border-bottom: 1px solid rgba(43, 33, 27, 0.08);

        font-size: 17px;
        
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

}/* =========================
   KURSLAR POPUP
========================= */

.courses-overlay {
    position: fixed;

    inset: 0;

    z-index: 2500;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(43, 33, 27, 0.72);

    backdrop-filter: blur(7px);
}

.courses-overlay.active {
    display: flex;
}


.courses-popup {
    position: relative;

    width: 100%;
    max-width: 1250px;
    max-height: 90vh;

    overflow-y: auto;

    padding: 55px 45px 45px;

    border-radius: 30px;

    background: #6e3535;

    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);

    animation: coursesPopupOpen 0.35s ease;
}


/* KAPATMA BUTONU */

.courses-close {
    position: absolute;

    top: 18px;
    right: 20px;

    width: 48px;
    height: 48px;

    border: none;

    border-radius: 50%;

    background: #b4988d;

    color: rgb(228, 79, 79);

    font-family: inherit;

    font-size: 32px;

    line-height: 1;

    cursor: pointer;

    transition: 0.3s;

    z-index: 5;
}

.courses-close:hover {
    background: #433024;

    transform: rotate(90deg);
}


/* BAŞLIK */

.courses-header {
    max-width: 700px;

    margin: 0 auto;

    text-align: center;
}

.courses-header h2 {
    margin-top: 8px;

    font-size: clamp(40px, 5vw, 65px);

    line-height: 0.95;

    font-weight: 800;
}

.courses-header > p:last-child {
    margin-top: 18px;

    font-size: 17px;

    color: #ff6f00;
}


/* KUTULAR */

.course-card {
    height: 310px;

    cursor: pointer;

    perspective: 1000px;
}

.course-card-inner {
    position: relative;

    width: 100%;
    height: 100%;

    transition: transform 0.7s ease;

    transform-style: preserve-3d;
}

.course-card.flipped .course-card-inner {
    transform: rotateY(180deg);
}


/* ÖN VE ARKA */

.course-card-front,
.course-card-back {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    padding: 12px;

    border-radius: 22px;

    background: white;

    border: 2px solid transparent;

    box-shadow: 0 10px 30px rgba(71, 48, 29, 0.10);

    backface-visibility: hidden;

    -webkit-backface-visibility: hidden;
}


/* ÖN TARAF */

.course-card-front {
    display: flex;

    flex-direction: column;

    justify-content: flex-start;
}

.course-card-front h3 {
    padding: 16px 5px 10px;

    font-size: 21px;

    line-height: 1.1;
}


/* ARKA TARAF */

.course-card-back {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    transform: rotateY(180deg);

    padding: 30px;
}

.course-card-back h3 {
    font-size: 27px;

    color: #ff713b;

    line-height: 1.1;
}

.course-card-back p {
    margin-top: 18px;

    font-size: 16px;

    line-height: 1.55;

    color: #665548;
}

.course-card-back span {
    margin-top: 22px;

    font-size: 13px;

    font-weight: 700;

    color: #ff713b;
}/* =========================
   KURSLAR - 4 KÜÇÜK KUTU
========================= */

.course-cards {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;

    width: 100%;
    max-width: 1100px;

    margin: 35px auto 0;
}

.course-card {
    width: 100% !important;
    height: 230px !important;

    position: relative;
    perspective: 1000px;
}

.course-card-inner {
    width: 100%;
    height: 100%;

    position: relative;

    transform-style: preserve-3d;

    transition: transform 0.7s ease;
}

.course-card.flipped .course-card-inner {
    transform: rotateY(180deg);
}

.course-card-front,
.course-card-back {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border-radius: 18px;

    overflow: hidden;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.course-card-front {
    background: white;
}

.course-image {
    width: 100% !important;
    height: 175px !important;

    overflow: hidden;
}

.course-image img {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover;
}

.course-card-front h3 {
    height: 55px;

    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 5px;

    font-size: 18px;

    text-align: center;
}

.course-card-back {
    transform: rotateY(180deg);

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    padding: 20px;

    text-align: center;

    background: white;
}

.course-card-back h3 {
    font-size: 21px;
}

.course-card-back p {
    margin-top: 10px;

    font-size: 14px;

    line-height: 1.4;
}


/* TABLET */

@media (max-width: 900px) {

    .course-cards {
        grid-template-columns: repeat(2, 1fr) !important;
    }

}


/* TELEFON */

@media (max-width: 550px) {

    .course-cards {
        grid-template-columns: 1fr !important;
    }

}.course-card-front {
    display: flex;
    flex-direction: column;
}

.course-card-front h3 {
    display: flex !important;
    align-items: center;
    justify-content: center;

    height: 55px !important;
    margin: 0 !important;
    padding: 5px;

    font-size: 20px !important;
    font-weight: 800;

    color: #2b211b !important;
    background: white;
}