/* Content Description Section */
.namila-highlight-text {
    color: #ff595a;
    font-weight: 500;
}

/* Brand Elements Section - Renk paleti + Tipografi */
.namila-brand-elements-section {
    background-color: #fff;
}

.namila-brand-elements-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Corporate Materials Section - Kurumsal materyaller */
.namila-corporate-materials-section {
    background-color: #000;
    padding: 0;
}

.namila-corporate-materials-container {
    max-width: 800px;
    width: 100%;
    display: grid;
    grid-template-columns: 400px 400px;
    gap: 0;
    align-items: center;
    min-height: 400px;
}

.namila-corporate-item-left {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Üstten başlasın */
    height: 100%;
    padding-top: 0;
    /* Üst boşluk yok */
}

.namila-corporate-item-right {
    height: 100%;
    overflow: visible;
}

.namila-corporate-item-left img {
    height: 350px;
}

.namila-corporate-item-right img {
    max-width: 450px;
}

/* Travel Categories Section - Hotel, Flight, Transfer */
.namila-travel-categories-section {
    background-color: #ff595a;
}

.namila-travel-categories-container {
    width: 100%;
}

.namila-travel-categories-container img {
    width: 60%;
}

/* Product Gallery Section - 3 ürün görseli */
.namila-product-gallery-section {
    background-color: #fff;
    position: relative;
}

.namila-product-gallery-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 600px;
    padding: 0 20px;
}

/* product-9 (3 görsel birleşik) - İlk satır sol kenara yaslı */
.namila-product-item:nth-child(1) {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

/* product-10 (çanta) - 2. satır sol taraf, product-9 üzerinde overlap */
.namila-product-item:nth-child(2) {
    position: absolute;
    top: 270px;
    left: -20px;
    z-index: 3;
}

/* product-11 (tabela) - 2. satır sağ taraf, üstten boşluklu */
.namila-product-item:nth-child(3) {
    position: absolute;
    top: 350px;
    right: 0px;
    z-index: 2;
}

.namila-product-item img {
    width: auto;
}

/* Boyut ayarları */
.namila-product-item:nth-child(1) img {
    max-width: 700px;
}

.namila-product-item:nth-child(2) img {
    max-width: 400px;
}

.namila-product-item:nth-child(3) img {
    max-width: 400px;
}

/* Colorful Print Materials Section - Renkli basılı materyaller */
.namila-colorful-materials-section {
    background-color: #fff;
}

.namila-colorful-materials-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2.4fr 1.15fr 1fr;
    /* 795:379:331 oranında */
    gap: 40px;
    padding: 0 40px;
    align-items: end;
}

.namila-colorful-item {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* Website Mockup Section - Web sitesi görünümü */
.namila-website-mockup-container {
    max-width: 100%;
    width: 100%;
}

/* Mobile App Screenshots Section - 3x3 mobil ekran görselleri */
.namila-mobile-screenshots-section {
    position: relative;
}

/* Arka plan container */
.namila-mobile-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Siyah kısım - üst %90 */
.namila-mobile-bg-black {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
}

/* Kırmızı kısım - alt %10 (3. satırdan itibaren) */
.namila-mobile-bg-red {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 23.36%;
    background-color: #ff595a;
}

/* Mobil ekranlar container */
.namila-mobile-screenshots-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 72px;
}

.namila-mobile-row img {
    max-width: 800px;
}

/* Responsive Design for Namila + Safari Uyumluluğu */
@media (max-width: 768px) {

    /* Brand Elements Section */
    .namila-brand-elements-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 16px;
    }

    /* Corporate Materials Section */
    .namila-corporate-materials-section {
        display: block !important;
        min-height: 60vh;
        margin-top: 0;
        padding-top: 0;
    }

    .namila-corporate-materials-container {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0 36px 40px;
        align-items: center;
    }

    .namila-corporate-item-left,
    .namila-corporate-item-right {
        justify-content: center;
        align-items: center;
    }

    .namila-corporate-item-left img {
        height: 250px;
        max-width: 200px;
    }

    .namila-corporate-item-right img {
        max-width: 350px;
    }

    /* Travel Categories Section */
    .namila-travel-categories-container img {
        width: 70%;
        max-width: 400px;
    }

    /* Product Gallery Section - Mobile yapısı düzeltildi */
    .namila-product-gallery-section {
        padding: 60px 0;
    }

    .namila-product-gallery-container {
        position: static;
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 0 16px;
    }

    .namila-product-item:nth-child(1),
    .namila-product-item:nth-child(2),
    .namila-product-item:nth-child(3) {
        position: static;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .namila-product-item:nth-child(1) img,
    .namila-product-item:nth-child(2) img,
    .namila-product-item:nth-child(3) img {
        width: 100%;
        max-width: 350px;
        height: auto;
    }

    /* Colorful Materials Section */
    .namila-colorful-materials-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 16px;
        align-items: center;
        max-width: 400px;
    }

    .namila-colorful-item {
        align-items: center;
    }

    /* Mobile Screenshots Section */
    .namila-mobile-screenshots-container {
        gap: 30px !important;
        padding: 0 16px !important;
    }

    .namila-mobile-bg-black {
        height: 75% !important;
    }

    .namila-mobile-bg-red {
        height: 25% !important;
    }
}

@media (max-width: 480px) {

    /* Brand Elements Section */
    .namila-brand-elements-container {
        gap: 20px;
        padding: 0 12px;
    }

    /* Corporate Materials Section */
    .namila-corporate-materials-section {
        display: block !important;
        min-height: 50vh;
        margin-top: 0;
        padding-top: 0;
    }

    .namila-corporate-materials-container {
        gap: 25px;
        padding: 0 12px 30px;
    }

    .namila-corporate-item-left img {
        height: 200px;
        max-width: 150px;
    }

    .namila-corporate-item-right img {
        max-width: 250px;
    }

    /* Travel Categories Section */
    .namila-travel-categories-container img {
        width: 85%;
        max-width: 300px;
    }

    /* Product Gallery Section */
    .namila-product-gallery-container {
        gap: 25px;
        padding: 0 12px;
    }

    .namila-product-item:nth-child(1) img,
    .namila-product-item:nth-child(2) img,
    .namila-product-item:nth-child(3) img {
        max-width: 280px;
    }

    /* Colorful Materials Section */
    .namila-colorful-materials-container {
        gap: 20px;
        padding: 0 12px;
        max-width: 300px;
    }

    /* Mobile Screenshots Section */
    .namila-mobile-screenshots-container {
        gap: 30px;
        padding: 0 12px;
    }
}

/* Safari Uyumluluğu - Tüm transform'lar için webkit prefix'leri zaten mevcut */
/* Ek Safari optimizasyonları */
.namila-hero-image,
.namila-brand-element-item img,
.namila-corporate-item-left img,
.namila-corporate-item-right img,
.namila-product-item img,
.namila-colorful-item img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Animation delay'ler - daha yumuşak geçişler için */
.namila-colorful-item:nth-child(1) img {
    animation-delay: 0s;
}

.namila-colorful-item:nth-child(2) img {
    animation-delay: 0.2s;
}

.namila-colorful-item:nth-child(3) img {
    animation-delay: 0.4s;
}

.namila-mobile-row:nth-child(1) img {
    animation-delay: 0s;
}

.namila-mobile-row:nth-child(2) img {
    animation-delay: 0.3s;
}

.namila-mobile-row:nth-child(3) img {
    animation-delay: 0.6s;
}