/**
 * Business Cargo — UX/UI Theme Layer
 * Sarı + gri ana palet. Mevcut sınıfları geliştirir, override etmez.
 */

:root {
    --gray-50: #FAFAFA;
    --gray-200: #E8E8E8;
    --gray-800: #2A2A2A;
    --gray-850: #222222;
    --yellow-soft: #FFF9E6;
    --yellow-glow: rgba(255, 204, 0, .35);
    --surface: var(--white);
    --surface-muted: var(--gray-100);
    --border-soft: rgba(0, 0, 0, .08);
    --focus-ring: 0 0 0 3px rgba(255, 204, 0, .35);
    --radius-xl: 16px;
    --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* Typography rhythm */
.section-title {
    letter-spacing: -.02em;
    line-height: 1.2;
}
.section-desc {
    line-height: 1.75;
}

.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gray-700);
    background: var(--yellow-light);
    border: 1px solid rgba(255, 204, 0, .35);
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.section-header .section-eyebrow {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Header & navigation polish */
.main-nav__link {
    position: relative;
}
.main-nav__link::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 10px;
    height: 2px;
    background: var(--yellow-dark);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s var(--ease-out);
}
.main-nav__link:hover::after,
.main-nav__link.is-active::after {
    transform: scaleX(1);
}
.main-nav__link:hover,
.main-nav__link.is-active {
    color: var(--black);
}
.dropdown {
    border: 1px solid var(--gray-200);
    border-top: 3px solid var(--yellow);
}
.dropdown a:hover {
    background: var(--yellow-soft);
    color: var(--black);
}
.portal-link {
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}
.portal-link:hover {
    background: var(--yellow-light);
    color: var(--black);
}

/* Hero tracking card */
.hero__tracking {
    max-width: 720px;
}
.tracking-form__group {
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, .25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
    border-radius: var(--radius-md);
}
.tracking-form input {
    background: var(--white);
}
.tracking-form input::placeholder {
    color: var(--gray-500);
}
.hero__badge {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .28);
    backdrop-filter: blur(8px);
    font-weight: 500;
}

/* Quick action cards */
.action-card {
    border: 1px solid var(--gray-200);
    border-top: 4px solid var(--yellow);
    box-shadow: var(--shadow-sm);
}
.action-card:hover {
    border-color: var(--yellow-dark);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
}
.action-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow-light);
    border-radius: var(--radius-md);
    color: var(--gray-800);
}
.action-card__title {
    color: var(--black);
}
.action-card--featured {
    border-top-color: var(--gray-800);
    background: linear-gradient(180deg, var(--yellow-soft) 0%, var(--white) 100%);
}

/* Stats bar — soft gray band */
.stats-bar {
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: inset 0 1px 0 var(--white);
}
.stat-card {
    position: relative;
}
.stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--gray-300);
}
.stat-card__value {
    color: var(--black);
}
.stat-card__label {
    font-weight: 500;
}

/* Cards & steps */
.why-card {
    border-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
}
.why-card__icon {
    color: var(--gray-800);
    border: 1px solid rgba(255, 204, 0, .4);
}
.step-card {
    border-color: var(--gray-200);
    transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.step-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.step-card__num {
    background: var(--gray-800);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

/* Service blocks */
.service-block {
    border: 1px solid var(--gray-200);
    transition: box-shadow .3s var(--ease-out);
}
.service-block:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, .1);
}
.service-block__subtitle {
    color: var(--gray-700);
    font-weight: 600;
}
.feature-item__icon {
    background: var(--yellow);
    box-shadow: 0 0 0 2px var(--yellow-light);
}

/* Updates list → card style */
.updates {
    background: var(--gray-50);
}
.updates-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.updates-list li {
    margin-bottom: 0;
}
.updates-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--yellow);
    border-radius: var(--radius-md);
    color: var(--gray-900);
    font-weight: 600;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.updates-list a:hover {
    color: var(--black);
    border-left-color: var(--gray-800);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}
.updates-list a span {
    color: var(--gray-500);
    font-size: 18px;
}

