@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,800');

@media (min-width: 500px) {
    .col-sm-6 {
        width: 50%;
    }
}

html,
body {
    height: 100%;
    min-height: 18em;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Tüm sayfa için scroll engelleme */
* {
    box-sizing: border-box;
}

body {
    position: fixed;
    width: 100%;
    height: 100%;
}

.split-pane {
    padding-top: 1em;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 50%;
    min-height: 9em;
    font-size: 2em;
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    float: left;
    width: 50%;
    position: relative;
    overflow: hidden;
    /* Kitap sayfası efekti */
    box-shadow: 
        /* Sol sayfa için sağ kenar gölgesi */
        inset -15px 0 25px -10px rgba(0, 0, 0, 0.4),
        /* Sayfa kenarı gölgesi */
        0 0 20px rgba(0, 0, 0, 0.2),
        /* Kitap cildi efekti */
        0 0 0 1px rgba(139, 69, 19, 0.3);
    /* Hafif eğim efekti */
    transform: perspective(1000px) rotateY(2deg);
    transition: all 0.3s ease;
    /* Başlangıçta tamamen gizli */
    display: none;
}

@media(min-width: 500px) {
    .split-pane {
        padding-top: 2em;
        height: 100%;
    }
}

/* Mobile responsive - stack vertically */
@media (max-width: 767px) {
    /* Override any container or row behavior */
    .split-pane {
        width: 100% !important;
        height: 50vh !important;
        min-height: 200px;
        float: none !important;
        clear: both;
        flex: none !important;
        flex-basis: auto !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        /* Mobil için kitap sayfası efekti - dikey */
        box-shadow: 
            inset 0 -10px 20px -5px rgba(0, 0, 0, 0.3),
            0 0 15px rgba(0, 0, 0, 0.2),
            0 0 0 1px rgba(139, 69, 19, 0.3);
        transform: perspective(1000px) rotateX(1deg);
    }
    
    .split-pane.mtm-side {
        height: 50vh !important;
        min-height: 200px;
    }
    
    .split-pane.arac-alti-side {
        height: 50vh !important;
        min-height: 200px;
    }
    
    /* Override Bootstrap classes */
    .col-xs-12.col-sm-6.split-pane {
        width: 100% !important;
        float: none !important;
        flex: none !important;
        flex-basis: auto !important;
        max-width: 100% !important;
    }
    
    /* Override any flexbox behavior */
    .split-pane[class*="col-"] {
        width: 100% !important;
        float: none !important;
        flex: none !important;
        flex-basis: auto !important;
        max-width: 100% !important;
    }
    
    /* Ensure proper stacking */
    .split-pane:first-child {
        margin-top: 0 !important;
    }
    
    .split-pane:last-child {
    margin-bottom: 0 !important;
}

/* Sağ sayfa için farklı kitap efekti - sadece desktop */
@media (min-width: 768px) {
    .split-pane:last-child {
        box-shadow: 
            /* Sağ sayfa için sol kenar gölgesi */
            inset 15px 0 25px -10px rgba(0, 0, 0, 0.4),
            /* Sayfa kenarı gölgesi */
            0 0 20px rgba(0, 0, 0, 0.2),
            /* Kitap cildi efekti */
            0 0 0 1px rgba(139, 69, 19, 0.3);
        /* Sağ sayfa için ters eğim */
        transform: perspective(1000px) rotateY(-2deg);
    }
}
}

@media (max-width: 480px) {
    .split-pane {
        height: 50vh !important;
        min-height: 180px;
        padding-top: 0.5em;
        /* Küçük mobil için kitap sayfası efekti */
        box-shadow: 
            inset 0 -8px 15px -3px rgba(0, 0, 0, 0.25),
            0 0 10px rgba(0, 0, 0, 0.15),
            0 0 0 1px rgba(139, 69, 19, 0.25);
        transform: perspective(800px) rotateX(0.5deg);
    }
    
    .split-pane.mtm-side {
        height: 50vh !important;
        min-height: 180px;
        /* Üst sayfa için alt kenar gölgesi */
        box-shadow: 
            inset 0 -8px 15px -3px rgba(0, 0, 0, 0.25),
            0 0 10px rgba(0, 0, 0, 0.15),
            0 0 0 1px rgba(139, 69, 19, 0.25);
    }
    
    .split-pane.arac-alti-side {
        height: 50vh !important;
        min-height: 180px;
        /* Alt sayfa için üst kenar gölgesi */
        box-shadow: 
            inset 0 8px 15px -3px rgba(0, 0, 0, 0.25),
            0 0 10px rgba(0, 0, 0, 0.15),
            0 0 0 1px rgba(139, 69, 19, 0.25);
    }


}.split-pane>div {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    margin: 0;
    padding: 0;
}

@media (max-width: 767px) {
    .split-pane>div {
        position: relative;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        margin: 0;
        padding: 0;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .split-pane>div {
        min-height: 180px;
        padding: 1em 0;
    }
}

.split-pane>div .text-content {
    line-height: 1.6em;
    margin-bottom: 1em;
}

.split-pane>div .text-content .big {
    font-size: 2em;
}

.split-pane>div img {
    height: 3.3em;
}

@media (max-width: 500px) {
    .split-pane>div img {
        height: 2.5em;
        max-width: 80%;
        margin: 0 auto;
        display: block !important;
    }

    .split-pane>div {
        height: 15rem;
    }
    
    .mtm-image,
    .arac-alti-image {
        display: block !important;
        height: 2.5em !important;
        min-height: 2.5em !important;
        max-width: 80% !important;
        margin: 0 auto !important;
    }
}

.split-pane button,
.split-pane a.button {
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    background: none;
    border: 1px solid white;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    width: 15em;
    padding: 0.7em;
    font-size: 0.5em;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    text-decoration: none;
    color: white;
    display: inline-block;
    cursor: pointer;
}

/* MTM image styles */
.mtm-image {
    height: 4em;
    min-height: 4em;
    width: auto;
    max-width: 100%;
    border-radius: 15px;
    border: 10px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 0.2);
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 8);*/
    transition: all 0.3s ease;
    object-fit: contain;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    padding: 0;
    /*padding: 8px;*/
}

