@import url("switch.css");
@import url("font.css");


:root{
    --m-en-container-px: 1200;
    --m-en-color-primary: #003418;
    --m-en-color-secondary: #4A6700;
    --m-en-color-tertiary: #F3F4F5;
    --m-en-color-body : #F5F3EE;
    --m-en-color-okey: #22c55e;
    --m-en-color-fail: #ef4444;
    --m-en-color-info: #3b82f6;
    --m-en-color-warning: #f59e0b;
    --m-en-color-danger: #dc2626;
    --m-en-color-alert: #f97316;
    --m-en-color-err: #fb7185;
    --m-en-color-0: white;
    --m-en-color-1: black;
    --m-en-color-2: #0d65b1;
    --m-en-color-3: rgba(101, 108, 133, .91);
    --m-en-color-4: rgba(101, 108, 133, .11);
    --m-en-color-5: #F8F9FA;
    --m-en-color-6: #5d7152;
    --m-en-color-7: #e8e8e8;
    --m-en-color-8: #62676A;
    --m-en-color-9: #E1E3E4;
    --m-en-font-family-1: 'Open Sans';
    --m-en-font-family-2: 'Montserrat';
    --m-en-font-family-3: arial;
    --m-en-font-family-4: sans-serif;
    --m-en-font-family-5: verdana;
    --m-en-font-family-6: verdana;
    --m-en-font-family-7: cursive;
    --m-en-font-family-8: monospace;
    --m-en-font-family-9: helvetica;
}

a{
    color: inherit;
}

textarea{
    resize: vertical;
}

[g64]{ gap: 64px; }

[g40]{ gap: 40px; }

[g32]{ gap: 32px; }

[g24]{ gap: 24px; }

[g16]{ gap: 16px; }

[g8]{ gap: 8px; }

[py32]{ padding: 32px 0; }

[py64]{ padding: 64px 0; }

html{
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background-color: var(--m-en-color-body);
}

::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: var(--m-en-color-secondary);
}

:focus:not(#lightbox *) {
    outline: 1px solid var(--m-en-color-secondary);
}

.l--ightbox{
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
}

:is([hover], a[href], a[id], button, [btn], label[for], input[type=submit], input[type=reset], [onclick], [tabindex]):hover:not([no-hover]):not(:disabled) {
    transition-timing-function: ease;
    scale: 1.02;
    cursor: pointer;
}

[hoi="2"] > *, [ho="2"]{
    will-change: unset !important;
    scale: unset !important;
    &:hover{cursor: pointer;}
}

button {
    font-family: var(--m-en-font-family-1);
}

#header {
    position: sticky;
    top: 0;
    z-index: 30;
    
    transition: transform 0.3s ease;
    
    &.is-hidden {
        transform: translateY(-100%);
    }
}

#footer {
    border-top: 1px solid rgba(192, 201, 190, 0.30);
}

[hide]{ display: none !important; }


.USTMENU{
    *{ display: flex; }
    
    >ul{
        gap: 32px;
        align-items: center;
        flex-wrap: wrap;
        list-style: none;
        
        >li{
            
            >a{
                color: #404941;
                font-size: 14px;
                font-weight:600;
                text-transform: uppercase;
            }  
            
            &[active]{
                border-bottom: 2px #4A6700 solid;
                
                a{
                    color: #003418;
                    font-weight: 700;
                    line-height: 24px;
                }
            }
        }
    }
}



.ALTMENU{
    *{ display: flex; }
    
    > ul{
        flex-direction: column;
        list-style: none;
        gap: 8px;
        
        >li{
            padding-top: 0;
            
            a{
                color: #404941;
                line-height: 24px;
            }
        }
    }
}


