/* =========================================================
   BAYBURT ÜNİVERSİTESİ UYGULAMA OTELİ
   ANA SİTE STİLLERİ
   ========================================================= */


/* =========================================================
   RENKLER VE GENEL DEĞİŞKENLER
   ========================================================= */

:root {
    --primary-dark: #071d35;
    --primary: #0b2545;
    --primary-light: #123f6d;
    --secondary-dark: #147996;
    --secondary: #2596be;
    --secondary-light: #e8f7fb;
    --accent: #d9ad4a;
    --white: #ffffff;
    --background: #f4f7fa;
    --background-light: #f8fafc;
    --text: #1f2937;
    --text-muted: #64748b;
    --border: #d9e2ea;
    --border-light: #e8eef3;
    --danger: #b42318;
    --shadow-small: 0 4px 14px rgba(11, 37, 69, 0.08);
    --shadow-medium: 0 12px 30px rgba(11, 37, 69, 0.12);
    --shadow-large: 0 22px 55px rgba(11, 37, 69, 0.20);
    --radius-small: 8px;
    --radius-medium: 14px;
    --radius-large: 20px;
    --container-width: 1320px;
}


/* =========================================================
   GENEL SIFIRLAMA
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-width: 320px;
    min-height: 100%;
    margin: 0;
    padding: 0;
    background: var(--white);
    color: var(--text);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

    body.modal-open {
        overflow: hidden;
    }

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   ORTAK YAPI
   ========================================================= */

.container {
    width: calc(100% - 48px);
    max-width: var(--container-width);
    margin-right: auto;
    margin-left: auto;
}