.mtm-image:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 8px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

/* Arac-alti image styles */
.arac-alti-image {
    height: 4em;
    min-height: 4em;
    width: auto;
    max-width: 100%;
    border-radius: 15px;
    border: 10px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 0.2);
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 8);*/
    transition: all 0.3s ease;
    object-fit: contain;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    /*padding: 8px;*/
    padding: 0;
}

.arac-alti-image:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 8px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

/* Responsive styles for images */
@media (max-width: 1200px) {
    .mtm-image,
    .arac-alti-image {
        height: 3.5em;
        min-height: 3.5em;
        max-width: 90%;
    }
}

@media (max-width: 992px) {
    .mtm-image,
    .arac-alti-image {
        height: 3em;
        min-height: 3em;
        max-width: 85%;
    }
}

@media (max-width: 768px) {
    .mtm-image,
    .arac-alti-image {
        height: 2.5em;
        min-height: 2.5em;
        max-width: 80%;
        border-radius: 12px;
        border: 5px solid #ffffff;
    }
}

@media (max-width: 576px) {
    .mtm-image,
    .arac-alti-image {
        height: 2em;
        min-height: 2em;
        max-width: 75%;
        border-radius: 10px;
        border: 5px solid #ffffff;
        display: block !important;
    }
}

@media (max-width: 480px) {
    .mtm-image,
    .arac-alti-image {
        height: 1.8em;
        min-height: 1.8em;
        max-width: 70%;
        border-radius: 8px;
        border: 5px solid #ffffff;
        display: block !important;
    }
}

@media (max-width: 360px) {
    .mtm-image,
    .arac-alti-image {
        height: 1.5em;
        min-height: 1.5em;
        max-width: 65%;
        border-radius: 6px;
        border: 5px solid #ffffff;
        display: block !important;
    }
}

#split-pane-or {
    font-size: 2em;
    color: white;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    width: 100%;
    position: absolute;
    top: 10%;
}

@media (max-width: 925px) {
    #split-pane-or {
        top: 15%;
        width: 80%;
        padding-left: 15%;
    }
}

#split-pane-or>div img {
    height: 4.5em;
}

@media (max-width: 500px) {
    #split-pane-or {
        position: absolute;
        top: 20px;
    }

    #split-pane-or>div img {
        height: 2em;
    }
}

@media(min-width: 500px) {
    #split-pane-or {
        font-size: 3em;
    }
}

.big {
    font-size: 2em;
}

#slogan {
    position: absolute;
    width: 100%;
    z-index: 100;
    text-align: center;
    vertical-align: baseline;
    top: 0.5em;
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.4em;
}

@media(min-width: 500px) {
    #slogan {
        top: 5%;
        font-size: 1.8em;
    }
}

#slogan img {
    height: 0.7em;
}

