/* ==========================================================================
   APX-PREMIUM.CSS — AutoPrime Premium Animasyon + Bileşen Stilleri
   Sprint 20.5 — HQ + Bayi ortak kullanır.

   İçerik:
   1.  Image Reveal masks (clip-path)
   2.  Parallax wrapper
   3.  Counter typography
   4.  Timeline vertical (premium)
   5.  Glassmorphism cards
   6.  Magnetic button base
   7.  Pricing table (premium yeniden yazım)
   8.  Service Detail page
   9.  Project Detail page
   10. About page enhancements
   11. Contact page enhancements
   12. Shared utility tokens
   13. Mobile overrides
   14. prefers-reduced-motion

   Kural: Yalnızca transform/opacity/clip-path animate edilir.
   Width/height/top/left animasyonu yasak.
   ========================================================================== */

/* ==========================================================================
   0) SHARED TOKENS (hem HQ hem bayi kullanır)
   ========================================================================== */
:root {
    --apx-pm-brand:      var(--apx-brand, #FFB200);
    --apx-pm-brand-soft: rgba(255, 178, 0, 0.10);
    --apx-pm-brand-glow: rgba(255, 178, 0, 0.28);
    --apx-pm-ink-1:      #0e0d0a;
    --apx-pm-ink-2:      #2c2b27;
    --apx-pm-ink-3:      #6b6862;
    --apx-pm-surface-1:  #ffffff;
    --apx-pm-surface-2:  #f8f7f3;
    --apx-pm-line:       rgba(20, 19, 15, 0.08);
    --apx-pm-ease:       cubic-bezier(0.16, 1, 0.3, 1);
    --apx-pm-ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
    --apx-pm-radius-md:  16px;
    --apx-pm-radius-lg:  24px;
    --apx-pm-radius-xl:  32px;
    --apx-pm-shadow-md:  0 12px 28px rgba(20, 19, 15, 0.08), 0 4px 10px rgba(20, 19, 15, 0.04);
    --apx-pm-shadow-lg:  0 24px 60px rgba(20, 19, 15, 0.12), 0 8px 20px rgba(20, 19, 15, 0.06);
    --apx-pm-glass-bg:   rgba(255, 255, 255, 0.72);
    --apx-pm-glass-bd:   rgba(255, 255, 255, 0.18);
    --apx-pm-glass-blur: 16px;
}

/* ==========================================================================
   1) IMAGE REVEAL — clip-path wrapper
   data-apx-image-reveal ile JS tarafından yönetilir.
   .apx-img-reveal-wrap: overflow gizler, boyutları korur.
   ========================================================================== */
.apx-img-reveal-wrap,
[data-apx-image-reveal] {
    overflow: hidden;
    position: relative;
    display: block;
    line-height: 0; /* img altındaki boşluk */
}
[data-apx-image-reveal] img,
[data-apx-image-reveal] video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Reveal tamamlandıktan sonra will-change temizlenir */
[data-apx-image-reveal].apx-img-revealed {
    will-change: auto;
}

/* ==========================================================================
   2) PARALLAX WRAPPER
   Parent: overflow:hidden — içerik taşmasını engeller.
   ========================================================================== */
.apx-parallax-wrap {
    overflow: hidden;
    position: relative;
}
[data-apx-parallax] {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
[data-apx-parallax].apx-img-revealed {
    will-change: transform; /* parallax devam eder */
}

/* ==========================================================================
   3) COUNTER TYPOGRAPHY
   .apx-counter-num: büyük, vurgulu rakam
   .apx-counter-suffix: brand rengi ek
   .apx-counter-label: küçük açıklama metni
   ========================================================================== */
.apx-counter-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    padding: clamp(20px, 3vw, 36px) clamp(16px, 2vw, 28px);
}
.apx-counter-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--apx-pm-ink-1);
}
.apx-counter-num [data-counter],
.apx-counter-num .apx-counter-val {
    display: inline;
}
.apx-counter-suffix {
    color: var(--apx-pm-brand);
    font-weight: 700;
}
.apx-counter-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--apx-pm-ink-3);
    margin-top: 4px;
}
/* Koyu zemin üzerinde (dark section) */
.apx-on-dark .apx-counter-num {
    color: #fff;
}
.apx-on-dark .apx-counter-label {
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   4) TIMELINE VERTICAL — premium
   ========================================================================== */