.site-main {
    width: 100%;
    min-height: 60vh;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.bg-light {
    background: linear-gradient( 180deg, #f8fafc 0%, #f2f6f9 100% );
}

.bg-dark {
    background: radial-gradient( circle at top right, rgba(37, 150, 190, 0.20), transparent 35% ), var(--primary-dark);
}


/* =========================================================
   SPA SAYFALARI
   ========================================================= */
.main-spa-container {
    width: 100%;
}

.spa-page {
    display: none;
    width: 100%;
}

    .spa-page.active {
        display: block;
        animation: page-fade-in 0.30s ease;
    }

@keyframes page-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* =========================================================
   MODERN KURUMSAL NAVBAR
   ========================================================= */

header {
    position: relative;
    z-index: 1000;
    width: 100%;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    min-height: 92px;
    padding: 0;
    background: rgba(255, 255, 255, 0.97);
    border-top: 5px solid var(--primary);
    border-bottom: 4px solid var(--secondary);
    box-shadow: 0 4px 18px rgba(11, 37, 69, 0.10);
    backdrop-filter: blur(12px);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
    gap: 32px;
}


/* =========================================================
   LOGO
   ========================================================= */
.logo {
    margin-right: auto;
}

.logo-area {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
    text-decoration: none;
}

.uni-logo {
    width: 205px;
    height: 72px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    margin-left: 14px;
    line-height: 1.15;
}

.main-title {
    color: var(--primary);
    font-size: 18px;
    font-weight: 750;
    white-space: nowrap;
}

.sub-title {
    margin-top: 5px;
    color: var(--secondary-dark);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}


/* =========================================================
   ANA MENÜ
   ========================================================= */

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu {
    margin-left: auto;
}

.nav-links > li {
    position: relative;
    flex: 0 0 auto;
}

    .nav-links > li > a {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 46px;
        padding: 11px 12px;
        color: var(--primary);
        border-radius: 9px;
        font-size: 14px;
        font-weight: 650;
        line-height: 1.2;
        text-decoration: none;
        white-space: nowrap;
        transition: background-color 0.20s ease, color 0.20s ease, transform 0.20s ease;
    }

        .nav-links > li > a::after {
            content: "";
            position: absolute;
            right: 12px;
            bottom: 5px;
            left: 12px;
            height: 2px;
            background: var(--secondary);
            border-radius: 999px;
            transform: scaleX(0);
            transform-origin: center;
            transition: transform 0.20s ease;
        }

        .nav-links > li > a:hover,
        .nav-links > li > a:focus-visible {
            background: var(--secondary-light);
            color: var(--secondary-dark);
            outline: none;
        }

            .nav-links > li > a:hover::after,
            .nav-links > li > a:focus-visible::after {
                transform: scaleX(1);
            }

        .nav-links > li > a > i:first-child {
            color: var(--secondary-dark);
        }

.dropbtn > .fa-chevron-down {
    font-size: 11px;
    transition: transform 0.20s ease;
}

.dropdown:hover > .dropbtn .fa-chevron-down,
.dropdown:focus-within > .dropbtn .fa-chevron-down {
    transform: rotate(180deg);
}


/* =========================================================
   DROPDOWN MENÜ
   ========================================================= */

.dropdown-content {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1100;
    width: max-content;
    min-width: 225px;
    padding: 8px;
    background: var(--primary);
    border-top: 4px solid var(--secondary);
    border-radius: 0 0 var(--radius-medium) var(--radius-medium);
    box-shadow: var(--shadow-large);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.20s ease, visibility 0.20s ease, transform 0.20s ease;
}

    .dropdown-content::before {
        content: "";
        position: absolute;
        top: -12px;
        left: 0;
        width: 100%;
        height: 12px;
    }

    .dropdown-content a {
        display: flex;
        align-items: center;
        gap: 11px;
        width: 100%;
        min-height: 43px;
        padding: 10px 13px;
        color: #edf6fb;
        border-radius: 7px;
        font-size: 14px;
        font-weight: 520;
        line-height: 1.3;
        text-align: left;
        text-decoration: none;
        white-space: nowrap;
        transition: background-color 0.20s ease, color 0.20s ease, padding-left 0.20s ease;
    }

        .dropdown-content a i {
            width: 19px;
            color: #62c2df;
            text-align: center;
        }

        .dropdown-content a:hover,
        .dropdown-content a:focus-visible {
            padding-left: 17px;
            background: rgba(255, 255, 255, 0.11);
            color: var(--white);
            outline: none;
        }

            .dropdown-content a:hover i,
            .dropdown-content a:focus-visible i {
                color: var(--white);
            }

.dropdown:hover > .dropdown-content,
.dropdown:focus-within > .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* =========================================================
   SLIDER
   ========================================================= */

.slider {
    position: relative;
    width: 100%;
    height: calc(100vh - 168px);
    min-height: 0;
    max-height: none;
    overflow: hidden;
    background: var(--primary-dark);
    isolation: isolate;
}

.slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    background-position: center;
    background-size: cover;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.01);
    transition: opacity 0.80s ease-in-out, visibility 0.80s ease-in-out, transform 5s ease;
}

    .slide::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient( 90deg, rgba(4, 20, 38, 0.64) 0%, rgba(4, 20, 38, 0.28) 52%, rgba(4, 20, 38, 0.08) 100% ), linear-gradient( 0deg, rgba(4, 20, 38, 0.54) 0%, transparent 50% );
    }

    .slide.active {
        z-index: 2;
        opacity: 1;
        visibility: visible;
        transform: scale(1.045);
    }

.caption {
    position: absolute;
    left: 40px;
    bottom: 55px;
    z-index: 3;
    width: 570px;
    max-width: calc(100% - 90px);
    margin: 0;
    padding: 30px 36px;
    background: rgba(7,29,53,.88);
    color: #fff;
    border-left: 6px solid var(--secondary);
    border-radius: 0 14px 14px 0;
    box-shadow: var(--shadow-large);
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateX(-45px);
    transition: opacity .7s ease .2s, transform .7s ease .2s;
}

.slide.active .caption {
    opacity: 1;
    transform: translateX(0);
}

.caption h2 {
    margin: 0 0 12px;
    color: #39afd2;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 780;
    line-height: 1.1;
    letter-spacing: -1px;
}

.caption p {
    max-width: 48ch;
    margin: 0;
    color: #f0f6fa;
    font-size: 18px;
    line-height: 1.65;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    padding: 0;
    background: rgba(7, 29, 53, 0.78);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    font-size: 29px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.20s ease, border-color 0.20s ease, transform 0.20s ease;
}

.prev {
    left: 22px;
}

.next {
    right: 22px;
}

    .prev:hover,
    .next:hover,
    .prev:focus-visible,
    .next:focus-visible {
        background: var(--secondary);
        border-color: var(--secondary);
        outline: none;
        transform: translateY(-50%) scale(1.05);
    }

.dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    background: rgba(7, 29, 53, 0.48);
    border-radius: 999px;
    transform: translateX(-50%);
    backdrop-filter: blur(5px);
}

.dot {
    display: block;
    width: 11px;
    height: 11px;
    padding: 0;
    background: rgba(255, 255, 255, 0.65);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    opacity: 1;
    transition: width 0.20s ease, background-color 0.20s ease, transform 0.20s ease;
}

    .dot.active,
    .dot:hover {
        width: 28px;
        background: var(--secondary);
        border-radius: 999px;
        transform: none;
    }


/* =========================================================
   BÖLÜM BAŞLIKLARI
   ========================================================= */

.section-title {
    position: relative;
    margin: 0 0 42px;
    color: var(--primary);
    font-size: clamp(31px, 4vw, 45px);
    font-weight: 760;
    line-height: 1.2;
    letter-spacing: -0.7px;
    text-align: center;
}

    .section-title::after {
        content: "";
        display: block;
        width: 74px;
        height: 4px;
        margin: 17px auto 0;
        background: linear-gradient( 90deg, var(--secondary), var(--accent) );
        border-radius: 999px;
    }

.corporate-p {
    max-width: 760px;
    margin: -18px auto 42px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.8;
    text-align: center;
}


/* =========================================================
   GRID YAPILARI
   ========================================================= */

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 340px));
    justify-content: center;
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}


/* =========================================================
   PERSONEL ALANI
   ========================================================= */

.staff-group {
    margin-bottom: 55px;
}

    .staff-group:last-child {
        margin-bottom: 0;
    }

.group-title {
    margin: 0 0 28px;
    color: var(--primary);
    font-size: 21px;
    font-weight: 760;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
}

.staff-card {
    padding: 30px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-small);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .staff-card:hover {
        border-color: rgba(37, 150, 190, 0.42);
        box-shadow: var(--shadow-medium);
        transform: translateY(-6px);
    }

.staff-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    margin: 0 auto 20px;
    overflow: hidden;
    background: var(--background);
    color: var(--secondary-dark);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--secondary);
}

    .staff-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 50% !important;
    }

.staff-card h4 {
    margin: 0 0 7px;
    color: var(--primary);
    font-size: 18px;
    font-weight: 730;
}

.staff-card p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 15px;
}


/* =========================================================
   GALERİ
   ========================================================= */

.gallery-item {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    background: var(--background);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-small);
}

    .gallery-item::after {
        content: "\f00e";
        position: absolute;
        right: 16px;
        bottom: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 43px;
        height: 43px;
        background: rgba(7, 29, 53, 0.83);
        color: var(--white);
        border-radius: 50%;
        font-family: "Font Awesome 6 Free";
        font-size: 17px;
        font-weight: 900;
        opacity: 0;
        pointer-events: none;
        transform: translateY(8px);
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .gallery-item img {
        width: 100%;
        height: 280px;
        object-fit: cover;
        cursor: zoom-in;
        transition: transform 0.45s ease, filter 0.45s ease;
    }

    .gallery-item:hover img {
        filter: brightness(0.93);
        transform: scale(1.045);
    }

    .gallery-item:hover::after {
        opacity: 1;
        transform: translateY(0);
    }


/* =========================================================
   GÖRSEL MODAL
   ========================================================= */

.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 76px 24px 24px;
    background: rgba(2, 12, 23, 0.94);
    backdrop-filter: blur(7px);
}

    /*
 * JavaScript is-open sınıfını eklediğinde
 * modal görünür hale gelir.
 */
    .modal.is-open {
        display: flex;
    }

.modal-content {
    position: static;
    display: block;
    width: auto;
    height: auto;
    max-width: min(94vw, 1320px);
    max-height: calc(100vh - 105px);
    object-fit: contain;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-large);
    transform: none;
}

.close {
    position: fixed;
    top: 20px;
    right: 26px;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 49px;
    height: 49px;
    padding: 0;
    background: rgba( 255, 255, 255, 0.12 );
    color: var(--white);
    border: 1px solid rgba( 255, 255, 255, 0.23 );
    border-radius: 50%;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.20s ease, transform 0.20s ease;
}

    .close:hover,
    .close:focus-visible {
        background: var(--secondary);
        outline: none;
        transform: rotate(5deg);
    }

