:root {
    --navy: #08284b;
    --navy2: #0d3d66;
    --teal: #1aa7b7;
    --ink: #14202b;
    --muted: #607080;
    --line: #e4ebf0;
    --soft: #f4f8fa;
    --white: #fff;
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

.wrap {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}

.narrow {
    max-width: 840px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.nav-wrap {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand img {
    display: block;
    width: 230px;
    height: auto;
    max-width: 100%;
    flex: 0 0 auto;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    flex: 1;
}

.main-nav a:hover {
    color: var(--teal);
}

.cta-small {
    padding: 11px 16px;
    border-radius: 10px;
    background: var(--navy);
    color: #fff !important;
}

.nav-toggle {
    display: none;
    border: 0;
    background: none;
    font-size: 26px;
}

.hero {
    padding: 86px 0;
    background: linear-gradient(
            135deg,
            #f7fbfc 0%,
            #fff 50%,
            #eef8fa 100%
    );
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: center;
}

.eyebrow,
.card-kicker {
    display: inline-block;
    color: var(--teal);
    letter-spacing: .18em;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 14px;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: -.04em;
    margin: 0 0 22px;
    color: var(--navy);
}

.hero p,
.page-hero p {
    font-size: 20px;
    color: var(--muted);
    max-width: 720px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin: 30px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 11px;
    font-weight: 800;
    border: 1px solid var(--line);
    cursor: pointer;
}

.primary {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.ghost {
    background: #fff;
}

.light {
    background: #fff;
    color: var(--navy);
}

.full {
    width: 100%;
}

.trust-line {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: #6d7d88;
    font-size: 13px;
}

.hero-card,
.sidebox {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 20px 60px rgba(8, 40, 75, .08);
}

.hero-card h2 {
    margin: 0 0 20px;
    font-size: 28px;
    color: var(--navy);
}

.service-shortcuts {
    display: grid;
    gap: 8px;
}

.service-shortcuts a {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
}

.service-shortcuts a:last-child {
    border: 0;
}

.section {
    padding: 82px 0;
}

.section-head {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-head h2,
.split h2 {
    font-size: 38px;
    line-height: 1.15;
    color: var(--navy);
    margin: 0 0 12px;
}

.section-head p {
    color: var(--muted);
    font-size: 18px;
}

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

.card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.card h3 {
    color: var(--navy);
    font-size: 21px;
    margin-top: 0;
}

.card p {
    color: var(--muted);
}

.card a {
    font-weight: 800;
    color: var(--teal);
}

.dark {
    background: var(--navy);
    color: #fff;
}

.dark .eyebrow {
    color: #63d8df;
}

.dark h2 {
    color: #fff;
}

.split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.page-hero {
    padding: 78px 0 62px;
    background: var(--soft);
}

.page-hero.compact {
    padding-bottom: 45px;
}

.page-hero h1 {
    font-size: clamp(38px, 5vw, 58px);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 60px;
    align-items: start;
}

.prose h2 {
    color: var(--navy);
    font-size: 29px;
    margin-top: 38px;
}

.prose p,
.prose li {
    font-size: 17px;
    color: #445463;
}

.sidebox {
    position: sticky;
    top: 118px;
}

.sidebox h3 {
    font-size: 24px;
    color: var(--navy);
    margin-top: 0;
}

.form-wrap {
    max-width: 920px;
}

.quote-form {
    border-top: 1px solid var(--line);
}

.form-section {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    padding: 34px 0;
    border-bottom: 1px solid var(--line);
}

.form-section > span {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--soft);
    color: var(--teal);
    font-weight: 800;
}

.form-section h2 {
    margin: 3px 0 20px;
    color: var(--navy);
}

.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.quote-form label {
    display: grid;
    gap: 7px;
    font-weight: 700;
    color: #31485c;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #ccd8e0;
    border-radius: 10px;
    background: #fff;
    font: inherit;
}

.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.check-grid label,
.consent {
    display: flex !important;
    align-items: center;
    gap: 9px;
    font-weight: 600 !important;
}

.check-grid input,
.consent input {
    width: auto;
}

.consent {
    margin: 18px 0;
}

.notice {
    padding: 16px 18px;
    border-radius: 10px;
    margin-bottom: 22px;
}

.success {
    background: #e9f7ef;
    color: #24623d;
}

.error {
    background: #fff1f1;
    color: #8a3030;
}

.site-footer {
    background: #061e37;
    color: #d9e4ec;
    padding: 55px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-grid strong {
    color: #fff;
    display: block;
    margin-bottom: 10px;
}

.footer-grid a {
    display: block;
    margin: 5px 0;
}

.footer-bottom {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 13px;
    color: #9fb1bf;
}

/* Spam honeypot: gerçek kullanıcıya görünmez. */
.hp-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 900px) {

    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 88px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        flex-direction: column;
        border-bottom: 1px solid var(--line);
    }

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

    .hero-grid,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        margin-top: 10px;
    }

    .cards {
        grid-template-columns: 1fr 1fr;
    }

    .sidebox {
        position: static;
    }

    .split {
        align-items: flex-start;
        flex-direction: column;
    }

    .brand img {
        width: 175px;
        height: 52px;
    }
}

@media (max-width: 620px) {

    .wrap {
        width: min(100% - 28px, 1180px);
    }

    .hero {
        padding: 58px 0;
    }

    .cards,
    .field-grid,
    .check-grid {
        grid-template-columns: 1fr;
    }

    .form-section {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 58px 0;
    }

    .nav-wrap {
        height: 76px;
    }

    .main-nav {
        top: 76px;
    }

    .brand img {
        width: 155px;
        height: 48px;
    }

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

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(8, 40, 75, 0.06);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    text-decoration: none;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(8, 40, 75, 0.12);
    border-color: #d7e6ee;
}

.service-card-media {
    position: relative;
    height: 210px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-card-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            180deg,
            rgba(8, 40, 75, 0.10) 0%,
            rgba(8, 40, 75, 0.18) 45%,
            rgba(8, 40, 75, 0.48) 100%
    );
}

.service-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
}

