/* Menemen Oto Lastik — menemenotolastik.com teması (#f59e0b, #202e31) */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&family=Hind:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #f59e0b;
    --secondary-color: #b45309;
    --accent-color: #fbbf24;
    --dark-bg: #202e31;
    --darker-bg: #151d20;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --text-dark: #202e31;
    --text-light: #505050;
    --gradient-primary: linear-gradient(135deg, #f59e0b 0%, #202e31 100%);
    --gradient-dark: linear-gradient(135deg, #202e31 0%, #151d20 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    /* Bootstrap 5 uyumu */
    --bs-primary: #f59e0b;
    --bs-primary-rgb: 245, 158, 11;
    --topbar-height: 36px;
    /* Navbar (logo ~50px + padding + alt çizgi) — sabit başlık yüksekliği */
    --navbar-stack: 72px;
    /* fixed topbar + fixed navbar için tek yerden boşluk (çift margin oluşmasın) */
    --public-header-offset: calc(var(--topbar-height) + var(--navbar-stack));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hind', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--light-bg);
    overflow-x: hidden;
    padding-top: var(--public-header-offset);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', 'Segoe UI', sans-serif;
}

/* Modern Navbar — koyu slate (referans site) */
.navbar {
    background: linear-gradient(180deg, #202e31 0%, #151d20 100%) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 3px solid var(--primary-color);
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    right: 0;
    z-index: 1050;
}

.public-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--topbar-height);
    background: #111a1d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1060;
    font-size: 0.72rem;
}

.public-topbar .container {
    height: 100%;
}