/*
 * Küçük ekranlarda görselin taşmasını önler.
 */
@media (max-width: 600px) {
    .modal {
        padding: 68px 12px 16px;
    }

    .modal-content {
        max-width: 96vw;
        max-height: calc(100vh - 90px);
    }

    .close {
        top: 10px;
        right: 12px;
    }
}
/* =========================================================
   FİYAT GÖRSELLERİ VE PDF
   ========================================================= */

.price-image-container,
.pdf-container {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 5px solid var(--primary);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-medium);
}

    .price-image-container img,
    .price-image {
        width: 100%;
        height: auto;
    }


/* =========================================================
   İLETİŞİM ALANI
   ========================================================= */

.contact-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 0.90fr) minmax(0, 1.10fr);
    align-items: stretch;
    gap: 30px;
    padding: 38px;
    background: var(--white);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-large);
}

.contact-info-cards,
.contact-map-card {
    min-width: 0;
}

.info-main-title {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 23px;
    color: var(--primary);
    font-size: 23px;
    font-weight: 750;
}

    .info-main-title i {
        color: var(--secondary);
    }

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 13px;
    padding: 17px 18px;
    background: var(--background-light);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    transition: border-color 0.20s ease, transform 0.20s ease, box-shadow 0.20s ease;
}

    .info-box:hover {
        border-color: rgba(37, 150, 190, 0.40);
        box-shadow: var(--shadow-small);
        transform: translateY(-2px);
    }

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-small);
    font-size: 18px;
}