.service-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 24px 22px;
}

.service-card-body h3 {
    margin: 0;
    font-size: 29px;
    line-height: 1.25;
    color: var(--navy);
}

.service-card-body p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
}

.service-link {
    display: inline-flex;
    align-items: center;
    margin-top: 6px;
    font-size: 15px;
    font-weight: 800;
    color: var(--teal);
}

.service-card:hover .service-link {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 980px) {
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .service-cards {
        grid-template-columns: 1fr;
    }

    .service-card-media {
        height: 190px;
    }

    .service-card-body {
        padding: 20px;
    }

    .service-card-body h3 {
        font-size: 24px;
    }
}

.subservices {
    margin-top: 45px;
}

.subservice-item {
    display: block;
    padding: 22px 24px;
    margin-top: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    color: var(--ink);
    transition: .2s ease;
}

.subservice-item:hover {
    transform: translateY(-2px);
    border-color: var(--teal);
}

.subservice-item h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

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

.subservice-item span {
    font-weight: 700;
    color: var(--teal);
}

/* TEKNEREFIT NE YAPAR */
.about-platform {
    background: #f7fafc;
}

.platform-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 50px;
    align-items: center;
}

.platform-content {
    max-width: 760px;
}

.platform-lead,
.about-us-lead {
    font-size: 18px;
    line-height: 1.8;
    color: var(--ink);
}

.platform-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 32px;
}

.platform-step {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.platform-step > span {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    color: var(--teal);
}

.platform-step h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: var(--navy);
}

.platform-step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.platform-visual,
.about-us-visual {
    overflow: hidden;
    border-radius: 22px;
    min-height: 430px;
    background: var(--soft);
}

.platform-visual img,
.about-us-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}


/* HAKKIMIZDA */
.about-us {
    background: #fff;
}

.about-us-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.about-us-content h2 {
    max-width: 720px;
}

.about-us-content p {
    color: var(--muted);
    line-height: 1.85;
}

.about-us-content .btn {
    margin-top: 12px;
}


@media (max-width: 980px) {

    .platform-grid,
    .about-us-grid {
        grid-template-columns: 1fr;
    }

    .platform-visual {
        order: -1;
    }

    .platform-steps {
        grid-template-columns: 1fr;
    }

    .platform-visual,
    .about-us-visual,
    .platform-visual img,
    .about-us-visual img {
        min-height: 340px;
    }
}

@media (max-width: 640px) {

    .platform-visual,
    .about-us-visual,
    .platform-visual img,
    .about-us-visual img {
        min-height: 260px;
    }

    .platform-lead,
    .about-us-lead {
        font-size: 16px;
    }
}