.public-topbar-left a,
.public-topbar-left .topbar-address {
    color: rgba(255, 255, 255, 0.82);
    margin-right: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.public-topbar-left a:hover {
    color: #fff;
}

.topbar-social {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.topbar-social:hover {
    transform: translateY(-1px);
    background: var(--primary-color);
}

.topbar-cta {
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--primary-color);
    color: #111;
    font-weight: 700;
    font-size: 0.68rem;
    text-decoration: none;
    white-space: nowrap;
}

.topbar-cta:hover {
    color: #111;
    filter: brightness(1.06);
}

@media (max-width: 991px) {
    :root {
        --topbar-height: 32px;
        --navbar-stack: 56px;
    }
    .public-topbar-left a span {
        display: none;
    }
    .public-topbar-left a {
        margin-right: 8px;
    }
    .topbar-cta {
        max-width: 52vw;
    }
    .topbar-cta span {
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.navbar.scrolled {
    padding: 0.3rem 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.navbar-brand,
.site-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
}

.site-brand__logo {
    height: 50px;
    width: auto;
    display: block;
}

.site-brand__mark {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.site-brand__kicker {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #f59e0b;
}

.site-brand__name {
    font-family: Raleway, sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.navbar.scrolled .site-brand__logo {
    height: 44px;
}

@media (max-width: 576px) {
    .site-brand__logo { height: 42px; }
}

.navbar.scrolled .site-brand__mark {
    width: 38px;
    height: 38px;
}

.nav-phone {
    margin-left: 1rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: #f59e0b;
    color: #111 !important;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    white-space: nowrap;
}

.nav-phone:hover {
    color: #111 !important;
    filter: brightness(1.06);
}

.navbar-nav {
    align-items: center;
    gap: 0.1rem;
}

.nav-link {
    font-weight: 600;
    font-size: 0.78rem;
    margin: 0 0.08rem;
    padding: 0.45rem 0.7rem !important;
    color: var(--white) !important;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-toggle::after {
    display: none !important;
}

.nav-dd-arrow {
    margin-left: 6px;
    font-size: 0.68rem;
    transition: transform 0.2s ease;
}

.nav-gallery-dd.show .nav-dd-arrow,
.nav-gallery-dd:hover .nav-dd-arrow {
    transform: rotate(180deg);
}

.navbar .dropdown-menu {
    border: 1px solid rgba(195, 32, 38, 0.28);
    background: rgba(24, 33, 37, 0.97);
    border-radius: 12px;
    /* margin-top boşluk bırakınca imleç ara alanda hover kaybediyor; alt menü kapanıyordu */
    padding: 10px 8px 8px;
    margin-top: 0;
    min-width: 190px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.navbar .dropdown-item {
    border-radius: 8px;
    padding: 9px 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.navbar .dropdown-item.active {
    background: rgba(195, 32, 38, 0.18);
    color: #fff;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(195, 32, 38, 0.12);
}

.navbar .btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.55rem 1.1rem;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(195, 32, 38, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white) !important;
}

.navbar .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(195, 32, 38, 0.45);
}

.navbar .btn-primary i {
    margin-right: 0.5rem;
}

.navbar-toggler {
    border: 2px solid rgba(195, 32, 38, 0.45);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(195, 32, 38, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Slider — gövdede padding-top zaten başlığı hesaba kattığı için ek margin yok */
.carousel {
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.carousel-item {
    position: relative;
    height: calc(100vh - var(--public-header-offset));
    min-height: 500px;
}

/* Hero: fotografik arka plan uzerine okunabilirlik katmani.
   Yazilar goruntuye gomulu DEGIL; asagidaki canli HTML katmaninda durur. */
.vas-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(96deg,
            rgba(4, 6, 10, 0.95) 0%,
            rgba(4, 6, 10, 0.88) 28%,
            rgba(4, 6, 10, 0.48) 56%,
            rgba(4, 6, 10, 0.10) 80%,
            rgba(4, 6, 10, 0.30) 100%),
        linear-gradient(to bottom,
            rgba(4, 6, 10, 0.60) 0%,
            rgba(4, 6, 10, 0.00) 24%,
            rgba(4, 6, 10, 0.00) 70%,
            rgba(4, 6, 10, 0.80) 100%);
}

.hero-caption {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.hero-caption__box {
    max-width: 660px;
    padding-bottom: 2.5rem;
    pointer-events: auto;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.15rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.hero-eyebrow__rule {
    flex: 0 0 auto;
    width: 44px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-color), rgba(245, 158, 11, 0.15));
}

.hero-title {
    margin: 0 0 1.05rem;
    font-size: clamp(2rem, 4.3vw, 3.85rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.022em;
    color: #ffffff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.hero-sub {
    margin: 0 0 2rem;
    max-width: 33rem;
    font-size: clamp(1rem, 1.15vw, 1.18rem);
    line-height: 1.68;
    color: rgba(232, 238, 246, 0.82);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-hero-primary,
.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1.75rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a1206;
    box-shadow: 0 14px 34px rgba(245, 158, 11, 0.30);
}

.btn-hero-primary:hover {
    color: #1a1206;
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(245, 158, 11, 0.44);
}

.btn-hero-ghost {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.34);
    color: #ffffff;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.btn-hero-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Ferrari jant fare imleci (masaüstü) */
body.has-tire-cursor,
body.has-tire-cursor a,
body.has-tire-cursor button,
body.has-tire-cursor .btn,
body.has-tire-cursor .nav-link,
body.has-tire-cursor .ferrari-hero-wheel {
    cursor: none !important;
}

body.has-tire-cursor input,
body.has-tire-cursor textarea,
body.has-tire-cursor select,
body.has-tire-cursor [contenteditable="true"] {
    cursor: text !important;
}

.tire-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 52px;
    height: 52px;
    pointer-events: none;
    z-index: 999999;
    transform: translate3d(-100px, -100px, 0);
    will-change: transform;
    contain: layout style;
}

.tire-cursor img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.62));
    transform-origin: 50% 50%;
    backface-visibility: hidden;
}

/* Metin seçiminde ve mobilde imleç gizlenmez */
@media (hover: none), (pointer: coarse) {
    .tire-cursor { display: none; }
}

/* Hero: Ferrari jant + lastik */
.ferrari-hero-stage {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(56vw, 720px);
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: clamp(0.5rem, 3vw, 3.5rem);
}

.ferrari-hero-stage__glow {
    position: absolute;
    right: 8%;
    top: 42%;
    width: 68%;
    height: 46%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.28) 0%, rgba(245, 158, 11, 0.06) 46%, transparent 72%);
    filter: blur(8px);
}

.ferrari-hero-stage__shadow {
    position: absolute;
    right: 12%;
    bottom: 11%;
    width: 58%;
    height: 42px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.28) 48%, transparent 74%);
    filter: blur(6px);
}

.ferrari-hero-wheel {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: min(46vw, 560px);
    height: min(46vw, 560px);
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55);
    pointer-events: auto;
    touch-action: none;
    user-select: none;
    cursor: grab;
}