.apx-timeline {
    padding: clamp(60px, 8vw, 100px) 0;
    background: var(--apx-pm-surface-1);
}
.apx-timeline-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 48px);
    position: relative;
}
/* Dikey çizgi */
.apx-timeline-inner::before {
    content: '';
    position: absolute;
    left: calc(clamp(20px, 5vw, 48px) + 20px);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--apx-pm-brand) 8%,
        var(--apx-pm-brand) 92%,
        transparent 100%
    );
}
.apx-timeline-item {
    position: relative;
    padding-left: 56px;
    padding-bottom: clamp(32px, 5vw, 52px);
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.6s var(--apx-pm-ease),
        transform 0.6s var(--apx-pm-ease);
}
.apx-timeline-item.is-revealed {
    opacity: 1;
    transform: translateY(0);
}
/* Node dot */
.apx-timeline-item::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--apx-pm-surface-1);
    border: 3px solid var(--apx-pm-brand);
    box-shadow: 0 0 0 4px var(--apx-pm-brand-soft);
    transition: box-shadow 0.3s;
    z-index: 1;
}
.apx-timeline-item:hover::before {
    box-shadow: 0 0 0 7px var(--apx-pm-brand-glow);
}
.apx-timeline-year {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--apx-pm-brand);
    margin-bottom: 6px;
}
.apx-timeline-title {
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    font-weight: 700;
    color: var(--apx-pm-ink-1);
    line-height: 1.35;
    margin: 0 0 8px;
}
.apx-timeline-desc {
    font-size: 14.5px;
    color: var(--apx-pm-ink-3);
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   5) GLASSMORPHISM CARDS
   .apx-glass-card — evrensel glassmorphism bileşeni
   ========================================================================== */
.apx-glass-card {
    background: var(--apx-pm-glass-bg);
    -webkit-backdrop-filter: blur(var(--apx-pm-glass-blur));
    backdrop-filter: blur(var(--apx-pm-glass-blur));
    border: 1px solid var(--apx-pm-glass-bd);
    border-radius: var(--apx-pm-radius-lg);
    box-shadow: var(--apx-pm-shadow-md);
    padding: clamp(24px, 4vw, 40px);
    transition:
        transform 0.38s var(--apx-pm-ease-out),
        box-shadow 0.38s var(--apx-pm-ease-out);
}
.apx-glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--apx-pm-shadow-lg);
}
/* Dark glass */
.apx-glass-card--dark {
    background: rgba(14, 13, 10, 0.55);
    border-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* ==========================================================================
   6) MAGNETIC BUTTON BASE
   data-apx-magnet ve .apx-btn-magnet için temel stiller.
   Gerçek transform JS'te uygulanır; burada yalnızca görsel temel.
   ========================================================================== */
[data-apx-magnet],
.apx-btn-magnet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    /* will-change JS tarafından dinamik eklenir */
}
/* Focus visible ring — a11y */
[data-apx-magnet]:focus-visible,
.apx-btn-magnet:focus-visible {
    outline: 2px solid var(--apx-pm-brand);
    outline-offset: 3px;
}

/* ==========================================================================
   7) PRICING TABLE — Premium Yeniden Yazım
   .apx-pricing-grid: 3 kolon
   .apx-pricing-card: her paket
   .apx-pricing-card--featured: vurgulanan plan
   ========================================================================== */
