/* ==========================================================================
   Obut Yapı — Responsive (1200 / 992 / 768 / 576 / 420)
   ========================================================================== */

/* --- 1200px Laptop --- */
@media (max-width: 1200px) {
    :root { --hero-h: 720px; }
    .hero-glass { width: 520px; padding: 44px; }
    .hero-glass__title { font-size: clamp(38px, 4.8vw, 68px); }
    .container { padding: 0 24px; }
    .services-luxury__bento { grid-template-columns: repeat(2, 1fr); }
    .service-lux-card,
    .service-lux-card:nth-child(4),
    .service-lux-card:nth-child(5) { grid-column: span 1; }
    .footer-premium__top { grid-template-columns: 1.2fr repeat(3, 1fr); gap: 32px; }
    .footer-premium__brand { grid-column: 1 / -1; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .about-premium__grid { gap: 48px; }
    .blog-magazine { grid-template-columns: 1fr; }
    .quote-premium__visual { width: 38%; }
    .quote-premium__wrap { width: 62%; }
    .team-premium__grid { grid-template-columns: repeat(3, 1fr); }
    .team-stats-band__grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- 992px Tablet yatay --- */
@media (max-width: 992px) {
    :root { --hero-h: 640px; --header-h: 88px; }
    .section-block { padding: 80px 0; }
    .content-section { padding: 72px 0; }
    .page-hero { padding: 88px 0 64px; }
    .team-page-hero { padding: 64px 0 40px; }

    /* Header mobil */
    .header-inner {
        display: flex; align-items: center; justify-content: space-between;
        gap: 10px; padding: 0;
    }
    .logo { flex: 1 1 auto; min-width: 0; }
    .logo img { height: 52px; max-width: 200px; object-fit: contain; object-position: left; }
    .desktop-nav { display: none !important; }
    .header-lang-desktop { display: none; }
    .header-lang-mobile { display: flex; align-items: center; flex-shrink: 0; }
    .header-cta { display: none; }
    .header-actions {
        display: flex; align-items: center; gap: 8px; flex-shrink: 0;
    }
    .header-actions .lang-switch--compact { flex-shrink: 0; }
    .header-actions .lang-switch--compact .lang-switch__btn {
        min-width: 36px; min-height: 36px; padding: 8px 10px; font-size: 13px;
    }
    .hamburger { display: flex; width: 46px; height: 46px; }
    .site-header {
        background: #ffffff;
        box-shadow: 0 2px 16px rgba(13,13,13,0.06);
    }

    /* Hero tablet */
    .hero-glass { width: 100%; max-width: 520px; padding: 40px 36px; }
    .hero-glass__title { font-size: clamp(34px, 5.5vw, 52px); }
    .hero-glass__text { font-size: 16px; margin-bottom: 28px; }
    .hero-premium__inner { padding-bottom: 96px; }
    .hero-premium__controls { bottom: 92px; }
    .hero-premium__nav { width: 48px; height: 48px; font-size: 14px; }
    .hero-premium__nav--prev { left: 16px; }
    .hero-premium__nav--next { right: 16px; }
    .hero-stats__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 20px 0; }

    /* Gridler */
    .about-premium__grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr 1fr; }
    .projects-premium__grid { grid-template-columns: repeat(2, 1fr); }
    .services-luxury__stats { grid-template-columns: repeat(2, 1fr); padding: 36px 28px; }
    .services-luxury__stat { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.06); padding-bottom: 20px; }
    .services-luxury__stat:nth-child(2),
    .services-luxury__stat:nth-last-child(-n+2) { border-bottom: none; }
    .team-premium__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .team-stats-band__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .team-cta__inner { flex-direction: column; text-align: center; padding: 40px 32px; }
    .team-cta__actions { justify-content: center; }
    .team-modal__grid { grid-template-columns: 1fr; }
    .team-modal__photo img { min-height: 260px; }

    /* Quote & contact */
    .quote-premium { flex-direction: column; min-height: auto; }
    .quote-premium__visual { position: relative; width: 100%; height: 260px; }
    .quote-premium__visual::after { background: linear-gradient(180deg, transparent, var(--white)); }
    .quote-premium__wrap { width: 100%; margin: 0; padding: 48px 0 80px; }
    .contact-grid { grid-template-columns: 1fr; }

    /* Footer */
    .footer-premium__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* --- 768px Tablet dikey / mobil hero --- */