.ferrari-hero-wheel__src {
    display: none;
}

.ferrari-hero-wheel__rotor {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ferrari-hero-wheel.is-dragging {
    cursor: grabbing;
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.62);
}

.hero-section.has-ferrari-wheel {
    overflow: hidden;
}

.hero-section.has-ferrari-wheel .container {
    position: relative;
    z-index: 3;
}

@media (prefers-reduced-motion: reduce) {
    .ferrari-hero-wheel { cursor: default; }
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    bottom: 15%;
    left: 10%;
    right: 10%;
    text-align: left;
    border-left: 4px solid var(--primary-color);
}

.carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

.carousel-caption p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: var(--white);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    opacity: 1;
    z-index: 7;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-indicators {
    bottom: 20px;
    z-index: 8;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--white);
    margin: 0 5px;
}

.carousel-indicators button.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Hero Section (Slider yoksa) */
.hero-section {
    margin-top: 0;
    height: calc(100vh - var(--public-header-offset));
    min-height: 500px;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    position: relative;
}

@media (min-width: 992px) {
    .navbar .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23f59e0b" stroke-width="0.5" opacity="0.12"/></svg>') repeat;
    background-size: 100px 100px;
}

/* Modern Cards - Kırmızı Aksan */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    background: var(--white);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-body {
    padding: 2rem;
}

.card i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.card:hover i {
    transform: scale(1.1);
}

/* =============== ADMIN PANEL =============== */
.admin-body {
    background: var(--gradient-dark);
    color: #e5e7eb;
}

.admin-body .card {
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border: 1px solid rgba(195, 32, 38, 0.22);
}

.admin-body .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(195, 32, 38, 0.28);
    color: #e5e7eb;
}

.admin-navbar {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 3px solid var(--primary-color);
}

.admin-navbar .navbar-brand {
    font-weight: 800;
    color: var(--white) !important;
}

.admin-navbar .navbar-brand i {
    color: var(--primary-color);
}

.admin-navbar .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9) !important;
}

.admin-navbar .nav-link:hover {
    background: rgba(195, 32, 38, 0.2);
    color: var(--primary-color) !important;
}

.admin-navbar .dropdown-menu {
    background: #1a1a1a;
    border-radius: 10px;
    border: 1px solid rgba(195, 32, 38, 0.28);
}

.admin-navbar .dropdown-item {
    color: #e5e7eb;
}

.admin-navbar .dropdown-item:hover {
    background: rgba(195, 32, 38, 0.28);
}

.admin-body .table {
    color: #e5e7eb;
}

.admin-body .table thead {
    background: rgba(195, 32, 38, 0.2);
}

.admin-body .table-striped>tbody>tr:nth-of-type(odd)>* {
    --bs-table-accent-bg: rgba(0, 0, 0, 0.3);
}

