/* =========================================
   CAHİT ARF EĞİTİM KURUMLARI
   Homepage
   ========================================= */


/* -----------------------------------------
   BASIC RESET
   ----------------------------------------- */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;
}

body {
    background: #000000;

    overflow: hidden;

    font-family: Arial, Helvetica, sans-serif;
}


/* -----------------------------------------
   APPLICATION
   ----------------------------------------- */

#app {
    width: 100vw;
    height: 100vh;

    position: relative;

    margin: 0;
    padding: 0;
}
.content-screen {
    display: none;
}


/* -----------------------------------------
   HOMEPAGE
   ----------------------------------------- */

#home-screen {
    position: fixed;

    left: 0;
    top: 0;

    width: 100vw;
    height: 100vh;

    margin: 0;
    padding: 0;

    overflow: hidden;
}


/* -----------------------------------------
   HOMEPAGE IMAGE
   ----------------------------------------- */

.homepage-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: fill;

    margin: 0;
    padding: 0;

    user-select: none;

    -webkit-user-drag: none;

    pointer-events: none;
}
/* -----------------------------------------
   INVISIBLE HOMEPAGE HOTSPOTS
   ----------------------------------------- */

.hotspot {
    position: absolute;

    z-index: 10;

    display: block;

    background: transparent;

    border: none;

    outline: none;

    cursor: pointer;

    -webkit-tap-highlight-color: transparent;
}


/* -----------------------------------------
   FIRST ROW HOTSPOTS
   ----------------------------------------- */

.hotspot-kadro {
    left: 2.9%;
    top: 44.4%;

    width: 22.9%;
    height: 15.2%;
}


.hotspot-yayinlar {
    left: 25.1%;
    top: 44.4%;

    width: 22.9%;
    height: 15.2%;
}


.hotspot-fiyatlar {
    left: 47.8%;
    top: 44.4%;

    width: 22.9%;
    height: 15.2%;
}


.hotspot-programlar {
    left: 70.1%;
    top: 44.4%;

    width: 22.9%;
    height: 15.2%;
}/* -----------------------------------------
   SECOND ROW HOTSPOTS
   ----------------------------------------- */

.hotspot-deneme {
    left: 2.9%;
    top: 60.3%;

    width: 22.9%;
    height: 15.2%;
}


.hotspot-basarilar {
    left: 25.1%;
    top: 60.3%;

    width: 22.9%;
    height: 15.2%;
}


.hotspot-kocluk {
    left: 47.8%;
    top: 60.3%;

    width: 22.9%;
    height: 15.2%;
}


.hotspot-fiziki {
    left: 70.1%;
    top: 60.3%;

    width: 22.9%;
    height: 15.2%;
}


/* -----------------------------------------
   THIRD ROW HOTSPOTS
   ----------------------------------------- */

.hotspot-tarihce {
    left: 2.9%;
    top: 76.1%;

    width: 22.9%;
    height: 15.2%;
}


.hotspot-kantin {
    left: 25.1%;
    top: 76.1%;

    width: 22.9%;
    height: 15.2%;
}


.hotspot-teknoloji {
    left: 47.8%;
    top: 76.1%;

    width: 22.9%;
    height: 15.2%;
}


.hotspot-tanitim {
    left: 70.1%;
    top: 76.1%;

    width: 22.9%;
    height: 15.2%;
}
/* =========================================
   KADRO SCREEN
========================================= */

#kadro-screen {
    position: fixed;
    inset: 0;

    width: 100vw;
    height: 100vh;

    background: #f7f7f7;

    overflow-y: auto;
    overflow-x: hidden;

    display: none;

    padding: 50px 5vw 80px;
}


/* -----------------------------------------
   KADRO HEADER
----------------------------------------- */

.screen-header {
    text-align: center;

    margin-bottom: 45px;
}

.screen-header h1 {
    margin: 0;

    color: #8f101b;

    font-size: clamp(32px, 4vw, 60px);
    font-weight: 800;

    letter-spacing: 1px;
}

.screen-header p {
    margin: 10px 0 0;

    color: #444;

    font-size: clamp(16px, 1.5vw, 24px);
}


/* -----------------------------------------
   TEACHER GRID
----------------------------------------- */

