html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (max-width:768px) {
    .container-fluid {
        justify-content: center !important;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
}

:root {
    --bg-dark: #1a1226;
    --bg-deep: #2a1a3d;
    --primary: #6c4bff;
    --accent: #ffb347;
    --text-light: #f7f4ff;
    --surface: #ffffff;
    --muted: #5a6475;
    /* NAVBAR + ALT BAR ORTAK YÜKSEKLÝK */
    --app-bar-height: 56px;
}

body {
    background: white;
    color: #0b1c34;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
}

/* NAVBAR 56px YÜKSEKLÝK */
.navbar {
    background: #525f6b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    min-height: var(--app-bar-height);
    display: flex;
    align-items: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

    .navbar .nav-link, .navbar-brand {
        color: var(--text-light) !important;
        font-weight: 600;
    }

        .navbar-brand img {
            border-radius: 8px;
        }

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23f1f6ff' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.hero {
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-deep));
    color: var(--text-light);
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: 0 16px 40px rgba(4, 21, 44, 0.4);
}

.hero-splash {
    background: linear-gradient(140deg, #092742, #fdf7f6);
    border-radius: 32px;
    padding: 36px 28px;
    color: var(--text-light);
    box-shadow: 0 24px 50px rgba(26, 18, 38, 0.35);
}

.hero-splash__topline {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 18px;
}

.hero-splash__grid {
    display: grid;
    gap: 24px;
}

.hero-splash__copy h1 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 14px;
}

.hero-splash__copy p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
}

.hero-splash__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.hero-splash__cta .btn {
    border-radius: 16px;
    font-weight: 600;
    padding: 12px 18px;
}

.hero-splash__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
}

.hero-splash__card {
    background: #f9f6ff;
    color: #231a33;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 18px 36px rgba(26, 18, 38, 0.22);
}

.location-splash .hero-splash__card {
    background: #f4f1ff;
}

.location-quick-form {
    display: grid;
    gap: 12px;
}

.location-quick-form .form-control {
    border-radius: 14px;
    border-color: rgba(108, 75, 255, 0.2);
}

.location-quick-form__actions {
    display: grid;
    gap: 10px;
    margin-top: 6px;
}