/* Sections */
section {
    padding: 5rem 0;
    position: relative;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Modern Buttons */
.btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(195, 32, 38, 0.35);
    background: var(--secondary-color);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Feature Circles */
.rounded-circle.bg-primary {
    background: var(--gradient-primary) !important;
}

/* Modern Footer */
footer {
    background: var(--darker-bg);
    color: var(--white);
    padding: 3rem 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

footer h5 {
    color: var(--white);
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

/* Glassmorphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 991px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand img {
        height: 40px;
    }
    
    .carousel {
        margin-top: 0;
    }
    
    .carousel-item {
        height: calc(100vh - var(--public-header-offset));
    }
    
    .hero-section {
        margin-top: 0;
        height: calc(100vh - var(--public-header-offset));
    }

    /* Dar ekranda baslik alta yaslanir; okunabilirlik icin dikey katman guclenir */
    .vas-hero-scrim {
        background:
            linear-gradient(to bottom,
                rgba(4, 6, 10, 0.68) 0%,
                rgba(4, 6, 10, 0.32) 26%,
                rgba(4, 6, 10, 0.68) 60%,
                rgba(4, 6, 10, 0.95) 100%);
    }

    .hero-caption {
        align-items: flex-end;
    }

    .ferrari-hero-stage {
        width: 64%;
        right: 0;
        left: 18%;
        top: 18%;
        bottom: auto;
        height: 32%;
        padding-right: 0;
        justify-content: center;
        opacity: 0.94;
    }

    .ferrari-hero-wheel {
        width: min(58vw, 280px);
        height: min(58vw, 280px);
    }

    .ferrari-hero-stage__shadow {
        bottom: 4%;
    }

    .hero-caption__box {
        max-width: 560px;
        padding-bottom: 4.75rem;
    }

    .hero-title {
        font-size: clamp(1.9rem, 6.2vw, 2.9rem);
    }

    .carousel-item img {
        object-position: 64% center;
    }
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 35px;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem;
    }
    
    .navbar .btn-primary {
        padding: 0.5rem 1.2rem;
        font-size: 0.8rem;
        margin-top: 0.5rem;
    }
    
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
    
    .carousel-caption {
        padding: 1.5rem;
        bottom: 10%;
        left: 5%;
        right: 5%;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .navbar .btn-primary {
        width: 100%;
        margin-top: 1rem;
    }
    
    .carousel-item {
        min-height: 400px;
    }

    .hero-caption__box {
        padding-bottom: 5.25rem;
    }

    .hero-eyebrow {
        margin-bottom: 0.85rem;
        font-size: 0.68rem;
        letter-spacing: 0.22em;
    }

    .hero-title {
        font-size: clamp(1.72rem, 7.6vw, 2.35rem);
        margin-bottom: 0.85rem;
    }

    /* Dar ekranda genis gorsel kirpilir; odagi sagdaki lastige kaydir */
    .carousel-item img {
        object-position: 72% center;
    }

    .hero-sub {
        margin-bottom: 1.5rem;
        font-size: 0.97rem;
        line-height: 1.6;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
    }

    .btn-hero-primary,
    .btn-hero-ghost {
        justify-content: center;
        padding: 0.85rem 1.4rem;
        font-size: 0.9rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(195, 32, 38, 0.28);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

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

/* Star Icon Color Fix */
.fa-star {
    color: var(--primary-color) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--primary-color) !important;
}

/* —— Ana sayfa sinematik / parallax —— */
body.home-cinematic {
    background: #f4f1eb;
    color: #1c2430;
    padding-top: 0;
    overflow-x: clip;
}

body.home-cinematic .navbar {
    background: linear-gradient(180deg, #202e31 0%, #151d20 100%) !important;
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.home-cinematic .navbar.scrolled {
    background: linear-gradient(180deg, #1a2629 0%, #10181b 100%) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border-bottom: 3px solid var(--primary-color);
}

body.home-cinematic footer,
body.home-cinematic .site-footer {
    margin-top: 0 !important;
}

.cine-pin {
    height: 380vh;
    position: relative;
    background: #f4f1eb;
}

.cine-pin__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #1a2833;
}

.cine-parallax,
.cine-parallax__layer {
    position: absolute;
    inset: -8%;
    width: 116%;
    height: 116%;
}

.cine-parallax {
    z-index: 0;
}

.cine-parallax__layer {
    object-fit: cover;
    object-position: 62% 46%;
    opacity: 1;
    filter: saturate(1.18) contrast(1.08) brightness(0.98);
    will-change: transform;
}

.cine-parallax__layer--base {
    opacity: 1;
}

.cine-parallax__layer + .cine-parallax__layer {
    opacity: 0.22;
    mix-blend-mode: soft-light;
}

.cine-atmosphere {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.cine-atmosphere__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
}

.cine-atmosphere__orb--amber {
    width: 46%;
    height: 58%;
    right: 2%;
    top: 10%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.16) 0%, transparent 68%);
}

.cine-atmosphere__orb--teal {
    width: 40%;
    height: 48%;
    left: -8%;
    bottom: 8%;
    background: radial-gradient(circle, rgba(80, 150, 176, 0.12) 0%, transparent 70%);
}

.cine-atmosphere__floor {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 28%;
    background: linear-gradient(180deg, transparent 0%, rgba(8, 12, 16, 0.22) 100%);
}

.cine-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 12, 16, 0.48) 0%, rgba(8, 12, 16, 0.16) 40%, rgba(8, 12, 16, 0.08) 100%);
    z-index: 2;
}

