/* BAYTES - ENKA tasarım diline yakın statik site stili */

:root {
    --blue: #1769aa;
    --blue-dark: #062b55;
    --blue-soft: #eef6fc;
    --red: #e30613;
    --ink: #111827;
    --muted: #64748b;
    --line: #e5e7eb;
    --light: #f5f7fa;
    --white: #ffffff;
    --shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
    --container: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Roboto Condensed", Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

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

ul {
    margin: 0;
    padding: 0;
}

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

.eyebrow {
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.section {
    padding: 66px 0;
}

.section-alt {
    background: var(--light);
}

.section-title {
    margin: 0 0 26px;
    color: var(--blue-dark);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.08;
    text-transform: uppercase;
}

.section-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin-top: 14px;
    background: var(--red);
}

.section-title.center {
    text-align: center;
}

.section-title.center::after {
    margin-left: auto;
    margin-right: auto;
}

.section-lead {
    max-width: 800px;
    margin: -8px 0 30px;
    color: var(--muted);
    font-size: 18px;
}

.btn,
.btn-white,
.read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 24px;
    border: 0;
    border-radius: 3px;
    background: var(--red);
    color: var(--white);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover,
.read-more:hover {
    background: #b9050f;
    transform: translateY(-1px);
}

.btn-white {
    background: var(--white);
    color: var(--blue-dark);
}

.btn-white:hover {
    color: var(--red);
}

#top-bar {
    background: var(--blue-dark);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
}

#top-bar .container {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.contact-info,
.social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.contact-info span,
.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.social-links a {
    width: 28px;
    height: 28px;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--white);
}

#site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

#site-header .container {
    position: relative;
    display: flex;
    min-height: 86px;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 210px;
}

.site-logo img {
    width: 178px;
    max-height: 64px;
    object-fit: contain;
}

.logo-text {
    display: none;
}

.main-nav {
    display: flex;
    align-items: stretch;
    list-style: none;
}

.main-nav > li {
    position: relative;
}

.main-nav > li > a {
    display: flex;
    min-height: 86px;
    align-items: center;
    padding: 0 13px;
    color: var(--blue-dark);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.main-nav > li:hover > a,
.main-nav > li.active > a {
    color: var(--red);
}

.main-nav > li.active > a::after,
.main-nav > li:hover > a::after {
    content: "";
    position: absolute;
    right: 13px;
    bottom: 0;
    left: 13px;
    height: 3px;
    background: var(--red);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    min-width: 230px;
    list-style: none;
    background: var(--white);
    border-top: 3px solid var(--red);
    box-shadow: var(--shadow);
}

.main-nav li:hover > .sub-menu {
    display: block;
}

.sub-menu a {
    display: block;
    padding: 11px 18px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    font-weight: 600;
}

.sub-menu a:hover {
    color: var(--blue);
    background: var(--blue-soft);
}

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--white);
    color: var(--blue-dark);
    font-size: 22px;
    cursor: pointer;
}

.hero-section {
    position: relative;
    min-height: 640px;
    display: grid;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    background: var(--blue-dark);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 25, 48, 0.88) 0%, rgba(3, 25, 48, 0.58) 46%, rgba(3, 25, 48, 0.28) 100%),
        var(--hero-image, url("../assets/img/hero-campus.jpg")) center / cover no-repeat;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: linear-gradient(90deg, var(--red), var(--blue));
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
    padding: 72px 0 116px;
}

.hero-mark {
    width: min(230px, 60vw);
    margin-bottom: 28px;
}

.hero-content h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(48px, 8vw, 86px);
    font-weight: 300;
    line-height: 0.96;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.hero-content h1 strong {
    display: block;
    font-weight: 700;
}

.hero-content p {
    max-width: 620px;
    margin: 22px 0 30px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(18px, 2vw, 23px);
    font-weight: 300;
    overflow-wrap: anywhere;
}

.quick-actions {
    position: relative;
    z-index: 2;
    margin-top: -62px;
}

.quick-actions .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    box-shadow: var(--shadow);
}

.quick-action {
    min-height: 124px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 24px;
    border-right: 1px solid var(--line);
}

.quick-action:last-child {
    border-right: 0;
}

.quick-action i {
    color: var(--red);
    font-size: 24px;
}

