:root {
    --navy: #0b2341;
    --navy-soft: #12365e;
    --green: #17995f;
    --green-dark: #0f7046;
    --white: #ffffff;
    --bg: #f5f8fb;
    --text: #1d2939;
    --muted: #667085;
    --border: #d9e2ec;
    --danger: #b42318;
    --success: #027a48;
}

/* 4. aşama public UX revizyonu */
:focus-visible {
    outline: 3px solid rgba(23, 153, 95, 0.35);
    outline-offset: 3px;
}

.site-header {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.94);
}

.brand span:last-child {
    max-width: 260px;
}

.btn {
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(11, 35, 65, 0.14);
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(11, 35, 65, 0.98), rgba(15, 112, 70, 0.88)),
        radial-gradient(circle at 82% 18%, rgba(143, 240, 189, 0.28), transparent 28%),
        var(--navy);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
    background-size: 42px 42px;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -12% -30% 42%;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(143, 240, 189, 0.22), transparent 65%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    align-items: center;
    gap: 48px;
    padding: 82px 0;
}

.hero-copy h1 {
    margin: 0;
    max-width: 780px;
    color: var(--white);
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.08;
}

.hero-copy p {
    max-width: 700px;
    color: #d7efe6;
    font-size: 18px;
}

.hero-visual {
    min-height: 380px;
    display: grid;
    place-items: center;
}

.survey-panel {
    position: relative;
    width: min(420px, 100%);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
        repeating-radial-gradient(circle at 35% 35%, transparent 0 22px, rgba(255, 255, 255, 0.13) 23px 24px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.22);
}

.survey-grid-lines {
    position: absolute;
    inset: 30px;
    border: 1px dashed rgba(255, 255, 255, 0.28);
    transform: rotate(-8deg);
}

.survey-dot {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #8ff0bd;
    box-shadow: 0 0 0 10px rgba(143, 240, 189, 0.14);
}

.dot-one { left: 20%; top: 24%; }
.dot-two { right: 20%; top: 44%; }
.dot-three { left: 42%; bottom: 18%; }

.survey-card {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    padding: 18px;
    border-radius: 12px;
    color: var(--white);
    background: rgba(11, 35, 65, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.survey-card strong,
.survey-card span {
    display: block;
}

.section {
    padding: 72px 0;
}

.page-title {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, var(--navy), var(--navy-soft)),
        var(--navy);
}

.page-title::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
    background-size: 36px 36px;
}

.page-title .container {
    position: relative;
    z-index: 1;
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.feature-grid,
.project-grid,
.reference-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

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

.feature-card,
.project-card,
.reference-card,
.prose-card,
.map-card {
    border: 1px solid rgba(217, 226, 236, 0.9);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 14px 36px rgba(11, 35, 65, 0.08);
}

.feature-card,
.reference-card,
.prose-card,
.map-card {
    padding: 24px;
}

.feature-card,
.project-card,
.reference-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover,
.project-card:hover,
.reference-card:hover {
    transform: translateY(-4px);
    border-color: rgba(23, 153, 95, 0.34);
    box-shadow: 0 20px 44px rgba(11, 35, 65, 0.13);
}

.feature-card h2,
.feature-card h3,
.project-card h3,
.reference-card h2,
.reference-card h3,
.map-card h2,
.contact-card h2,
.contact-form h2 {
    margin: 0 0 10px;
    color: var(--navy);
    line-height: 1.25;
}

.feature-card p,
.project-card p,
.reference-card p,
.prose-card p {
    color: var(--muted);
}

.card-link {
    display: inline-flex;
    margin-top: 8px;
    color: var(--green-dark);
    font-weight: 800;
}

.media-placeholder {
    min-height: 170px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.86);
    background:
        linear-gradient(135deg, rgba(11, 35, 65, 0.95), rgba(15, 112, 70, 0.86)),
        var(--navy);
}

.media-placeholder span {
    font-weight: 800;
}

.project-card {
    overflow: hidden;
}

.project-image,
.reference-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.project-body {
    padding: 24px;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    color: var(--navy-soft);
    font-size: 14px;
    font-weight: 700;
}

.meta-row span {
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--bg);
}

.project-card-clickable {
    cursor: pointer;
}

.project-card-clickable:focus-visible {
    outline: 3px solid rgba(23, 153, 95, 0.35);
    outline-offset: 4px;
}

.project-modal-trigger {
    margin-top: 14px;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

body.modal-open {
    overflow: hidden;
}

.project-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.project-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.project-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 35, 65, 0.72);
}

