/* ==========================================================================
   DEVIN MEDYA - ASİMETRİK TASARIM (NICEPAGE MANTARI)
   ========================================================================== */

.dm-nice-wrapper {
    font-family: 'Google Sans', sans-serif;
    background-color: #ffffff;
    color: #18181a;
    overflow-x: hidden;
}

.dm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

/* --- ORTAK TİPOGRAFİ --- */
.dm-section-title {
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
}

.dm-paragraph {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.text-yellow { color: #eab308 !important; }
.text-white { color: #ffffff !important; }
.text-dark { color: #18181a !important; }
.text-light { color: #cccccc !important; }

.bg-gray { background-color: #f7f7f9; }
.bg-dark { background-color: #18181a; }

.dm-accent-line {
    width: 70px;
    height: 4px;
    background-color: #eab308;
    margin-bottom: 30px;
}

/* --- BÖLÜM 1: OVERLAP HERO (Nicepage Özü) --- */
.dm-overlap-hero {
    position: relative;
    padding: 150px 0 100px 0;
}

/* Sağdaki Büyük Fotoğraf */
.dm-hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Fotoğrafın Üzerine Taşan Beyaz Metin Kutusu */
.dm-hero-content-box {
    background-color: #ffffff;
    padding: 80px 60px;
    max-width: 600px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08); /* Lüks gölge */
    position: relative;
}

.dm-hero-title {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 30px;
}

.dm-btn-solid {
    display: inline-block;
    background-color: #eab308;
    color: #18181a;
    padding: 16px 36px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.dm-btn-solid:hover {
    background-color: #18181a;
    color: #ffffff;
}

/* --- BÖLÜM 2: İSTATİSTİKLER --- */
.dm-stats-section {
    position: relative;
    z-index: 3;
    margin-top: -60px; /* Üstteki bölüme hafifçe taşar (Overlap) */
}

.dm-stats-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: #ffffff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.dm-stat-box {
    padding: 50px 30px;
    text-align: center;
    border-right: 1px solid #f0f0f0;
}

.dm-stat-box:last-child {
    border-right: none;
}

.dm-box-yellow {
    background-color: #eab308;
    color: #18181a;
}

.dm-stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 5px;
    color: #18181a;
}

.dm-stat-text {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #777;
    letter-spacing: 1px;
}

/* --- BÖLÜM 3: YETENEK FABRİKASI --- */
.dm-split-features {
    padding: 120px 0;
}

.dm-feature-row {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
}

.dm-row-reverse {
    flex-direction: row-reverse;
}

.dm-feature-img {
    flex: 1;
    position: relative;
}

.dm-feature-img img {
    width: 100%;
    height: auto;
    display: block;
}

.dm-floating-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background-color: #eab308;
    padding: 30px 40px;
    box-shadow: 0 15px 30px rgba(234, 179, 8, 0.3);
}

.dm-floating-badge h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.dm-feature-text {
    flex: 1;
    padding: 80px;
    margin-left: -50px; /* Resmin Üzerine Taşar - Nicepage Efekti */
    position: relative;
    z-index: 2;
}

.dm-row-reverse .dm-feature-text {
    margin-left: 0;
    margin-right: -50px;
}

.dm-icon {
    font-size: 3rem;
    color: #18181a;
    margin-bottom: 25px;
}

.dm-link {
    font-weight: 700;
    color: #18181a;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.dm-link:hover { color: #eab308; }

/* --- BÖLÜM 4: REFERANSLAR --- */
.dm-references-section {
    padding: 100px 0 150px 0;
    background-color: #ffffff;
}

.dm-ref-header {
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.dm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dm-gallery-item {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.dm-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.dm-gallery-item:hover img {
    transform: scale(1.08);
}

.dm-item-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: linear-gradient(transparent, rgba(24, 24, 26, 0.9));
    padding: 40px 30px 20px 30px;
    color: #fff;
}

.dm-item-overlay h4 {
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
    color: #eab308;
}

/* ==========================================================================
   MOBİL VE TABLET UYUMU
   ========================================================================== */
@media (max-width: 992px) {
    .dm-hero-image {
        position: relative;
        width: 100%;
        height: 400px;
    }
    
    .dm-hero-content-box {
        margin-top: -100px; /* Mobilde de asimetriyi korur */
        padding: 50px 30px;
        max-width: 100%;
    }
    
    .dm-stats-wrapper {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 40px;
    }
    
    .dm-stat-box {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .dm-feature-row, .dm-row-reverse {
        flex-direction: column;
        margin-bottom: 60px;
    }
    
    .dm-feature-text {
        margin: -40px 20px 0 20px;
        padding: 50px 30px;
    }
    
    .dm-row-reverse .dm-feature-text {
        margin: -40px 20px 0 20px;
    }

    .dm-floating-badge {
        bottom: 20px;
        left: 20px;
    }

    .dm-gallery-grid {
        grid-template-columns: 1fr;
    }
}