/* =========================================================
   MEMORA TEKNOLOJİ — DARK / LIGHT THEME
   Mevcut tema stilleri + ortak navbar düzeltmesi
   ========================================================= */

/* RENK PALETİ */

:root {
    --day-bg: #f3f5f7;
    --day-bg-soft: #e9edf1;
    --day-surface: #ffffff;
    --day-surface-alpha: rgba(255, 255, 255, 0.68);
    --day-text: #11161d;
    --day-text-soft: #56616e;
    --day-muted: #737d89;
    --day-border: rgba(17, 22, 29, 0.1);
    --day-border-strong: rgba(17, 22, 29, 0.18);
    --day-shadow: 0 20px 60px rgba(25, 38, 52, 0.07);
}

/* NAVBAR VE TEMA BUTONU */

.navbar-nav {
    flex: 1;
}

.memora-theme-toggle {
    width: 38px;
    height: 38px;
    min-width: 38px;
    margin-left: auto;
    margin-right: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    position: relative;
    z-index: 1003;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    outline: none;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.memora-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.27);
    color: #fff;
    transform: translateY(-1px);
}

.memora-theme-toggle:active {
    transform: scale(0.94);
}
.memora-theme-toggle svg {
    display: block;
    pointer-events: none;
}

.memora-theme-toggle:focus-visible {
    outline: 2px solid rgba(75, 165, 215, 0.75);
    outline-offset: 3px;
}

/* AÇIK TEMA — GENEL */

html[data-theme="light"] {
    color-scheme: light;
    background: var(--day-bg);
}

html[data-theme="light"] body.home-showcase-page,
html[data-theme="light"] body.corporate-page,
html[data-theme="light"] body.services-page,
html[data-theme="light"] body.solutions-page,
html[data-theme="light"] body.sectors-page,
html[data-theme="light"] body.references-page,
html[data-theme="light"] body.memora-ai-page,
html[data-theme="light"] body.knowledge-page,
html[data-theme="light"] body.contact-page-v2 {
    background:
        radial-gradient(
            circle at 80% 5%,
            rgba(65, 135, 180, 0.085),
            transparent 31%
        ),
        radial-gradient(
            circle at 12% 48%,
            rgba(65, 150, 185, 0.035),
            transparent 30%
        ),
        var(--day-bg) !important;
    color: var(--day-text) !important;
}

html[data-theme="light"] body::before {
    opacity: 0.08 !important;
}

html[data-theme="light"] body::after {
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(70, 145, 190, 0.07),
            transparent 42%
        ),
        radial-gradient(
            circle at 85% 70%,
            rgba(80, 145, 180, 0.025),
            transparent 32%
        ) !important;
}

/* AÇIK TEMA — NAVBAR */

html[data-theme="light"] .navbar {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

html[data-theme="light"] .navbar-container {
    background: rgba(247, 249, 250, 0.82) !important;
    border-color: rgba(17, 22, 29, 0.1) !important;
    box-shadow: 0 14px 45px rgba(29, 42, 55, 0.08) !important;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
}

html[data-theme="light"] body.is-scrolled .navbar-container {
    background: rgba(247, 249, 250, 0.94) !important;
    border-color: rgba(17, 22, 29, 0.12) !important;
}

html[data-theme="light"] .navbar-logo img {
    filter: brightness(0) saturate(100%);
    opacity: 0.9;
}

html[data-theme="light"] .nav-link {
    color: rgba(17, 22, 29, 0.58) !important;
}

html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .nav-link.active {
    color: #11161d !important;
}

html[data-theme="light"] .nav-link::after,
html[data-theme="light"] .nav-link.active::after {
    background: #11161d !important;
}

html[data-theme="light"] .memora-theme-toggle {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(17, 22, 29, 0.12);
    color: #25303a;
    box-shadow: 0 6px 20px rgba(25, 38, 52, 0.06);
}

html[data-theme="light"] .memora-theme-toggle:hover {
    background: #fff;
    border-color: rgba(17, 22, 29, 0.21);
    color: #11161d;
}

html[data-theme="light"] .dropdown-menu {
    background: rgba(255, 255, 255, 0.97) !important;
    border-color: rgba(17, 22, 29, 0.09) !important;
    box-shadow: 0 20px 60px rgba(25, 38, 52, 0.11) !important;
}

html[data-theme="light"] .dropdown-menu a {
    color: rgba(17, 22, 29, 0.65) !important;
}

html[data-theme="light"] .dropdown-menu a:hover {
    color: #11161d !important;
    background: rgba(17, 22, 29, 0.045) !important;
}

/* YÜKLEME VE KAYDIRMA */

html[data-theme="light"] #loading-screen {
    background: var(--day-bg) !important;
    color: var(--day-text) !important;
}

html[data-theme="light"] #loading-screen h2 {
    color: var(--day-text) !important;
}
html[data-theme="light"] #loading-screen p {
    color: rgba(17, 22, 29, 0.5) !important;
}

html[data-theme="light"] .loading-spinner {
    border-color: rgba(17, 22, 29, 0.12) !important;
    border-top-color: #11161d !important;
}

html[data-theme="light"] #three-canvas {
    filter: saturate(0.96) contrast(1.03);
}
html[data-theme="light"] .scroll-indicator {
    background: rgba(17, 22, 29, 0.1) !important;
}
html[data-theme="light"] .scroll-progress {
    background: rgba(17, 22, 29, 0.64) !important;
}

/* ANASAYFA */

html[data-theme="light"] .home-showcase-page .hero-eyebrow {
    color: rgba(17, 22, 29, 0.42) !important;
}

html[data-theme="light"] .home-showcase-page .hero-sentence {
    color: #10151c !important;
    -webkit-text-fill-color: #10151c !important;
    text-shadow: none !important;
}

html[data-theme="light"] .home-showcase-page .hero-description {
    color: rgba(17, 22, 29, 0.55) !important;
}

html[data-theme="light"] .home-primary-link {
    color: #11161d !important;
}

html[data-theme="light"] .home-primary-link span {
    color: #11161d !important;
    border-color: rgba(17, 22, 29, 0.15) !important;
}

