/*
Theme Name: Insaat Dekor Tema
Author: Mehmet Yasin
Version: 1.1
Description: Landing page + Elementor uyumlu iç sayfalar
*/

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
}

.container {
    display: flex;
    height: 100vh;
    width: 100%;
}

.panel {
    flex: 1;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: flex 0.5s ease;
}

.insaat {
    background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}

.dekor {
    background: url('https://images.unsplash.com/photo-1505691938895-1758d7feb511?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.40);
    transition: background 0.35s ease;
}

.text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
    color: #fff;
    z-index: 2;
}

.text h1 {
    margin: 0 0 12px;
    font-size: 60px;
    letter-spacing: 3px;
    line-height: 1.1;
}

.text p {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
}

@media (min-width: 769px) {
    .panel:hover {
        flex: 2;
    }

    .panel:hover .overlay {
        background: rgba(0,0,0,0.58);
    }
}

@media (max-width: 1024px) {
    .text h1 {
        font-size: 42px;
    }

    .text p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .panel {
        flex: none;
        width: 100%;
        min-height: 50vh;
    }

    .text h1 {
        font-size: 30px;
        letter-spacing: 2px;
    }

    .text p {
        font-size: 14px;
    }
}
