/********** Template CSS **********/
:root {
    --primary: #B78D65;
    --light: #F8F8F8;
    --dark: #252525;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    background: radial-gradient(circle at center, #f3f3f3 0%, #eeeeee 55%, #e7e7e7 100%) !important;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#spinner .spinner-border {
    width: 5.2rem !important;
    height: 5.2rem !important;
    border-width: .22rem;
    color: rgba(183, 141, 101, .55) !important;
}

#spinner img {
    max-height: 56px !important;
    width: auto;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .78);
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(37, 37, 37, .12);
    animation: spinnerLogoPulse 1.8s ease-in-out infinite;
}

@keyframes spinnerLogoPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.03);
    }
}

/*** Sayfa geçişi — çıkışta tam ekran yükleyici (navigation.js) ***/
#ark-nav-loader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

#ark-nav-loader.ark-nav-loader--visible {
    display: flex;
    pointer-events: auto;
}

#ark-nav-loader .ark-nav-loader__backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, #f3f3f3 0%, #eeeeee 55%, #e7e7e7 100%);
}

#ark-nav-loader .ark-nav-loader__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
}

#ark-nav-loader .ark-nav-loader__ring {
    width: 5.2rem !important;
    height: 5.2rem !important;
    border-width: 0.22rem;
    color: rgba(183, 141, 101, 0.55) !important;
}

#ark-nav-loader .ark-nav-loader__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-height: 56px;
    width: auto;
    height: auto;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.78);
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(37, 37, 37, 0.12);
    pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
    #ark-nav-loader .ark-nav-loader__logo {
        animation: spinnerLogoPulse 1.8s ease-in-out infinite;
    }
}

/* Sayfa girişi — prefers-reduced-motion: reduce ise animasyon yok */
@media (prefers-reduced-motion: no-preference) {
    html.ark-page-ready body {
        animation: ark-page-enter 0.38s ease-out both;
    }
}

@keyframes ark-page-enter {
    from {
        opacity: 0.93;
    }
    to {
        opacity: 1;
    }
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, .62), rgba(0, 0, 0, .58));
}

.header-carousel .owl-carousel-item {
    position: relative;
    min-height: 82vh;
    max-height: 860px;
}

.header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-carousel .owl-carousel-item .owl-carousel-inner .container {
    padding-top: 26px;
    padding-bottom: 26px;
}

.header-carousel .owl-carousel-item h1 {
    line-height: 1.12;
    margin-bottom: 10px;
    font-size: clamp(2rem, 3.9vw, 3.6rem);
    letter-spacing: -.01em;
    text-shadow: 0 3px 10px rgba(0, 0, 0, .35);
}

.header-carousel .owl-carousel-item p {
    margin-bottom: 12px !important;
    padding-bottom: 0 !important;
    max-width: 90%;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.header-carousel .owl-carousel-item .btn {
    margin-top: 4px !important;
}

.btn.btn-primary:hover {
    background: #9f7857;
    border-color: #9f7857;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item .owl-carousel-inner .container {
        padding-top: 18px;
        padding-bottom: 14px;
    }

    .header-carousel .owl-carousel-item h1 {
        margin-bottom: 8px;
        font-size: clamp(1.8rem, 8.2vw, 2.7rem);
    }

    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
        max-height: none;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/img16.jpeg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Kurumsal mesaj (manifesto) ***/
.brand-manifesto {
    background: linear-gradient(145deg, #241c17 0%, #3a2e26 45%, #2a221c 100%);
    color: #f8f5f0;
}

.brand-manifesto__inner {
    position: relative;
    padding: 0 0.5rem;
}

.brand-manifesto__inner::before {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 0 auto 1.75rem;
    background: var(--primary);
    border-radius: 2px;
}

.brand-manifesto__lead {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.94);
    margin-bottom: 0;
}

.brand-manifesto__signatory {
    letter-spacing: 0.12em;
    font-size: 0.95rem;
    color: #fff;
}

.brand-manifesto__tagline {
    letter-spacing: 0.22em;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}


/*** Marka sloganı ***/
.site-slogan {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0;
}

.site-slogan--hero {
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.26em;
    font-size: 0.78rem;
}

.site-slogan--footer {
    color: var(--primary);
    opacity: 0.95;
}

.site-slogan--navbar {
    font-size: 0.65rem;
    line-height: 1.25;
    max-width: 11rem;
    color: var(--dark);
    opacity: 0.85;
}

.site-slogan--pagehead {
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.24em;
    font-size: 0.72rem;
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .7);
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}

