:root {
    --lcn-navy: #0d234b;
    --lcn-dark: #08152f;
    --lcn-blue: #255ab5;
    --lcn-yellow: #ffc107;
    --lcn-yellow-hover: #ffd54d;
    --lcn-text: #273244;
    --lcn-muted: #667085;
    --lcn-bg: #f4f7fb;
    --lcn-white: #ffffff;
    --lcn-border: #e5eaf1;
    --lcn-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--lcn-bg);
    color: var(--lcn-text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

.container {
    width: 1400px;
    max-width: 95%;
    margin: 0 auto;
}

/* ÜST İLETİŞİM ÇUBUĞU */

.topbar {
    background: var(--lcn-dark);
    color: var(--lcn-white);
    padding: 10px 0;
    font-size: 14px;
}

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

.top-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 24px;
    font-size: 14px;
}

.top-right {
    flex-shrink: 0;
}

.top-contact,
.top-whatsapp,
.top-right a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--lcn-white);
    font-weight: 700;
}

.topbar a:hover {
    color: var(--lcn-yellow);
}

/* ANA BAŞLIK VE MENÜ */

.header {
    position: relative;
    z-index: 1000;
    background: var(--lcn-navy);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    min-height: 178px;
    padding: 22px 0;
}

.logo {
    flex: 0 0 auto;
}

.logo a {
    display: block;
    color: var(--lcn-white);
}

