/* LERTA — uygulama üst başlık: kompakt logo + yan pitch */

/* WordPress admin bar — giriş yapmış kullanıcıda üst başlık admin bar altında kalmamalı */
html.admin-bar {
    margin-top: 32px !important;
}

@media screen and (max-width: 782px) {
    html.admin-bar {
        margin-top: 46px !important;
    }
}

.admin-bar .u88-nav {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .u88-nav {
        top: 46px;
    }
}

.u88-site-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 48%, #0ea5e9 100%);
    padding: 0.65rem 1.25rem;
    border-bottom: 3px solid rgba(56, 189, 248, 0.45);
    box-shadow: 0 4px 18px rgba(3, 105, 161, 0.18);
}

.u88-site-header__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.u88-site-header__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.35;
    animation: u88-orb-drift 14s ease-in-out infinite;
}

.u88-site-header__orb--1 {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.45), transparent 70%);
    top: -50px;
    right: 8%;
}

.u88-site-header__orb--2 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.32), transparent 70%);
    bottom: -40px;
    left: 6%;
    animation-delay: -6s;
}

.u88-site-header__inner {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.u88-site-header__brand-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(0.85rem, 2vw, 1.35rem);
    width: 100%;
}

.u88-site-title {
    margin: 0;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Split: ikon kutusu | yazı */
.u88-brand-hero--split {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: inherit;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    animation: none;
}

.u88-brand-hero--split:hover {
    transform: none;
    box-shadow: none;
}

.u88-brand-hero__mark {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0.3rem;
    border-radius: 0.7rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
    animation: u88-mark-float 5s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.u88-brand-hero--split:hover .u88-brand-hero__mark {
    transform: translateY(-2px);
}

.u88-brand-hero__mark-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.u88-brand-logo--icon {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.u88-brand-hero--app-bar .u88-brand-logo--icon {
    width: 36px;
    height: 36px;
}

.u88-brand-hero__ring {
    position: absolute;
    inset: -2px;
    border-radius: 0.8rem;
    padding: 2px;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(249, 115, 22, 0.85) 70deg,
        rgba(251, 191, 36, 0.6) 140deg,
        transparent 220deg,
        rgba(249, 115, 22, 0.45) 300deg,
        transparent 360deg
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: u88-hero-spin 10s linear infinite;
    opacity: 0.75;
    pointer-events: none;
}

.u88-brand-hero__glow {
    position: absolute;
    inset: 12%;
    border-radius: 0.55rem;
    background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.32), transparent 68%);
    animation: u88-hero-pulse 3.5s ease-in-out infinite;
    pointer-events: none;
}

.u88-brand-hero__shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none;
}

.u88-brand-hero__shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    animation: u88-hero-shine 5s ease-in-out infinite;
}

/* Yazı — önceki sade stil (beyaz LERTA + turuncu alt satır) */
.u88-brand-hero__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    line-height: 1.1;
}

.u88-brand-hero__title {
    display: block;
    font-family: Inter, system-ui, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.u88-brand-hero--app-bar .u88-brand-hero__title {
    font-size: 1.2rem;
}

.u88-brand-hero__tagline {
    display: block;
    margin-top: 0.12rem;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #bae6fd;
}

.u88-brand-hero--app-bar .u88-brand-hero__tagline {
    font-size: 0.62rem;
}

/* Logo sağında pitch alanı */
.u88-site-header__pitch {
    flex: 1;
    min-width: 0;
    padding-left: clamp(0.75rem, 2vw, 1.15rem);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.u88-site-header__lead {
    margin: 0 0 0.25rem;
    font-size: clamp(0.78rem, 1.6vw, 0.9rem);
    font-weight: 700;
    color: #e0f2fe;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.u88-site-header__slogan {
    margin: 0;
    font-size: clamp(0.72rem, 1.45vw, 0.86rem);
    font-weight: 500;
    color: #bfdbfe;
    line-height: 1.45;
    letter-spacing: 0.01em;
    max-width: 36rem;
}

@keyframes u88-mark-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes u88-hero-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes u88-hero-shine {
    0%, 75% { left: -120%; }
    100% { left: 130%; }
}

@keyframes u88-hero-spin {
    to { transform: rotate(360deg); }
}

@keyframes u88-orb-drift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -8px); }
}

/* Pazarlama üst çubuğu — kompakt split */
.u88-public-topbar .u88-brand-hero--split {
    gap: 0.45rem;
}

.u88-public-topbar .u88-brand-hero__mark {
    padding: 0.25rem;
    border-radius: 0.65rem;
}

.u88-public-topbar .u88-brand-logo--icon {
    width: 34px;
    height: 34px;
}

.u88-public-topbar .u88-brand-hero__title {
    font-size: 1.05rem;
}

.u88-public-topbar .u88-brand-hero__tagline {
    font-size: 0.58rem;
}

/* Footer — vitrin ve panel sayfalarında aynı marka (ikon + LERTA/Oto Servis) */
.u88-public-footer .u88-brand-hero--split {
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.u88-public-footer .u88-brand-hero__mark {
    padding: 0.25rem;
    border-radius: 0.6rem;
}

.u88-public-footer .u88-brand-logo--icon {
    width: 32px;
    height: 32px;
}

.u88-public-footer .u88-brand-hero__title {
    font-size: 1rem;
}

.u88-public-footer .u88-brand-hero__tagline {
    font-size: 0.56rem;
}

@media (max-width: 900px) {
    .u88-site-header__brand-row {
        flex-wrap: wrap;
        gap: 0.65rem;
    }
    .u88-site-header__pitch {
        flex: 1 1 100%;
        border-left: none;
        padding-left: 0;
        padding-top: 0.35rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 768px) {
    .u88-site-header {
        padding: 0.55rem 0.85rem;
    }
    .u88-public-topbar-inner {
        min-height: 56px;
        padding: 0.4rem 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .u88-brand-hero__mark,
    .u88-brand-hero__ring,
    .u88-brand-hero__glow,
    .u88-brand-hero__shine::after,
    .u88-site-header__orb {
        animation: none !important;
    }
    .u88-brand-hero--split:hover .u88-brand-hero__mark {
        transform: none;
    }
}