.home-project-media {
    height: 390px;
    border-radius: 4px;
    overflow: hidden;
}

.home-project-media-img {
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .home-project-media {
        height: 320px;
    }
}

@media (max-width: 575.98px) {
    .home-project-media {
        height: 260px;
    }
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #777777;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

.footer .copyright .footer-site-credit {
    font-size: 14px;
    color: rgba(248, 248, 248, 0.82);
}

.footer .copyright .footer-site-credit a {
    color: rgba(248, 248, 248, 0.95);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer .copyright .footer-site-credit a:hover {
    color: var(--primary);
}

/*** Proje kartları (liste / ana sayfa) ***/
.project-card .project-card-visual {
    position: relative;
    padding-top: 66.67%;
}

.project-card .project-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.project-card:hover .project-card-img {
    transform: scale(1.05);
}

.project-card-caption {
    background: linear-gradient(to top, rgba(37, 37, 37, 0.92), transparent);
}

.project-card:hover {
    box-shadow: 0 0.5rem 1.25rem rgba(37, 37, 37, 0.12) !important;
}

.project-related-visual {
    position: relative;
    padding-top: 105%;
}

.project-related-card {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.project-related-card:hover {
    box-shadow: 0 0.5rem 1.25rem rgba(37, 37, 37, 0.12) !important;
    transform: translateY(-3px);
}

.project-hub-card {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.project-hub-card:hover {
    box-shadow: 0 0.85rem 2.25rem rgba(37, 37, 37, 0.14) !important;
    transform: translateY(-4px);
}

#projeler-devam-eden,
#projeler-tamamlanan {
    scroll-margin-top: 96px;
}

.project-pagination-nav {
    margin-top: 2rem;
}

.project-pagination-nav .page-link {
    color: var(--dark);
    border-color: rgba(183, 141, 101, 0.35);
}

.project-pagination-nav .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.project-pagination-nav .page-item:not(.disabled) .page-link:hover {
    color: var(--primary);
    background-color: rgba(183, 141, 101, 0.08);
    border-color: var(--primary);
}

/*** Proje detay: dikey kapak (portre) düzeni ***/
.project-detail-hero-row {
    --detail-cover-max-h: min(82vh, 760px);
}

.project-detail-cover {
    position: relative;
    display: block;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 3 / 4;
    max-height: var(--detail-cover-max-h);
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    background: linear-gradient(160deg, #f0ebe4 0%, #e8e4df 100%);
    box-shadow:
        0 1.5rem 3rem rgba(37, 37, 37, 0.14),
        0 0 0 1px rgba(183, 141, 101, 0.12);
}

.project-detail-gallery-link {
    position: relative;
    padding-top: 115%;
}

.project-gallery-lightbox-nav {
    z-index: 5;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.5rem 0.65rem;
    border-radius: 50%;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.2);
}

#project-gallery-lightbox [data-gallery-close] {
    z-index: 5;
}

.project-gallery-lightbox-viewport {
    cursor: default;
}

.project-detail-cover-placeholder {
    position: absolute;
    inset: 0;
}

.project-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (min-width: 992px) {
    .project-detail-cover {
        max-width: none;
        width: 100%;
    }
}

.project-detail-meta-panel {
    padding-top: 1.25rem;
    border-top: 1px solid rgba(37, 37, 37, 0.08);
}

.project-detail-meta-cell {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    height: 100%;
    padding: 0.9rem 1rem;
    background: var(--light);
    border: 1px solid rgba(183, 141, 101, 0.15);
}

.project-detail-meta-icon {
    font-size: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.project-detail-meta-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6c6c6c;
    margin-bottom: 0.2rem;
}

.project-detail-meta-value {
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.35;
}

.project-detail-share-bar {
    border-top: 1px solid rgba(37, 37, 37, 0.08);
}

.project-detail-share-label {
    letter-spacing: 0.06em;
    font-weight: 600;
}

/*** Kurumsal: rakamlar + vizyon / misyon (bant + kartlar) ***/
.corp-stats-section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
    background: linear-gradient(180deg, #faf8f5 0%, #ffffff 55%);
}

.corp-metrics-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(183, 141, 101, 0.22);
    box-shadow: 0 6px 28px rgba(37, 37, 37, 0.06);
    overflow: hidden;
}

.corp-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 0.65rem;
    border-right: 1px solid #f0ebe4;
    border-bottom: none;
    min-height: 96px;
}