body.home-cinematic .cine-copy {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 3;
    width: min(48vw, 640px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--public-header-offset) + 1.25rem) 0 6.5rem 6vw;
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

body.home-cinematic .cine-copy.is-gone {
    opacity: 0;
    transform: translateY(-24px);
    pointer-events: none;
}

body.home-cinematic .ferrari-hero-stage {
    width: min(58vw, 760px);
    z-index: 4;
}

body.home-cinematic .ferrari-hero-wheel {
    width: min(50vw, 620px);
    height: min(50vw, 620px);
    overflow: visible;
    background: transparent;
    box-shadow: none;
}

body.home-cinematic .ferrari-hero-wheel__rotor {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

body.home-cinematic .cine-pin.is-story .ferrari-hero-wheel {
    pointer-events: none;
}

.cine-articles {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 5;
    width: min(46vw, 580px);
    pointer-events: none;
}

.cine-article {
    position: absolute;
    left: 6vw;
    right: 1.25rem;
    top: 50%;
    margin: 0;
    padding: 1.35rem 1.45rem 1.5rem;
    border-radius: 18px;
    background: linear-gradient(165deg, rgba(10, 14, 18, 0.78) 0%, rgba(10, 14, 18, 0.42) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(calc(-50% + 22px));
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.cine-article.is-on {
    opacity: 1;
    transform: translateY(-50%);
    pointer-events: auto;
}

.cine-article__kicker {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.cine-article h2 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.25;
}

.cine-article p {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(232, 238, 242, 0.82);
}

.cine-article p:last-child {
    margin-bottom: 0;
}

/* Yatayda ortalamak için translateX yerine tam genişlik + flex kullanılır;
   translate, giriş animasyonu ve .is-away geçişine ayrılmıştır. */
.cine-scroll-hint {
    position: absolute;
    left: 0;
    right: 0;
    /* --cine-hint-lift: sahne sayfa başındayken ekranın altına taşar (polish.js ölçer).
       Boşluk ayrı bir değişkende; kırılım noktaları yalnızca onu değiştirsin. */
    --cine-hint-gap: clamp(0.85rem, 2.4vh, 1.9rem);
    bottom: calc(var(--cine-hint-gap) + var(--cine-hint-lift, 0px));
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.28rem;
    color: #fff;
    pointer-events: none;
    animation: cine-hint-enter 0.9s 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.cine-scroll-hint.is-away {
    opacity: 0;
    transform: translateY(18px);
}

.cine-scroll-hint__mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(245, 158, 11, 0.95);
    border-radius: 13px;
    position: relative;
    box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.14), 0 0 28px rgba(245, 158, 11, 0.45);
    animation: cine-hint-glow 1.6s ease-in-out infinite;
}

.cine-scroll-hint__mouse span {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 3px;
    height: 8px;
    margin-left: -1.5px;
    border-radius: 2px;
    background: #f59e0b;
    animation: cine-hint-wheel 1.4s ease-in-out infinite;
}

.cine-scroll-hint__label {
    margin-top: 0.35rem;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #f59e0b;
    text-shadow: 0 0 18px rgba(245, 158, 11, 0.55);
}

.cine-scroll-hint__sub {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

/* Alçak pencerelerde blok kısalır ki tamamı ekranda kalsın */
@media (max-height: 760px) {
    .cine-scroll-hint__mouse { width: 22px; height: 34px; border-radius: 11px; }
    .cine-scroll-hint__label { margin-top: 0.2rem; font-size: 0.82rem; letter-spacing: 0.22em; }
    .cine-scroll-hint__sub { font-size: 0.72rem; }
    .cine-scroll-hint__chevs { display: none; }
}

@media (max-height: 580px) {
    .cine-scroll-hint__mouse,
    .cine-scroll-hint__sub { display: none; }
}

.cine-scroll-hint__chevs {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.15rem;
}

.cine-scroll-hint__chevs i {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #f59e0b;
    border-bottom: 2px solid #f59e0b;
    transform: rotate(45deg);
    opacity: 0.25;
    animation: cine-hint-chev 1.2s ease-in-out infinite;
}

.cine-scroll-hint__chevs i + i {
    margin-top: -4px;
    animation-delay: 0.18s;
}

@keyframes cine-hint-enter {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes cine-hint-wheel {
    0%, 20% { transform: translateY(0); opacity: 1; }
    70%, 100% { transform: translateY(12px); opacity: 0; }
}

@keyframes cine-hint-glow {
    0%, 100% { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.1), 0 0 18px rgba(245, 158, 11, 0.28); }
    50% { box-shadow: 0 0 0 12px rgba(245, 158, 11, 0.2), 0 0 36px rgba(245, 158, 11, 0.55); }
}

@keyframes cine-hint-chev {
    0%, 100% { opacity: 0.15; transform: rotate(45deg) translate(-2px, -2px); }
    45% { opacity: 1; transform: rotate(45deg) translate(2px, 2px); }
}

@media (prefers-reduced-motion: reduce) {
    .cine-scroll-hint,
    .cine-scroll-hint__mouse,
    .cine-scroll-hint__mouse span,
    .cine-scroll-hint__chevs i {
        animation: none;
    }
}

.cine-debris {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.lux-block {
    position: relative;
    z-index: 2;
    padding: 6.5rem 0;
    background: #f4f1eb;
    color: #1c2430;
}

.lux-services {
    background:
        radial-gradient(ellipse at 90% -10%, rgba(245, 158, 11, 0.16), transparent 42%),
        #f7f4ee;
}

.lux-kicker {
    margin: 0 0 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #c2410c;
}

.lux-block h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #17202a;
}

.lux-block__head {
    max-width: 36rem;
    margin-bottom: 2.6rem;
}

.lux-services__grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
    margin: 0;
    padding: 0;
    border: 0;
}

.lux-services__grid li {
    border: 0;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(28, 36, 48, 0.06);
}

.lux-services__grid a {
    display: block;
    height: 100%;
    padding: 0;
    text-decoration: none;
    color: inherit;
    border-radius: 22px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lux-services__grid a:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(28, 36, 48, 0.1);
    background: #fff;
}

.lux-services__media {
    position: relative;
    display: block;
    height: 168px;
    overflow: hidden;
    background: #e8edf2;
}

.lux-services__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.lux-services__grid a:hover .lux-services__media img {
    transform: scale(1.05);
}

.lux-services__body {
    padding: 1.2rem 1.4rem 1.35rem;
}

.lux-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.1rem;
    height: 1.6rem;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #9a3412;
    background: #ffedd5;
}

.lux-services__media .lux-num {
    position: absolute;
    left: 0.85rem;
    top: 0.85rem;
    margin: 0;
    color: #fff;
    background: rgba(23, 32, 42, 0.72);
}

.lux-services__grid h3 {
    margin: 0 0 0.5rem;
    color: #17202a;
    font-size: 1.18rem;
}

.lux-services__grid p {
    margin: 0 0 1rem;
    color: #5b6573;
    min-height: 3.2em;
}

.lux-services__grid em {
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c2410c;
}

.lux-why {
    padding-top: 1.5rem;
    background: #eef3f6;
}

.lux-why__top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: end;
    margin-bottom: 2.4rem;
}