.apx-pricing-section {
    padding: clamp(60px, 8vw, 100px) 0;
    background: var(--apx-pm-surface-2);
}
.apx-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.5vw, 24px);
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 48px);
}
@media (max-width: 900px) {
    .apx-pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .apx-pricing-grid { grid-template-columns: 1fr; }
}
.apx-pricing-card {
    background: var(--apx-pm-surface-1);
    border: 1.5px solid var(--apx-pm-line);
    border-radius: var(--apx-pm-radius-lg);
    padding: clamp(28px, 4vw, 44px) clamp(24px, 3vw, 36px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition:
        transform 0.36s var(--apx-pm-ease-out),
        box-shadow 0.36s var(--apx-pm-ease-out);
    opacity: 0;
    transform: translateY(24px);
}
.apx-pricing-card.is-revealed {
    opacity: 1;
    transform: translateY(0);
}
.apx-pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--apx-pm-shadow-lg);
}
.apx-pricing-card--featured {
    background: var(--apx-pm-ink-1);
    border-color: var(--apx-pm-brand);
    color: #fff;
    box-shadow: 0 20px 52px rgba(255, 178, 0, 0.22);
    position: relative;
    z-index: 1;
}
.apx-pricing-card--featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 64px rgba(255, 178, 0, 0.32);
}
.apx-pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--apx-pm-brand);
    color: #0e0d0a;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    align-self: flex-start;
}
.apx-pricing-tier {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--apx-pm-ink-3);
}
.apx-pricing-card--featured .apx-pricing-tier {
    color: rgba(255, 255, 255, 0.55);
}
.apx-pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1;
}
.apx-pricing-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--apx-pm-ink-1);
}
.apx-pricing-card--featured .apx-pricing-amount {
    color: var(--apx-pm-brand);
}
.apx-pricing-period {
    font-size: 13px;
    color: var(--apx-pm-ink-3);
}
.apx-pricing-card--featured .apx-pricing-period {
    color: rgba(255, 255, 255, 0.5);
}
.apx-pricing-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
    flex: 1;
}
.apx-pricing-features li {
    font-size: 14.5px;
    color: var(--apx-pm-ink-2);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.apx-pricing-card--featured .apx-pricing-features li {
    color: rgba(255, 255, 255, 0.82);
}
.apx-pricing-features li::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='7.5' stroke='%23FFB200' stroke-width='1'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='%23FFB200' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
    margin-top: 1px;
    flex-shrink: 0;
}
.apx-pricing-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition:
        transform 0.28s var(--apx-pm-ease-out),
        box-shadow 0.28s var(--apx-pm-ease-out),
        background 0.22s;
    background: var(--apx-pm-ink-1);
    color: #fff;
    border: 1.5px solid var(--apx-pm-line);
}
.apx-pricing-card--featured .apx-pricing-cta {
    background: var(--apx-pm-brand);
    color: var(--apx-pm-ink-1);
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(255, 178, 0, 0.3);
}
.apx-pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--apx-pm-shadow-md);
}
.apx-pricing-card--featured .apx-pricing-cta:hover {
    box-shadow: 0 14px 36px rgba(255, 178, 0, 0.42);
}

/* ==========================================================================
   8) SERVICE DETAIL PAGE
   ========================================================================== */

/* Hero */
.apx-sd-hero {
    position: relative;
    width: 100%;
    min-height: 480px;
    height: clamp(420px, 55vh, 620px);
    overflow: hidden;
    background: #0e0d0a;
    color: #fff;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
}
.apx-sd-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.apx-sd-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    filter: brightness(0.55) saturate(1.08);
    transform-origin: center center;
    will-change: transform;
}
.apx-sd-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to right, rgba(14, 13, 10, 0.75) 0%, rgba(14, 13, 10, 0.15) 60%),
        linear-gradient(to top, rgba(14, 13, 10, 0.85) 0%, rgba(14, 13, 10, 0.0) 55%);
}
.apx-sd-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px) clamp(36px, 6vh, 64px);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.apx-sd-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--apx-pm-brand);
}
.apx-sd-hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--apx-pm-brand);
    border-radius: 2px;
}
.apx-sd-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: #fff;
    margin: 0;
    max-width: 680px;
}
.apx-sd-hero-title em {
    color: var(--apx-pm-brand);
    font-style: normal;
}
.apx-sd-hero-desc {
    font-size: clamp(15px, 1.8vw, 17px);
    color: rgba(255, 255, 255, 0.72);
    max-width: 520px;
    line-height: 1.65;
    margin: 0;
}
.apx-sd-hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
}