.teacher-grid {
    width: 100%;
    max-width: 1500px;

    margin: 0 auto;

    display: grid;

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

    gap: 28px;
}


/* -----------------------------------------
   TEACHER CARD
----------------------------------------- */

.teacher-card {
    background: #ffffff;

    border-radius: 16px;

    overflow: hidden;

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

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

    text-align: center;
}

.teacher-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.18);
}


/* -----------------------------------------
   TEACHER IMAGE
----------------------------------------- */

.teacher-photo {
    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #eeeeee;
}

.teacher-photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    margin: 0;
    padding: 0;

    user-select: none;

    -webkit-user-drag: none;
}


/* -----------------------------------------
   TEACHER INFORMATION
----------------------------------------- */

.teacher-card h2 {
    margin: 18px 15px 6px;

    color: #8f101b;

    font-size: clamp(18px, 1.5vw, 25px);

    font-weight: 800;
}

.teacher-card p {
    margin: 0 15px 20px;

    color: #444;

    font-size: clamp(14px, 1.1vw, 18px);

    font-weight: 600;
}


/* -----------------------------------------
   SPECIAL POSITIONS
----------------------------------------- */

.teacher-card.manager {
    border-top: 6px solid #8f101b;
}


/* -----------------------------------------
   BACK BUTTON
----------------------------------------- */

.back-button {
    display: block;

    margin: 45px auto 0;

    padding: 14px 30px;

    border: none;
    border-radius: 10px;

    background: #8f101b;
    color: #ffffff;

    font-size: 17px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.back-button:hover {
    background: #6f0c15;

    transform: translateY(-2px);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .teacher-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


@media (max-width: 750px) {

    #kadro-screen {
        padding: 35px 20px 60px;
    }

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

        gap: 18px;
    }

}


@media (max-width: 500px) {

    .teacher-grid {
        grid-template-columns: 1fr;
    }

    .teacher-photo {
        aspect-ratio: 16 / 9;
    }

}
/* =========================================
   FULLSCREEN PROFILE IMAGE
   ========================================= */

body.fullscreen-open {
    overflow: hidden;
}


/* Fullscreen viewer */

#fullscreen-viewer {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.96);
}


/* Dark background */

.fullscreen-backdrop {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.96);
}


/* Fullscreen profile image */

.fullscreen-image {
    position: relative;
    z-index: 2;

    max-width: 96vw;
    max-height: 94vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 8px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6);

    user-select: none;
    -webkit-user-drag: none;
}


/* Close button */

.fullscreen-close {
    position: absolute;

    top: 25px;
    right: 30px;

    z-index: 10;

    width: 52px;
    height: 52px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.15);

    color: white;

    font-size: 38px;
    line-height: 45px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.3);

    transform: scale(1.08);
}


/* Mobile */

@media (max-width: 768px) {

    .fullscreen-image {
        max-width: 98vw;
        max-height: 90vh;
    }

    .fullscreen-close {
        top: 15px;
        right: 15px;

        width: 46px;
        height: 46px;

        font-size: 32px;
    }

}
/* =========================================
   FİZİKİ İMKANLAR
   ========================================= */

#fiziki-screen {
    display: none;

    width: 100%;
    min-height: 100vh;

    box-sizing: border-box;

    padding-bottom: 100px;
}


/* =========================================
   FİZİKİ GALLERY
   ========================================= */

.fiziki-gallery {

    width: 92%;

    max-width: 1500px;

    margin: 30px auto 50px;

    display: grid;

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

    gap: 24px;

}


/* =========================================
   PHOTO CARD
   ========================================= */

.fiziki-photo {

    position: relative;

    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    border-radius: 14px;

    background: #eeeeee;

    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.12);

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


.fiziki-photo:hover {

    transform: translateY(-5px);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.20);

}


.fiziki-photo img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    user-select: none;

    -webkit-user-drag: none;

    transition:
        transform 0.35s ease;

}


.fiziki-photo:hover img {

    transform: scale(1.04);

}


/* =========================================
   FULLSCREEN IMAGE
   ========================================= */

body.fullscreen-open {

    overflow: hidden;

}