.lux-why__lead {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.7;
    color: #4b5563;
}

.lux-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
    margin-bottom: 2.2rem;
    background: none;
    border: 0;
}

.lux-stats > div {
    padding: 1.5rem 1.4rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(28, 36, 48, 0.06);
}

.lux-stats strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1.35rem;
    color: #17202a;
}

.lux-stats span {
    color: #64748b;
    font-size: 0.92rem;
}

.lux-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 1.8rem 2rem;
    border: 0;
    border-radius: 24px;
    background: linear-gradient(120deg, #fff7ed 0%, #ffffff 55%, #ecfeff 100%);
    box-shadow: 0 12px 32px rgba(28, 36, 48, 0.07);
}

.lux-cta h3 {
    margin: 0;
    color: #17202a;
    font-size: 1.45rem;
}

.lux-cta__actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.lux-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.72rem 1.15rem;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.lux-btn--gold {
    background: #f59e0b;
    color: #111;
}

.lux-btn--ghost {
    border: 1px solid #d6dde6;
    color: #17202a;
    background: #fff;
}

.site-footer {
    position: relative;
    padding: 3.6rem 0 0;
    background: #fff;
    color: #4b5563;
}

.site-footer__glow {
    display: none;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
}

.site-footer h5 {
    color: #17202a;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li {
    margin-bottom: 0.55rem;
}