/* Description split */
.apx-sd-split {
    padding: clamp(60px, 8vw, 96px) 0;
    background: var(--apx-pm-surface-1);
}
.apx-sd-split-grid {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}
@media (max-width: 860px) {
    .apx-sd-split-grid { grid-template-columns: 1fr; }
}
.apx-sd-why-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--apx-pm-surface-2);
    border-radius: var(--apx-pm-radius-lg);
    padding: clamp(24px, 4vw, 40px);
    border: 1.5px solid var(--apx-pm-line);
}
.apx-sd-why-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--apx-pm-brand);
    margin-bottom: 8px;
}
.apx-sd-why-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.apx-sd-why-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: var(--apx-pm-brand-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--apx-pm-brand);
}
.apx-sd-why-text strong {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--apx-pm-ink-1);
    margin-bottom: 3px;
}
.apx-sd-why-text span {
    font-size: 13.5px;
    color: var(--apx-pm-ink-3);
    line-height: 1.6;
}

/* Products used — etiket şeridi */
.apx-sd-products {
    padding: clamp(40px, 6vw, 72px) 0;
    background: var(--apx-pm-surface-2);
}
.apx-sd-products-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}
.apx-sd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.apx-sd-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--apx-pm-ink-1);
    background: var(--apx-pm-surface-1);
    border: 1.5px solid var(--apx-pm-line);
    transition: border-color 0.22s, background 0.22s;
}
.apx-sd-tag:hover {
    border-color: var(--apx-pm-brand);
    background: var(--apx-pm-brand-soft);
}
.apx-sd-tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--apx-pm-brand);
    flex-shrink: 0;
}

/* Related services */
.apx-sd-related {
    padding: clamp(60px, 8vw, 96px) 0;
    background: var(--apx-pm-surface-1);
}
.apx-sd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 24px);
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
    margin-top: clamp(28px, 4vw, 48px);
}
@media (max-width: 900px) {
    .apx-sd-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .apx-sd-related-grid { grid-template-columns: 1fr; }
}
.apx-sd-rel-card {
    display: block;
    text-decoration: none;
    border-radius: var(--apx-pm-radius-md);
    overflow: hidden;
    background: var(--apx-pm-surface-1);
    border: 1.5px solid var(--apx-pm-line);
    transition: transform 0.34s var(--apx-pm-ease-out), box-shadow 0.34s var(--apx-pm-ease-out);
    opacity: 0;
    transform: translateY(20px);
}
.apx-sd-rel-card.is-revealed {
    opacity: 1;
    transform: translateY(0);
}
.apx-sd-rel-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--apx-pm-shadow-lg);
}
.apx-sd-rel-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.apx-sd-rel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.52s var(--apx-pm-ease);
}
.apx-sd-rel-card:hover .apx-sd-rel-img img {
    transform: scale(1.05);
}
.apx-sd-rel-body {
    padding: 18px 20px 22px;
}
.apx-sd-rel-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--apx-pm-ink-1);
    margin: 0 0 6px;
}
.apx-sd-rel-desc {
    font-size: 13px;
    color: var(--apx-pm-ink-3);
    margin: 0;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   9) PROJECT DETAIL PAGE
   ========================================================================== */
