:root {
    --navy: #07192d;
    --navy-light: #102943;
    --gold: #c79124;
    --gold-dark: #a96f0b;
    --gold-light: #e4bd61;
    --cream: #fbfaf7;
    --light-blue: #edf5fb;
    --text: #07182d;
    --border: #e6d4ad;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.45;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(100% - 80px, 1400px);
    margin-inline: auto;
}


/* GENEL BAŞLIKLAR */

h1,
h2,
h3,
h4 {
    font-family: "Playfair Display", Georgia, serif;
}

h2 {
    color: var(--navy);
    font-size: clamp(25px, 2.15vw, 34px);
    font-weight: 800;
    line-height: 1.18;
}

.section-heading {
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 7px;
}

.section-heading > p {
    margin-top: 8px;
    font-size: 17px;
}

.heading-subtitle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 13px;
    color: var(--gold-dark);
    font-family: Georgia, serif;
    font-size: 20px;
}

.heading-subtitle span {
    width: 25px;
    height: 1px;
    background: var(--gold);
}


/* BUTONLAR */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 62px;
    padding: 14px 22px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    transition: 0.25s ease;
    cursor: pointer;
}

.btn i {
    font-size: 28px;
}

.btn-gold {
    color: var(--white);
    background: linear-gradient(135deg, #d9a738, #bb841c);
    border: 1px solid #efca71;
    box-shadow: 0 5px 12px rgb(87 56 7 / 18%);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #e2b54d, #a96f0b);
    transform: translateY(-2px);
}

.btn-dark {
    color: var(--white);
    background: var(--navy);
    border: 1px solid var(--gold);
    box-shadow: 0 5px 12px rgb(0 0 0 / 18%);
}

.btn-dark:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
}


/* HERO */

.hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background: var(--navy);
}

.hero-background {
    position: absolute;
    z-index: 0;
    top: 92px;
    right: 0;
    bottom: 0;
    width: 54%;
    background:
        linear-gradient(90deg, rgb(7 25 45 / 12%), rgb(7 25 45 / 0%)),
        url("assets/hero-clinic.webp") center / cover no-repeat;
}

.hero-background::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(7 25 45 / 35%), transparent 45%);
    content: "";
}

.hero-gold-shape,
.hero-white-shape {
    position: absolute;
    top: 92px;
    bottom: -70px;
    left: -4%;
    width: 65%;
    clip-path: ellipse(78% 77% at 25% 48%);
}

.hero-gold-shape {
    z-index: 1;
    background: var(--gold);
}

.hero-white-shape {
    z-index: 2;
    left: -2.2%;
    width: 63.5%;
    background: var(--cream);
}

.topbar {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 92px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
}