/* Featured cards */
.featured-card {
    border-color: var(--gray-200);
    transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.featured-card:hover {
    transform: translateY(-4px);
}
.featured-card__body h3 a {
    color: var(--black);
}
.featured-card__body h3 a:hover {
    color: var(--gray-800);
}

/* FAQ */
.faq-item {
    border-color: var(--gray-200);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item.is-open {
    border-color: var(--yellow-dark);
    box-shadow: var(--shadow-sm);
}
.faq-item__icon {
    color: var(--gray-800);
    border: 1px solid rgba(255, 204, 0, .45);
}

/* CTA banner */
.cta-banner {
    background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-muted) 100%);
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .35) 0%, transparent 55%);
    pointer-events: none;
}
.cta-banner__inner {
    position: relative;
    z-index: 1;
}
.btn--white {
    background: var(--gray-800);
    border-color: var(--gray-800);
}
.btn--white:hover {
    background: var(--black);
    border-color: var(--black);
}
.btn--outline-white {
    border-color: var(--gray-800);
    color: var(--gray-800);
}
.btn--outline-white:hover {
    background: var(--gray-800);
    border-color: var(--gray-800);
}

/* Footer — dark gray + yellow accents */
.site-footer {
    background: var(--gray-850);
    border-top: 4px solid var(--yellow);
    color: var(--gray-300);
}
.footer-col__title {
    color: var(--yellow);
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.footer-col__list a {
    color: var(--gray-300);
    transition: color var(--transition), padding-left var(--transition);
}
.footer-col__list a:hover {
    color: var(--yellow);
    padding-left: 4px;
}
.footer-contact svg {
    color: var(--yellow);
}
.footer-contact a {
    color: var(--white);
}
.footer-contact a:hover {
    color: var(--yellow);
}
.footer-bottom {
    background: var(--gray-800);
    border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: var(--gray-300);
}
.footer-social a:hover {
    background: var(--yellow);
    color: var(--black);
}
.footer-legal__links a {
    color: var(--gray-500);
}
.footer-legal__links a:hover {
    color: var(--yellow);
}
.footer-copyright {
    color: var(--gray-500);
}

/* Forms & inputs */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--yellow-dark);
    box-shadow: var(--focus-ring);
}
.form-section legend {
    border-bottom-color: var(--yellow);
    color: var(--gray-800);
}

/* Page hero inner pages */
.page-hero {
    background: linear-gradient(180deg, var(--yellow) 0%, var(--yellow-muted) 100%);
    border-bottom: 1px solid var(--border-soft);
}
.page-hero__meta li {
    background: rgba(255, 255, 255, .7);
    font-weight: 500;
}
.page-intro {
    border-left-color: var(--yellow-dark);
    background: var(--yellow-soft);
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--gray-50);
}
.breadcrumbs__item a {
    color: var(--gray-800);
}
.breadcrumbs__item a:hover {
    color: var(--black);
}

/* Back to top — yellow/gray theme */
.back-to-top {
    background: var(--gray-800);
    color: var(--yellow);
    border: 2px solid var(--yellow);
}
.back-to-top:hover {
    background: var(--yellow);
    color: var(--black);
}

/* Scroll reveal (JS adds .is-visible) */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal--delay-1 { transition-delay: .1s; }
.reveal--delay-2 { transition-delay: .2s; }
.reveal--delay-3 { transition-delay: .3s; }

/* Trust strip */
.trust-strip {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 14px 0;
}
.trust-strip__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 28px;
}
.trust-strip__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
}
.trust-strip__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 0 3px var(--yellow-light);
}

@media (max-width: 768px) {
    .stat-card:not(:last-child)::after {
        display: none;
    }
    .stats-bar__grid {
        gap: 8px;
    }
    .stat-card {
        background: var(--white);
        border-radius: var(--radius-md);
        border: 1px solid var(--gray-200);
    }
    .trust-strip__inner {
        gap: 10px 16px;
    }
    .trust-strip__item {
        font-size: 12px;
    }
}

/* Inner page cards */
.form-card,
.card-grid .info-card,
.news-card {
    border-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .25s var(--ease-out);
}
.form-card:hover,
.card-grid .info-card:hover,
.news-card:hover {
    box-shadow: var(--shadow-md);
}
.news-card {
    border-left: 3px solid var(--yellow);
}
.news-card--alert {
    border-left-color: var(--gray-800);
}
.service-detail-card {
    border-color: var(--gray-200);
}
.location-card h3 {
    color: var(--black);
}
.location-card h3:hover {
    color: var(--gray-800);
}
.contact-card {
    border: 1px solid var(--gray-200);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-card:hover {
    border-color: var(--yellow-dark);
    box-shadow: var(--shadow-sm);
}
.contact-card__icon {
    color: var(--gray-800);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .main-nav__link::after {
        transition: none;
    }
}
