:root {
    --bayir-primary: #0066cc;
    --bayir-primary-dark: #004d99;
    --bayir-accent: #ff6b00;
    --bayir-dark: #1a2332;
    --bayir-gray: #f4f7fb;
    --bayir-text: #4a5568;
    --bayir-white: #ffffff;
    --bayir-shadow: 0 10px 40px rgba(26, 35, 50, 0.08);
    --bayir-radius: 16px;
    --color-primary: #0066cc;
    --color-hover: #ff6b00;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--bayir-text);
}

.bg-primary,
.site-button,
.rev-btn.bg-primary {
    background-color: var(--bayir-primary) !important;
}

.bg-primary:hover,
.site-button:hover,
.rev-btn.bg-primary:hover {
    background-color: var(--bayir-accent) !important;
}

.text-primary,
.title.text-primary,
a.text-primary {
    color: var(--bayir-primary) !important;
}

.site-header .middle-bar {
    background: var(--bayir-dark);
}

.site-header .main-bar {
    background: var(--bayir-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.site-header .service-list .title a,
.site-header .service-list i {
    color: var(--bayir-white) !important;
}

.header-nav .nav > li > a {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.header-nav .nav > li > a:hover,
.header-nav .nav > li.active > a {
    color: var(--bayir-primary) !important;
}

.logo-header img {
    max-height: 72px;
    width: auto;
}

.bayir-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
}

.bayir-section {
    padding: 90px 0;
}

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

.bayir-section-title {
    margin-bottom: 18px;
}

.bayir-section-title .subtitle {
    display: inline-block;
    color: var(--bayir-accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.bayir-section-title h2 {
    color: var(--bayir-dark);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
}

.bayir-section-title p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
}

.bayir-about-card {
    background: var(--bayir-white);
    border-radius: var(--bayir-radius);
    box-shadow: var(--bayir-shadow);
    overflow: hidden;
}

.bayir-about-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 320px;
}

.bayir-about-content {
    padding: 40px;
}

.bayir-about-content h2 {
    color: var(--bayir-dark);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 18px;
}

.bayir-about-content p {
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 16px;
}

.bayir-feature-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.bayir-feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--bayir-dark);
}

.bayir-feature-list li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--bayir-accent);
}

.bayir-service-card {
    background: var(--bayir-white);
    border-radius: var(--bayir-radius);
    overflow: hidden;
    box-shadow: var(--bayir-shadow);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bayir-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 50px rgba(0, 102, 204, 0.15);
}

.bayir-service-card .service-image {
    height: 210px;
    overflow: hidden;
}

.bayir-service-card .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bayir-service-card:hover .service-image img {
    transform: scale(1.06);
}

.bayir-service-card .service-body {
    padding: 28px;
}

.bayir-service-card .service-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 204, 0.1);
    color: var(--bayir-primary);
    font-size: 22px;
    margin-bottom: 18px;
}

.bayir-service-card h3 {
    font-size: 22px;
    color: var(--bayir-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.bayir-service-card p {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 20px;
    min-height: 78px;
}

.bayir-service-card .service-link {
    color: var(--bayir-primary);
    font-weight: 600;
    text-decoration: none;
}

.bayir-service-card .service-link:hover {
    color: var(--bayir-accent);
}

.bayir-service-card h3 a,
.bayir-service-card .h3 a {
    color: inherit;
    text-decoration: none;
}

.bayir-service-card h3 a:hover,
.bayir-service-card .h3 a:hover {
    color: var(--bayir-primary);
}

/* Hero slider */
.bayir-hero-slider {
    position: relative;
    min-height: 78vh;
    overflow: hidden;
    background: #1a2332;
}

.bayir-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    background-size: cover;
    background-position: center;
}

.bayir-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.bayir-hero-img {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.bayir-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(18, 24, 34, 0.82) 10%, rgba(0, 77, 153, 0.55) 55%, rgba(18, 24, 34, 0.7) 100%);
}

.bayir-hero-content {
    position: relative;
    z-index: 2;
    min-height: 78vh;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 110px 0 90px;
}

.bayir-hero-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #fff;
}

.bayir-hero-content h1,
.bayir-hero-content .bayir-hero-title {
    color: #fff;
    font-family: 'Merriweather', serif;
    font-size: clamp(28px, 4.2vw, 58px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 18px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.bayir-hero-content p {
    max-width: 720px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.7;
}

.bayir-hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.site-button.outline {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.85) !important;
}

.site-button.outline:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

.bayir-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(6px);
}

.bayir-hero-prev { left: 18px; }
.bayir-hero-next { right: 18px; }

.bayir-hero-nav:hover {
    background: var(--bayir-primary);
}

.bayir-hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.bayir-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.bayir-hero-dot.is-active {
    background: #fff;
    transform: scale(1.2);
}

/* Inner page banner */
.bayir-page-banner {
    position: relative;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 130px 0 70px;
}

.bayir-page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(18, 24, 34, 0.88), rgba(0, 77, 153, 0.72));
}

.bayir-page-banner-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.bayir-page-banner-content .subtitle {
    display: inline-block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 13px;
}

.bayir-page-banner-content h1 {
    color: #fff;
    font-family: 'Merriweather', serif;
    font-size: clamp(28px, 3.5vw, 46px);
    margin-bottom: 16px;
}

.bayir-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.bayir-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.bayir-breadcrumb a:hover {
    color: var(--bayir-accent);
}

.bayir-page-image {
    width: 100%;
    border-radius: var(--bayir-radius);
    box-shadow: var(--bayir-shadow);
    object-fit: cover;
    max-height: 480px;
}