#mobil-menu {

    .hamburger {
        position: relative;

        width: 46px;
        height: 46px;
        padding: 0;

        cursor: pointer;

        display: flex;
        align-items: center;
        justify-content: center;

        border: 0;
        background: transparent;

        z-index: 10;
        
        span{
            position: absolute;
            left: 50%;

            width: 24px;
            height: 2px;

            background: var(--m-en-color-secondary);
            border-radius: 10px;

            transform: translateX(-50%);

            transition:
                top .3s ease,
                transform .3s ease,
                opacity .2s ease;
                
            &:nth-child(1){
                top: 14px;
            }
            
            &:nth-child(2){
                top: 22px;
            }
            
            &:nth-child(3){
                top: 30px;
            }
        }
        
        &:hover{
            filter: brightness(1.55);
        }
        
        &.active{
            span{
                &:nth-child(1){
                    top: 22px;
                    transform: translateX(-50%) rotate(45deg);
                }
                
                &:nth-child(2){
                    opacity: 0;
                }
                
                &:nth-child(3){
                    top: 22px;
                    transform: translateX(-50%) rotate(-45deg);
                }
            }
            
            +.mobil-icerik{
                opacity: 1;
                visibility: visible;
                pointer-events: auto;

                transform: translateY(0);

                max-height: 80vh;

                padding: 18px 20px;

                transition:
                    opacity .25s ease,
                    transform .3s cubic-bezier(.22, 1, .36, 1),
                    max-height .4s cubic-bezier(.22, 1, .36, 1),
                    visibility 0s;
            }
            
        }
    }

    .mobil-icerik{
        position: absolute;
        top: calc( 100% + 5px );
        left: 0;
        right: 0;
        margin: 0 auto;
        background: #fff;

        border-radius: 12px;

        box-shadow: 0 12px 30px rgba(0, 0, 0, .10);
        padding: 0;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-12px);
        max-height: 0;

        overflow: hidden;

        transition:
            opacity .25s ease,
            transform .3s cubic-bezier(.22, 1, .36, 1),
            max-height .4s cubic-bezier(.22, 1, .36, 1),
            visibility 0s linear .4s;
        
        .USTMENU{ 
            &, & > *{ all: unset;}
            
            >ul{
                margin: 0;
                padding: 0;
                list-style: none;
                display: flex;
                flex-direction: column;
                
                >li{
                    margin: 0;
                    padding: 0;
                    
                    a{
                        display: flex;
                        align-items: center;

                        min-height: 46px;
                        padding: 10px 12px;
                        color: #222;
                        text-decoration: none;
                        border-radius: 8px;

                        transition: background-color .2s ease, color .2s ease, padding-left .2s ease;
                        
                        &:hover{
                            background: rgba(0, 0, 0, .045);
                            color: var(--m-en-color-secondary);
                            padding-left: 17px;
                        }
                    }
                }
            }
        }
    }

}

#headertext {
    display: block;
    opacity: 1;
    transform: translateY(0);
    transition: transform 450ms cubic-bezier(0.65, 0, 0.35, 1), opacity 450ms ease;
    
    &.is-changing {
        opacity: 0;
        transform: translateY(-100%);
    }

    &.is-entering {
        opacity: 0;
        transform: translateY(100%);
    }
    
    &.no-transition {
        transition: none !important;
    }
    
    @media(max-width: 520px){
        display: none;
    }
}

/*
#mobil-overlay {
    backdrop-filter: blur(15px);
    position: fixed !important;
    
    > *:first-child{
        min-width: 250px;
    }
}

#menu-bar:hover {
    cursor: pointer;
}
*/

@media(min-width:700px) {
    #content {
        min-height: 51vh;
    }
}

.input {
    border: 1px solid var(--m-en-color-tertiary);
    height: 2rem;
    border-radius: 4px;
    margin-right: 8px;
}

.i1 {
    border-top: 0;
    border-right: 0;
    border-left: 0;
}

.ARAMASONUC {
    width: 1200px;
    max-width: 100%;
    padding: var(--s);
    
    a{
        font-weight: bold;
        text-decoration: underline;
        font-size: 18px;
    }
    
    p{
        padding: calc(var(--s) / 2);
    }
    
    #Label{
        &:hover{
            background: var(--m-en-color-4);
            scale: 1.01;
        }
    }
    
    #Error{
        color: var(--m-en-color-alert);
    }
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4;
    }

    to {
        opacity: 1;
    }
}

[switch] {
    --size: 16px;
    --space: min(calc(var(--size) * .15), 6px);
    --c-check: var(--m-en-color-secondary);
    --c-back: var(--m-en-color-9);
    --c-thumb: var(--m-en-color-1);
    --c-thumb-check: var(--m-en-color-0);
}