.apx-proj-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16/7;
    min-height: 380px;
    max-height: 600px;
    overflow: hidden;
    background: #0e0d0a;
    isolation: isolate;
}
@media (max-width: 768px) {
    .apx-proj-hero { aspect-ratio: 4/3; }
}
.apx-proj-hero-img {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.apx-proj-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.72);
    will-change: transform;
}
.apx-proj-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14,13,10,0.88) 0%, rgba(14,13,10,0) 55%);
    z-index: 1;
}
.apx-proj-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px) clamp(32px, 5vh, 56px);
}
.apx-proj-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.apx-proj-meta-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(255,178,0,0.15);
    color: var(--apx-pm-brand);
    border: 1px solid rgba(255,178,0,0.28);
}
.apx-proj-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0;
    max-width: 700px;
    line-height: 1.12;
}

/* Project body */
.apx-proj-body {
    max-width: 1320px;
    margin: 0 auto;
    padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 60px);
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}
@media (max-width: 960px) {
    .apx-proj-body { grid-template-columns: 1fr; }
}

/* Blockquote */
.apx-proj-quote {
    margin: clamp(24px, 4vw, 40px) 0;
    padding: 24px 28px;
    border-left: 3px solid var(--apx-pm-brand);
    background: var(--apx-pm-brand-soft);
    border-radius: 0 var(--apx-pm-radius-md) var(--apx-pm-radius-md) 0;
    font-size: clamp(15px, 2vw, 18px);
    font-style: italic;
    color: var(--apx-pm-ink-2);
    line-height: 1.65;
}

/* Sidebar meta card */
.apx-proj-sidebar-card {
    background: var(--apx-pm-surface-2);
    border: 1.5px solid var(--apx-pm-line);
    border-radius: var(--apx-pm-radius-lg);
    padding: 28px;
    position: sticky;
    top: 96px;
}
.apx-proj-sidebar-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
    border-bottom: 1px solid var(--apx-pm-line);
}
.apx-proj-sidebar-row:last-of-type { border-bottom: none; }
.apx-proj-sidebar-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--apx-pm-ink-3);
}
.apx-proj-sidebar-value {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--apx-pm-ink-1);
}

/* Gallery grid */
.apx-proj-gallery {
    padding: clamp(40px, 6vw, 72px) 0;
    background: var(--apx-pm-surface-2);
}
.apx-proj-gallery-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}
.apx-proj-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(8px, 1.5vw, 14px);
    margin-top: 28px;
}
@media (max-width: 900px) {
    .apx-proj-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
.apx-proj-gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--apx-pm-radius-md);
    cursor: zoom-in;
}
.apx-proj-gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}
.apx-proj-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.48s var(--apx-pm-ease);
    display: block;
}
.apx-proj-gallery-item:hover img {
    transform: scale(1.06);
}

/* Related projects */
.apx-proj-related {
    padding: clamp(60px, 8vw, 96px) 0;
    background: var(--apx-pm-surface-1);
}
.apx-proj-cta-section {
    padding: clamp(60px, 8vw, 96px) 0;
    background: var(--apx-pm-ink-1);
    text-align: center;
    color: #fff;
}
.apx-proj-cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 12px;
    color: #fff;
}
.apx-proj-cta-title em {
    color: var(--apx-pm-brand);
    font-style: normal;
}

/* ==========================================================================
   10) ABOUT PAGE ENHANCEMENTS
   ========================================================================== */
.apx-about-hero-fx {
    position: relative;
}
.apx-about-hero-fx [data-apx-parallax] {
    /* parent'ı wrap eder — overflow:hidden sağlanır */
}

