/* Anasayfa — Bootstrap grid + Tailwind uyumlu override */

.home-page {
    overflow-x: hidden;
}

.home-page .page-loader {
    pointer-events: none;
}

.home-page .page-loader--hidden {
    opacity: 0;
    visibility: hidden;
}

.home-page .container {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

.home-page .row {
    margin-left: -12px;
    margin-right: -12px;
}

.home-page .row > [class*="col"] {
    padding-left: 12px;
    padding-right: 12px;
}

.home-page .page-loader__icon {
    font-size: 2.5rem;
    color: #f5a623;
}

.home-page .btn-baretim {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    border-radius: 9999px;
    padding: 0.85rem 1.6rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.home-page .btn-baretim:hover {
    transform: translateY(-2px);
}

.home-page .btn-baretim--primary {
    background: #f5a623;
    border: 1px solid #f5a623;
    color: #0a1628;
}

.home-page .btn-baretim--primary:hover {
    background: #e09010;
    border-color: #e09010;
    color: #0a1628;
}

.home-page .btn-baretim--outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

.home-page .btn-baretim--outline:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.home-page .btn-baretim--dark {
    background: #0a1628;
    border: 1px solid #0a1628;
    color: #fff;
}

.home-page .btn-baretim--dark:hover {
    background: #132a4a;
    color: #fff;
}

/* Hero */
.home-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height, 80px) + 48px) 0 64px;
    background:
        radial-gradient(ellipse at 18% 40%, rgba(245, 166, 35, 0.1) 0%, transparent 55%),
        linear-gradient(180deg, #0a1628 0%, #132a4a 100%);
    color: #fff;
    overflow: visible;
}

.home-hero > .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.home-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}

.home-hero__title {
    font-family: 'Instrument Sans', system-ui, sans-serif;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 1.25rem;
    color: #fff;
}

.home-hero__title span {
    background: linear-gradient(135deg, #f5a623, #ffd080);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-hero__desc {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #cbd5e1;
    max-width: 34rem;
    margin: 0 0 1.75rem;
}

.home-hero__stat-value {
    font-family: 'Instrument Sans', system-ui, sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #f5a623;
    line-height: 1;
}

.home-hero__stat-label {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-top: 0.35rem;
}

.home-orbit {
    position: relative;
    width: min(100%, 400px);
    aspect-ratio: 1;
    margin: 0 auto;
    flex-shrink: 0;
}

.home-orbit__ring {
    position: absolute;
    inset: 14%;
    border: 2px dashed rgba(245, 166, 35, 0.25);
    border-radius: 50%;
    animation: home-orbit-spin 32s linear infinite;
    pointer-events: none;
}

@keyframes home-orbit-spin {
    to { transform: rotate(360deg); }
}

.home-orbit__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f5a623;
    background: #fff;
    box-shadow: 0 0 60px rgba(245, 166, 35, 0.28);
    z-index: 2;
}

.home-orbit__center img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-orbit__icon {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5a623;
    font-size: 1.2rem;
    z-index: 3;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.home-orbit__icon--1 { top: 0; left: 50%; transform: translateX(-50%); }
.home-orbit__icon--2 { top: 18%; right: 2%; }
.home-orbit__icon--3 { bottom: 18%; right: 2%; }
.home-orbit__icon--4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.home-orbit__icon--5 { bottom: 18%; left: 2%; }
.home-orbit__icon--6 { top: 18%; left: 2%; }

/* Stats */
.home-stats {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 2rem 0;
}

.home-stats__value {
    font-family: 'Instrument Sans', system-ui, sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #f5a623;
    line-height: 1;
}

.home-stats__label {
    margin-top: 0.4rem;
    font-size: 0.9rem;
    color: #64748b;
}

/* Section helpers */
.home-section {
    padding: 5rem 0;
}

.home-section--gray {
    background: #eef2f6;
}

.home-section--dark {
    background: #0a1628;
    color: #fff;
}

.home-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f5a623;
    margin-bottom: 0.75rem;
}

.home-title {
    font-family: 'Instrument Sans', system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem;
    color: #0a1628;
}

.home-section--dark .home-title {
    color: #fff;
}

.home-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #64748b;
}

.home-section--dark .home-desc {
    color: #cbd5e1;
}

/* Exam / feature rows */
.home-exam {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    margin-bottom: 0.85rem;
}

.home-exam__icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: rgba(245, 166, 35, 0.12);
    color: #f5a623;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.home-exam__title {
    font-size: 1rem;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 0.25rem;
}

.home-exam__text {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
}

/* Service / education cards */
.home-card {
    height: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 1.15rem;
    background: #fff;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(10, 22, 40, 0.1);
    border-color: transparent;
}

.home-card__icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.85rem;
    background: rgba(245, 166, 35, 0.12);
    color: #f5a623;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.home-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.home-card__title a {
    color: #0a1628;
    text-decoration: none;
}

.home-card__title a:hover {
    color: #f5a623;
}

.home-card__text {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.home-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #f5a623;
    text-decoration: none;
}

.home-card__link:hover {
    gap: 0.65rem;
    color: #e09010;
}

.home-card--dark {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.home-card--dark .home-card__title a {
    color: #fff;
}

.home-card--dark .home-card__text {
    color: #cbd5e1;
}

.home-card--dark:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(245, 166, 35, 0.35);
}

/* About */
.home-about-visual {
    position: relative;
}

.home-about-visual img {
    width: 100%;
    border-radius: 1.25rem;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.home-about-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: #f5a623;
    color: #0a1628;
    border-radius: 1rem;
    padding: 0.85rem 1.1rem;
    box-shadow: 0 8px 24px rgba(10, 22, 40, 0.2);
}

.home-about-badge__value {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.home-about-badge__label {
    font-size: 0.8rem;
    font-weight: 600;
}

.home-content-page {
    color: #475569;
    line-height: 1.75;
}

.home-content-page p {
    margin-bottom: 0.85rem;
}

/* References */
.home-ref {
    min-height: 96px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.home-ref:hover {
    transform: translateY(-3px);
    border-color: #f5a623;
}

.home-ref img {
    max-height: 64px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.72;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.home-ref:hover img {
    filter: none;
    opacity: 1;
}

.home-ref__fallback {
    display: none;
    color: #94a3b8;
    font-size: 1.5rem;
}

.home-ref--fallback img {
    display: none;
}

.home-ref--fallback .home-ref__fallback {
    display: block;
}

@media (max-width: 991.98px) {
    .home-hero {
        min-height: auto;
        padding-top: calc(var(--header-height, 80px) + 32px);
        padding-bottom: 48px;
        align-items: flex-start;
    }

    .home-orbit {
        margin-top: 2rem;
        width: min(100%, 320px);
    }

    .home-orbit__icon {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}
