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

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Lato', 'Playfair Display', sans-serif;
    overflow: hidden;
}

.container {
    display: flex;
    width: 100%;
    height: 100vh;
    gap: 20px;
    padding: 20px;
}

.section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

/* subtle dark overlay for all sections (keeps logos readable) */
.section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.22);
    pointer-events: none;
    transition: background 0.25s ease;
    border-radius: inherit;
    z-index: 1;
}

/* On hover, darken the overlay so background image appears darker */
.section:hover::after {
    background: rgba(0,0,0,0.44);
}

/* Hover focus — subtle scale and fade sibling (no centering) */
.container {
    position: relative;
}

.container .section {
    transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1),
                opacity 0.25s ease, box-shadow 0.25s ease;
}

.section:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 36px rgba(0,0,0,0.18);
    z-index: 5;
}

/* Asansör Section - Left */
.asansor {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 60%), url('gozerasansorbanner.webp') center/cover no-repeat;
    border-right: none;
}

/* Metal Section - Right */
.metal {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 60%), url('gzozermetalbanner.webp') center/cover no-repeat;
}

.content {
    text-align: center;
    z-index: 2;
}

.logo {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .section {
        height: 50vh;
    }

    .section::before {
        margin: 30px;
    }

    .content h1 {
        font-size: 36px;
    }

    .content h2 {
        font-size: 42px;
    }

    .asansor {
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }
}

/* Hover Effect - Mouse Cursor */
.section {
    user-select: none;
}

.section:active {
    transform: scale(0.98);
}

/* Click-expand animation */
.container.animating .section:not(.expanded) {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.section.expanded {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    z-index: 999;
    transform: none !important;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1),
                width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1),
                height 1.2s cubic-bezier(0.2, 0.8, 0.2, 1),
                border-radius 1.2s ease;
}