/* Stats strip */
.apx-about-stats {
    padding: clamp(56px, 7vw, 88px) 0;
    background: var(--apx-pm-ink-1);
    color: #fff;
}
.apx-about-stats-grid {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 3vw, 36px);
}
@media (max-width: 760px) {
    .apx-about-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.apx-about-stats-divider {
    width: 1px;
    background: rgba(255,255,255,0.10);
    margin: auto;
    height: 100%;
}

/* Team grid */
.apx-about-team {
    padding: clamp(60px, 8vw, 96px) 0;
    background: var(--apx-pm-surface-1);
}
.apx-about-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2.5vw, 28px);
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
    margin-top: clamp(32px, 5vw, 52px);
}
@media (max-width: 900px) {
    .apx-about-team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .apx-about-team-grid { grid-template-columns: 1fr 1fr; }
}
.apx-team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.55s var(--apx-pm-ease),
        transform 0.55s var(--apx-pm-ease);
}
.apx-team-card.is-revealed {
    opacity: 1;
    transform: translateY(0);
}
.apx-team-avatar {
    width: clamp(80px, 14vw, 120px);
    height: clamp(80px, 14vw, 120px);
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 3px solid var(--apx-pm-line);
    transition: border-color 0.28s, box-shadow 0.28s;
}
.apx-team-card:hover .apx-team-avatar {
    border-color: var(--apx-pm-brand);
    box-shadow: 0 0 0 5px var(--apx-pm-brand-soft);
}
.apx-team-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--apx-pm-ink-1);
    margin: 0;
    line-height: 1.3;
}
.apx-team-role {
    font-size: 12.5px;
    color: var(--apx-pm-ink-3);
    margin: 0;
}
.apx-team-bio {
    font-size: 13px;
    color: var(--apx-pm-ink-3);
    line-height: 1.6;
    margin: 0;
}

/* Partners logo strip */
.apx-about-partners {
    padding: clamp(48px, 6vw, 80px) 0;
    background: var(--apx-pm-surface-2);
    overflow: hidden;
}
.apx-partners-ticker {
    display: flex;
    gap: clamp(36px, 5vw, 64px);
    align-items: center;
    width: max-content;
    animation: apxTicker 28s linear infinite;
}
.apx-about-partners:hover .apx-partners-ticker {
    animation-play-state: paused;
}
@keyframes apxTicker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.apx-partner-logo {
    height: clamp(28px, 4vw, 44px);
    width: auto;
    object-fit: contain;
    opacity: 0.55;
    filter: grayscale(1);
    transition: opacity 0.28s, filter 0.28s;
    flex-shrink: 0;
}
.apx-partner-logo:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* ==========================================================================
   11) CONTACT PAGE ENHANCEMENTS
   ========================================================================== */
.apx-contact-hero {
    position: relative;
    min-height: clamp(380px, 52vh, 560px);
    overflow: hidden;
    background: #0e0d0a;
    display: flex;
    align-items: center;
    isolation: isolate;
}
.apx-contact-hero-map {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.apx-contact-hero-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: brightness(0.4) saturate(0.5);
    pointer-events: none;
}
.apx-contact-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right, rgba(14,13,10,0.85) 0%, rgba(14,13,10,0.35) 60%);
}
.apx-contact-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    /* 2026-07-19: ust padding fixed header'i (~90px) hesaba katar —
       form karti header altina girmesin */
    padding: calc(clamp(36px, 6vw, 72px) + 92px) clamp(20px, 5vw, 60px) clamp(36px, 6vw, 72px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 60px);
    align-items: center;
}
@media (max-width: 860px) {
    .apx-contact-hero-content { grid-template-columns: 1fr; }
}

/* Glassmorphism form card */
.apx-contact-form-card {
    background: var(--apx-pm-glass-bg);
    -webkit-backdrop-filter: blur(var(--apx-pm-glass-blur));
    backdrop-filter: blur(var(--apx-pm-glass-blur));
    border: 1px solid var(--apx-pm-glass-bd);
    border-radius: var(--apx-pm-radius-xl);
    padding: clamp(28px, 4vw, 48px);
    box-shadow: var(--apx-pm-shadow-lg);
}
.apx-contact-hero-text {
    color: #fff;
}
.apx-contact-hero-text h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin: 0 0 14px;
    color: #fff;
}
.apx-contact-hero-text h1 em {
    color: var(--apx-pm-brand);
    font-style: normal;
}
.apx-contact-hero-text p {
    font-size: clamp(14px, 1.8vw, 16px);
    color: rgba(255,255,255,0.7);
    line-height: 1.65;
    margin: 0 0 24px;
}