.bold {
    /*text-transform: uppercase;*/
    font-weight: bolder;
}

.big {
    font-weight: 800;
}

.split-pane {
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}

/*.split-pane.mtm-side {
    animation: fadeInLeft 1s forwards;
    animation-delay: 0.5s;
}

.split-pane.arac-alti-side {
    animation: fadeInRight 1s forwards;
    animation-delay: 0.5s;
}*/


.split-pane.mtm-side,
.split-pane.arac-alti-side {
    opacity: 1;
    transform: translateX(0);
}

#split-pane-or>div {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

#half1,
#half2 {
    height: 3em;
    position: relative;
    animation: moveIn 2s forwards;
    margin: 0;
    padding: 0;
}

/* #half1 {
    animation-delay: 0s;
    animation-name: moveFromLeft;
}

#half2 {
    animation-delay: 0s;
    animation-name: moveFromRight;
}*/

@keyframes moveFromLeft {
    0% {
        transform: translateX(-200%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes moveFromRight {
    0% {
        transform: translateX(200%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Kitap sayfası hover efektleri */
.split-pane.mtm-side:hover {
    transform: perspective(1000px) rotateY(4deg) scale(1.02);
    box-shadow: 
        inset -20px 0 30px -15px rgba(0, 0, 0, 0.5),
        0 5px 25px rgba(0, 0, 0, 0.3),
        0 0 0 2px rgba(139, 69, 19, 0.5);
    z-index: 10;
}

.split-pane.arac-alti-side:hover {
    transform: perspective(1000px) rotateY(-4deg) scale(1.02);
    box-shadow: 
        inset 20px 0 30px -15px rgba(0, 0, 0, 0.5),
        0 5px 25px rgba(0, 0, 0, 0.3),
        0 0 0 2px rgba(139, 69, 19, 0.5);
    z-index: 10;
}

/* Split-pane görünürlük sınıfı */
.split-pane.show {
    display: block;
    animation: fadeInSplitPane 1s ease-out;
}

@keyframes fadeInSplitPane {
    0% {
        opacity: 0;
        transform: perspective(1000px) rotateY(10deg) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) rotateY(2deg) scale(1);
    }
}

/* Mobil hover efektleri */
@media (max-width: 767px) {
    .split-pane.mtm-side:hover,
    .split-pane.arac-alti-side:hover {
        transform: perspective(1000px) rotateX(2deg) scale(1.02);
        box-shadow: 
            inset 0 -15px 25px -10px rgba(0, 0, 0, 0.4),
            0 5px 20px rgba(0, 0, 0, 0.3),
            0 0 0 2px rgba(139, 69, 19, 0.5);
        z-index: 10;
    }
    
    .split-pane.show {
        display: block;
        animation: fadeInSplitPaneMobile 1s ease-out;
    }
    
    @keyframes fadeInSplitPaneMobile {
        0% {
            opacity: 0;
            transform: perspective(1000px) rotateX(5deg) scale(0.9);
        }
        100% {
            opacity: 1;
            transform: perspective(1000px) rotateX(1deg) scale(1);
        }
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-150px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(150px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1.5);
    }
}

button,
.button {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover,
.button:hover {
    background-color: #007bff;
    color: #fff;
    transform: translateY(-3px);
}

/* Center divider line */
.center-divider {
    position: fixed;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100vh;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(0, 0, 0, 0.6) 20%, 
        rgba(0, 0, 0, 0.8) 50%, 
        rgba(0, 0, 0, 0.6) 80%, 
        transparent 100%);
    z-index: 10;
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
    .center-divider {
        display: none !important;
    }
}

/* Video container responsive styles */
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1000;
    background-color: #000;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive video container */
@media (max-width: 1200px) {
    .video-container {
        height: 100vh;
    }
}

@media (max-width: 992px) {
    .video-container {
        height: 100vh;
    }
}

@media (max-width: 768px) {
    .video-container {
        height: 100vh;
        min-height: 400px;
    }
    
    .video-container video {
        object-fit: contain;
    }
}

@media (max-width: 576px) {
    .video-container {
        height: 100vh;
        min-height: 300px;
    }
    
    .video-container video {
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .video-container {
        height: 100vh;
        min-height: 250px;
    }
}

@media (max-width: 360px) {
    .video-container {
        height: 100vh;
        min-height: 200px;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .video-container {
        height: 100vh;
        min-height: 300px;
    }
}

/* Ensure video doesn't interfere with other elements */
@media (max-width: 767px) {
    .video-container {
        position: relative;
        z-index: 1000;
    }
}