.whatsapp-float{
    position:fixed;
    right:24px;
    bottom:24px;
    width:58px;
    height:58px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#25D366;
    box-shadow:0 10px 28px rgba(0,0,0,.18);
    z-index:9999;
    transition:transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 34px rgba(0,0,0,.24);
}
.whatsapp-float svg{
    width:31px;
    height:31px;
    fill:#fff;
}
@media(max-width:640px){
    .whatsapp-float{
        right:16px;
        bottom:16px;
        width:54px;
        height:54px;
    }
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    flex: 1;
}

.main-nav > a,
.nav-dropdown-toggle {
    white-space: nowrap;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    border: 0;
    background: transparent;
    font: inherit;
    color: var(--ink);
    cursor: pointer;
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0,0,0,.12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s ease;

    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 11px 13px;
    border-radius: 9px;
    color: var(--ink);
    text-decoration: none;
}

.nav-dropdown-menu a:hover {
    background: var(--soft);
    color: var(--navy);
}

.nav-dropdown-toggle {
    border: 0;
    background: transparent;
    font: inherit;
    color: var(--ink);
    cursor: pointer;
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 7px;
}

.nav-dropdown-toggle i {
    font-size: 11px;
    transition: transform .2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle i,
.nav-dropdown:focus-within .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-toggle {
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease;
}

.nav-toggle:hover {
    opacity: .75;
}

.nav-toggle:active {
    transform: scale(.96);
}


/* =========================================================
   MOBILE NAV FINAL FIX
   Bu blok dosyanın EN SONUNDA kalmalıdır.
   ========================================================= */

@media (max-width: 900px) {

    .nav-wrap {
        position: relative;
        min-height: 76px;
        height: auto;
        gap: 16px;
    }

    /* Logo oranını bozma */
    .brand {
        flex: 0 0 auto;
    }

    .brand img {
        display: block;
        width: 175px;
        max-width: 100%;
        height: auto !important;
        object-fit: contain;
    }

    /* Hamburger */
    .nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        cursor: pointer;
        position: relative;
        z-index: 1002;
    }

    /* Menü varsayılan olarak KAPALI */
    .main-nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        padding: 18px 20px 22px;
        background: #fff;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 14px 30px rgba(8, 40, 75, .10);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        z-index: 1001;
    }

    /* JS .open eklediğinde aç */
    .main-nav.open {
        display: flex !important;
    }

    .main-nav > a {
        display: block;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
        white-space: normal;
    }

    .main-nav > a.cta-small {
        margin-top: 14px;
        padding: 12px 16px;
        border-bottom: 0;
        text-align: center;
    }

    /* Diğer Hizmetler mobilde menünün içinde düzgün aksın */
    .nav-dropdown {
        width: 100%;
        position: relative;
        border-bottom: 1px solid var(--line);
    }

    .nav-dropdown-toggle {
        width: 100%;
        padding: 12px 0;
        justify-content: space-between;
        white-space: normal;
    }

    /*
       Mobilde hover davranışı sorun çıkarmasın.
       Alt hizmetler hamburger menü açıldığında görünür olsun.
    */
    .nav-dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        padding: 0 0 8px 14px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;

        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-dropdown-menu a {
        padding: 9px 0;
        font-size: 15px;
    }

    .nav-dropdown-toggle i {
        transform: rotate(180deg);
    }
}

@media (max-width: 620px) {

    .brand img {
        width: 155px;
        height: auto !important;
    }

    .nav-wrap {
        min-height: 72px;
        height: auto;
    }

    .main-nav {
        top: 100%;
    }
}

/* Tekne Bakım & Refit Rehberi */
.guide-section {
    background: #f7f9fb;
}

.guide-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.guide-card {
    display: flex;
    min-height: 260px;
    padding: 30px;
    background: #fff;
    border: 1px solid rgba(16, 45, 68, .10);
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.guide-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 45, 68, .22);
    box-shadow: 0 18px 40px rgba(16, 45, 68, .08);
}

.guide-card-body {
    display: flex;
    flex-direction: column;
}

.guide-card-kicker {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #168f91;
}

.guide-card h3 {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.25;
}

.guide-card p {
    margin: 0 0 22px;
    line-height: 1.7;
    color: #65717b;
}

.guide-link {
    margin-top: auto;
    font-weight: 700;
    color: #102d44;
}

@media (max-width: 900px) {
    .guide-cards {
        grid-template-columns: 1fr;
    }

    .guide-card {
        min-height: 0;
    }
}