/* Contact info cards */
.apx-contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 2vw, 20px);
    max-width: 1320px;
    margin: 0 auto;
    padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 60px);
}
@media (max-width: 760px) {
    .apx-contact-info-grid { grid-template-columns: 1fr; }
}
.apx-contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border-radius: var(--apx-pm-radius-md);
    background: var(--apx-pm-surface-2);
    border: 1.5px solid var(--apx-pm-line);
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.32s var(--apx-pm-ease-out),
        box-shadow 0.32s var(--apx-pm-ease-out),
        border-color 0.22s;
    opacity: 0;
    transform: translateY(18px);
}
.apx-contact-info-card.is-revealed {
    opacity: 1;
    transform: translateY(0);
}
.apx-contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--apx-pm-shadow-md);
    border-color: var(--apx-pm-brand);
}
.apx-contact-info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: var(--apx-pm-brand-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--apx-pm-brand);
    font-size: 18px;
}
.apx-contact-info-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--apx-pm-ink-3);
    margin-bottom: 4px;
}
.apx-contact-info-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--apx-pm-ink-1);
    line-height: 1.4;
}

/* Working hours table */
.apx-contact-hours {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px) clamp(40px, 6vw, 72px);
}
.apx-hours-table {
    width: 100%;
    max-width: 520px;
    border-collapse: collapse;
    font-size: 14.5px;
}
.apx-hours-table tr {
    border-bottom: 1px solid var(--apx-pm-line);
}
.apx-hours-table tr:last-child { border-bottom: none; }
.apx-hours-table td {
    padding: 12px 8px;
    vertical-align: middle;
}
.apx-hours-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--apx-pm-ink-1);
}
.apx-hours-closed {
    color: var(--apx-pm-ink-3) !important;
    font-weight: 400 !important;
}

/* Large map embed */
.apx-contact-map {
    width: 100%;
    aspect-ratio: 16/5;
    min-height: 280px;
    border: none;
    display: block;
    filter: saturate(0.85);
}
@media (max-width: 768px) {
    .apx-contact-map { aspect-ratio: 4/3; }
}

/* Social links */
.apx-contact-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}
.apx-contact-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--apx-pm-surface-2);
    border: 1.5px solid var(--apx-pm-line);
    color: var(--apx-pm-ink-2);
    text-decoration: none;
    font-size: 17px;
    transition:
        background 0.22s,
        border-color 0.22s,
        color 0.22s,
        transform 0.26s var(--apx-pm-ease-out);
}
.apx-contact-social-link:hover {
    background: var(--apx-pm-brand-soft);
    border-color: var(--apx-pm-brand);
    color: var(--apx-pm-brand);
    transform: translateY(-3px);
}

/* ==========================================================================
   12) FLOATING / STICKY CTA BAR (about + contact)
   ========================================================================== */
.apx-sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 120;
    background: var(--apx-pm-ink-1);
    border-top: 1px solid rgba(255, 178, 0, 0.18);
    padding: 14px clamp(20px, 5vw, 48px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    transform: translateY(100%);
    opacity: 0;
    transition:
        transform 0.44s var(--apx-pm-ease-out),
        opacity 0.36s;
    will-change: transform, opacity;
    color: #fff;
}
.apx-sticky-cta-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
}
.apx-sticky-cta-text {
    font-size: 14.5px;
    color: rgba(255,255,255,0.75);
}
.apx-sticky-cta-text strong {
    color: #fff;
    display: block;
    font-size: 15.5px;
}
.apx-sticky-cta-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

/* ==========================================================================
   13) FORM STYLING (contact form)
   ========================================================================== */