.bayir-lead {
    font-size: 18px;
    line-height: 1.7;
    color: var(--bayir-dark);
    font-weight: 500;
    margin-bottom: 22px;
}

.bayir-legal-content {
    background: #fff;
    border-radius: var(--bayir-radius);
    box-shadow: var(--bayir-shadow);
    padding: 36px 40px;
    color: var(--bayir-text);
    line-height: 1.75;
}

.bayir-legal-content h2 {
    color: var(--bayir-dark);
    font-size: 22px;
    font-weight: 700;
    margin: 28px 0 12px;
}

.bayir-legal-content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.bayir-legal-content li {
    margin-bottom: 8px;
}

.bayir-legal-content a {
    color: var(--bayir-primary);
    font-weight: 600;
}

@media (max-width: 767px) {
    .bayir-legal-content {
        padding: 24px 20px;
    }
}

.bayir-district-card {
    display: block;
    border-radius: var(--bayir-radius);
    overflow: hidden;
    box-shadow: var(--bayir-shadow);
    text-decoration: none;
    background: #fff;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bayir-district-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(26, 35, 50, 0.12);
    text-decoration: none;
}

.bayir-district-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.bayir-district-card > span,
.bayir-district-card-body {
    display: block;
    padding: 18px 20px 22px;
    color: var(--bayir-dark);
}

.bayir-district-card-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--bayir-dark);
}

.bayir-district-card-body p {
    margin: 0 0 12px;
    color: var(--bayir-text);
    font-size: 14px;
    line-height: 1.55;
}

.bayir-district-card-body span {
    color: var(--bayir-primary);
    font-weight: 600;
    font-size: 14px;
}

.bayir-process-list {
    margin: 0 0 24px;
    padding-left: 22px;
    color: var(--bayir-text);
}

.bayir-process-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.bayir-stats-box {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.95), rgba(0, 77, 153, 0.92)), url('../../uploads/images/hero-tech.jpg') center/cover;
    color: #fff;
    border-radius: var(--bayir-radius);
    padding: 70px 30px;
}

.bayir-stat-item h3 {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.bayir-stat-item p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.bayir-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.bayir-why-item {
    background: var(--bayir-white);
    border-radius: var(--bayir-radius);
    padding: 30px 24px;
    box-shadow: var(--bayir-shadow);
    text-align: center;
    height: 100%;
}

.bayir-why-item i {
    font-size: 34px;
    color: var(--bayir-primary);
    margin-bottom: 18px;
}

.bayir-why-item h4 {
    color: var(--bayir-dark);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.bayir-gallery-grid .dlab-box {
    border-radius: var(--bayir-radius);
    overflow: hidden;
}

.bayir-gallery-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.bayir-cta {
    background: linear-gradient(135deg, var(--bayir-dark), var(--bayir-primary-dark));
    color: #fff;
    border-radius: var(--bayir-radius);
    padding: 60px 40px;
}

.bayir-cta h2,
.bayir-cta p {
    color: #fff;
}

.bayir-cta .site-button {
    background: var(--bayir-accent) !important;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
}

.bayir-contact-form {
    background: var(--bayir-white);
    border-radius: var(--bayir-radius);
    padding: 34px;
    box-shadow: var(--bayir-shadow);
}

.bayir-contact-form .form-control {
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    min-height: 52px;
    padding: 12px 16px;
}

.bayir-contact-form textarea.form-control {
    min-height: 130px;
}

.bayir-contact-form .site-button {
    border-radius: 10px;
    font-weight: 700;
}

.bayir-whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s ease;
}

.bayir-whatsapp-float:hover {
    color: #fff;
    transform: scale(1.08);
}

.site-footer {
    background: var(--bayir-dark);
}

.site-footer .widget_getintuch li,
.site-footer .widget_getintuch li a,
.site-footer .widget_services li a {
    color: rgba(255, 255, 255, 0.82);
}

.site-footer .widget_services li a:hover,
.site-footer .widget_getintuch li a:hover {
    color: var(--bayir-accent);
}

.footer-bottom {
    background: #121822;
}

.tp-caption.rev-btn {
    border-radius: 8px !important;
    font-weight: 700 !important;
}

.main-slider .tp-caption {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

@media (max-width: 991px) {
    .bayir-section {
        padding: 60px 0;
    }

    .bayir-section-title h2 {
        font-size: 28px;
    }

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

    .bayir-about-content {
        padding: 28px 22px;
    }

    .bayir-hero-slider,
    .bayir-hero-content {
        min-height: 70vh;
    }

    .bayir-hero-nav {
        display: none;
    }

    .bayir-page-banner {
        min-height: 260px;
        padding: 110px 0 50px;
    }

    /* Mobil alt menü: open sınıfı ile açılır, hover'a güvenme */
    .header-nav .nav > li.sub-menu-down > .sub-menu {
        display: none !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
        box-shadow: none !important;
        background: #f4f7fb !important;
        padding: 8px 0 12px !important;
        margin: 0 !important;
    }

    .header-nav .nav > li.sub-menu-down.open > .sub-menu {
        display: block !important;
    }

    .header-nav .nav > li.sub-menu-down > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header-nav .nav > li.sub-menu-down > a .fa-chevron-down {
        transition: transform 0.2s ease;
    }

    .header-nav .nav > li.sub-menu-down.open > a .fa-chevron-down {
        transform: rotate(180deg);
    }

    .header-nav .nav > li.sub-menu-down > .sub-menu li a {
        padding: 8px 12px 8px 18px !important;
        font-size: 15px !important;
        line-height: 1.4 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
}

@media (max-width: 575px) {
    .bayir-why-grid {
        grid-template-columns: 1fr;
    }

    .bayir-cta {
        padding: 40px 24px;
    }
}