.info-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.info-label {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.info-text {
    display: block;
    color: var(--text) !important;
    font-size: 16px;
    font-weight: 650 !important;
    line-height: 1.55;
    overflow-wrap: anywhere;
    text-decoration: none;
}

a.info-text:hover,
a.info-text:focus-visible {
    color: var(--secondary-dark) !important;
}

.box-blue .info-icon {
    color: #2563eb;
}

.box-green .info-icon {
    color: #15803d;
}

.box-yellow .info-icon {
    color: #a16207;
}

.box-purple .info-icon {
    color: #7e22ce;
}

.box-map {
    height: calc(100% - 57px);
    min-height: 390px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.map-iframe-wrapper {
    width: 100%;
    height: 100%;
    min-height: 390px;
}

    .map-iframe-wrapper iframe {
        display: block;
        width: 100% !important;
        height: 100% !important;
        min-height: 390px;
        border: 0 !important;
    }


/* =========================================================
   ANA SAYFADAKİ GEÇİCİ ADMIN FORMU
   ========================================================= */

.admin-card {
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 5px solid var(--primary);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-medium);
}

.file-drop-area {
    position: relative;
    margin: 20px 0;
    padding: 35px;
    background: var(--background-light);
    border: 2px dashed #aebdca;
    border-radius: var(--radius-medium);
    text-align: center;
}

    .file-drop-area input {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

.btn-block {
    width: 100%;
    min-height: 48px;
    padding: 13px 18px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-small);
    font-size: 15px;
    font-weight: 750;
    cursor: pointer;
    transition: background-color 0.20s ease, transform 0.20s ease;
}

    .btn-block:hover {
        background: var(--secondary-dark);
        transform: translateY(-1px);
    }


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    width: 100%;
    margin-top: 0;
    padding: 14px 0;
    background: var(--primary);
    color: #d9e5ef;
    border-top: 5px solid var(--secondary);
}

    .footer .container {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .footer p {
        margin: 3px 0;
        color: #d9e5ef;
        font-size: 14px;
        line-height: 1.5;
    }

        .footer p:first-child {
            color: var(--white);
            font-weight: 650;
        }


/* =========================================================
   GENİŞ EKRAN DÜZENLEMESİ
   ========================================================= */

@media (max-width: 1260px) {

    .container {
        width: calc(100% - 36px);
    }

    .navbar-container {
        gap: 20px;
    }

    .uni-logo {
        width: 175px;
        height: 66px;
    }

    .nav-links > li > a {
        padding-right: 9px;
        padding-left: 9px;
        font-size: 13px;
    }
}


/* =========================================================
   TABLET DÜZENLEMESİ
   ========================================================= */

@media (max-width: 1080px) {

    .navbar {
        position: relative;
    }

    .navbar-container {
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding-top: 10px;
        padding-bottom: 12px;
    }

    .logo-area {
        justify-content: center;
    }

    .uni-logo {
        width: 180px;
        height: 68px;
    }

    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        row-gap: 3px;
    }

        .nav-links > li > a {
            font-size: 13px;
        }

    .dropdown-content {
        left: 50%;
        transform: translate(-50%, -8px);
    }

    .dropdown:hover > .dropdown-content,
    .dropdown:focus-within > .dropdown-content {
        transform: translate(-50%, 0);
    }

    .slider {
        height: 68vh;
        min-height: 540px;
    }

    .caption {
        margin-left: 6%;
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .box-map {
        height: auto;
        min-height: 380px;
    }
}


/* =========================================================
   MOBİL DÜZENLEMESİ
   ========================================================= */

@media (max-width: 760px) {

    .container {
        width: calc(100% - 28px);
    }

    .section-padding {
        padding: 58px 0;
    }

    .navbar-container {
        min-height: auto;
        padding-top: 9px;
        padding-bottom: 10px;
    }

    .uni-logo {
        width: 155px;
        height: 58px;
    }

    .logo-text {
        display: none;
    }

    .nav-links {
        width: 100%;
        gap: 2px;
    }

        .nav-links > li > a {
            min-height: 40px;
            padding: 8px 9px;
            font-size: 12px;
        }

            .nav-links > li > a > i:first-child {
                display: none;
            }

    .dropdown-content {
        min-width: 205px;
    }

    .slider {
        height: 65vh;
        min-height: 500px;
    }

    .caption {
        width: calc(100% - 36px);
        margin-right: 18px;
        margin-bottom: 72px;
        margin-left: 18px;
        padding: 23px 22px;
    }

        .caption h2 {
            font-size: 31px;
        }

        .caption p {
            font-size: 15px;
        }

    .prev,
    .next {
        top: auto;
        bottom: 18px;
        width: 42px;
        height: 42px;
        font-size: 21px;
        transform: none;
    }

    .prev {
        left: 17px;
    }

    .next {
        right: 17px;
    }

        .prev:hover,
        .next:hover,
        .prev:focus-visible,
        .next:focus-visible {
            transform: scale(1.05);
        }

    .dots {
        bottom: 23px;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 260px;
    }

    .contact-wrapper {
        padding: 21px;
    }

    .info-main-title {
        font-size: 21px;
    }

    .footer {
        padding: 23px 0;
    }
}


/* =========================================================
   ÇOK KÜÇÜK EKRANLAR
   ========================================================= */

@media (max-width: 520px) {

    .container {
        width: calc(100% - 22px);
    }

    .navbar-container {
        padding-bottom: 8px;
    }

    .nav-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
    }

        .nav-links > li {
            width: 100%;
        }

            .nav-links > li > a {
                width: 100%;
                min-height: 39px;
                justify-content: center;
                padding: 7px 6px;
                font-size: 11px;
                text-align: center;
                white-space: normal;
            }

    .dropdown-content {
        position: fixed;
        top: auto;
        right: 12px;
        left: 12px;
        width: auto;
        min-width: 0;
        transform: translateY(-8px);
    }

    .dropdown:hover > .dropdown-content,
    .dropdown:focus-within > .dropdown-content {
        transform: translateY(0);
    }

    .slider {
        min-height: 480px;
    }

    .caption h2 {
        font-size: 28px;
    }

    .caption p {
        font-size: 14px;
    }

    .dots {
        gap: 7px;
        padding: 7px 9px;
    }

    .dot {
        width: 9px;
        height: 9px;
    }

        .dot.active,
        .dot:hover {
            width: 22px;
        }

    .section-title {
        margin-bottom: 34px;
        font-size: 29px;
    }

    .corporate-p {
        margin-bottom: 34px;
        font-size: 15px;
    }

    .staff-card {
        padding: 26px 18px;
    }

    .modal {
        padding: 15px;
    }

    .close {
        top: 13px;
        right: 13px;
    }
}