.quick-action strong {
    color: var(--blue-dark);
    font-size: 20px;
    text-transform: uppercase;
}

.quick-action span {
    color: var(--muted);
    line-height: 1.35;
}

.quick-action:hover {
    background: var(--blue-dark);
}

.quick-action:hover strong,
.quick-action:hover span {
    color: var(--white);
}

.page-header {
    position: relative;
    padding: 80px 0;
    color: var(--white);
    background: linear-gradient(90deg, rgba(6, 43, 85, 0.92), rgba(23, 105, 170, 0.78)),
        url("../assets/img/facility-wide.jpg") center / cover no-repeat;
}

.page-header h1 {
    margin: 0 0 12px;
    font-size: clamp(42px, 6vw, 66px);
    font-weight: 300;
    line-height: 1;
    text-transform: uppercase;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
}

.breadcrumb a {
    color: var(--white);
}

.branch-grid,
.news-grid,
.stats-grid,
.facility-grid,
.value-grid,
.program-grid,
.contact-grid {
    display: grid;
    gap: 24px;
}

.branch-grid {
    grid-template-columns: repeat(4, 1fr);
}

.news-grid {
    grid-template-columns: repeat(3, 1fr);
}

.stats-grid {
    grid-template-columns: repeat(5, 1fr);
}

.facility-grid,
.value-grid {
    grid-template-columns: repeat(2, 1fr);
}

.program-grid {
    grid-template-columns: repeat(3, 1fr);
}

.contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
}

.contact-grid .program-grid {
    grid-template-columns: 1fr;
}

.branch-card,
.news-card,
.facility-card,
.value-card,
.program-card,
.contact-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.branch-card {
    position: relative;
    min-height: 310px;
    display: flex;
    align-items: flex-end;
    color: var(--white);
    background: var(--blue-dark);
    isolation: isolate;
}

.branch-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    z-index: -2;
}

.branch-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 43, 85, 0.08), rgba(6, 43, 85, 0.86));
    z-index: -1;
}

.branch-card:hover img {
    transform: scale(1.06);
}

.card-content {
    padding: 24px;
}

.card-content h3,
.news-card h3,
.facility-info h3,
.value-card h3,
.program-card h3,
.contact-card h3 {
    margin: 0 0 9px;
    color: var(--blue-dark);
    font-size: 23px;
    line-height: 1.14;
    text-transform: uppercase;
}

.value-card h3 i,
.program-card h3 i,
.contact-card h3 i {
    margin-right: 8px;
    color: var(--red);
}

.branch-card h3 {
    color: var(--white);
    font-size: 28px;
}

.card-content p,
.news-card p,
.facility-info p,
.value-card p,
.program-card p,
.contact-card p {
    margin: 0;
    color: var(--muted);
}

.branch-card p {
    color: rgba(255, 255, 255, 0.84);
}

.stats-section {
    padding: 44px 0;
    background: var(--blue-dark);
    color: var(--white);
}

.stat-item {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-item:last-child {
    border-right: 0;
}

.stat-icon {
    color: var(--red);
    font-size: 28px;
}

.stat-number {
    margin-top: 8px;
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
}

.card-image,
.facility-card img,
.about-media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body,
.facility-info,
.value-card,
.program-card,
.contact-card {
    padding: 24px;
}

.card-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 42px;
}

.about-text h3 {
    margin: 0 0 16px;
    color: var(--blue-dark);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.08;
    text-transform: uppercase;
}

.about-text p {
    margin: 0 0 15px;
    color: var(--muted);
    font-size: 17px;
}

.about-media {
    position: relative;
}

.about-media::after {
    content: "";
    position: absolute;
    right: -16px;
    bottom: -16px;
    width: 42%;
    height: 42%;
    border-right: 6px solid var(--red);
    border-bottom: 6px solid var(--red);
    pointer-events: none;
}

.about-media img {
    height: 390px;
}

.check-list {
    display: grid;
    gap: 9px;
    list-style: none;
    color: var(--muted);
}

.check-list li {
    display: flex;
    gap: 10px;
}

.check-list i {
    margin-top: 5px;
    color: var(--red);
}

.facility-card {
    display: grid;
    grid-template-columns: 190px 1fr;
}