.site-footer a {
    color: #4b5563;
    text-decoration: none;
}

.site-footer a:hover {
    color: #c2410c;
}

.site-footer__brand p {
    margin: 1rem 0 0;
    max-width: 22rem;
}

.site-footer .site-brand {
    margin-bottom: 0.4rem;
}

.site-footer .site-brand__logo {
    height: 64px;
}

.site-footer .site-brand__name {
    color: #17202a;
}

.site-footer__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 0 1.4rem;
    border-top: 1px solid #e8edf2;
}

.site-footer__bar p {
    margin: 0;
    font-size: 0.86rem;
}

.reklam35 {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.reklam35 img {
    display: block;
    height: 16px;
    width: auto;
    /* Siyah logo, koyu alt bilgide beyaza döner */
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.reklam35 span {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.reklam35:hover img {
    opacity: 1;
}

.reklam35:hover span {
    color: #fff;
}

@media (max-width: 991px) {
    .lux-services__grid,
    .lux-why__top,
    .lux-stats,
    .lux-cta,
    .site-footer__grid,
    .site-footer__bar {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    .lux-services__grid {
        display: grid;
    }

    .lux-services__grid li {
        border-right: 0;
    }

    .nav-phone {
        display: none;
    }
}

@media (max-width: 991px) {
    body.home-cinematic .cine-copy {
        width: auto;
        right: 0;
        justify-content: flex-end;
        /* Alt boşluk, ortalanmış kaydırma ipucunun tamamına yer bırakır */
        padding: 0 1.25rem calc(8.5rem + var(--cine-hint-lift, 0px));
        background: linear-gradient(to top, rgba(7, 9, 12, 0.92), transparent 70%);
    }

    body.home-cinematic .ferrari-hero-stage {
        width: 78%;
        right: 11%;
        left: auto;
        top: 14%;
        bottom: auto;
        height: 40%;
        justify-content: center;
        padding-right: 0;
        /* Yazılar lastiğin üstünde kalsın */
        z-index: 2;
    }

    body.home-cinematic .cine-debris {
        z-index: 2 !important;
    }

    body.home-cinematic .ferrari-hero-wheel {
        width: min(62vw, 300px);
        height: min(62vw, 300px);
    }

    .cine-articles {
        width: auto;
        right: 0;
    }

    .cine-article {
        left: 1.25rem;
        right: 1.25rem;
        top: auto;
        /* Ortalanmış kaydırma ipucunun üstünde kalacak kadar boşluk */
        bottom: 9rem;
        transform: translateY(16px);
        max-height: 38vh;
        overflow: hidden;
    }

    .cine-article.is-on {
        transform: none;
    }

    .cine-scroll-hint {
        left: 1.25rem;
        right: 1.25rem;
        --cine-hint-gap: 1.1rem;
    }

    /* Dar ekranda dikey yer kısıtlı: süsleme oklar kalkar, yazılar kalır */
    .cine-scroll-hint__chevs {
        display: none;
    }

    .cine-article h2 {
        font-size: 1.15rem;
    }

    .cine-article p {
        font-size: 0.86rem;
    }
}