.project-modal-panel {
    position: relative;
    z-index: 1;
    width: min(1080px, 100%);
    max-height: min(88vh, 820px);
    overflow: auto;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 28px 80px rgba(11, 35, 65, 0.32);
}

.project-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 20px rgba(11, 35, 65, 0.18);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.project-modal-content {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
    gap: 0;
}

.project-modal-media-wrap {
    position: relative;
    min-height: 420px;
    background: var(--navy);
}

.project-modal-media {
    height: 100%;
    min-height: 420px;
    display: grid;
    place-items: center;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.project-modal-media img {
    width: 100%;
    height: 100%;
    max-height: 76vh;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

.project-modal-media img[hidden],
.project-modal-placeholder[hidden],
.project-modal-nav[hidden] {
    display: none !important;
}

.project-modal-placeholder {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 800;
    background:
        linear-gradient(135deg, rgba(11, 35, 65, 0.95), rgba(15, 112, 70, 0.86)),
        var(--navy);
}

.project-modal-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 20px rgba(11, 35, 65, 0.18);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.project-modal-prev {
    left: 16px;
}

.project-modal-next {
    right: 16px;
}

.project-modal-counter {
    position: absolute;
    left: 18px;
    bottom: 16px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(11, 35, 65, 0.72);
    font-size: 13px;
    font-weight: 800;
}

.project-modal-details {
    padding: 34px 30px;
}

.project-modal-details h2 {
    margin: 16px 0 12px;
    color: var(--navy);
    line-height: 1.2;
}

.project-modal-details p {
    color: var(--muted);
}

.reference-image {
    margin: -24px -24px 18px;
    width: calc(100% + 48px);
}

.about-preview {
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff, #f5fbf8);
}

.contact-cta {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, var(--navy), var(--green-dark)),
        var(--navy);
}

.contact-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
    background-size: 38px 38px;
}

.contact-cta-inner {
    position: relative;
    z-index: 1;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 26px;
    align-items: start;
}

.contact-stack {
    display: grid;
    gap: 22px;
}

.contact-card,
.contact-form {
    border-radius: 14px;
}

.contact-detail-list {
    display: grid;
    gap: 12px;
    margin: 20px 0;
}

.contact-detail-list p {
    margin: 0;
    padding: 14px;
    border-radius: 10px;
    background: var(--bg);
}

.contact-detail-list strong,
.contact-detail-list a,
.contact-detail-list span {
    display: block;
}

.contact-detail-list strong {
    margin-bottom: 4px;
    color: var(--navy);
}

.contact-social {
    margin-top: 24px;
}

.contact-social h3 {
    margin: 0 0 12px;
    color: var(--navy);
}

.map-card .map-embed {
    margin-top: 16px;
}

.site-footer {
    background:
        linear-gradient(135deg, #071a31, var(--navy)),
        var(--navy);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.45fr 0.75fr 1fr;
    gap: 42px;
    padding: 54px 0 38px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-weight: 800;
}

.footer-brand p,
.footer-contact p {
    color: #d6e4f0;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    margin: 0 0 14px;
    color: var(--white);
}

.footer-links a,
.footer-contact a {
    color: #d6e4f0;
}

.footer-links a {
    display: block;
    margin-bottom: 9px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #8ff0bd;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    color: var(--white);
    transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.social-icons a:hover {
    transform: translateY(-2px);
    background: var(--green);
    border-color: var(--green);
}

.social-icons svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.14);
}

.form-section-title {
    margin: 28px 0 8px;
    color: var(--navy);
    font-size: 20px;
}

.form-section-title:first-child {
    margin-top: 0;
}

.compact-check {
    margin-top: 32px;
}

@media (max-width: 980px) {
    .hero-grid,
    .contact-page-grid,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 300px;
    }

    .feature-grid,
    .reference-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .section {
        padding: 52px 0;
    }

    .hero-grid {
        min-height: auto;
        padding: 62px 0;
    }

    .hero-copy h1 {
        font-size: 38px;
    }

    .feature-grid,
    .project-grid,
    .reference-grid {
        grid-template-columns: 1fr;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .about-preview {
        padding: 24px;
    }

    .brand span:last-child {
        max-width: 190px;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header,
.admin-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.header-inner,
.admin-header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    font-weight: 700;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), var(--green));
    font-weight: 800;
}

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--white);
}

.main-nav,
.admin-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--navy);
    font-size: 15px;
    font-weight: 600;
}

.main-nav a,
.admin-nav a {
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active,
.admin-nav a:hover {
    color: var(--green-dark);
    border-bottom-color: var(--green);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--navy);
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-size: 22px;
}

