﻿/* Responsive CSS - Mobile and tablet specific styles */

/* Mobil ekran iÃ§in des-about-area yazÄ± boyutlarÄ± */
@media (max-width: 768px) {
    .des-about-area .des-about-text p {
        font-size: 40px !important;
        line-height: 1 !important;
        padding-bottom: 0 !important;
    }

    .des-about-area .tp-btn-border {
        font-size: 20px !important;
        padding: 16px 32px !important;
        padding-bottom: 0 !important;
    }

    .des-about-area {
        padding-bottom: 0 !important;
    }
}

/* ================================================
   MOBILE UI IMPROVEMENTS (2026-01-02)
   ================================================ */

/* 1. Hide YouTube partner on mobile in .crp-process-area */
@media (max-width: 767px) {
    .crp-process-area .crp-process-icon img[src*="youtube"] {
        display: none !important;
    }

    .crp-process-area .crp-process-icon img[src*="youtubeadspartner"] {
        display: none !important;
    }

    /* Hide the entire column containing YouTube partner */
    .crp-process-area .col-xl:has(img[src*="youtube"]) {
        display: none !important;
    }
}

/* 2. Review action buttons - smaller and stacked on mobile */
@media (max-width: 767px) {
    .review-action-buttons {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .review-action-buttons .review-btn {
        padding: 10px 20px !important;
        font-size: 0.8rem !important;
        width: 80% !important;
        max-width: 250px !important;
        justify-content: center !important;
    }
}

/* 3. Hide hamburger menu on mobile */
@media (max-width: 767px) {
    .header-menu-fixed {
        display: none !important;
    }
}

/* ================================================
   DESKTOP UI IMPROVEMENTS
   ================================================ */

/* 4. Improved container-1230 alignment for desktop */
@media (min-width: 992px) {
    .container.container-1230 {
        max-width: 1230px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

@media (min-width: 1400px) {
    .container.container-1230 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* 6. Reduce spacing in des-text-moving-2-area on desktop */
@media (min-width: 992px) {
    .des-text-moving-2-area .des-text-moving-top {
        margin-bottom: 10px !important;
    }

    .des-text-moving-2-area .des-text-moving-top.moving-text {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

    .des-text-moving-2-area .des-text-item {
        padding: 8px 0 !important;
    }
}

/* ================================================
   PERFORMANCE OPTIMIZATIONS
   ================================================ */

/* Reduce paint operations */
.tp_fade_anim {
    will-change: opacity, transform;
}

/* Optimize animations */
.moving-text {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Reduce reflows on scroll */
.reels-section,
.ad-reels-section {
    contain: layout style;
}

/* Font display optimization */
@font-face {
    font-display: swap;
}

/* Reduce animation jank */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* Mobile hide YouTube partner with class fallback */
@media (max-width: 767px) {
    .mobile-hide-youtube {
        display: none !important;
    }
}