html[data-theme="light"] .home-about-section,
html[data-theme="light"] .home-services-section,
html[data-theme="light"] .home-solutions-section,
html[data-theme="light"] .home-sectors-section,
html[data-theme="light"] .home-ai-section,
html[data-theme="light"] .home-references-section,
html[data-theme="light"] .home-contact-section {
    background: transparent !important;
}

html[data-theme="light"] .home-services-section,
html[data-theme="light"] .home-contact-section {
    border-color: var(--day-border) !important;
}

html[data-theme="light"] .home-section-header > div > span,
html[data-theme="light"] .home-small-label,
html[data-theme="light"] .home-section-label,
html[data-theme="light"] .home-contact-heading > span,
html[data-theme="light"] .home-contact-label {
    color: rgba(17, 22, 29, 0.38) !important;
}

html[data-theme="light"] .home-section-header h2,
html[data-theme="light"] .home-about-copy h2,
html[data-theme="light"] .home-ai-content h2,
html[data-theme="light"] .home-ai-copy h2,
html[data-theme="light"] .home-contact-heading h2 {
    color: #11161d !important;
    -webkit-text-fill-color: #11161d !important;
}

html[data-theme="light"] .home-text-link,
html[data-theme="light"] .home-section-link,
html[data-theme="light"] .home-ai-link {
    color: rgba(17, 22, 29, 0.68) !important;
}

html[data-theme="light"] .home-text-link:hover,
html[data-theme="light"] .home-section-link:hover,
html[data-theme="light"] .home-ai-link:hover {
    color: #11161d !important;
}

html[data-theme="light"] .home-about-copy p {
    color: #56616e !important;
}

/* ANASAYFA HİZMETLER */

html[data-theme="light"] .home-service-card {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.84),
        rgba(255, 255, 255, 0.52)
    ) !important;
    border-color: var(--day-border) !important;
    color: #11161d !important;
}

html[data-theme="light"] .home-service-card:hover {
    background: #fff !important;
    border-color: var(--day-border-strong) !important;
    box-shadow: var(--day-shadow);
}

html[data-theme="light"] .home-service-number {
    color: rgba(17, 22, 29, 0.28) !important;
}
html[data-theme="light"] .home-service-card h3 {
    color: #11161d !important;
}
html[data-theme="light"] .home-service-card p {
    color: #5b6673 !important;
}

html[data-theme="light"] .home-service-arrow {
    color: #11161d !important;
    border-color: rgba(17, 22, 29, 0.13) !important;
}

/* ANASAYFA ÇÖZÜMLER */

html[data-theme="light"] .home-solutions-list,
html[data-theme="light"] .home-solution-row {
    border-color: var(--day-border) !important;
}

html[data-theme="light"] .home-solution-row {
    color: #11161d !important;
}
html[data-theme="light"] .home-solution-row:hover {
    background: rgba(255, 255, 255, 0.55) !important;
}
html[data-theme="light"] .home-solution-row > span {
    color: rgba(17, 22, 29, 0.28) !important;
}
html[data-theme="light"] .home-solution-row h3 {
    color: #11161d !important;
}
html[data-theme="light"] .home-solution-row p {
    color: #5c6773 !important;
}
html[data-theme="light"] .home-solution-row i {
    color: rgba(17, 22, 29, 0.58) !important;
}

/* ANASAYFA SEKTÖRLER */

html[data-theme="light"] .home-sector-list,
html[data-theme="light"] .home-sector-row {
    border-color: var(--day-border) !important;
}

html[data-theme="light"] .home-sector-row {
    color: #11161d !important;
}
html[data-theme="light"] .home-sector-row:hover {
    background: rgba(255, 255, 255, 0.55) !important;
}

html[data-theme="light"] .home-sector-number,
html[data-theme="light"] .home-sector-index {
    color: rgba(17, 22, 29, 0.28) !important;
}

html[data-theme="light"] .home-sector-type {
    color: rgba(17, 22, 29, 0.42) !important;
}
html[data-theme="light"] .home-sector-main h3 {
    color: #11161d !important;
}
html[data-theme="light"] .home-sector-main p {
    color: #5b6673 !important;
}

html[data-theme="light"] .home-sector-arrow {
    color: #11161d !important;
    border-color: rgba(17, 22, 29, 0.13) !important;
}

/* ANASAYFA AI */

html[data-theme="light"] .home-ai-panel {
    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(83, 101, 220, 0.11),
            transparent 36%
        ),
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.94),
            rgba(231, 236, 241, 0.88)
        ) !important;
    border-color: var(--day-border) !important;
    box-shadow: var(--day-shadow);
}

html[data-theme="light"] .home-ai-content > span,
html[data-theme="light"] .home-ai-copy > span {
    color: rgba(17, 22, 29, 0.4) !important;
}

html[data-theme="light"] .home-ai-content p,
html[data-theme="light"] .home-ai-copy p {
    color: #596572 !important;
}

html[data-theme="light"] .home-ai-core {
    background: #151c25 !important;
    color: #fff !important;
    border-color: rgba(17, 22, 29, 0.1) !important;
    box-shadow: 0 0 70px rgba(70, 105, 180, 0.2) !important;
}

html[data-theme="light"] .home-ai-orbit,
html[data-theme="light"] .home-ai-orbit-one,
html[data-theme="light"] .home-ai-orbit-two {
    border-color: rgba(17, 22, 29, 0.09) !important;
}

/* ANASAYFA REFERANSLAR */

html[data-theme="light"] .home-reference-item {
    background: rgba(255, 255, 255, 0.64) !important;
    border-color: var(--day-border) !important;
    color: #11161d !important;
}

html[data-theme="light"] .home-reference-item:hover {
    background: #fff !important;
    border-color: var(--day-border-strong) !important;
    box-shadow: var(--day-shadow);
}

html[data-theme="light"] .home-reference-item img {
    filter: none !important;
    opacity: 1 !important;
}

html[data-theme="light"] .home-reference-name {
    color: #4f5a67 !important;
}

/* ANASAYFA İLETİŞİM */

html[data-theme="light"] .home-contact-info,
html[data-theme="light"] .home-contact-row {
    border-color: var(--day-border) !important;
}

html[data-theme="light"] .home-contact-value,
html[data-theme="light"] .home-contact-value a {
    color: rgba(17, 22, 29, 0.8) !important;
}