.corp-metric:last-child {
    border-right: none;
}

.corp-metric-num {
    font-family: "Teko", sans-serif;
    font-size: clamp(1.85rem, 3.8vw, 2.35rem);
    font-weight: 600;
    line-height: 1;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.corp-metric-lbl {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #5c5c5c;
    line-height: 1.25;
    max-width: 12em;
}

.corp-statements-row {
    margin-top: 1.25rem;
}

.corp-statement-card {
    height: 100%;
    background: #fff;
    border-radius: 10px;
    padding: 1.15rem 1.2rem 1.2rem 1.35rem;
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 20px rgba(37, 37, 37, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-left-width: 4px;
    border-left-color: var(--primary);
}

.corp-statement-card--mission {
    border-left-color: #9a7656;
}

.corp-statement-card--values {
    border-left-color: #a68668;
}

.corp-statement-card--values .corp-statement-card__tag {
    color: #a68668;
}

.corp-statement-card__list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.62;
    color: #3a3a3a;
}

.corp-statement-card__list li {
    position: relative;
    padding-left: 0.85rem;
    margin-bottom: 0.65rem;
}

.corp-statement-card__list li:last-child {
    margin-bottom: 0;
}

.corp-statement-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.75;
}

.corp-statement-card__list strong {
    font-weight: 600;
    color: var(--dark);
}

.corp-statement-card__tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.55rem;
}

.corp-statement-card--mission .corp-statement-card__tag {
    color: #9a7656;
}

.corp-statement-card__text {
    font-size: 0.9rem;
    line-height: 1.62;
    color: #3a3a3a;
}

.corp-statement-card__text strong {
    font-weight: 600;
    color: var(--dark);
}

@media (max-width: 767.98px) {
    .corp-metrics-board {
        grid-template-columns: repeat(2, 1fr);
    }

    .corp-metric {
        border-right: 1px solid #f0ebe4;
        border-bottom: 1px solid #f0ebe4;
        min-height: 88px;
        padding: 0.85rem 0.5rem;
    }

    .corp-metric:nth-child(2n) {
        border-right: none;
    }

    .corp-metric:nth-last-child(-n + 2) {
        border-bottom: none;
    }
}

@media (max-width: 575.98px) {
    .corp-stats-section {
        padding-top: 1.85rem !important;
        padding-bottom: 1.85rem !important;
    }

    .corp-statements-row {
        margin-top: 1rem;
    }

    .corp-metric-lbl {
        font-size: 0.55rem;
        letter-spacing: 0.1em;
    }

    .corp-statement-card {
        padding: 1rem 1rem 1.05rem 1.1rem;
    }

    .corp-statement-card__text {
        font-size: 0.875rem;
    }

    .corp-statement-card__list {
        font-size: 0.875rem;
    }
}