/* =========================================================
   HAREKET AZALTMA TERCİHİ
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .slide,
    .slide.active {
        transform: none;
    }
}
/* =========================================================
   LOGO + YAZI MODERNLEŞTİRME
   ========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    min-height: 92px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 5px solid #0b2545;
    border-bottom: 4px solid #2596be;
    box-shadow: 0 4px 18px rgba(11, 37, 69, 0.10);
}

    .navbar .container {
        width: 100%;
        max-width: 1760px;
        margin: 0 auto;
        padding: 0 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
    gap: 20px;
}

.logo-area {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    flex: 0 0 auto;
    min-width: 0;
    margin-right: auto;
    text-decoration: none;
}

.uni-logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-wordmark {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.08;
    min-width: 0;
}

.wordmark-kicker {
    display: block;
    margin-bottom: 5px;
    color: #6b7b8c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.wordmark-title {
    display: block;
    color: #0b2545;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.8px;
}

    .wordmark-title span {
        color: #0b2545;
        font-weight: 900;
    }

.wordmark-subtitle {
    display: block;
    margin-top: 7px;
    color: #5f7183;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .nav-links > li {
        position: relative;
        flex: 0 0 auto;
    }

        .nav-links > li > a,
        .dropbtn {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            min-height: 46px;
            padding: 11px 12px;
            color: #0b2545;
            border-radius: 9px;
            font-size: 14px;
            font-weight: 650;
            line-height: 1.2;
            text-decoration: none;
            white-space: nowrap;
            transition: background-color 0.20s ease, color 0.20s ease;
        }

            .nav-links > li > a:hover,
            .nav-links > li > a:focus-visible,
            .dropbtn:hover,
            .dropbtn:focus-visible {
                background: #e9f6fa;
                color: #147996;
                outline: none;
            }

            .nav-links > li > a::after,
            .dropbtn::after {
                content: "";
                position: absolute;
                right: 12px;
                bottom: 5px;
                left: 12px;
                height: 2px;
                background: #2596be;
                border-radius: 999px;
                transform: scaleX(0);
                transform-origin: center;
                transition: transform 0.20s ease;
            }

            .nav-links > li > a:hover::after,
            .nav-links > li > a:focus-visible::after,
            .dropbtn:hover::after,
            .dropbtn:focus-visible::after {
                transform: scaleX(1);
            }

            .dropbtn > .fa-chevron-down {
                font-size: 11px;
                transition: transform 0.20s ease;
            }

.dropdown:hover > .dropbtn .fa-chevron-down,
.dropdown:focus-within > .dropbtn .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1100;
    width: max-content;
    min-width: 225px;
    padding: 8px;
    background: #0b2545;
    border-top: 4px solid #2596be;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 22px 55px rgba(11, 37, 69, 0.20);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.20s ease, visibility 0.20s ease, transform 0.20s ease;
}

    .dropdown-content a {
        display: flex;
        align-items: center;
        gap: 11px;
        width: 100%;
        min-height: 43px;
        padding: 10px 13px;
        color: #edf6fb;
        border-radius: 7px;
        font-size: 14px;
        font-weight: 520;
        line-height: 1.3;
        text-decoration: none;
        white-space: nowrap;
        transition: background-color 0.20s ease, color 0.20s ease, padding-left 0.20s ease;
    }

        .dropdown-content a i {
            width: 19px;
            color: #62c2df;
            text-align: center;
        }

        .dropdown-content a:hover,
        .dropdown-content a:focus-visible {
            padding-left: 17px;
            background: rgba(255, 255, 255, 0.11);
            color: #ffffff;
            outline: none;
        }

            .dropdown-content a:hover i,
            .dropdown-content a:focus-visible i {
                color: #ffffff;
            }

.dropdown:hover > .dropdown-content,
.dropdown:focus-within > .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1200px) {
    .navbar .container {
        width: calc(100% - 20px);
    }

    .navbar-container {
        gap: 16px;
    }

    .uni-logo {
        width: 76px;
        height: 76px;
    }

    .wordmark-title {
        font-size: 30px;
    }

    .wordmark-subtitle {
        font-size: 12px;
    }

    .nav-links > li > a,
    .dropbtn {
        padding: 10px 9px;
        font-size: 13px;
    }
}

/* =========================================================
   KÜÇÜK TABLET
   ========================================================= */

@media (max-width: 1080px) {
    .navbar-container {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        padding-top: 10px;
        padding-bottom: 12px;
    }

    .logo-area {
        margin-right: 0;
        justify-content: center;
    }

    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        row-gap: 3px;
    }

    .dropdown-content {
        left: 50%;
        transform: translate(-50%, -8px);
    }

    .dropdown:hover > .dropdown-content,
    .dropdown:focus-within > .dropdown-content {
        transform: translate(-50%, 0);
    }
}