@media (max-width: 768px) {
    :root { --header-h: 86px; --hero-mobile-h: calc(100vh - 96px); }
    html, body { overflow-x: hidden; }
    .container { padding: 0 20px; }
    .section-block { padding: 64px 0; }
    .content-section { padding: 56px 0; }
    .section-head { margin-bottom: 40px; }

    /* ===== Mobil hero — tek sistem ===== */
    .hero-slider.hero-premium {
        display: block;
        position: relative;
        margin-top: var(--header-h);
        height: calc(100dvh - 96px);
        height: var(--hero-mobile-h);
        min-height: 620px;
        max-height: 760px;
        overflow: hidden;
    }
    .hero-slider .hero-premium__viewport {
        position: absolute;
        inset: 0;
        height: 100%;
        width: 100%;
    }
    .hero-slider .hero-premium__slide {
        position: absolute;
        inset: 0;
        display: block;
    }
    .hero-slider .hero-premium__bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        transform: none !important;
    }
    .hero-slider .hero-premium__slide.is-active .hero-premium__bg {
        transform: none !important;
    }
    .hero-slider .hero-premium__shade {
        background: linear-gradient(
            180deg,
            rgba(13, 13, 13, 0.22) 0%,
            rgba(13, 13, 13, 0.08) 28%,
            rgba(255, 255, 255, 0.12) 58%,
            rgba(255, 255, 255, 0.72) 100%
        );
    }
    .hero-slider .hero-premium__inner {
        position: absolute;
        inset: 0;
        display: block;
        max-width: none;
        margin: 0;
        padding: 0;
        z-index: 3;
    }
    .hero-slider .hero-content-card.hero-glass {
        position: absolute;
        left: 20px;
        right: 20px;
        bottom: 96px;
        width: auto;
        max-width: none;
        margin: 0;
        padding: 28px 24px;
        border-radius: 28px;
        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border: 1px solid rgba(255, 255, 255, 0.85);
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
    }
    .hero-slider .hero-glass__label {
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 5px;
        text-transform: uppercase;
        color: #c9973f;
        margin-bottom: 12px;
    }
    .hero-slider .hero-glass__title {
        font-size: clamp(34px, 10vw, 46px);
        line-height: 1.05;
        margin-bottom: 16px;
    }
    .hero-slider .hero-glass__text {
        font-size: 15px;
        line-height: 1.7;
        color: #5f6368;
        margin-bottom: 0;
        max-width: 100%;
    }
    .hero-slider .hero-btn.hero-glass__btn {
        display: inline-flex !important;
        width: 100%;
        height: 54px;
        min-height: 54px;
        margin-top: 22px;
        justify-content: center;
        align-items: center;
        border-radius: 14px;
        font-size: 15px;
    }
    .hero-slider .hero-arrow,
    .hero-slider .hero-premium__nav { display: none !important; }
    .hero-slider .hero-slider-pagination.hero-premium__controls {
        position: absolute;
        bottom: 34px;
        left: 0;
        right: 0;
        padding: 0;
        margin: 0;
        z-index: 10;
        pointer-events: none;
    }
    .hero-slider .hero-premium__dots {
        justify-content: center;
        gap: 8px;
        pointer-events: auto;
    }
    .hero-slider .hero-premium__dot {
        background: rgba(255, 255, 255, 0.55);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }
    .hero-slider .hero-premium__dot.is-active {
        width: 28px;
        background: var(--gold);
    }
    .hero-slider .hero-stats { display: none; }

    /* WhatsApp — hero dots ile çakışmasın */
    body:has(#hero) .whatsapp-premium {
        bottom: 72px;
        left: 20px;
        width: 52px;
        height: 52px;
        font-size: 24px;
        z-index: 850;
    }

    .services-luxury { padding: 72px 0 56px; }
    .services-luxury__bento { grid-template-columns: 1fr; gap: 20px; }
    .service-lux-card { height: auto; min-height: 0; }
    .service-lux-card__visual { flex: 0 0 200px; min-height: 200px; max-height: 240px; }
    .service-lux-card__hover-btn { opacity: 1; transform: none; }
    .service-lux-card__cta { display: inline-flex; }
    .services-luxury__stats { grid-template-columns: 1fr 1fr; padding: 28px 20px; }

    .projects-premium__grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }

    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-group input, .form-group select, .form-group textarea { width: 100%; font-size: 16px; }
    .quote-premium__form { padding: 28px 20px; }
    .quote-form .btn-primary, .quote-premium__form .btn-primary { width: 100%; }

    .footer-premium__top { grid-template-columns: 1fr; padding: 56px 0 36px; gap: 28px; }
    .footer-premium__brand p { max-width: 100%; }
    .footer-premium__bottom-inner { flex-direction: column; gap: 16px; text-align: center; }
    .footer-map-wrap iframe { height: 200px; }

    .blog-magazine__item a { flex-direction: column; }
    .blog-magazine__thumb { width: 100%; height: 160px; }
    .blog-share { flex-wrap: wrap; gap: 12px; }
    .detail-meta { flex-direction: column; gap: 12px; }

    .team-hero { padding: 88px 0 64px; text-align: center; }
    .team-hero__inner { max-width: 100%; }
    .team-hero__visual { display: none; }

    /* İç sayfa hero — mobil */
    .page-hero,
    .team-page-hero {
        margin-top: var(--header-h);
        padding: 56px 24px 32px;
        text-align: left;
    }
    .page-hero .container,
    .team-page-hero .container {
        padding: 0;
        text-align: left;
    }
    .page-hero h1,
    .team-page-hero h1 {
        font-size: clamp(30px, 8vw, 40px);
        margin-bottom: 12px;
    }
    .team-page-hero__lead {
        font-size: 16px;
        line-height: 1.7;
        color: var(--gray);
        margin-bottom: 14px;
    }
    .page-hero .breadcrumb,
    .team-page-hero .breadcrumb {
        margin-top: 0;
        font-size: 13px;
    }

    /* Ekibimiz — mobil kartlar */
    .page-team .team-section.team-premium {
        padding: 32px 0 56px;
    }
    .page-team .team-section .container {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
    }
    .page-team .team-grid.team-premium__grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 0 20px;
    }
    .page-team .team-card.team-premium__card {
        border-radius: 28px;
        margin: 0;
        overflow: hidden;
    }
    .page-team .team-card-image.team-premium__media {
        height: 340px;
        overflow: hidden;
    }
    .page-team .team-card-image img,
    .page-team .team-premium__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }
    .page-team .team-card-content.team-premium__body {
        padding: 30px 26px;
    }
    .page-team .team-card-content h3,
    .page-team .team-premium__body h3 {
        font-size: 34px;
        line-height: 1.1;
        margin-bottom: 8px;
    }
    .page-team .team-premium__role {
        font-size: 16px;
        letter-spacing: 1.5px;
        margin-bottom: 14px;
    }
    .page-team .team-premium__desc {
        font-size: 17px;
        line-height: 1.6;
        -webkit-line-clamp: 3;
    }
    .page-team .team-premium__social { opacity: 1; transform: none; }

    .team-modal__box { max-height: 92vh; margin: 0 12px; }
    .team-modal__info { padding: 28px 20px; }

    .page-hero h1 { font-size: clamp(30px, 7vw, 40px); }
    .references-page-grid { grid-template-columns: repeat(2, 1fr); }

    /* WhatsApp — ana sayfa hariç iç sayfalar */
    body:not(.page-home) .whatsapp-fixed.whatsapp-premium {
        left: 20px;
        bottom: 22px;
        width: 58px;
        height: 58px;
        font-size: 26px;
        z-index: 800;
    }

    .back-to-top { width: 44px; height: 44px; }
}