.hero {
    color: var(--white);
    background: linear-gradient(90deg, var(--navy), var(--green-dark));
}

.hero-content {
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 760px;
    padding: 72px 0;
}

.hero h1,
.page-title h1,
.admin-title h1 {
    margin: 0;
    line-height: 1.15;
    color: inherit;
}

.hero h1 {
    font-size: clamp(34px, 6vw, 58px);
    max-width: 760px;
}

.hero p {
    max-width: 680px;
    font-size: 18px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #8ff0bd;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
}

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

.btn.primary:hover {
    background: var(--green-dark);
}

.btn.secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
}

.btn.full {
    width: 100%;
}

.section,
.page-title {
    padding: 64px 0;
}

.page-title {
    color: var(--white);
    background: var(--navy);
}

.page-title h1 {
    font-size: 42px;
}

.muted {
    background: var(--bg);
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 0;
    color: var(--navy);
    font-size: 32px;
}

.split-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 36px;
    align-items: start;
}

.split-section h2 {
    margin: 0;
    color: var(--navy);
    font-size: 34px;
}

.text-link {
    color: var(--green-dark);
    font-weight: 700;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.card,
.stat-card,
.admin-panel-note,
.login-card,
.contact-info,
.contact-form {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 24px rgba(11, 35, 65, 0.06);
}

.card {
    padding: 24px;
}

.card h2,
.card h3 {
    margin: 0 0 10px;
    color: var(--navy);
}

.card p {
    margin: 0 0 12px;
    color: var(--muted);
}

.card-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 8px;
    color: var(--green-dark);
    background: #e7f7ef;
    font-size: 22px;
    font-weight: 800;
}

.badge {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--navy);
    background: #e8eef6;
    font-size: 13px;
    font-weight: 700;
}

.badge.green {
    color: var(--green-dark);
    background: #e7f7ef;
}

.content-narrow {
    max-width: 820px;
    font-size: 18px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 24px;
}

.contact-info,
.contact-form {
    padding: 24px;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.call-btn {
    color: var(--white);
    background: var(--navy);
}

.call-btn:hover {
    background: var(--navy-soft);
}

.whatsapp-btn {
    color: var(--white);
    background: var(--green);
}

.whatsapp-btn:hover {
    background: var(--green-dark);
}

.map-embed {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
}

.map-embed iframe {
    width: 100%;
    min-height: 360px;
    display: block;
    border: 0;
}

label {
    display: block;
    margin: 14px 0 6px;
    color: var(--navy);
    font-weight: 700;
}

input,
textarea,
select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font: inherit;
    background: var(--white);
}

textarea {
    resize: vertical;
}

.alert {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 14px;
    font-weight: 700;
}

.alert.success {
    color: var(--success);
    background: #ecfdf3;
}

.alert.error {
    color: var(--danger);
    background: #fef3f2;
}

.site-footer {
    color: var(--white);
    background: var(--navy);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
    padding: 44px 0;
}

.footer-grid h3,
.footer-grid h4 {
    margin-top: 0;
}

.footer-grid a {
    display: block;
    margin-bottom: 8px;
    color: #d6e4f0;
}

.footer-bottom {
    padding: 16px;
    text-align: center;
    color: #d6e4f0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.login-body {
    min-height: 100vh;
    background: var(--bg);
}