.apx-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.apx-form-label {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--apx-pm-ink-2);
}
.apx-form-input,
.apx-form-textarea,
.apx-form-select {
    padding: 13px 16px;
    border: 1.5px solid var(--apx-pm-line);
    border-radius: var(--apx-pm-radius-md);
    font-size: 14.5px;
    font-family: inherit;
    color: var(--apx-pm-ink-1);
    background: #fff;
    width: 100%;
    transition: border-color 0.22s, box-shadow 0.22s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.apx-form-input:focus,
.apx-form-textarea:focus,
.apx-form-select:focus {
    border-color: var(--apx-pm-brand);
    box-shadow: 0 0 0 3px var(--apx-pm-brand-soft);
}
.apx-form-textarea {
    resize: vertical;
    min-height: 120px;
}
/* Glass context'te form */
.apx-contact-form-card .apx-form-input,
.apx-contact-form-card .apx-form-textarea,
.apx-contact-form-card .apx-form-select {
    background: rgba(255,255,255,0.85);
}

/* ==========================================================================
   14) SECTION HEADER (sticky section labels)
   ========================================================================== */
.apx-section-sticky-header {
    position: sticky;
    top: 72px;
    z-index: 20;
    background: var(--apx-pm-surface-1);
    border-bottom: 1px solid var(--apx-pm-line);
    padding: 12px clamp(20px, 5vw, 60px);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--apx-pm-ink-3);
}

/* ==========================================================================
   14b) BUTTON VARIANTS (premium sayfalar için)
   apx-btn-outline-light: koyu zemin üzerinde açık renk outline
   apx-btn-outline-dark:  açık zemin üzerinde koyu outline
   ========================================================================== */
.apx-btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.38);
    transition:
        background 0.24s,
        border-color 0.24s,
        transform 0.28s var(--apx-pm-ease-out);
}
.apx-btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.65);
    transform: translateY(-2px);
}
.apx-btn-outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    color: var(--apx-pm-ink-1);
    border: 1.5px solid var(--apx-pm-line);
    transition:
        background 0.24s,
        border-color 0.24s,
        transform 0.28s var(--apx-pm-ease-out);
}
.apx-btn-outline-dark:hover {
    background: var(--apx-pm-surface-2);
    border-color: var(--apx-pm-brand);
    transform: translateY(-2px);
}

/* Accessibility utility */
.apx-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   15) MOBILE OVERRIDES
   ========================================================================== */
@media (max-width: 640px) {
    .apx-sd-hero { min-height: 340px; height: 56vw; max-height: 420px; }
    .apx-sd-hero-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
    .apx-sd-hero-desc { display: none; }

    .apx-proj-hero { min-height: 260px; }
    .apx-proj-gallery-grid { grid-template-columns: 1fr 1fr; }
    .apx-proj-gallery-item:first-child { grid-column: span 2; }

    .apx-contact-hero { min-height: 520px; }
    .apx-contact-hero-content { gap: 20px; }
    .apx-contact-form-card { padding: 20px; }

    .apx-about-team-grid { grid-template-columns: repeat(2, 1fr); }
    .apx-about-stats-grid { grid-template-columns: repeat(2, 1fr); }

    .apx-sticky-cta-bar .apx-sticky-cta-text { display: none; }
    .apx-sticky-cta-bar { padding: 10px 16px; }

    .apx-timeline-inner::before { left: calc(clamp(20px, 5vw, 48px) + 18px); }
}

/* ==========================================================================
   16) prefers-reduced-motion — tüm animasyonları kapat
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    [data-apx-image-reveal] {
        clip-path: none !important;
        transform: none !important;
        transition: none !important;
    }
    [data-apx-parallax] {
        transform: none !important;
        transition: none !important;
    }
    .apx-timeline-item {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .apx-pricing-card,
    .apx-sd-rel-card,
    .apx-contact-info-card,
    .apx-team-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .apx-partners-ticker {
        animation: none !important;
    }
    .apx-glass-card:hover,
    .apx-pricing-card:hover,
    .apx-sd-rel-card:hover,
    .apx-contact-info-card:hover,
    .apx-contact-social-link:hover {
        transform: none !important;
    }
    .apx-sticky-cta-bar {
        transition: none !important;
    }
}