/*** Project Share Toast ***/
.ark-toast-host {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1085;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.ark-toast {
    min-width: 240px;
    max-width: min(92vw, 360px);
    background: rgba(37, 37, 37, .95);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
    border-left: 4px solid var(--primary);
    padding: 11px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease;
}

.ark-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ark-toast.is-error {
    border-left-color: #dc3545;
}

.ark-toast-icon {
    color: var(--primary);
}

.ark-toast.is-error .ark-toast-icon {
    color: #dc3545;
}

.ark-toast-text {
    line-height: 1.35;
    font-size: .94rem;
}

/*** Mobile Optimizations ***/
@media (max-width: 991.98px) {
    .navbar .btn.btn-primary.d-none.d-lg-block {
        display: inline-flex !important;
        margin-top: 10px;
        margin-bottom: 8px;
        padding: 10px 18px;
    }

    .section-title {
        letter-spacing: 2px;
    }

    .service-item .btn,
    .service-item:hover .btn {
        width: auto;
        min-width: 140px;
        padding: 0 14px;
        overflow: visible;
    }

    .project .nav .nav-link h3 {
        font-size: clamp(1.22rem, 3.9vw, 1.48rem);
        line-height: 1.3;
    }

    .project-card-caption h4 {
        font-size: clamp(1.2rem, 3.6vw, 1.45rem);
        line-height: 1.25;
    }

    .about-img,
    .feature-img {
        min-height: 320px;
    }

    .about-img img,
    .feature-img img {
        width: 64%;
        height: 78%;
    }

    .about-img::before,
    .feature-img::before {
        width: 64%;
        height: 78%;
        top: 11%;
        left: 18%;
    }
}

@media (max-width: 991.98px) {
    /* Mobilde / tablette dikey tam yükseklikli nokta şeridini kaldır; küçük thumb’lar altta */
    .header-carousel .owl-dots {
        width: auto;
        height: auto;
        top: auto;
        right: 0;
        left: 0;
        bottom: 10px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 6px;
        padding: 0 8px;
        box-sizing: border-box;
    }

    .header-carousel .owl-dots .owl-dot,
    .header-carousel .owl-dots .owl-dot.active {
        width: 36px;
        height: 36px;
        margin: 0;
    }

    /* nav açıksa: yan okları küçük yuvarlak düğme yap (tam boy şerit olmasın) */
    .header-carousel .owl-nav {
        position: absolute;
        inset: 0;
        margin: 0;
        pointer-events: none;
    }

    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: auto;
        width: 2.25rem !important;
        height: 2.25rem !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: 0.85rem !important;
        line-height: 1 !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.9) !important;
        color: #333 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    }

    .header-carousel .owl-nav .owl-prev {
        left: 8px;
    }

    .header-carousel .owl-nav .owl-next {
        right: 8px;
    }
}

@media (max-width: 767.98px) {
    .display-5 {
        font-size: clamp(1.55rem, 6vw, 2rem);
        line-height: 1.3;
    }

    .page-header h1,
    .page-header .display-1 {
        font-size: clamp(1.8rem, 9vw, 2.5rem) !important;
        line-height: 1.2;
    }

    .container-xxl.py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    iframe[src*="google.com/maps"] {
        min-height: 320px !important;
    }

    a[href^="mailto:"] {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

@media (max-width: 575.98px) {
    .ark-toast-host {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .ark-toast {
        max-width: 100%;
    }

    .header-carousel .owl-dots .owl-dot,
    .header-carousel .owl-dots .owl-dot.active {
        width: 32px;
        height: 32px;
    }

    .header-carousel .owl-carousel-item p {
        max-width: 100%;
    }

    .home-project-media {
        height: 220px;
    }

    .about-img,
    .feature-img {
        min-height: 260px;
    }

    .about-img img:last-child,
    .feature-img img:last-child {
        margin: 22% 0 0 36%;
    }

    .footer .btn.btn-link {
        margin-bottom: 10px;
    }
}