.login-wrapper {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-card {
    width: min(430px, 100%);
    padding: 28px;
}

.login-brand {
    margin-bottom: 18px;
}

.login-card h1 {
    margin: 0 0 18px;
    color: var(--navy);
    font-size: 26px;
}

.login-help {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.admin-body {
    background: var(--bg);
}

.admin-main {
    min-height: calc(100vh - 136px);
}

.admin-dashboard {
    padding: 42px 0;
}

.admin-title {
    margin-bottom: 24px;
}

.admin-title h1 {
    color: var(--navy);
    font-size: 36px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.stat-card {
    padding: 22px;
}

.stat-card span {
    display: block;
    color: var(--muted);
    font-weight: 700;
}

.stat-card strong {
    display: block;
    margin-top: 10px;
    color: var(--navy);
    font-size: 36px;
}

.stat-card a {
    display: inline-flex;
    margin-top: 12px;
    color: var(--green-dark);
    font-weight: 700;
}

.admin-panel-note {
    margin-top: 24px;
    padding: 24px;
}

.admin-panel-note h2 {
    margin-top: 0;
    color: var(--navy);
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.quick-links a {
    color: var(--green-dark);
    font-weight: 700;
}

.admin-footer {
    padding: 18px 0;
    color: var(--muted);
    background: var(--white);
    border-top: 1px solid var(--border);
}

.card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    margin: 0 0 18px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.admin-header-inner {
    flex-wrap: wrap;
}

.admin-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-page {
    padding: 42px 0;
}

.admin-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.admin-title-row h1 {
    margin: 0;
    color: var(--navy);
    font-size: 34px;
}

.btn.secondary.admin-light-btn {
    color: var(--navy);
    border-color: var(--border);
}

.admin-form {
    margin-bottom: 28px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 24px rgba(11, 35, 65, 0.06);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
}

.checkbox-field input {
    width: auto;
}

.form-help {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 24px rgba(11, 35, 65, 0.06);
}

.admin-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.admin-table th {
    color: var(--navy);
    background: var(--bg);
    font-size: 14px;
}

.admin-table tr:last-child td {
    border-bottom: 0;
}

.table-actions {
    display: flex;
    gap: 12px;
    white-space: nowrap;
}

.table-actions a {
    color: var(--green-dark);
    font-weight: 700;
}

.table-actions .danger-link {
    color: var(--danger);
}

.messages-table .unread-row td {
    background: #f0fbf5;
    font-weight: 700;
}

.settings-form textarea {
    min-height: 110px;
}

.admin-gallery-panel {
    margin: 22px 0;
}

.admin-gallery-panel h2 {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: 22px;
}

.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.admin-gallery-item {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
}

.admin-gallery-item img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    margin-bottom: 10px;
    border-radius: 6px;
}

.admin-gallery-item label {
    display: grid;
    gap: 6px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
}

.admin-gallery-item input {
    min-height: 38px;
}

.admin-gallery-item .danger-link {
    display: inline-flex;
    margin-top: 10px;
    color: var(--danger);
    font-weight: 800;
}

.contact-cta {
    background: var(--navy);
    color: var(--white);
}

.contact-cta h2 {
    margin: 0 0 10px;
    font-size: 34px;
}

.contact-cta .eyebrow {
    color: #8ff0bd;
}

.contact-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

@media (max-width: 860px) {
    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .main-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 76px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border: 1px solid var(--border);
        border-radius: 8px;
        background: var(--white);
        box-shadow: 0 16px 32px rgba(11, 35, 65, 0.12);
    }

    .main-nav.is-open {
        display: flex;
    }

    .card-grid,
    .stats-grid,
    .footer-grid,
    .contact-layout,
    .form-grid,
    .split-section {
        grid-template-columns: 1fr;
    }

    .contact-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-actions .btn {
        width: 100%;
    }

    .admin-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .checkbox-field {
        margin-top: 0;
    }

    .hero-content {
        min-height: 420px;
    }
}

/* Final overrides for the public redesign */
.site-header {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.94);
}

.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(11, 35, 65, 0.98), rgba(15, 112, 70, 0.88)),
        radial-gradient(circle at 82% 18%, rgba(143, 240, 189, 0.28), transparent 28%),
        var(--navy);
}

.section {
    padding: 72px 0;
}

.page-title {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), var(--navy-soft));
}

.site-footer {
    color: var(--white);
    background: linear-gradient(135deg, #071a31, var(--navy));
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.14);
}

.contact-cta {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), var(--green-dark));
}

.feature-card,
.project-card,
.reference-card,
.prose-card,
.map-card {
    border-radius: 14px;
}

.compact-section {
    padding-top: 58px;
    padding-bottom: 58px;
}

.projects-carousel-section {
    padding-top: 60px;
    padding-bottom: 56px;
}

.carousel-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.carousel-btn {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--navy);
    background: var(--white);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.carousel-btn:hover {
    color: var(--white);
    background: var(--green);
    border-color: var(--green);
    transform: translateY(-1px);
}

.project-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(360px, 44%);
    gap: 22px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding: 4px;
    padding: 6px 4px 18px;
}

.project-carousel::-webkit-scrollbar {
    height: 9px;
}

.project-carousel::-webkit-scrollbar-track {
    border-radius: 999px;
    background: #e8eef6;
}

.project-carousel::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(90deg, var(--navy), var(--green));
}

.carousel-card {
    min-height: 100%;
    scroll-snap-align: center;
}

.carousel-card .project-image {
    aspect-ratio: 16 / 8.5;
}

.project-image.media-placeholder {
    display: grid;
    place-items: center;
}

.hero-visual-logo-wrap {
    position: absolute;
    inset: 54px;
    display: grid;
    place-items: center;
    padding: 28px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 22px 46px rgba(0, 0, 0, 0.12);
}

.hero-visual-logo {
    max-width: min(260px, 82%);
    max-height: 220px;
    object-fit: contain;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.22));
}