/* breadcrumb olacak mı?? */
.breadcrumbmenu {
    padding-left: 2rem;
    
    a::before{
        content: '>';
        padding: 0 8px;
    }
    
    a:first-child{
        position: relative;
        
        &::before{
            content: url("https://placehold.co/16x16");
            position: absolute;
            margin-left: -2rem;
            top: -2px;
        }
    }
}

.anasayfa-banner{
    background: linear-gradient(0deg, #f8f9fa 0, rgba(248, 249, 250, .8) 50%, rgba(248, 249, 250, 0) 100%);
    
    @media(max-width: 800px){
        height: unset;
    }
}

.anasayfa-tarihce{
    >div{
        >img{ max-width: 500px; }
        @media(max-width: 1000px){
            gap: 16px;
            
            >.tarihce-info{ gap: 16px; }
        }
    }
    
}

.kurumsal-banner{
    background: url('/Userfiles/p/i/kurumsal/okulumuz.png') no-repeat center / cover;
    background-position-y: 75%;
    
    @media(max-width: 800px){
        height: 350px;
    }
}

.kurumsal-tarihce{
    >div{
        >img{ max-width: 500px; }
        
        @media(max-width: 1000px){
            gap: 16px;
        }
    }
    
}

.okulumuz-banner{
    background: url('/Userfiles/p/i/kurumsal/okulumuz.png') no-repeat center / cover;
    background-position-y: 75%;
    
    @media(max-width: 800px){
        height: 350px;
    }
}

.branslar-grid{
    
    @media(max-width: 900px){
        --col-count: 3 !important;
    }
    
    @media(max-width: 700px){
        --col-count: 2 !important;
        
        >a{ height: unset; }
    }
}

.kulupler-grid{
    
    @media(max-width: 900px){
        --col-count: 3 !important;
    }
    
    @media(max-width: 700px){
        --col-count: 2 !important;
    }
}


.kademeler-container{
    .kademe-card {
        flex: 1 1 0;
        height: 360px;
        min-width: 0;
        cursor: pointer;
        transition: flex-grow 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: flex-grow;
        box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.10), 0px 4px 6px -1px rgba(0, 0, 0, 0.10);
        overflow: hidden;
        
        img{ object-fit: cover; }
        
        &:hover{ flex-grow: 2.5; }
    }
    
    @media(max-width: 1000px){
        --col-count: 2;
        --gc: 16px;
        --gr: 16px;
        row-gap: var(--gr);
        column-gap: var(--gc);
        gap: 16px;
        flex-wrap: wrap;
        
        >*{
            flex: inherit !important;
            flex-basis: calc(calc(100% - calc(calc(var(--col-count) - 1) * var(--gc))) / var(--col-count)) !important;
        }
    }
    
    @media(max-width: 700px){
        --col-count: 1;
        
        >*{ height: unset !important; }
    }
}

.siniflar-kolon{
    @media(max-width: 800px){
        --col-count: 1 !important;
    }
}

.kademe-banner{
    background: url('/Userfiles/p/i/egitim/banner.png') no-repeat center / cover;
    background-position-y: 75%;
    
    &.ilkokul-banner{
        background: url('/Userfiles/p/i/egitim/banner-ilkokul.png') no-repeat center / cover;
    }
    
    &.ortaokul-banner{
        background: url('/Userfiles/p/i/egitim/banner-ortaokul.png') no-repeat center / cover;
    }
    
    &.lise-banner{
        background: url('/Userfiles/p/i/egitim/banner-lise.png') no-repeat center / cover;
    }
    
    @media(max-width: 600px){
        & > div > :first-child{ width :100%; }
    }
    
    @media(max-width: 500px){
        height: unset;
        
        > :first-child{ 
            padding-top: 16px; 
            padding-bottom: 16px; 
        }
    }
}

.unordered-list{
    margin-left: 8px;
    
    >li{ list-style-position: inside; }
}

[maxwidth = "450"]{ max-width: 450px; }
[maxwidth = "400"]{ max-width: 400px; }
[maxwidth = "300"]{ max-width: 300px; }
[maxwidth = "250"]{ max-width: 250px; }

/* ---------------------------------------------------------------- 
    animation
 ---------------------------------------------------------------- */
 
:root {
    --aura-color-25: rgba(120, 150, 45, 0.20);
    --aura-color-50: rgba(120, 150, 45, 0.35);
    --aura-color-75: rgba(145, 175, 65, 0.55);
}