.hero-splash__card-actions {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.hero-splash__card-footer {
    display: grid;
    gap: 8px;
    color: #5a4e70;
    font-size: 0.95rem;
}

.signal-strip {
    margin-top: 28px;
    display: grid;
    gap: 16px;
}

.signal-strip__item {
    background: var(--surface);
    border-radius: 20px;
    padding: 20px 22px;
    border: 1px solid rgba(108, 75, 255, 0.18);
    box-shadow: 0 14px 28px rgba(26, 18, 38, 0.12);
}

.service-map {
    margin-top: 48px;
}

.section-head {
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
}

.section-head--inline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-head p {
    color: var(--muted);
    margin: 0;
}

.service-map__grid {
    display: grid;
    gap: 16px;
}

.service-map__grid article {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px 22px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 12px 26px rgba(26, 18, 38, 0.1);
}

.service-map__grid span {
    display: inline-block;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.solutions-board,
.home-carousel,
.coverage-panel {
    margin-top: 48px;
}

.solutions-board__grid {
    display: grid;
    gap: 16px;
}

.solutions-board__grid article {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px;
    border: 1px solid rgba(108, 75, 255, 0.15);
    box-shadow: 0 14px 28px rgba(26, 18, 38, 0.12);
}

.solutions-board__grid a {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.coverage-panel__grid {
    display: grid;
    gap: 14px;
}

.coverage-panel__item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(108, 75, 255, 0.15);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 12px 24px rgba(26, 18, 38, 0.1);
}

.coverage-panel__item span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #6b6290;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.coverage-panel__item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 6px;
}

.coverage-panel__item p {
    margin: 0;
    color: #5d6f85;
    font-size: 0.9rem;
}

.quick-actions .btn {
    padding: 16px 14px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.05rem;
}

.service-card {
    border: 1px solid rgba(15, 104, 215, 0.08);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    }

.location-links a {
    color: #0b1c34;
    text-decoration: none;
}

.location-links .badge {
    background: rgba(15, 104, 215, 0.1);
    color: var(--bg-deep);
}

footer {
    margin-top: auto;
    background: linear-gradient(140deg, #092742, #fdf7f6);
    color: var(--text-light);
    border-top: 1px solid rgba(255,255,255,0.08);
}
.navbar-phone i,a{
    color:white;
    text-decoration:none;
}

.cta-footer a {
    border-radius: 14px;
}

@media (min-width: 992px) {
    .hero {
        padding: 48px;
    }

    .quick-actions .btn {
        height: 100%;
    }
}

/* MOBÝL ALT BAR 56px */
.mobile-action-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    align-items: center;
    justify-content: space-between;
    background: #525f6b;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 6px 16px; /* 56px yüksekliðe göre optimize edildi */
    width: calc(100% - 32px);
    max-width: 420px;
    height: var(--app-bar-height);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    z-index: 1070;
}

    .mobile-action-bar .mobile-action-button {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.2);
        display: grid;
        place-items: center;
        color: #f1f6ff;
        text-decoration: none;
        background: rgb(21 36 213 / 35%);
        transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

        .mobile-action-bar .mobile-action-button.whatsapp {
            background: linear-gradient(140deg, #1e640a, #8a9982);
            border-color: #d8f2df;
            font-size: x-large;
        }

.mobile-action-logo {
    position: relative;
    color: white;
    font-weight: 700;
    border-radius: 16px;
    min-width: 120px;
    height: calc(var(--app-bar-height) - 8px);
    display: grid;
    place-items: center;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-action-logo img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
}

.mobile-action-logo span {
    font-size: 0.85rem;
    color: #ffffff;
    margin-left: 8px;
    font-weight: 600;
}

.mobile-action-logo:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
    .hero-splash__grid {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: center;
    }

    .signal-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .service-map__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .solutions-board__grid,
    .coverage-panel__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-head--inline {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 992px) {
    .hero-splash {
        padding: 56px;
    }

    .service-map__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .solutions-board__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .coverage-panel__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.blog-gallery-media img,
.blog-gallery-media video {
    height: 420px;
    object-fit: cover;
}

@media (max-width: 767px) {
    .blog-gallery-media img,
    .blog-gallery-media video {
        height: 260px;
    }
}
@keyframes nudge-left-spin {
    0% {
        transform: translateX(0) rotate(0deg);
    }

    30% {
        transform: translateX(-42px) rotate(-28deg);
    }

    55% {
        transform: translateX(-42px) rotate(-28deg);
    }

    100% {
        transform: translateX(0) rotate(0deg);
    }
}

@keyframes nudge-right-spin {
    0% {
        transform: translateX(0) rotate(0deg);
    }

    30% {
        transform: translateX(42px) rotate(28deg);
    }

    55% {
        transform: translateX(42px) rotate(28deg);
    }

    100% {
        transform: translateX(0) rotate(0deg);
    }
}

/* Butonlara uygula */
.mobile-action-bar .mobile-action-button:first-child {
    animation: nudge-left-spin 3.6s cubic-bezier(.4,0,.2,1) infinite;
}

.mobile-action-bar .mobile-action-button:last-child {
    animation: nudge-right-spin 3.6s cubic-bezier(.4,0,.2,1) infinite;
}

@media (max-width: 767px) {
    .hero-splash__cta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

        .hero-splash__cta .btn {
            width: 100%;
            justify-content: center;
        }
}
@media (max-width: 991.98px) {
    body {
        padding-bottom: calc(var(--app-bar-height) + 28px);
    }

    .mobile-action-bar {
        display: grid; /* flex yerine */
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        column-gap: 12px;
    }
        /* sol ve sağ butonu kendi kolonlarının ortasına al */
        .mobile-action-bar .mobile-action-button:first-child {
            justify-self: center;
        }

        .mobile-action-bar .mobile-action-button:last-child {
            justify-self: center;
        }

        /* ortadaki logo zaten ortada */
        .mobile-action-bar .mobile-action-logo {
            justify-self: center;
        }
}

.blog-cover-carousel {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.blog-cover-carousel .carousel-item,
.blog-cover-carousel img {
    height: 240px;
}

.blog-cover-carousel img {
    object-fit: cover;
}

.blog-cover-carousel__link {
    display: block;
    position: relative;
    color: inherit;
    text-decoration: none;
}

.blog-cover-carousel .carousel-caption {
    background: linear-gradient(140deg, #092742, #fdf7f6);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    text-align: left;
}

.blog-cover-carousel__title {
    display: block;
    font-weight: 600;
    color: #fff;
}

.blog-cover-carousel--compact .carousel-item,
.blog-cover-carousel--compact img {
    height: 140px;
}

.blog-cover-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.blog-cover-grid__item {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
}

.blog-cover-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-cover-grid__title {
    position: absolute;
    inset: auto 0 0 0;
    padding: 10px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(4, 21, 44, 0.85));
}

.blog-detail-content {
    color: #1a2c45;
    line-height: 1.7;
}

.blog-detail-media {
    border: 1px solid rgba(15, 104, 215, 0.08);
    background: #ffffff;
}

.blog-media-gallery {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.blog-media-main {
    flex: 1 1 70%;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(15, 104, 215, 0.12);
    background: #f7f9fd;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-media-main__image,
.blog-media-main__video {
    width: 100%;
    height: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
}

.blog-media-thumbs {
    flex: 0 0 140px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 460px;
    overflow-y: auto;
    padding-right: 4px;
}

.blog-media-thumb {
    position: relative;
    padding: 0;
    border-radius: 14px;
    border: 1px solid rgba(15, 104, 215, 0.12);
    background: #f7f9fd;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-media-thumb img,
.blog-media-thumb video {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
}

.blog-media-thumb.is-active {
    border-color: rgba(15, 104, 215, 0.6);
    box-shadow: 0 8px 16px rgba(15, 104, 215, 0.18);
    transform: translateY(-2px);
}

.blog-media-thumb__badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    padding: 2px 6px;
    font-size: 0.65rem;
    font-weight: 600;
    background: rgba(15, 104, 215, 0.85);
    color: #fff;
    border-radius: 999px;
}

.blog-media-item {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(15, 104, 215, 0.12);
    background: #f7f9fd;
}

.blog-media-item img,
.blog-media-item video {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .blog-media-gallery {
        flex-direction: column;
    }

    .blog-media-main {
        width: 100%;
        min-height: 240px;
    }

    .blog-media-thumbs {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        max-height: none;
        width: 100%;
        padding-bottom: 4px;
    }

    .blog-media-thumb img,
    .blog-media-thumb video {
        height: 70px;
        width: 100px;
    }

    .blog-cover-carousel .carousel-item,
    .blog-cover-carousel img {
        height: 180px;
    }

    .blog-cover-carousel--compact .carousel-item,
    .blog-cover-carousel--compact img {
        height: 120px;
    }
}