html[data-theme="light"] .home-contact-action {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.88),
        rgba(255, 255, 255, 0.54)
    ) !important;
    border-color: var(--day-border) !important;
}

html[data-theme="light"] .home-contact-action p {
    color: #586470 !important;
}

html[data-theme="light"] .home-contact-button {
    background: #151c25 !important;
    color: #fff !important;
}

html[data-theme="light"] .home-contact-button * {
    color: #fff !important;
}

/* İÇ SAYFALAR — ORTAK */

html[data-theme="light"]
    :is(
        body.corporate-page,
        body.services-page,
        body.solutions-page,
        body.sectors-page,
        body.references-page,
        body.memora-ai-page,
        body.knowledge-page
    )
    main
    :is(h1, h2, h3, h4, h5, h6) {
    color: #11161d !important;
    -webkit-text-fill-color: #11161d !important;
}

html[data-theme="light"]
    :is(
        body.corporate-page,
        body.services-page,
        body.solutions-page,
        body.sectors-page,
        body.references-page,
        body.memora-ai-page,
        body.knowledge-page
    )
    main
    p {
    color: #596572 !important;
}

html[data-theme="light"]
    :is(
        .corporate-eyebrow,
        .services-page-eyebrow,
        .solutions-page-eyebrow,
        .sectors-eyebrow,
        .references-eyebrow,
        .ai-eyebrow,
        .knowledge-eyebrow,
        .section-kicker
    ) {
    color: rgba(17, 22, 29, 0.41) !important;
}

html[data-theme="light"]
    :is(
        .corporate-hero-description,
        .services-page-description,
        .solutions-page-description,
        .sectors-hero-description,
        .references-hero-description,
        .ai-hero-description,
        .knowledge-hero-description
    ) {
    color: #596572 !important;
}

html[data-theme="light"]
    :is(
        .corporate-scroll-link,
        .services-page-scroll,
        .solutions-page-scroll,
        .sectors-scroll,
        .references-scroll,
        .ai-scroll-link,
        .knowledge-scroll
    ) {
    color: rgba(17, 22, 29, 0.66) !important;
}

html[data-theme="light"]
    :is(
        .corporate-scroll-link,
        .services-page-scroll,
        .solutions-page-scroll,
        .sectors-scroll,
        .references-scroll,
        .ai-scroll-link,
        .knowledge-scroll
    )
    span {
    border-color: rgba(17, 22, 29, 0.14) !important;
}

html[data-theme="light"] .corporate-main::before,
html[data-theme="light"] .services-main::before,
html[data-theme="light"] .solutions-main::before,
html[data-theme="light"] .sectors-main::before,
html[data-theme="light"] .references-main::before,
html[data-theme="light"] .ai-main::before,
html[data-theme="light"] .knowledge-main::before {
    background:
        linear-gradient(rgba(17, 22, 29, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 22, 29, 0.025) 1px, transparent 1px) !important;
    background-size: 80px 80px !important;
}

html[data-theme="light"]
    :is(
        .mission-vision-card,
        .value-card,
        .certificate-panel,
        .services-process-item,
        .solutions-process-item,
        .reference-page-card,
        .knowledge-card,
        .knowledge-featured,
        .knowledge-faq-item,
        .ai-capability-card,
        .ai-form-container
    ) {
    background: rgba(255, 255, 255, 0.66) !important;
    border-color: var(--day-border) !important;
    box-shadow: none;
}

html[data-theme="light"]
    :is(
        .mission-vision-card,
        .value-card,
        .services-process-item,
        .solutions-process-item,
        .reference-page-card,
        .knowledge-card,
        .ai-capability-card
    ):hover {
    background: #fff !important;
    border-color: var(--day-border-strong) !important;
    box-shadow: var(--day-shadow);
}

html[data-theme="light"]
    :is(.service-page-item, .solution-page-item, .sector-item) {
    background: transparent !important;
    box-shadow: none !important;
    border-color: var(--day-border) !important;
}

html[data-theme="light"]
    :is(.service-page-item, .solution-page-item, .sector-item):hover {
    background: transparent !important;
    box-shadow: none !important;
}

html[data-theme="light"]
    :is(
        .service-page-number,
        .solution-page-number,
        .sector-number,
        .knowledge-card-number
    ) {
    color: rgba(17, 22, 29, 0.52) !important;
    opacity: 1 !important;
}

html[data-theme="light"]
    :is(
        .service-page-item,
        .solution-page-item,
        .sector-item,
        .why-row,
        .reference-page-card,
        .knowledge-faq-item
    ) {
    border-color: var(--day-border) !important;
}

html[data-theme="light"]
    :is(
        .service-page-features,
        .solution-features,
        .solution-benefits,
        .solution-technologies,
        .sector-features
    )
    li {
    color: #54606d !important;
    border-color: var(--day-border) !important;
}