#fullscreen-viewer {

    position: fixed;

    inset: 0;

    width: 100vw;

    height: 100vh;

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

}


.fullscreen-backdrop {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    background:
        rgba(0, 0, 0, 0.96);

}


.fullscreen-image {

    position: relative;

    z-index: 2;

    max-width: 96vw;

    max-height: 94vh;

    width: auto;

    height: auto;

    object-fit: contain;

    border-radius: 8px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6);

    user-select: none;

    -webkit-user-drag: none;

}


/* =========================================
   CLOSE BUTTON
   ========================================= */

.fullscreen-close {

    position: absolute;

    top: 25px;

    right: 30px;

    z-index: 10;

    width: 52px;

    height: 52px;

    border: none;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.15);

    color: white;

    font-size: 38px;

    line-height: 45px;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition:
        background 0.2s ease,
        transform 0.2s ease;

}


.fullscreen-close:hover {

    background:
        rgba(255, 255, 255, 0.3);

    transform: scale(1.08);

}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1100px) {

    .fiziki-gallery {

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

    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

    .fiziki-gallery {

        width: 94%;

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

        gap: 14px;

    }


    .fullscreen-image {

        max-width: 98vw;

        max-height: 90vh;

    }


    .fullscreen-close {

        top: 15px;

        right: 15px;

        width: 46px;

        height: 46px;

        font-size: 32px;

    }

}
/* =================================
   BAŞARILARIMIZ
================================= */

#basarilar-screen {
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    text-align: center;
}

#basarilar-screen .basarilar-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px auto 30px;
}

#basarilar-screen .basarilar-tab {
    min-width: 180px;
    padding: 14px 35px;
    border: none;
    border-radius: 10px;
    background: #8f0d16;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}

#basarilar-screen .basarilar-content {
    display: none;
}

#basarilar-screen .basarilar-content.active {
    display: block;
}

#basarilar-screen .basarilar-content h2 {
    margin: 10px 0 25px;
    font-size: 28px;
    color: #8f0d16;
}

#basarilar-screen .basarilar-gallery {
    width: min(94vw, 1500px);
    margin: 0 auto;
    padding: 10px 0 30px;
}

#basarilar-screen .basarilar-poster {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 0 auto 30px;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
}

#basarilar-screen .back-button {
    margin-bottom: 40px;
}
/* =========================================
   ETKİNLİKLERİMİZ - MEDIA GALLERY
   ========================================= */

#fiyatlar-screen .etkinlikler-gallery {
    width: 90%;
    max-width: 1400px;
    margin: 20px auto 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

#fiyatlar-screen .etkinlikler-gallery img,
#fiyatlar-screen .etkinlikler-gallery video {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
    cursor: pointer;
}
/* =========================================================
   TEKNOLOJİK İMKANLAR
   ========================================================= */

#teknoloji-screen {
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    text-align: center;
}

#teknoloji-screen .teknoloji-gallery {
    width: 90%;
    max-width: 1400px;
    margin: 35px auto 45px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

#teknoloji-screen .teknoloji-card {
    min-height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            rgba(7, 35, 58, 0.97),
            rgba(15, 63, 91, 0.92)
        );
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
    cursor: pointer;
    box-sizing: border-box;
}

#teknoloji-screen .teknoloji-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.7);
}

#teknoloji-screen .teknoloji-card-content {
    padding: 30px 20px;
}

#teknoloji-screen .teknoloji-card h2 {
    margin: 0 0 15px;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

#teknoloji-screen .teknoloji-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

#teknoloji-screen .teknoloji-yakinda {
    cursor: default;
    opacity: 0.75;
}

#teknoloji-screen .teknoloji-yakinda:hover {
    transform: none;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}
#teknoloji-screen .teknoloji-photo-card {
    padding: 0;
    overflow: hidden;
}

#teknoloji-screen .teknoloji-photo {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
    display: block;
}

#teknoloji-screen .teknoloji-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #b5121b;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

#teknoloji-screen .teknoloji-login-label {
    display: inline-block;
    margin-top: 18px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
}
.hotspot-iletisim {
    left: 30.0%;
    top: 92.0%;
    width: 31.8%;
    height: 5.2%;
}