.logo-title {
    font-size: 48px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-sub {
    margin-top: 14px;
    color: #d8e5ff;
    font-size: 13px;
    letter-spacing: 4px;
    white-space: nowrap;
}

.mega-menu {
    margin-left: auto;
}

.mega-menu > ul {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.mega-menu li {
    position: relative;
    list-style: none;
}

.mega-menu li a {
    display: block;
    padding: 16px 0;
    color: var(--lcn-white);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.mega-menu li:hover > a,
.mega-menu li:focus-within > a {
    color: var(--lcn-yellow);
}

.dropdown > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: -18px;
    z-index: 9999;
    width: 280px;
    overflow: hidden;
    background: var(--lcn-white);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.dropdown:hover > ul,
.dropdown:focus-within > ul {
    display: block;
}

.dropdown > ul li {
    width: 100%;
}

.dropdown > ul li a {
    padding: 14px 20px;
    color: #333333;
    border-bottom: 1px solid #ececec;
    white-space: normal;
}

.dropdown > ul li:last-child a {
    border-bottom: 0;
}

.dropdown > ul li a:hover,
.dropdown > ul li a:focus {
    background: var(--lcn-navy);
    color: var(--lcn-white);
}

.offer-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    min-height: 56px;
    padding: 14px 24px;
    background: var(--lcn-yellow);
    color: #000000;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
}

.offer-button:hover {
    background: var(--lcn-yellow-hover);
    transform: translateY(-2px);
}

.mobile-menu-button {
    display: none;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 44px;
    padding: 0;
    background: var(--lcn-yellow);
    color: #000000;
    border: 0;
    border-radius: 8px;
    font-size: 25px;
    font-weight: 700;
    cursor: pointer;
}

/* ANA SAYFA DÜZENİ */

.main-wrapper {
    display: flex;
    align-items: flex-start;
    width: 1400px;
    max-width: 95%;
    margin: 35px auto;
    gap: 30px;
}

/* SOL MENÜ */

.sidebar {
    flex: 0 0 300px;
    width: 300px;
    overflow: hidden;
    background: var(--lcn-white);
    border-radius: 12px;
    box-shadow: var(--lcn-shadow);
}

.sidebar h3 {
    padding: 18px 28px;
    background: var(--lcn-navy);
    color: var(--lcn-white);
    font-size: 22px;
}

.menu-category {
    border-bottom: 1px solid #ececec;
}

.menu-category:last-child {
    border-bottom: 0;
}

.cat-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.cat-title:hover {
    background: var(--lcn-navy);
    color: var(--lcn-white);
}

.cat-items {
    display: none;
    background: #fafafa;
}

.menu-category.open .cat-items {
    display: block;
}

.menu-item a {
    display: block;
    padding: 14px 38px;
    color: #444444;
    border-top: 1px solid #eeeeee;
}

.menu-item a:hover {
    padding-left: 45px;
    background: var(--lcn-navy);
    color: var(--lcn-white);
}

.submenu {
    background: var(--lcn-bg);
}

.submenu a {
    display: block;
    padding: 12px 55px;
    color: #555555;
    border-top: 1px solid #e6e6e6;
    font-size: 14px;
}

.submenu a:hover {
    background: #183c7c;
    color: var(--lcn-white);
}

/* İÇERİK */

.content {
    flex: 1 1 auto;
    min-width: 0;
    padding: 45px;
    background: var(--lcn-white);
    border-radius: 12px;
    box-shadow: var(--lcn-shadow);
}

.content h1 {
    margin-bottom: 20px;
    color: var(--lcn-navy);
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.2;
}

.content h2 {
    margin: 42px 0 18px;
    color: var(--lcn-navy);
    font-size: clamp(27px, 3vw, 34px);
    line-height: 1.3;
}

.content h3 {
    margin: 28px 0 12px;
    color: var(--lcn-navy);
    font-size: clamp(21px, 2.4vw, 26px);
    line-height: 1.35;
}

.content p {
    margin-bottom: 20px;
    font-size: 18px;
}

.content ul,
.content ol {
    margin: 0 0 24px 25px;
}

.content li {
    margin-bottom: 10px;
    font-size: 17px;
}

.content hr {
    height: 1px;
    margin: 28px 0;
    background: var(--lcn-border);
    border: 0;
}

.content a:not(.hero-button):not(.offer-button) {
    color: #164e9e;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ESKİ GÜZEL MAVİ TANITIM ALANI */

.hero,
.page-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    padding: 70px;
    background: linear-gradient(135deg, var(--lcn-navy), var(--lcn-blue));
    color: var(--lcn-white);
    border-radius: 12px;
}

.hero::after,
.page-hero::after {
    content: "";
    position: absolute;
    top: -120px;
    right: -100px;
    width: 330px;
    height: 330px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.hero > *,
.page-hero > * {
    position: relative;
    z-index: 1;
}

.hero h1,
.page-hero h1,
.content .hero h1,
.content .page-hero h1 {
    max-width: 950px;
    margin-bottom: 20px;
    color: var(--lcn-white);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.25;
}

.hero p,
.page-hero p,
.content .hero p,
.content .page-hero p {
    max-width: 850px;
    margin-bottom: 30px;
    color: var(--lcn-white);
    font-size: 20px;
}

.hero-button {
    display: inline-block;
    padding: 16px 30px;
    background: var(--lcn-yellow);
    color: #000000;
    border-radius: 8px;
    font-weight: 700;
}

.hero-button:hover {
    background: var(--lcn-yellow-hover);
    transform: translateY(-2px);
}

/* HİZMET KARTLARI */

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.service-card {
    padding: 30px;
    background: var(--lcn-white);
    border-top: 5px solid var(--lcn-navy);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    margin: 0 0 15px;
    color: var(--lcn-navy);
}

.about-box {
    padding: 30px;
    background: #eef4ff;
    border-left: 5px solid var(--lcn-navy);
    border-radius: 8px;
}

.popular-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.popular-links a {
    padding: 12px 18px;
    background: var(--lcn-navy);
    color: var(--lcn-white);
    border-radius: 6px;
}

.popular-links a:hover {
    background: #1d4d9b;
}

.lcn-contact {
    margin-top: 42px;
    padding: 30px;
    background: #eef4ff;
    border-left: 5px solid var(--lcn-yellow);
    border-radius: 10px;
}

.lcn-contact h2 {
    margin-top: 0;
}

/* TABLOLAR */

.content table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.content th,
.content td {
    padding: 12px;
    border: 1px solid var(--lcn-border);
    text-align: left;
}

/* ALT BÖLÜM */

.footer {
    margin-top: 60px;
    padding: 60px 0 30px;
    background: var(--lcn-dark);
    color: var(--lcn-white);
}

.footer .container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    align-items: flex-start;
    gap: 50px;
}

.footer-col h3,
.footer h3 {
    margin-bottom: 20px;
    color: var(--lcn-white);
    font-size: 28px;
}

.footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer p,
.footer a,
.footer-col p,
.footer-col ul li a {
    color: #dddddd;
}

.footer-col p {
    margin-bottom: 12px;
    line-height: 1.9;
}

.footer a:hover,
.footer-col ul li a:hover {
    color: var(--lcn-yellow);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    color: #bbbbbb;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    font-size: 15px;
}

/* TABLET */

@media (max-width: 1180px) {
    .header-flex {
        gap: 20px;
    }

    .mega-menu > ul {
        gap: 18px;
    }

    .mega-menu li a {
        font-size: 14px;
    }

    .offer-button {
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 1000px) {
    .container,
    .main-wrapper {
        max-width: 92%;
    }

    .topbar-flex {
        justify-content: center;
        text-align: center;
    }

    .top-left {
        justify-content: center;
    }

    .header-flex {
        flex-wrap: wrap;
        min-height: auto;
        padding: 18px 0;
    }

    .logo-title {
        font-size: 38px;
    }

    .logo-sub {
        margin-top: 8px;
        font-size: 11px;
        letter-spacing: 3px;
    }

    .mega-menu {
        order: 3;
        width: 100%;
        margin: 0;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.13);
    }

    .mega-menu > ul {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .mega-menu li a {
        padding: 10px 8px;
        text-align: center;
    }

    .dropdown > ul {
        left: 50%;
        transform: translateX(-50%);
    }

    .offer-button {
        margin-left: auto;
    }

    .main-wrapper {
        flex-direction: column;
        margin-top: 24px;
    }

    .sidebar {
        width: 100%;
        flex-basis: auto;
    }

    .content {
        width: 100%;
        padding: 30px;
    }

    .hero,
    .page-hero {
        padding: 48px;
    }

    .footer .container {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }
}

/* TELEFON */

@media (max-width: 700px) {
    .container,
    .main-wrapper {
        max-width: calc(100% - 28px);
    }

    .topbar {
        padding: 9px 0;
        font-size: 12px;
    }

    .topbar-flex,
    .top-left {
        flex-direction: column;
        gap: 5px;
    }

    .top-contact,
    .top-whatsapp,
    .top-right a {
        white-space: normal;
        overflow-wrap: anywhere;
        font-size: 12px;
    }

    .header-flex {
        justify-content: center;
        gap: 16px;
        text-align: center;
    }

    .logo {
        width: 100%;
    }

    .logo-title {
        font-size: 36px;
    }

    .logo-sub {
        white-space: normal;
    }

    .mega-menu {
        width: 100%;
        padding-top: 10px;
    }

    .mega-menu > ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .mega-menu li a {
        min-height: 44px;
        padding: 10px 5px;
        font-size: 13px;
        white-space: normal;
    }

    .dropdown > ul {
        position: static;
        width: 100%;
        transform: none;
        border-radius: 6px;
    }

    .dropdown > ul li a {
        color: #333333;
        text-align: left;
    }

    .offer-button {
        width: 100%;
        min-height: 50px;
        margin: 0;
    }

    .main-wrapper {
        margin: 18px auto;
        gap: 18px;
    }

    .sidebar h3 {
        padding: 15px 18px;
        font-size: 20px;
    }

    .cat-title {
        padding: 15px 18px;
    }

    .menu-item a {
        padding: 13px 25px;
    }

    .submenu a {
        padding: 12px 35px;
    }

    .content {
        padding: 20px;
        border-radius: 10px;
    }

    .content h1 {
        font-size: 32px;
    }

    .content h2 {
        margin-top: 34px;
        font-size: 26px;
    }

    .content h3 {
        font-size: 21px;
    }

    .content p,
    .content li {
        font-size: 16px;
    }

    .hero,
    .page-hero {
        margin: -4px -4px 28px;
        padding: 36px 24px;
        border-radius: 10px;
    }

    .hero h1,
    .page-hero h1,
    .content .hero h1,
    .content .page-hero h1 {
        font-size: 34px;
    }

    .hero p,
    .page-hero p,
    .content .hero p,
    .content .page-hero p {
        font-size: 17px;
    }

    .hero-button {
        display: block;
        width: 100%;
        padding: 14px 18px;
        text-align: center;
    }

    .services {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card,
    .about-box,
    .lcn-contact {
        padding: 22px;
    }

    .popular-links {
        flex-direction: column;
    }

    .popular-links a {
        display: block;
        width: 100%;
        text-align: center;
    }

    .footer {
        margin-top: 35px;
        padding: 42px 0 25px;
    }

    .footer .container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-col h3,
    .footer h3 {
        font-size: 24px;
    }
}

@media (max-width: 380px) {
    .mega-menu > ul {
        grid-template-columns: 1fr;
    }

    .content {
        padding: 17px;
    }

    .hero h1,
    .page-hero h1,
    .content .hero h1,
    .content .page-hero h1 {
        font-size: 29px;
    }
}