html[data-theme="light"]
    :is(
        .services-next-inner,
        .solutions-next-inner,
        .sectors-next-inner,
        .references-next-inner,
        .ai-next-inner,
        .knowledge-next-inner
    ) {
    background: linear-gradient(145deg, #ffffff, #e7ecef) !important;
    border-color: var(--day-border) !important;
    box-shadow: var(--day-shadow);
}

html[data-theme="light"]
    :is(
        .services-next-inner,
        .solutions-next-inner,
        .sectors-next-inner,
        .references-next-inner,
        .ai-next-inner,
        .knowledge-next-inner
    )
    > span {
    color: rgba(17, 22, 29, 0.4) !important;
}

/* REFERANSLAR */

html[data-theme="light"] .reference-page-logo img {
    filter: none !important;
    opacity: 1 !important;
}

html[data-theme="light"] .reference-approach-grid {
    border-color: var(--day-border) !important;
}

html[data-theme="light"] .reference-approach-grid article {
    border-color: var(--day-border) !important;
}

html[data-theme="light"] .reference-approach-grid article:hover {
    background: rgba(255, 255, 255, 0.6) !important;
}

html[data-theme="light"] .reference-projects-inner > span,
html[data-theme="light"] .reference-projects-inner span {
    color: rgba(17, 22, 29, 0.4) !important;
}

/* AI FORMU */

html[data-theme="light"] .ai-form-container {
    background: rgba(255, 255, 255, 0.72) !important;
}

html[data-theme="light"] .ai-file-input,
html[data-theme="light"] .ai-file-placeholder {
    background: rgba(255, 255, 255, 0.84) !important;
    border-color: rgba(17, 22, 29, 0.13) !important;
    color: #11161d !important;
}

html[data-theme="light"] .ai-submit-button {
    background: #151c25 !important;
    color: #fff !important;
    border-color: #151c25 !important;
}

html[data-theme="light"] .ai-submit-button * {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

html[data-theme="light"] .ai-statement-inner {
    border-color: var(--day-border) !important;
}

/* BİLGİ MERKEZİ */

html[data-theme="light"] .knowledge-filter {
    color: #66717e !important;
    border-color: rgba(17, 22, 29, 0.12) !important;
}

html[data-theme="light"] .knowledge-filter:hover,
html[data-theme="light"] .knowledge-filter.active {
    color: #11161d !important;
    border-color: rgba(17, 22, 29, 0.27) !important;
}

html[data-theme="light"] .knowledge-faq-button {
    color: #11161d !important;
}
html[data-theme="light"] .knowledge-faq-answer {
    color: #596572 !important;
}

/* FORM ALANLARI */

html[data-theme="light"] :is(body.memora-ai-page, body.contact-page-v2) input,
html[data-theme="light"]
    :is(body.memora-ai-page, body.contact-page-v2)
    textarea,
html[data-theme="light"] :is(body.memora-ai-page, body.contact-page-v2) select {
    background: rgba(255, 255, 255, 0.86) !important;
    color: #11161d !important;
    border-color: rgba(17, 22, 29, 0.14) !important;
}

html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
    color: rgba(17, 22, 29, 0.38) !important;
}

/* İLETİŞİM SAYFASI */

html[data-theme="light"] body.contact-page-v2 {
    background:
        radial-gradient(
            circle at 82% 8%,
            rgba(63, 136, 185, 0.1),
            transparent 30%
        ),
        radial-gradient(
            circle at 12% 55%,
            rgba(70, 170, 210, 0.035),
            transparent 30%
        ),
        var(--day-bg) !important;
    color: #11161d !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-eyebrow {
    color: rgba(17, 22, 29, 0.39) !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-hero h1 {
    color: #11161d !important;
    -webkit-text-fill-color: #11161d !important;
    background: none !important;
    text-shadow: none !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-description {
    color: #596572 !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-scroll {
    color: rgba(17, 22, 29, 0.67) !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-scroll:hover {
    color: #11161d !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-scroll span {
    color: #11161d !important;
    border-color: rgba(17, 22, 29, 0.14) !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-intro {
    border-top-color: var(--day-border) !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-intro-title > span {
    color: rgba(17, 22, 29, 0.39) !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-intro-title h2 {
    color: #11161d !important;
    -webkit-text-fill-color: #11161d !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-intro-text p {
    color: #596572 !important;
}

html[data-theme="light"]
    body.contact-page-v2
    .contact-v2-section-heading
    > span {
    color: rgba(17, 22, 29, 0.39) !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-section-heading h2 {
    color: #11161d !important;
    -webkit-text-fill-color: #11161d !important;
    background: none !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-info {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.94),
        rgba(255, 255, 255, 0.6)
    ) !important;
    border-color: var(--day-border) !important;
    box-shadow: var(--day-shadow) !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-info::before {
    background: radial-gradient(
        circle,
        rgba(70, 160, 210, 0.13),
        transparent 70%
    ) !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-info > h3 {
    color: #11161d !important;
    -webkit-text-fill-color: #11161d !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-item {
    border-bottom-color: var(--day-border) !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-item-label {
    color: rgba(17, 22, 29, 0.41) !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-item-value,
html[data-theme="light"] body.contact-page-v2 .contact-v2-item-value a {
    color: rgba(17, 22, 29, 0.8) !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-item-value a:hover {
    color: #11161d !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-social {
    border-top-color: var(--day-border) !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-social-title {
    color: rgba(17, 22, 29, 0.4) !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-social-link {
    background: rgba(255, 255, 255, 0.84) !important;
    border-color: rgba(17, 22, 29, 0.14) !important;
    color: #11161d !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-social-link:hover {
    background: #fff !important;
    border-color: rgba(17, 22, 29, 0.26) !important;
}

html[data-theme="light"]
    body.contact-page-v2
    .contact-v2-social-link:not(:last-child)::after {
    color: rgba(17, 22, 29, 0.24) !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-social-icon-fallback {
    color: #11161d !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-social-icon-image {
    filter: none !important;
    opacity: 1 !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-map {
    background: #e5eaee !important;
    border-color: var(--day-border) !important;
    box-shadow: var(--day-shadow);
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-map iframe {
    filter: grayscale(0.05) contrast(1.01) brightness(1) !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-map-placeholder {
    color: rgba(17, 22, 29, 0.42) !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-closing-inner {
    background: linear-gradient(145deg, #fff, #e5eaee) !important;
    border-color: var(--day-border) !important;
    box-shadow: var(--day-shadow);
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-closing-inner::after {
    background: radial-gradient(
        circle,
        rgba(72, 160, 210, 0.13),
        transparent 70%
    ) !important;
}

html[data-theme="light"] body.contact-page-v2 .contact-v2-closing-inner h2 {
    color: #11161d !important;
    -webkit-text-fill-color: #11161d !important;
}

html[data-theme="light"] body.contact-page-v2 .nav-link.active {
    color: #11161d !important;
}

/* FOOTER */

html[data-theme="light"] .footer,
html[data-theme="light"] .home-showcase-page .home-footer,
html[data-theme="light"] body.contact-page-v2 .footer {
    background: #e9edf0 !important;
    border-top-color: rgba(17, 22, 29, 0.08) !important;
    box-shadow: none !important;
}

html[data-theme="light"] .footer-left p,
html[data-theme="light"] .footer-content p,
html[data-theme="light"] body.contact-page-v2 .footer-left p {
    color: rgba(17, 22, 29, 0.4) !important;
}

html[data-theme="light"] .footer-content a {
    color: rgba(17, 22, 29, 0.55) !important;
}

/* SCROLLBAR VE SEÇİM */

html[data-theme="light"] {
    scrollbar-color: rgba(17, 22, 29, 0.27) #edf0f2;
}

html[data-theme="light"] ::-webkit-scrollbar-track {
    background: #edf0f2 !important;
}

html[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: rgba(17, 22, 29, 0.24) !important;
    border: 2px solid #edf0f2 !important;
}

html[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
    background: rgba(17, 22, 29, 0.38) !important;
}

html[data-theme="light"] ::selection {
    background: #17212b;
    color: #fff;
}

/* MOBİL TEMA */

@media (max-width: 900px) {
    .memora-theme-toggle {
        margin-left: auto;
        margin-right: 12px;
    }

    html[data-theme="light"] .navbar-toggle span {
        background: #151b22 !important;
    }

    html[data-theme="light"] .navbar-nav {
        background: rgba(247, 249, 250, 0.98) !important;
        border-color: rgba(17, 22, 29, 0.09) !important;
    }
}

/* TEMA GEÇİŞLERİ */

body,
.navbar-container,
.dropdown-menu,
.home-service-card,
.home-solution-row,
.home-sector-row,
.home-ai-panel,
.home-reference-item,
.home-contact-action,
.footer {
    transition:
        background 0.3s ease,
        background-color 0.3s ease,
        color 0.24s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

@media (prefers-reduced-motion: reduce) {
    .memora-theme-toggle,
    body,
    .navbar-container,
    .dropdown-menu,
    .home-service-card,
    .home-solution-row,
    .home-sector-row,
    .home-ai-panel,
    .home-reference-item,
    .home-contact-action {
        transition: none !important;
    }
}

/* MEVCUT ANASAYFA GÖRÜNÜM AYARLARI */

html[data-theme="light"] .home-showcase-page .hero-eyebrow {
    color: #17202a !important;
    font-weight: 600 !important;
    background: rgba(245, 248, 250, 0.68) !important;
    border: 1px solid rgba(17, 22, 29, 0.07);
    border-radius: 999px;
    width: max-content !important;
    max-width: calc(100% - 40px);
    padding: 8px 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.22);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
    z-index: 10 !important;
}

html[data-theme="light"] .home-showcase-page .hero-eyebrow {
    color: rgba(13, 22, 31, 0.72) !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 10px rgba(255, 255, 255, 0.75) !important;
    padding: 0 !important;
}

html[data-theme="light"] .home-showcase-page .hero-sentence {
    color: #0e141c !important;
    -webkit-text-fill-color: #0e141c !important;
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.16) !important;
}

html[data-theme="light"] .home-showcase-page .hero-description {
    color: rgba(255, 255, 255, 0.92) !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    font-weight: 500 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75) !important;
    padding: 0 !important;
}

html[data-theme="light"] .home-showcase-page .hero-btn {
    background: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    font-weight: 600 !important;
}

html[data-theme="light"] .home-showcase-page .hero-btn-primary {
    color: #ffffff !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.48) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65) !important;
}

html[data-theme="light"] .home-showcase-page .hero-btn-primary:hover {
    color: #11161d !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(255, 255, 255, 0.92) !important;
}

html[data-theme="light"] .home-showcase-page .hero-btn-secondary {
    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65) !important;
}

html[data-theme="light"] .home-showcase-page .hero-btn-secondary:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.48) !important;
}

/* MEVCUT METİN VE BAŞLIK DÜZELTMELERİ */

html[data-theme="light"]
    body.home-showcase-page
    :is(.home-about-grid h2, .home-about-heading h2, .home-about-copy h2) {
    color: #11161d !important;
    -webkit-text-fill-color: #11161d !important;
    text-shadow: none !important;
}

html[data-theme="light"]
    body.home-showcase-page
    :is(.home-about-content p, .home-about-copy p) {
    color: #596572 !important;
}

html[data-theme="light"]
    body.home-showcase-page
    :is(
        .home-about-heading .home-small-label,
        .home-about-grid .home-small-label,
        .home-section-label
    ) {
    color: rgba(17, 22, 29, 0.42) !important;
}

html[data-theme="light"]
    body.home-showcase-page
    :is(
        .home-section-header h2,
        .home-ai-content h2,
        .home-ai-copy h2,
        .home-contact-heading h2
    ) {
    color: #11161d !important;
    -webkit-text-fill-color: #11161d !important;
}

html[data-theme="light"] body.memora-ai-page .ai-statement-inner > span {
    color: rgba(17, 22, 29, 0.42) !important;
}

html[data-theme="light"] body.memora-ai-page .ai-statement-inner > p {
    color: #5d6976 !important;
    -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] body.memora-ai-page .ai-statement-inner > p strong,
html[data-theme="light"] body.memora-ai-page .ai-statement-inner strong {
    color: #11161d !important;
    -webkit-text-fill-color: #11161d !important;
    text-shadow: none !important;
}

html[data-theme="light"]
    body.corporate-page
    :is(.corporate-section-title h2, .corporate-section-heading h2) {
    color: #11161d !important;
    -webkit-text-fill-color: #11161d !important;
}

html[data-theme="light"]
    body.corporate-page
    :is(.corporate-section-title > span, .corporate-section-heading > span) {
    color: rgba(17, 22, 29, 0.42) !important;
}

html[data-theme="light"] body.corporate-page .corporate-section-content p {
    color: #596572 !important;
}

html[data-theme="light"]
    :is(
        body.corporate-page,
        body.services-page,
        body.solutions-page,
        body.sectors-page,
        body.references-page,
        body.memora-ai-page,
        body.knowledge-page
    )
    main
    :is(h1, h2, h3, h4, h5, h6) {
    color: #11161d !important;
    -webkit-text-fill-color: #11161d !important;
}

html[data-theme="light"]
    :is(
        body.corporate-page,
        body.services-page,
        body.solutions-page,
        body.sectors-page,
        body.references-page,
        body.memora-ai-page,
        body.knowledge-page
    )
    main
    :is(
        .corporate-eyebrow,
        .services-page-eyebrow,
        .solutions-page-eyebrow,
        .sectors-eyebrow,
        .references-eyebrow,
        .ai-eyebrow,
        .knowledge-eyebrow,
        .section-kicker
    ) {
    color: rgba(17, 22, 29, 0.42) !important;
    -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"]
    :is(
        body.corporate-page,
        body.services-page,
        body.solutions-page,
        body.sectors-page,
        body.references-page,
        body.memora-ai-page,
        body.knowledge-page
    )
    main
    p {
    color: #596572 !important;
}

html[data-theme="light"] body.memora-ai-page .ai-submit-button,
html[data-theme="light"] body.memora-ai-page .ai-submit-button *,
html[data-theme="light"] .home-contact-button,
html[data-theme="light"] .home-contact-button * {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

html[data-theme="light"] .home-about-grid h2,
html[data-theme="light"] .home-about-heading h2,
html[data-theme="light"] .home-about-copy h2 {
    color: #11161d !important;
    -webkit-text-fill-color: #11161d !important;
    text-shadow: none !important;
}

html[data-theme="light"] .home-about-content p,
html[data-theme="light"] .home-about-copy p {
    color: #596572 !important;
    -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .home-about-heading .home-small-label,
html[data-theme="light"] .home-about-grid .home-small-label {
    color: rgba(17, 22, 29, 0.42) !important;
    -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .ai-statement-inner > p {
    color: #5d6976 !important;
    -webkit-text-fill-color: #5d6976 !important;
}

html[data-theme="light"] .ai-statement-inner > p strong,
html[data-theme="light"] .ai-statement-inner strong {
    color: #11161d !important;
    -webkit-text-fill-color: #11161d !important;
    text-shadow: none !important;
}

html[data-theme="light"]
    :is(
        .corporate-main,
        .services-main,
        .solutions-main,
        .sectors-main,
        .references-main,
        .ai-main,
        .knowledge-main,
        .contact-v2-main
    )
    h1,
html[data-theme="light"]
    :is(
        .corporate-main,
        .services-main,
        .solutions-main,
        .sectors-main,
        .references-main,
        .ai-main,
        .knowledge-main,
        .contact-v2-main
    )
    h2 {
    color: #11161d !important;
    -webkit-text-fill-color: #11161d !important;
}

html[data-theme="light"] .ai-submit-button,
html[data-theme="light"] .ai-submit-button *,
html[data-theme="light"] .home-contact-button,
html[data-theme="light"] .home-contact-button * {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

html[data-theme="light"] body.home-showcase-page .home-about-heading h2,
html[data-theme="light"] body.home-showcase-page .home-about-heading h2 * {
    color: #11161d !important;
    -webkit-text-fill-color: #11161d !important;
    background: none !important;
    text-shadow: none !important;
}

html[data-theme="light"] body.sectors-page .sector-features span {
    color: #59636f !important;
    -webkit-text-fill-color: #59636f !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-weight: 700 !important;
}

html[data-theme="light"] .home-about-heading h2,
html[data-theme="light"] .home-about-heading h2 span,
html[data-theme="light"] .home-about-heading h2 strong {
    color: #11161d !important;
    -webkit-text-fill-color: #11161d !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

html[data-theme="light"] .sector-features span {
    color: #46515d !important;
    -webkit-text-fill-color: #46515d !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-weight: 700 !important;
}

html[data-theme="light"] .sector-number {
    color: #46515d !important;
    -webkit-text-fill-color: #46515d !important;
    opacity: 1 !important;
}

html[data-theme="light"] .service-page-number,
html[data-theme="light"] .solution-page-number {
    color: #46515d !important;
    -webkit-text-fill-color: #46515d !important;
    opacity: 1 !important;
}

/* SEKTÖR İKONLARI — MEVCUT AYARLAR */

.home-sectors-section .home-sector-icon {
    width: 64px !important;
    height: 64px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.home-sectors-section .home-sector-icon img {
    display: block !important;
    width: 58px !important;
    height: 58px !important;
    object-fit: contain !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    mix-blend-mode: normal !important;
    filter: drop-shadow(0 5px 10px rgba(30, 120, 190, 0.18)) !important;
}

.home-sectors-section .home-sector-row:hover .home-sector-icon {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: translateY(-2px);
}

html[data-theme="light"] .home-sectors-section .home-sector-icon {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

html[data-theme="light"] .home-sectors-section .home-sector-icon img {
    background: transparent !important;
    box-shadow: none !important;
    filter: drop-shadow(0 4px 8px rgba(20, 70, 110, 0.16)) !important;
}

html[data-theme="dark"] .home-sectors-section .home-sector-icon,
html:not([data-theme="light"]) .home-sectors-section .home-sector-icon {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

html[data-theme="dark"] .home-sectors-section .home-sector-icon img,
html:not([data-theme="light"]) .home-sectors-section .home-sector-icon img {
    background: transparent !important;
    box-shadow: none !important;
    filter: drop-shadow(0 5px 11px rgba(45, 165, 255, 0.28)) !important;
}

@media (max-width: 768px) {
    .home-sectors-section .home-sector-icon {
        width: 46px !important;
        height: 46px !important;
    }

    .home-sectors-section .home-sector-icon img {
        width: 44px !important;
        height: 44px !important;
    }
}

.home-sector-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 64px !important;
    height: 64px !important;
    background: none !important;
    background-color: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible !important;
}

.home-sector-icon img {
    display: block !important;
    width: 58px !important;
    height: 58px !important;
    object-fit: contain !important;
    background: none !important;
    background-color: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    filter: drop-shadow(0 4px 8px rgba(30, 120, 190, 0.16)) !important;
}

.home-sector-row:hover .home-sector-icon {
    background: none !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html[data-theme="light"] .home-sector-icon,
html[data-theme="dark"] .home-sector-icon {
    background: none !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* =========================================================
   DÜZELTİLMİŞ ORTAK NAVBAR
   HTML: .navbar-nav > .nav-menu > .nav-item > .nav-link
   Yalnızca masaüstü; mevcut mobil menü davranışı korunur.
   ========================================================= */

@media (min-width: 901px) {
    html body .navbar {
        z-index: 1000 !important;
        overflow: visible !important;
    }

    html body .navbar .navbar-container,
    html body .navbar .navbar-nav,
    html body .navbar .nav-menu {
        overflow: visible !important;
    }

    html body .navbar .nav-menu > .nav-item {
        position: relative !important;
        overflow: visible !important;
    }

    html body .navbar .nav-menu > .nav-item > .nav-link {
        position: relative !important;
        border-bottom: 0 !important;
        text-decoration: none !important;
    }

    /*
       style.css içinde yatay padding 0.
       Çizgi bağlantı genişliği kadar ve her durumda ortalı.
       Aktif sayfalardaki scaleX(1) kuralı burada geçersiz kılınır.
    */
    html body .navbar .nav-menu > .nav-item > .nav-link::after {
        content: "" !important;
        display: block !important;
        position: absolute !important;

        top: auto !important;
        bottom: 5px !important;
        left: 50% !important;
        right: auto !important;

        width: 100% !important;
        height: 1px !important;

        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;

        background: currentColor !important;
        box-shadow: none !important;

        transform: translateX(-50%) !important;
        transform-origin: center !important;
        translate: none !important;
        scale: none !important;
        rotate: none !important;

        opacity: 0 !important;
        pointer-events: none !important;

        transition: opacity 160ms ease !important;
    }

    html body .navbar .nav-menu > .nav-item:hover > .nav-link::after,
    html body .navbar .nav-menu > .nav-item:focus-within > .nav-link::after,
    html body .navbar .nav-menu > .nav-item.active > .nav-link::after,
    html body .navbar .nav-menu > .nav-item > .nav-link.active::after,
    html
        body
        .navbar
        .nav-menu
        > .nav-item
        > .nav-link[aria-current="page"]::after {
        opacity: 1 !important;
    }

    /* Alt menü — mevcut renk, padding ve köşeler korunur */
    html body .navbar .nav-menu > .nav-item.dropdown > .dropdown-menu {
        display: block !important;
        position: absolute !important;

        top: calc(100% + 12px) !important;
        bottom: auto !important;
        left: 50% !important;
        right: auto !important;

        min-width: 230px;
        margin: 0 !important;

        transform: translateX(-50%) !important;
        translate: none !important;
        scale: none !important;
        rotate: none !important;

        overflow: visible !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;

        z-index: 1010 !important;

        transition:
            opacity 120ms ease 180ms,
            visibility 120ms ease 180ms !important;
    }

    /*
       Başlık ile menü arasındaki 12px boşluğu kapatır.
       Fare menüye inerken dropdown üzerinde kalır.
    */
    html body .navbar .nav-menu > .nav-item.dropdown > .dropdown-menu::before {
        content: "" !important;
        display: block !important;
        position: absolute !important;

        top: -14px !important;
        bottom: auto !important;
        left: 0 !important;
        right: 0 !important;

        width: 100% !important;
        height: 14px !important;

        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;

        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
        pointer-events: auto !important;
    }

    /* Hem fare hem klavye ile erişim */
    html body .navbar .nav-menu > .nav-item.dropdown:hover > .dropdown-menu,
    html
        body
        .navbar
        .nav-menu
        > .nav-item.dropdown:focus-within
        > .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transition-delay: 0s !important;
    }

    html
        body
        .navbar
        .nav-menu
        > .nav-item.dropdown
        > .dropdown-menu
        a:focus-visible {
        outline: 2px solid currentColor;
        outline-offset: -3px;
    }
}

@media (min-width: 901px) and (prefers-reduced-motion: reduce) {
    html body .navbar .nav-menu > .nav-item > .nav-link::after,
    html body .navbar .nav-menu > .nav-item.dropdown > .dropdown-menu {
        transition: none !important;
    }
}

/* =========================================
   MEMORA / HİZMETLER ANA SAYFASI
   ========================================= */

.mh-page {
    --mh-surface: #11181f;
    --mh-panel: #151e27;
    --mh-text: #f0f3f5;
    --mh-muted: #b3bec8;
    --mh-border: rgba(221, 233, 243, 0.13);
    --mh-chip: #25303b;
    --mh-button: #eff2f3;
    --mh-button-text: #11181f;
    --mh-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    --mh-image-brightness: 0.76;

    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
    padding: 140px 0 80px;
    color: var(--mh-text);
    font-family: inherit;
}

html[data-theme="light"] .mh-page {
    --mh-surface: #f5f8fa;
    --mh-panel: #fbfcfd;
    --mh-text: #141b23;
    --mh-muted: #5e6b79;
    --mh-border: rgba(28, 47, 65, 0.12);
    --mh-chip: #e9eef2;
    --mh-button: #18212a;
    --mh-button-text: #fff;
    --mh-shadow: 0 20px 60px rgba(26, 45, 64, 0.06);
    --mh-image-brightness: 1;
}

.mh-page,
.mh-page * {
    box-sizing: border-box;
}

/* Mevcut genel başlık renklerini bu alanda düzeltir. */
.mh-page :is(h1, h2, h3, p, a, span, summary, li) {
    -webkit-text-fill-color: currentColor !important;
}

.mh-page :is(h1, h2, h3) {
    margin: 0;
    color: var(--mh-text);
    font-weight: 600;
    text-transform: none;
}

.mh-page p {
    margin: 0;
    color: var(--mh-muted);
    line-height: 1.75;
}

.mh-page a {
    text-decoration: none;
}

.mh-page :is(a, summary):focus-visible {
    outline: 2px solid var(--mh-text);
    outline-offset: 5px;
}

.mh-page .mh-eyebrow {
    margin-bottom: 22px;
    color: var(--mh-muted);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.2em;
}

/* Fotoğraflı giriş ve kapanış */
.mh-page :is(.mh-hero, .mh-closing) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid var(--mh-border);
    border-radius: 28px;
    background: var(--mh-surface);
    box-shadow: var(--mh-shadow);
}

.mh-page .mh-hero-photo {
    position: absolute;
    inset: 0 0 0 auto;
    z-index: 0;
    display: block;
    width: 67%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 65% center;
    filter: saturate(0.8) brightness(var(--mh-image-brightness));
}

/* Geçiş rengi aktif temanın yüzey rengine eşittir. */
.mh-page :is(.mh-hero, .mh-closing)::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        var(--mh-surface) 0%,
        var(--mh-surface) 34%,
        transparent 78%
    );
}

.mh-page .mh-hero-content {
    position: relative;
    z-index: 2;
    width: 58%;
    padding: clamp(32px, 5vw, 72px);
}

.mh-page .mh-hero {
    min-height: 520px;
    display: flex;
    align-items: center;
}

.mh-page h1 {
    font-size: clamp(38px, 4.4vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.mh-page .mh-intro {
    max-width: 460px;
    margin: 25px 0 30px;
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.65;
}

.mh-page .mh-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    min-height: 50px;
    max-width: 100%;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--mh-button);
    color: var(--mh-button-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.mh-page .mh-button span {
    color: inherit;
    font-size: 21px;
}

@media (hover: hover) {
    .mh-page .mh-button:hover {
        transform: translateY(-2px);
        opacity: 0.9;
    }
}

/* Hizmet kartları */
.mh-page .mh-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 26px;
    scroll-margin-top: 120px;
}

.mh-page .mh-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 14px;
    overflow: hidden;
    border: 1px solid var(--mh-border);
    border-radius: 24px;
    background: var(--mh-panel);
    box-shadow: var(--mh-shadow);
}

.mh-page .mh-card-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 15px;
    opacity: 1;
    visibility: visible;
    filter: saturate(0.8) brightness(var(--mh-image-brightness));
}

.mh-page .mh-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 15px 18px;
}

.mh-page .mh-card .mh-eyebrow {
    margin-bottom: 15px;
    font-size: 10px;
}

.mh-page .mh-card h2 {
    font-size: clamp(26px, 2.5vw, 36px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.mh-page .mh-card-lead {
    width: 100%;
    min-height: 85px;
    margin-top: 19px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--mh-border);
    font-size: 16px;
    line-height: 1.6;
}

.mh-page .mh-card-description {
    margin: 21px 0 28px;
    font-size: 14px;
}

.mh-page .mh-text-link {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    min-height: 44px;
    margin-top: auto;
    color: var(--mh-text);
    font-size: 14px;
    font-weight: 600;
}

.mh-page .mh-text-link span {
    transition: transform 0.2s ease;
}

.mh-page .mh-text-link:hover span {
    transform: translateX(4px);
}

/* Bölüm aralıkları */
.mh-page .mh-section {
    margin-top: 76px;
}

.mh-page .mh-section-heading h2,
.mh-page .mh-closing h2 {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.045em;
}

.mh-page .mh-section-heading p {
    margin-top: 12px;
    font-size: 15px;
}

/* Çalışma aşamaları */
.mh-page .mh-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 27px 0 0;
    padding: 0;
    list-style: none;
}

.mh-page .mh-step {
    min-width: 0;
    padding: 25px;
    border: 1px solid var(--mh-border);
    border-radius: 20px;
    background: var(--mh-panel);
}

.mh-page .mh-step-number {
    display: inline-grid;
    place-items: center;
    width: 43px;
    height: 43px;
    margin-bottom: 25px;
    border-radius: 50%;
    background: var(--mh-chip);
    color: var(--mh-text);
    font-size: 13px;
    font-weight: 600;
}

.mh-page .mh-step h3 {
    margin-bottom: 11px;
    font-size: 17px;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.mh-page .mh-step p {
    font-size: 13px;
}

/* Sık sorulan sorular */
.mh-page .mh-faq {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 48px;
}

.mh-page .mh-faq-list {
    min-width: 0;
    display: grid;
    gap: 12px;
}

.mh-page details {
    border: 1px solid var(--mh-border);
    border-radius: 17px;
    background: var(--mh-panel);
}

.mh-page summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 21px;
    color: var(--mh-text);
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
}

.mh-page summary::-webkit-details-marker {
    display: none;
}

.mh-page summary::after {
    content: "+";
    flex: 0 0 auto;
    color: var(--mh-muted);
    font-size: 23px;
    font-weight: 400;
}

.mh-page details[open] summary::after {
    content: "−";
}

.mh-page details p {
    padding: 0 21px 21px;
    font-size: 14px;
}

/* Kapanış */
.mh-page .mh-closing {
    margin-top: 64px;
}

.mh-page .mh-closing .mh-hero-content {
    padding: clamp(30px, 4vw, 56px);
}

.mh-page .mh-closing .mh-intro {
    font-size: 16px;
}

/* Tablet */
@media (max-width: 1050px) {
    .mh-page .mh-hero-content {
        width: 66%;
    }

    .mh-page .mh-services {
        gap: 14px;
    }

    .mh-page .mh-card-content {
        padding-inline: 8px;
    }

    .mh-page .mh-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mh-page .mh-faq {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Telefon */
@media (max-width: 760px) {
    .mh-page {
        width: calc(100% - 28px);
        padding-top: 112px;
        padding-bottom: 48px;
    }

    .mh-page :is(.mh-hero, .mh-closing) {
        display: flex;
        flex-direction: column;
        min-height: 0;
        border-radius: 22px;
    }

    .mh-page .mh-hero-photo {
        position: relative;
        inset: auto;
        order: 0;
        width: 100%;
        height: 260px;
        object-position: center 45%;
    }

    .mh-page :is(.mh-hero, .mh-closing)::after {
        inset: 180px 0 auto;
        height: 80px;
        background: linear-gradient(to bottom, transparent, var(--mh-surface));
    }

    .mh-page .mh-hero-content,
    .mh-page .mh-closing .mh-hero-content {
        order: 1;
        width: 100%;
        padding: 25px 25px 34px;
    }

    .mh-page h1 {
        font-size: clamp(34px, 8.5vw, 52px);
    }

    .mh-page .mh-eyebrow {
        margin-bottom: 16px;
    }

    .mh-page .mh-services {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 22px;
    }

    .mh-page .mh-card-content {
        padding: 25px 14px 14px;
    }

    .mh-page .mh-card h2 {
        font-size: 32px;
    }

    .mh-page .mh-card-lead {
        min-height: 0;
    }

    .mh-page .mh-section {
        margin-top: 48px;
    }

    .mh-page .mh-closing {
        margin-top: 42px;
    }

    .mh-page .mh-process {
        gap: 12px;
    }

    .mh-page .mh-step {
        padding: 20px;
    }
}

@media (max-width: 420px) {
    .mh-page .mh-process {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mh-page *,
    .mh-page *::before,
    .mh-page *::after {
        transition: none !important;
        animation: none !important;
    }
}

.navbar #service-pages-menu {
    width: 270px;
    max-width: calc(100vw - 32px);
}

.navbar #service-pages-menu > li > a {
    display: block;
    white-space: normal;
    line-height: 1.5;
}
