/* ============================================================
   PROES — Açık tema üst menü (site geneli)
   site.css'ten sonra yüklenir; koyu menü çubuğunu beyaza çevirir.
   ============================================================ */

:root {
    --lh-blue: #1f4fd8;
    --lh-blue-hover: #173fb0;
    --lh-blue-soft: #eef3fe;
    --lh-ink: #0d1b2a;
    --lh-text: #33465c;
    --lh-muted: #5a6f86;
    --lh-line: #e3e9f2;
}

#main-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--lh-line);
    box-shadow: none;
}
#main-header.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--lh-line);
    box-shadow: 0 6px 24px rgba(13, 27, 42, 0.06);
}

.nav-brand .logo-rounded,
#main-header .logo-rounded {
    box-shadow: 0 0 0 1px rgba(13, 27, 42, 0.08);
}
.nav-brand .brand-text,
.nav-brand .brand-text .brand-accent {
    color: var(--lh-ink);
}
.nav-brand .brand-text small {
    color: var(--lh-muted);
}

.nav-menu {
    background: transparent;
    border: 0;
    padding: 0;
}
.nav-menu > li > a {
    color: var(--lh-text);
    border-radius: 8px;
}
.nav-menu > li > a:hover {
    color: var(--lh-ink);
    background: #f2f5fa;
}
.nav-menu > li > a.active {
    color: var(--lh-blue);
    background: transparent;
    box-shadow: none;
}
.nav-menu > li > a.active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -6px;
    height: 2px;
    border-radius: 2px;
    background: var(--lh-blue);
}

.nav-contact {
    color: var(--lh-text);
    border-radius: 8px;
}
.nav-contact:hover,
.nav-contact.active {
    color: var(--lh-ink);
    background: #f2f5fa;
}

.nav-cta {
    color: #fff !important;
    background: var(--lh-blue);
    border: 1px solid var(--lh-blue);
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 700;
    letter-spacing: 0;
}
.nav-cta:hover {
    color: #fff !important;
    background: var(--lh-blue-hover);
    border-color: var(--lh-blue-hover);
}

.mobile-menu-toggle {
    border-color: var(--lh-line);
    background: #fff;
}
.mobile-menu-toggle span {
    background: var(--lh-ink);
}

/* ------------------------------------------------------------
   İçerik görselleri: her ekranda oranı korunarak tam görünsün
   (kart / PCB fotoğrafları mobilde kesilmesin, uzamasın)
   ------------------------------------------------------------ */
.prose img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 640px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 640px) {
    .prose img { max-height: 520px; }
}

/* Açılır menü (Hizmetler alt sayfaları) — açık tema */
.dropdown-menu-custom {
    min-width: 260px;
    background: #fff;
    border: 1px solid var(--lh-line);
    box-shadow: 0 18px 40px -12px rgba(13, 27, 42, 0.22);
}
/* Fare menüden alt listeye geçerken kapanmasın */
.dropdown-menu-custom::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
}
.dropdown-menu-custom a {
    color: var(--lh-text);
}
.dropdown-menu-custom a:hover {
    background: var(--lh-blue-soft);
    color: var(--lh-blue);
}
.has-dropdown:focus-within .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