@keyframes aura {
    from {
        box-shadow:
            0 0 0 -1px var(--aura-color-75),
            0 0 0 -1px var(--aura-color-50),
            0 0 0 -1px var(--aura-color-25);
    }
    
    to {
        box-shadow:
            0 0 0 6px rgba(120, 150, 45, 0),
            0 0 0 12px rgba(120, 150, 45, 0),
            0 0 0 18px rgba(120, 150, 45, 0);
    }
}

.animation-aura {
    animation-name: aura;
    animation-duration: 2.5s;
}

/*animation: aura 2.5s ease-out infinite;*/


/*--------------------------------------------------------
    box-shadow
 --------------------------------------------------------*/

[shadow="1"]{
    box-shadow:0 1px 2px rgba(0,0,0,.05);
}

[shadow="2"]{
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

[shadow="3"]{
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

[shadow="4"]{
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}


/*--------------------------------------------------------
    drop-shadow
 --------------------------------------------------------*/

[drop-shadow="1"]{
    filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.45));
}


/*--------------------------------------------------------
    svg-icons
 --------------------------------------------------------*/

[i="phone"]{ --i-svg: url(../i/i-phone.svg); }
[i="phone-fancy"]{ --i-svg: url(../i/i-phone-fancy.svg); }
[i="mail"]{ --i-svg: url(../i/i-mail.svg); }
[i="location"]{ --i-svg: url(../i/i-location.svg); }
[i="newspaper"]{ --i-svg: url(../i/i-newspaper.svg); }
[i="arrow-1"]{ --i-svg: url(../i/i-arrow-1.svg); }
[i="arrow-2"]{ --i-svg: url(../i/i-arrow-2.svg); }
[i="instagram"]{ --i-svg: url(../i/i-instagram.svg); }
[i="facebook"]{ --i-svg: url(../i/i-facebook.svg); }
[i="linkedin"]{ --i-svg: url(../i/i-linkedin.svg); }
[i="baby"]{ --i-svg: url(../i/i-baby.svg); }
[i="book"]{ --i-svg: url(../i/i-book.svg); }
[i="parchment"]{ --i-svg: url(../i/i-parchment.svg); }
[i="heart"]{ --i-svg: url(../i/i-heart.svg); }
[i="cap"]{ --i-svg: url(../i/i-cap.svg); }
[i="scales"]{ --i-svg: url(../i/i-scales.svg); }
[i="mission"]{ --i-svg: url(../i/i-mission.svg); }
[i="vision"]{ --i-svg: url(../i/i-vision.svg); }
[i="compass"]{ --i-svg: url(../i/i-compass.svg); }
[i="telescope"]{ --i-svg: url(../i/i-telescope.svg); }
[i="building"]{ --i-svg: url(../i/i-building.svg); }
[i="column"]{ --i-svg: url(../i/i-column.svg); }
[i="palette"]{ --i-svg: url(../i/i-palette.svg); }
[i="mask"]{ --i-svg: url(../i/i-mask.svg); }
[i="lang"]{ --i-svg: url(../i/i-lang.svg); }
[i="translate"]{ --i-svg: url(../i/i-translate.svg); }
[i="dance"]{ --i-svg: url(../i/i-dance.svg); }
[i="chess"]{ --i-svg: url(../i/i-chess.svg); }
[i="paw"]{ --i-svg: url(../i/i-paw.svg); }
[i="puzzle"]{ --i-svg: url(../i/i-puzzle.svg); }
[i="football"]{ --i-svg: url(../i/i-football.svg); }
[i="book-2"]{ --i-svg: url(../i/i-book-2.svg); }
[i="music"]{ --i-svg: url(../i/i-music.svg); }
[i="lib"]{ --i-svg: url(../i/i-lib.svg); }
[i="lab"]{ --i-svg: url(../i/i-lab.svg); }
[i="robotic"]{ --i-svg: url(../i/i-robotic.svg); }
[i="respect"]{ --i-svg: url(../i/i-respect.svg); }
[i="responsibility"]{ --i-svg: url(../i/i-responsibility.svg); }
[i="tolerance"]{ --i-svg: url(../i/i-tolerance.svg); }
[i="honest"]{ --i-svg: url(../i/i-honest.svg); }