/* =========================================================
   MOBİL
   ========================================================= */

@media (max-width: 760px) {
    .navbar .container {
        width: calc(100% - 14px);
    }

    .navbar-container {
        gap: 8px;
        padding-top: 9px;
        padding-bottom: 10px;
    }

    .logo-area {
        gap: 10px;
    }

    .uni-logo {
        width: 62px;
        height: 62px;
    }

    .wordmark-kicker {
        font-size: 10px;
        letter-spacing: 1.2px;
    }

    .wordmark-title {
        font-size: 24px;
    }

    .wordmark-subtitle {
        margin-top: 4px;
        font-size: 11px;
    }

    .nav-links {
        width: 100%;
        gap: 2px;
    }

        .nav-links > li > a,
        .dropbtn {
            min-height: 40px;
            padding: 8px 9px;
            font-size: 12px;
        }

            .nav-links > li > a > i:first-child {
                display: none;
            }
}

/* =========================================================
   ÇOK KÜÇÜK EKRAN
   ========================================================= */

@media (max-width: 520px) {
    .logo-wordmark {
        line-height: 1.02;
    }

    .wordmark-kicker {
        display: none;
    }

    .wordmark-title {
        font-size: 21px;
    }

    .wordmark-subtitle {
        font-size: 10px;
    }

    .nav-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
    }

        .nav-links > li {
            width: 100%;
        }

            .nav-links > li > a,
            .dropbtn {
                width: 100%;
                justify-content: center;
                white-space: normal;
                text-align: center;
                font-size: 11px;
                min-height: 39px;
                padding: 7px 6px;
            }

    .dropdown-content {
        position: fixed;
        top: auto;
        right: 12px;
        left: 12px;
        width: auto;
        min-width: 0;
        transform: translateY(-8px);
    }

    .dropdown:hover > .dropdown-content,
    .dropdown:focus-within > .dropdown-content {
        transform: translateY(0);
    }
}
/* =========================================================
   İLETİŞİM HARİTASI DÜZELTMESİ
   ========================================================= */

.contact-map-card {
    min-width: 0;
}

.box-map {
    display: block;
    width: 100%;
    min-height: 420px;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
}

.map-iframe-wrapper {
    width: 100%;
    min-height: 420px;
}

    .map-iframe-wrapper iframe {
        display: block;
        width: 100% !important;
        height: 420px !important;
        min-height: 420px;
        border: 0;
    }

.map-open-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 11px 17px;
    background: #2596be;
    color: #ffffff;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

    .map-open-link:hover {
        background: #147996;
        color: #ffffff;
        transform: translateY(-1px);
    }

@media (max-width: 700px) {
    .box-map,
    .map-iframe-wrapper,
    .map-iframe-wrapper iframe {
        min-height: 340px;
        height: 340px !important;
    }

    .map-open-link {
        width: 100%;
    }
}
/* =========================================================
   HARİTA BUTONU HİZALAMA
   ========================================================= */

.contact-map-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

    .contact-map-card .box-map {
        width: 100%;
        margin: 0;
    }

.contact-map-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin-top: 14px;
}

.map-open-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 11px 17px;
    background: #2596be;
    color: #ffffff;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(37, 150, 190, 0.20);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

    .map-open-link:hover {
        background: #147996;
        color: #ffffff;
        box-shadow: 0 7px 18px rgba(20, 121, 150, 0.25);
        transform: translateY(-1px);
    }

@media (max-width: 700px) {
    .contact-map-actions {
        justify-content: stretch;
    }

    .map-open-link {
        width: 100%;
    }
}
/* =========================================================
   ANA SAYFA GALERİ DÜZENİ
   ========================================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: 1050px;
    margin: 32px auto 0;
    gap: 14px;
    align-items: stretch;
}

.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    background: #e8eef3;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(11, 37, 69, 0.12);
    cursor: pointer;
}

    .gallery-item img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.25s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.035);
    }

    .gallery-item:focus-visible {
        outline: 3px solid #2596be;
        outline-offset: 3px;
    }

/* =========================================================
   BÜYÜK GÖRSEL MODALI
   ========================================================= */

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

    .image-modal.is-open {
        display: flex;
    }

