/* ===================================
   ATB Mühendislik - Welcome Page
   Full Screen Split Design
   =================================== */

/* Import Color Palette */
@import url('colors.css');

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

html, body {
    height: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Logo Overlay - Üstte Sabit */
.logo-overlay {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    animation: fadeInDown 0.8s ease;
}

.top-logo {
    max-width: 250px;
    width: auto;
    height: auto;
    filter: drop-shadow(0 4px 12px var(--shadow-medium));
    transition: transform 0.3s ease;
}

.top-logo:hover {
    transform: scale(1.05);
}

/* Split Container - Tam Ekran */
.split-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Her Bölüm - Sayfanın Yarısı */
.split-section {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    transition: flex 0.5s ease;
}

/* Arkaplan Resimleri
   NOT: Arkaplan resimlerinizi aşağıdaki yollara yükleyin:
   - /statics/img/service-bg.jpg
   - /statics/img/engineer-bg.jpg
*/

.service-section {
    background-image: url('/statics/img/servis-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Eğer resim yoksa gradient kullanılır */
    background-color: var(--color-primary);
    background-image: linear-gradient(215deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%), url('/statics/img/service-bg.jpg');
}

.engineer-section {
    background-image: url('/statics/img/engineer-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Eğer resim yoksa gradient kullanılır */
    background-color: var(--color-primary);
    background-image: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%), url('/statics/img/engineer-bg.jpg');
}

/* Hover Efekti - Üzerine gelindiğinde büyür */
.split-section:hover {
    flex: 1.1;
}

.split-section:hover .section-content {
    transform: scale(1.05);
}

/* İçerik */
.section-content {
    text-align: center;
    z-index: 10;
    padding: 40px;
    transition: transform 0.3s ease;
}

.section-content h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
    text-shadow: 3px 3px 8px var(--shadow-heavy);
    letter-spacing: 2px;
}

.section-content p {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-off-white);
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 2px 2px 6px var(--shadow-medium);
}

/* Animasyonlar */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Tablet - Dikey Bölme */
@media (max-width: 1024px) {
    .top-logo {
        max-width: 200px;
    }

    .section-content h1 {
        font-size: 3.5rem;
    }

    .section-content p {
        font-size: 1.3rem;
        letter-spacing: 3px;
    }
}

/* Mobile - Dikey Stack */
@media (max-width: 768px) {
    html, body {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .logo-overlay {
        top: 20px;
    }

    .top-logo {
        max-width: 150px;
    }

    .split-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .split-section {
        min-height: 50vh;
        flex: none;
    }

    .split-section:hover {
        flex: none;
    }

    .section-content {
        padding: 30px;
    }

    .section-content h1 {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .section-content p {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .logo-overlay {
        top: 15px;
    }

    .top-logo {
        max-width: 120px;
    }

    .section-content h1 {
        font-size: 2rem;
    }

    .section-content p {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .section-content {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .split-container {
        flex-direction: column;
    }

    .split-section {
        break-inside: avoid;
        min-height: 50vh;
    }
}

footer {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-off-white);
}