/* Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #F5F7FA;
    color: #0F1C3F;
    overflow-x: hidden;
}

.demo-container {
    display: flex;
    flex-direction: row;
    height: 100vh;
    position: relative;
}

/* Demo Bölümleri */
.demo-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
    min-height: 100vh;
}

.demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 28, 63, 0.6);
    z-index: 2;
    transition: all 0.6s ease;
}

.demo-section:hover::before {
    background: rgba(15, 28, 63, 0.4);
}

/* Sol Bölüm - Otel Demo */
.demo-section-left {
    background: linear-gradient(rgba(15, 28, 63, 0.7), rgba(15, 28, 63, 0.7)), 
                url('https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
}

/* Sağ Bölüm - Eğlence Mekanı Demo */
.demo-section-right {
    background: linear-gradient(rgba(74, 144, 226, 0.7), rgba(74, 144, 226, 0.7)), 
                url('https://images.unsplash.com/photo-1530103862676-de8c9debad1d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

/* İçerik Stilleri */
.demo-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 40px;
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.demo-section:hover .demo-content {
    opacity: 1;
    transform: translateY(0);
}

.demo-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.demo-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Demo Butonları */
.demo-btn {
    display: inline-block;
    padding: clamp(12px, 3vw, 15px) clamp(25px, 5vw, 40px);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    font-size: clamp(1rem, 2vw, 1.1rem);
    border: 2px solid white;
    color: white;
    background: transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.demo-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    z-index: -1;
    transition: all 0.4s ease;
}

.demo-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: white;
}

.demo-btn:hover::before {
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.2) 100%);
}

/* Orta Çizgi */
.divider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: white;
    z-index: 10;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Mobil Menü Butonu */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(15, 28, 63, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInFromLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    .demo-container {
        flex-direction: column;
        height: auto;
    }

    .demo-section {
        height: 100vh;
        min-height: 100vh;
        clip-path: none !important;
    }

    .divider {
        display: none;
    }

    .demo-content {
        opacity: 1;
        transform: translateY(0);
        padding: 0 30px;
    }

    .demo-section-left .demo-content {
        animation: slideInFromLeft 1s ease-out 0.3s forwards;
    }

    .demo-section-right .demo-content {
        animation: slideInFromRight 1s ease-out 0.6s forwards;
    }
}

@media (max-width: 768px) {
    .demo-section h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .demo-section p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .demo-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .demo-content {
        max-width: 90%;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .demo-section {
        height: 100vh;
        min-height: 100vh;
    }

    .demo-section h2 {
        font-size: 1.8rem;
    }

    .demo-section p {
        font-size: 0.95rem;
    }

    .demo-btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* Yatay mod için stiller */
@media (max-height: 500px) and (orientation: landscape) {
    .demo-section {
        min-height: 150vh;
    }
}