.image-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 15, 30, 0.9);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.image-modal-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(1200px, 94vw);
    height: min(820px, 88vh);
}

.image-modal-picture-area {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 130px);
    height: 100%;
}

    .image-modal-picture-area img {
        display: block;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 12px;
        box-shadow: 0 15px 55px rgba(0, 0, 0, 0.4);
    }

.image-modal-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    color: #ffffff;
    background: rgba(11, 37, 69, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
}

.image-modal-navigation {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    color: #ffffff;
    background: rgba(11, 37, 69, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

    .image-modal-navigation:hover {
        background: #2596be;
        transform: translateY(-50%) scale(1.06);
    }

.image-modal-previous {
    left: 0;
}

.image-modal-next {
    right: 0;
}

.image-modal-counter {
    position: absolute;
    bottom: 4px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    color: #ffffff;
    background: rgba(11, 37, 69, 0.9);
    border-radius: 999px;
    font-weight: 700;
    transform: translateX(-50%);
}

body.image-modal-open {
    overflow: hidden;
}

@media (max-width: 850px) {

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .image-modal {
        padding: 12px;
    }

    .image-modal-content {
        width: 100%;
        height: 85vh;
    }

    .image-modal-picture-area {
        width: calc(100% - 88px);
    }

    .image-modal-navigation {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .image-modal-close {
        width: 42px;
        height: 42px;
    }
}

/* =========================================================
   ANA SAYFA TEK EKRAN DÜZENİ
   Navbar + Slider + Footer
   ========================================================= */

@media (min-width: 1081px) {

    body:has(#page-home.active) {
        overflow: hidden;
    }

        body:has(#page-home.active) .site-main {
            min-height: 0;
        }

        body:has(#page-home.active) #page-home {
            height: auto;
            min-height: 0;
            overflow: hidden;
        }

            body:has(#page-home.active) #page-home .slider {
                height: calc(100vh - 168px);
                height: calc(100dvh - 168px);
                min-height: 0;
                max-height: none;
            }

        body:has(#page-home.active) .footer {
            width: 100%;
            height: 76px;
            min-height: 76px;
            margin: 0;
            padding: 8px 0;
            overflow: hidden;
        }

            body:has(#page-home.active) .footer .container {
                height: 100%;
                justify-content: center;
            }

            body:has(#page-home.active) .footer p {
                margin: 1px 0;
                font-size: 13px;
                line-height: 1.25;
            }

        body:has(#page-home.active) #page-home .caption {
            margin-bottom: 48px;
        }

        body:has(#page-home.active) #page-home .dots {
            bottom: 14px;
        }
}

/* =========================================================
   NAVBAR TAM GENİŞLİK VE KÖŞE HİZALAMA DÜZELTMESİ
   ========================================================= */

@media (min-width: 1081px) {

    .navbar {
        width: 100%;
    }

        .navbar .container,
        .navbar-container,
        .navbar .navbar-container {
            width: 100% !important;
            max-width: none !important;
            margin-right: 0 !important;
            margin-left: 0 !important;
            padding-right: 28px !important;
            padding-left: 28px !important;
        }

    .navbar-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 28px !important;
    }

    .logo-area {
        flex: 0 0 auto !important;
        margin-right: auto !important;
        margin-left: 0 !important;
    }

    .nav-links {
        flex: 0 0 auto !important;
        justify-content: flex-end !important;
        margin-right: 0 !important;
        margin-left: auto !important;
    }
}

@media (min-width: 1500px) {

    .navbar .container,
    .navbar-container,
    .navbar .navbar-container {
        padding-right: 38px !important;
        padding-left: 38px !important;
    }
    /* =========================================================
   FOOTER HAVUZ RANDEVU LİNKİ
   ========================================================= */

    .footer {
        position: relative;
    }

    .footer-booking {
        position: absolute;
        right: 32px;
        top: 50%;
        transform: translateY(-50%);
    }
        .footer-booking a {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #ffffff;
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            transition: .25s;
        }
            .footer-booking a:hover {
                color: #7fd7ff;
                text-decoration: underline;
            }
            .footer-booking a i {
                color: #ffffff;
            }

        .footer-booking i {
            font-size: 16px;
        }
}