/* --- 576px Büyük telefon --- */
@media (max-width: 576px) {
    :root { --header-h: 86px; }
    .container { padding: 0 16px; }
    .section-block { padding: 52px 0; }
    .logo img { height: 46px; max-width: 180px; }

    .service-lux-card__visual { flex: 0 0 180px; min-height: 180px; }
    .services-luxury__stats { grid-template-columns: 1fr; }
    .services-luxury__stat { border-bottom: 1px solid rgba(0,0,0,0.06); }
    .services-luxury__stat:last-child { border-bottom: none; }

    .team-stats-band__grid { grid-template-columns: 1fr 1fr; gap: 20px; padding: 40px 0; }
    .team-cta__actions { flex-direction: column; width: 100%; }
    .team-cta__actions .btn { width: 100%; }
    .team-cta__inner { padding: 32px 20px; }

    .modal-success__box { margin: 0 12px; padding: 36px 24px; }
    .references-page-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }

    .project-filters {
        flex-wrap: nowrap; justify-content: flex-start;
        overflow-x: auto; -webkit-overflow-scrolling: touch;
        padding-bottom: 12px; margin-bottom: 32px;
        scrollbar-width: none;
    }
    .project-filters::-webkit-scrollbar { display: none; }
    .project-filter-btn { flex-shrink: 0; }

    .pb-hero__grid { min-height: 280px; padding: 32px 24px; }
    .pb-text-image__grid { grid-template-columns: 1fr; gap: 28px; }
    .pb-text-image__grid.is-reverse { direction: ltr; }
}