.brand-tooth {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 47px;
    transform: rotate(-8deg);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text strong {
    font-family: Georgia, serif;
    font-size: 27px;
    letter-spacing: 1px;
}

.brand-text small {
    margin-top: 5px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 5px;
    text-align: center;
}

.language-nav {
    display: flex;
    align-items: center;
    gap: 27px;
    color: var(--white);
    font-size: 14px;
}

.language-nav a {
    display: flex;
    align-items: center;
    gap: 7px;
    opacity: 0.95;
    transition: 0.2s ease;
}

.language-nav a:hover {
    color: var(--gold-light);
}

.flag {
    font-size: 22px;
    line-height: 1;
}

.hero-content {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: 53% 47%;
    min-height: 558px;
}

.hero-copy {
    align-self: start;
    max-width: 640px;
    padding-top: 36px;
    padding-left: 18px;
}

.hero-copy h1 {
    margin-bottom: 21px;
    color: var(--navy);
    font-size: clamp(40px, 4.1vw, 63px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1px;
}

.hero-copy p {
    max-width: 570px;
    margin-bottom: 17px;
    color: #07182d;
    font-size: 17px;
    line-height: 1.35;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    margin-top: 24px;
}

.hero-buttons .btn {
    min-width: 225px;
}

.hero-person {
    position: relative;
    left: -160px;
}

.hero-person img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.hero-person {
    transform: translateX(-60px);
}

@media (max-width: 768px) {
    .hero-person {
        display: none;
    }
}

/* KONTAKT */

.section-white {
    background: var(--white);
}

.contact-section {
    position: relative;
    z-index: 6;
    padding: 23px 0 22px;
    border: 1px solid #dedede;
    border-radius: 7px;
    box-shadow: 0 3px 8px rgb(0 0 0 / 7%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
    margin: 20px auto 14px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 174px;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: linear-gradient(180deg, #fff, #fcfbf8);
    text-align: center;
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 77px;
    height: 77px;
    margin-bottom: 13px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    color: var(--gold-dark);
    font-size: 32px;
}

.contact-card p {
    font-size: 16px;
    line-height: 1.25;
}

.language-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    color: var(--navy);
    font-size: 16px;
}

.language-note i,
.consultation-note i {
    color: var(--gold-dark);
    font-size: 20px;
}


/* KLINIKA */

.clinic-section {
    position: relative;
    overflow: hidden;
    background: var(--light-blue);
}

.clinic-layout {
    display: grid;
    grid-template-columns: 47% 53%;
    min-height: 425px;
}

.clinic-copy {
    position: relative;
    z-index: 2;
    padding: 29px 25px 32px 18px;
}

.clinic-copy h2 {
    margin-bottom: 4px;
}

.clinic-copy h3,
.consultation-copy h3 {
    margin-bottom: 14px;
    color: var(--gold-dark);
    font-family: Georgia, serif;
    font-size: 21px;
    font-weight: 400;
}

.clinic-copy > p {
    max-width: 570px;
    margin-bottom: 13px;
    font-size: 16px;
}

.clinic-copy h4 {
    margin-top: 6px;
    margin-bottom: 6px;
    color: var(--gold-dark);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

.treatment-list {
    display: grid;
    gap: 4px;
    margin-bottom: 10px;
    list-style: none;
}

.treatment-list li {
    position: relative;
    padding-left: 27px;
    font-size: 16px;
}

.treatment-list li::before {
    position: absolute;
    top: 4px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    content: "✓";
    font-size: 11px;
    font-weight: 700;
}

.small-text {
    max-width: 570px;
    font-size: 14px !important;
    line-height: 1.3;
}

.clinic-button {
    position: absolute;
    right: -445px;
    bottom: 26px;
    min-width: 335px;
}

.clinic-button i {
    color: var(--gold-light);
    font-size: 17px;
}

.clinic-image {
    position: relative;
    min-height: 425px;
    overflow: hidden;
}

.clinic-image::after {
    position: absolute;
    top: -15%;
    right: -83px;
    width: 150px;
    height: 135%;
    border-left: 14px solid var(--gold);
    border-radius: 50%;
    content: "";
    transform: rotate(-5deg);
}

.clinic-image img {
    width: 100%;
    height: 100%;
    min-height: 425px;
    object-fit: cover;
    object-position: center;
}


/* ONLINE KONSULTACJA */

.consultation-section {
    background:
        linear-gradient(90deg, rgb(255 255 255 / 96%) 0%, rgb(255 255 255 / 88%) 47%, rgb(255 255 255 / 20%) 100%),
        var(--white);
}

.consultation-layout {
    display: grid;
    grid-template-columns: 52% 48%;
    min-height: 380px;
}

.consultation-copy {
    position: relative;
    z-index: 2;
    padding: 28px 20px 27px 18px;
}

.consultation-copy h2 {
    margin-bottom: 4px;
}

.consultation-copy p {
    max-width: 625px;
    margin-bottom: 13px;
    font-size: 16px;
}

.consultation-button {
    min-width: 340px;
    margin-top: 5px;
}

.consultation-note {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 17px;
    font-size: 14px;
}

.consultation-image {
    min-height: 380px;
    overflow: hidden;
}

.consultation-image img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    object-position: center;
}


/* SÜREÇ */

.process-section {
    padding: 20px 0 26px;
    border: 1px solid #e0e0e0;
    border-radius: 7px;
    background: var(--white);
}

.process-heading {
    margin-bottom: 26px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 19px;
}

.process-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 207px;
    padding: 34px 13px 14px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: linear-gradient(180deg, #fff, #fcfbf8);
    text-align: center;
}

.process-card:not(:last-child)::after {
    position: absolute;
    top: 99px;
    right: -25px;
    color: var(--gold);
    content: "➜";
    font-size: 21px;
    z-index: 2;
}

.step-number {
    position: absolute;
    top: -17px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(135deg, #e2b550, #b7780d);
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 2px 5px rgb(0 0 0 / 15%);
}

.process-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 57px;
    margin-bottom: 7px;
    color: var(--navy);
    font-size: 40px;
}

.process-card h4 {
    margin-bottom: 8px;
    color: var(--navy);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.process-card p {
    color: #111;
    font-size: 14px;
    line-height: 1.35;
}


/* FOOTER */

.footer {
    padding: 25px 0;
    color: var(--white);
    background: var(--navy);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-light);
    font-family: Georgia, serif;
    font-size: 20px;
}

.footer-brand i {
    font-size: 28px;
}

.footer-brand span {
    color: var(--white);
    font-size: 12px;
    letter-spacing: 3px;
}

.footer p {
    color: #e2e8ef;
    font-size: 14px;
}


/* TABLET */

@media (max-width: 1100px) {

    .container {
        width: min(100% - 44px, 1000px);
    }

    .hero {
        min-height: 625px;
    }

    .hero-white-shape,
    .hero-gold-shape {
        width: 69%;
    }

    .hero-content {
        grid-template-columns: 57% 43%;
    }

    .hero-copy h1 {
        font-size: 45px;
    }

    .hero-copy p {
        max-width: 500px;
        font-size: 15px;
    }

    .hero-person {
        height: 510px;
    }

    .clinic-layout,
    .consultation-layout {
        grid-template-columns: 50% 50%;
    }

    .clinic-button {
        position: static;
        margin-top: 17px;
    }

    .process-grid {
        gap: 12px;
    }

    .process-card:not(:last-child)::after {
        right: -19px;
    }
}


/* MOBİL */

@media (max-width: 760px) {

    body {
        font-size: 15px;
    }

    .container {
        width: min(100% - 30px, 620px);
    }

    .hero {
        min-height: auto;
        padding-bottom: 28px;
        background: var(--cream);
    }

    .hero-background {
        top: 76px;
        width: 100%;
        height: 315px;
        opacity: 0.38;
    }

    .hero-gold-shape,
    .hero-white-shape {
        display: none;
    }

    .topbar {
        min-height: 76px;
        padding-inline: 0;
    }

    .brand-tooth {
        font-size: 36px;
    }

    .brand-text strong {
        font-size: 21px;
    }

    .brand-text small {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .language-nav {
        gap: 8px;
        font-size: 0;
    }

    .language-nav a {
        font-size: 0;
    }

    .flag {
        font-size: 23px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .hero-copy {
        max-width: none;
        padding: 33px 0 0;
    }

    .hero-copy h1 {
        margin-bottom: 18px;
        font-size: 39px;
        line-height: 1.07;
    }

    .hero-copy p {
        max-width: none;
        font-size: 15px;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
        margin-top: 20px;
    }

    .hero-buttons .btn {
        min-width: 0;
        min-height: 58px;
        padding: 10px 8px;
        font-size: 11px;
        gap: 7px;
    }

    .hero-buttons .btn i {
        font-size: 21px;
    }

    .hero-person {
        order: 2;
        align-self: center;
        width: 80%;
        height: 295px;
        margin-top: 8px;
    }

    .contact-section {
        padding: 25px 0 21px;
        border-radius: 0;
    }

    h2 {
        font-size: 25px;
    }

    .heading-subtitle {
        font-size: 17px;
    }

    .section-heading > p {
        font-size: 15px;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 20px;
    }

    .contact-card {
        min-height: 160px;
        padding: 13px 6px;
    }

    .icon-circle {
        width: 62px;
        height: 62px;
        font-size: 25px;
    }

    .contact-card p {
        font-size: 13px;
    }

    .language-note {
        align-items: flex-start;
        text-align: center;
        font-size: 13px;
    }

    .clinic-layout,
    .consultation-layout {
        display: flex;
        flex-direction: column;
    }

    .clinic-copy,
    .consultation-copy {
        padding: 27px 0;
    }

    .clinic-copy h3,
    .consultation-copy h3 {
        font-size: 19px;
    }

    .clinic-copy > p,
    .consultation-copy p {
        font-size: 15px;
    }

    .clinic-image,
    .consultation-image {
        min-height: 260px;
    }

    .clinic-image img,
    .consultation-image img {
        min-height: 260px;
        max-height: 300px;
    }

    .clinic-image::after {
        display: none;
    }

    .clinic-button,
    .consultation-button {
        width: 100%;
        min-width: 0;
        margin-top: 17px;
        font-size: 13px;
    }

    .consultation-section {
        background: var(--white);
    }

    .consultation-note {
        align-items: flex-start;
        font-size: 12px;
    }

    .process-section {
        padding: 25px 0;
        border-radius: 0;
    }

    .process-heading {
        margin-bottom: 30px;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .process-card {
        min-height: 165px;
        padding-top: 31px;
    }

    .process-card:not(:last-child)::after {
        top: auto;
        right: auto;
        bottom: -27px;
        left: 50%;
        content: "↓";
        transform: translateX(-50%);
    }

    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}


/* KÜÇÜK TELEFON */

@media (max-width: 390px) {

    .hero-copy h1 {
        font-size: 34px;
    }

    .hero-buttons .btn {
        font-size: 10px;
    }

    .contact-card p {
        font-size: 12px;
    }
}

/* =========================================================
   MOBİL HEADER / TOPBAR DÜZENLEMESİ
   ========================================================= */

@media (max-width: 768px) {

    /* Header üst alanı */
    .topbar {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 65px;
        padding: 8px 12px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        gap: 10px;
        position: relative;
        z-index: 20;
    }

    /* Logo */
    .topbar .brand {
        display: flex;
        align-items: center;
        flex-shrink: 1;
        min-width: 0;
        text-decoration: none;
    }

    /* Diş ikonu */
    .topbar .brand-tooth {
        flex-shrink: 0;
        font-size: 28px;
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Logo yazısı */
    .topbar .brand-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        line-height: 1;
        min-width: 0;
    }

    .topbar .brand-text strong {
        font-size: 18px;
        line-height: 20px;
        white-space: nowrap;
        color: #ffffff;
    }

    .topbar .brand-text small {
        font-size: 9px;
        line-height: 12px;
        letter-spacing: 3px;
        text-align: center;
        color: #c8952e;
        white-space: nowrap;
    }


    /* =====================================================
       GOOGLE TRANSLATE
       ===================================================== */

    .topbar .gtranslate_wrapper {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex-shrink: 0;
        width: auto !important;
        max-width: 52%;
        margin: 0 !important;
        padding: 0 !important;
        color: #fff;
        overflow: visible;
    }

    /* GTranslate'in oluşturduğu tüm ana elemanlar */
    .topbar .gtranslate_wrapper > div {
        margin: 0 !important;
    }

    .topbar .gtranslate_wrapper a {
        white-space: nowrap !important;
    }

    /* Bayrakların mobil boyutu */
    .topbar .gtranslate_wrapper img {
        max-width: 25px !important;
        width: 25px !important;
        height: auto !important;
    }
}


/* Daha küçük telefonlar */
@media (max-width: 480px) {

    .topbar {
        min-height: 58px;
        padding: 6px 8px;
        gap: 5px;
    }

    .topbar .brand-tooth {
        width: 32px;
        height: 32px;
        font-size: 24px;
    }

    .topbar .brand-text strong {
        font-size: 16px;
        line-height: 18px;
    }

    .topbar .brand-text small {
        font-size: 8px;
        letter-spacing: 2.5px;
    }

    .topbar .gtranslate_wrapper {
        max-width: 58%;
    }

    .topbar .gtranslate_wrapper img {
        width: 22px !important;
        max-width: 22px !important;
    }
}