.facility-card img {
    height: 100%;
    min-height: 190px;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.schedule-table th,
.schedule-table td {
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.schedule-table th {
    background: var(--blue-dark);
    color: var(--white);
    text-transform: uppercase;
}

.schedule-table td:first-child {
    color: var(--blue-dark);
    font-weight: 700;
}

.cta-section {
    position: relative;
    padding: 76px 0;
    color: var(--white);
    background: linear-gradient(90deg, rgba(6, 43, 85, 0.93), rgba(23, 105, 170, 0.86)),
        url("../assets/img/sports-school.jpg") center / cover no-repeat;
    text-align: center;
}

.cta-section h2 {
    margin: 0 0 12px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1;
    text-transform: uppercase;
}

.cta-section p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 20px;
}

.map-frame {
    width: 100%;
    min-height: 340px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--blue-soft), #fff);
    border: 1px solid var(--line);
    color: var(--muted);
}

#footer {
    background: #071d36;
    color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 42px;
    padding: 52px 0;
}

.footer-logo {
    width: 178px;
    margin-bottom: 18px;
}

.footer-col h4 {
    margin: 0 0 16px;
    color: var(--white);
    font-size: 20px;
    text-transform: uppercase;
}

.footer-col p {
    margin: 0 0 18px;
}

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

.footer-col li + li {
    margin-top: 8px;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-social,
.footer-contact-item {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.footer-contact-item {
    margin-bottom: 12px;
}

.footer-contact-item .icon {
    width: 22px;
    color: var(--red);
}

.footer-bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
}

@media (max-width: 1120px) {
    .main-nav > li > a {
        padding: 0 9px;
        font-size: 14px;
    }

    .branch-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid,
    .program-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    #top-bar .container,
    .contact-info {
        justify-content: center;
    }

    .social-links {
        display: none;
    }

    #site-header .container {
        min-height: 74px;
        flex-wrap: nowrap;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .site-logo img {
        width: 142px;
    }

    .site-logo {
        padding-right: 0;
    }

    .mobile-menu-toggle {
        position: static;
        z-index: 1000;
        display: inline-flex;
        flex: none;
        margin-left: auto;
        transform: none;
        background: var(--blue-dark);
        color: var(--white);
        border-color: var(--blue-dark);
        box-shadow: 0 8px 18px rgba(6, 43, 85, 0.18);
    }

    .mobile-menu-toggle i {
        display: none;
    }

    .mobile-menu-toggle::before {
        content: "";
        width: 18px;
        height: 2px;
        background: currentColor;
        box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
    }

    nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 30;
        display: block;
        background: var(--white);
        border-top: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .main-nav {
        display: none;
        grid-template-columns: 1fr;
        width: 100%;
        margin: 0 auto;
        padding: 10px 18px;
        gap: 0;
    }

    .main-nav.active {
        display: grid;
    }

    .main-nav > li > a {
        min-height: 42px;
        padding: 0;
        font-size: 13px;
        border-bottom: 1px solid var(--line);
    }

    .main-nav > li.active > a::after,
    .main-nav > li:hover > a::after {
        display: none;
    }

    .sub-menu {
        display: none;
    }

    .hero-section {
        min-height: 520px;
    }

    .quick-actions .container,
    .about-grid,
    .facility-grid,
    .value-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        margin-top: 0;
    }

    .quick-action {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .facility-card {
        grid-template-columns: 1fr;
    }

    .facility-card img {
        height: 230px;
    }
}

@media (max-width: 620px) {
    .container,
    .hero-content {
        width: min(var(--container), calc(100% - 28px));
    }

    .section {
        padding: 48px 0;
    }

    .hero-content {
        padding: 54px 0;
    }

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

    .hero-section {
        min-height: 500px;
    }

    .hero-mark {
        width: min(190px, 58vw);
        margin-bottom: 22px;
    }

    #top-bar .container {
        min-height: 0;
        padding: 6px 0;
    }

    .contact-info {
        width: 100%;
        justify-content: flex-start;
        gap: 7px 12px;
        font-size: 12px;
        line-height: 1.2;
    }

    .contact-info span:nth-child(3) {
        display: none;
    }

    .site-logo {
        min-width: 0;
    }

    .main-nav {
        grid-template-columns: 1fr;
    }

    .branch-grid,
    .news-grid,
    .stats-grid,
    .program-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 12px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .schedule-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