/* --- 430px / 414px — mobil header dil seçici --- */
@media (max-width: 430px) {
    .header-inner { gap: 8px; }
    .logo img { height: 44px; max-width: 168px; }
    .header-actions { gap: 6px; }
    .header-actions .lang-switch--compact .lang-switch__btn {
        min-width: 34px; min-height: 34px; padding: 7px 9px; font-size: 12px;
    }
    .hamburger { width: 44px; height: 44px; }
}

@media (max-width: 414px) {
    :root { --header-h: 84px; }
    .header-inner { gap: 6px; }
    .logo img { height: 42px; max-width: 156px; }
    .header-actions .lang-switch--compact { padding: 2px; }
    .header-actions .lang-switch--compact .lang-switch__btn {
        min-width: 32px; min-height: 32px; padding: 6px 8px; font-size: 11px;
    }
    .hamburger { width: 42px; height: 42px; gap: 5px; }
    .hamburger span { width: 20px; }
}

@media (max-width: 390px) {
    .logo img { max-width: 148px; height: 40px; }
    .header-actions { gap: 5px; }
}

@media (max-width: 360px) {
    .logo img { max-width: 136px; height: 38px; }
    .header-actions .lang-switch--compact .lang-switch__btn {
        min-width: 30px; min-height: 30px; padding: 5px 7px; font-size: 11px;
    }
    .hamburger { width: 40px; height: 40px; }
}

/* --- 420px Küçük mobil --- */
@media (max-width: 420px) {
    .hero-slider.hero-premium {
        max-height: 700px;
    }
    .hero-slider .hero-content-card.hero-glass {
        bottom: 88px;
        padding: 24px 20px;
        border-radius: 24px;
    }
    .hero-slider .hero-glass__title {
        font-size: 34px;
    }
    .hero-slider .hero-glass__text {
        font-size: 14px;
    }
    .hero-slider .hero-slider-pagination.hero-premium__controls {
        bottom: 30px;
    }
    body:has(#hero) .whatsapp-premium {
        bottom: 68px;
        left: 16px;
        width: 48px;
        height: 48px;
    }

    .btn { padding: 12px 22px; font-size: 12px; }
    .section-title { font-size: clamp(26px, 7vw, 32px); }
    .team-stats-band__grid { grid-template-columns: 1fr; }
    .page-team .team-card-image.team-premium__media { height: 320px; }
    .page-team .team-card-content h3,
    .page-team .team-premium__body h3 { font-size: 34px; }
    .page-team .team-premium__desc { font-size: 14px; }
    .page-team .team-card-content.team-premium__body { padding: 24px 20px; }
    .page-team .team-section.team-premium { padding-top: 28px; }

    .whatsapp-premium { bottom: 24px; left: 20px; width: 48px; height: 48px; font-size: 22px; }
    .site-topbar__inner { padding: 10px 36px 10px 12px; font-size: 12px; }
    .premium-popup { padding: 12px; }
    .premium-popup__box { max-width: 92vw; border-radius: 14px; }
    .premium-popup__body { padding: 20px 18px 24px; }
    .premium-popup__close { width: 40px; height: 40px; top: 8px; right: 8px; }
}