.kvkk-notice {
    margin: 18px 0;
    padding: 14px 16px;
    border: 1px solid #cfe4da;
    border-radius: 10px;
    background: #f0fbf5;
    color: var(--muted);
    font-size: 14px;
}

.kvkk-notice p {
    margin: 0;
}

.kvkk-notice a {
    display: inline-flex;
    margin-top: 8px;
    color: var(--green-dark);
    font-weight: 800;
}

.kvkk-page-card {
    max-width: 920px;
    margin: 0 auto;
    color: var(--text);
    font-size: 17px;
    line-height: 1.8;
}

.contact-socials .social-icons a,
.contact-socials .social-icons .contact-social-link {
    color: var(--navy);
    background: var(--white);
    border-color: var(--border);
    box-shadow: 0 8px 18px rgba(11, 35, 65, 0.08);
}

.contact-socials .social-icons svg {
    color: var(--navy);
    stroke: currentColor;
}

.contact-socials .social-icons a:hover,
.contact-socials .social-icons .contact-social-link:hover {
    color: var(--white);
    background: var(--green);
    border-color: var(--green);
}

@media (max-width: 680px) {
    .hero-visual-logo-wrap {
        inset: 42px;
        padding: 22px;
    }

    .hero-visual-logo {
        max-height: 170px;
    }
}

.carousel-card .project-body {
    min-height: 250px;
}

.about-page-section {
    background: linear-gradient(180deg, var(--white), var(--bg));
}

.about-page-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
    gap: 26px;
    align-items: start;
}

.about-highlight {
    position: sticky;
    top: 100px;
    padding: 28px;
    border-radius: 16px;
    color: var(--white);
    background:
        linear-gradient(135deg, var(--navy), var(--green-dark)),
        var(--navy);
    box-shadow: 0 18px 42px rgba(11, 35, 65, 0.16);
}

.about-highlight h2 {
    margin: 0 0 12px;
    color: var(--white);
    line-height: 1.2;
}

.about-highlight .eyebrow {
    color: #8ff0bd;
}

.about-content-card {
    max-width: none;
    font-size: 17px;
}

@media (max-width: 980px) {
    .project-carousel {
        grid-auto-columns: minmax(310px, 72%);
    }

    .about-page-grid {
        grid-template-columns: 1fr;
    }

    .about-highlight {
        position: static;
    }
}

@media (max-width: 680px) {
    .compact-section,
    .projects-carousel-section {
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .carousel-actions {
        width: 100%;
        justify-content: space-between;
    }

    .project-carousel {
        grid-auto-columns: minmax(280px, 88%);
        gap: 16px;
        padding-bottom: 14px;
    }

    .home-services-carousel {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(245px, 82%);
        grid-template-columns: none;
        gap: 16px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding: 16px;
        padding: 4px 16px 16px 0;
        margin-right: -16px;
    }

    .home-services-carousel::-webkit-scrollbar {
        height: 8px;
    }

    .home-services-carousel::-webkit-scrollbar-track {
        border-radius: 999px;
        background: #e8eef6;
    }

    .home-services-carousel::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: linear-gradient(90deg, var(--navy), var(--green));
    }

    .home-services-carousel .featured-service-card {
        scroll-snap-align: start;
        padding: 18px;
    }

    .home-services-carousel .media-placeholder,
    .home-services-carousel .card-image {
        min-height: 118px;
        aspect-ratio: 16 / 8;
        margin-bottom: 14px;
    }

    .home-services-carousel .featured-service-card h3 {
        font-size: 18px;
    }

    .home-services-carousel .featured-service-card p {
        font-size: 14px;
    }

    .carousel-card .project-body {
        min-height: auto;
    }
}

@media (max-width: 900px) {
    .project-modal-content {
        grid-template-columns: 1fr;
    }

    .project-modal-panel {
        max-height: 90vh;
    }

    .project-modal-media-wrap,
    .project-modal-media,
    .project-modal-placeholder {
        min-height: 300px;
    }
}

@media (max-width: 680px) {
    .project-modal {
        padding: 12px;
    }

    .project-modal-details {
        padding: 24px 18px;
    }

    .project-modal-media-wrap,
    .project-modal-media,
    .project-modal-placeholder {
        min-height: 240px;
    }

    .project-modal-nav {
        width: 38px;
        height: 38px;
        font-size: 28px;
    }

    .project-modal-prev {
        left: 10px;
    }

    .project-modal-next {
        right: 10px;
    }

    .admin-gallery-grid {
        grid-template-columns: 1fr;
    }
}
