/* Reset minimal */
* {
    box-sizing: border-box
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    margin: 0;
    background: #f6f7f9;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header - fixed */
:root {
    --header-height: 72px;
    --accent: #5aa035;
    --muted: #6b6f76;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    z-index: 1000;
}

.site-header .container {
    height: 100%;
}

.brand {
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--accent);
    text-decoration: none;
    font-size: 1.05rem;

}

/* Nav */
.site-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.site-nav .nav-link {
    color: #222;
    font-weight: 600;
    text-transform: uppercase;
    font-size: .85rem;
    padding: .25rem .5rem;
    font-family: 'Times New Roman', Times, serif;
}

.site-nav .nav-link:hover {
    color: var(--accent);
    transform: translateY(-2px);
    transition: .15s;
}

/* Mobile menu toggle */
.navbar-toggler {
    background: transparent;
    border: 0;
    color: #333;
    padding: .4rem .6rem;
    font-size: 1.1rem;
}

.mobile-menu {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

/* Main content offset for fixed header */
main {
    padding-top: calc(var(--header-height) + 24px);
}

/* HERO */
.hero-section {
    position: relative;
    height: 100vh;
    /* 📌 Boyutu burada ayarlıyoruz (istersen artır/azalt) */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    padding: 0 0.5em;
}

.hero-bg {
    background: url('img/refleksoloji.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center center;
    /* 📌 TAM BOYUT KORUNUR, KIRPMAZ */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    filter: brightness(50%);
    border-radius: 10px;
}

.hero-bg h2 {

    font-family: 'Times New Roman', Times, serif;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    /* 📌 Yazılar taşmasın */
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 15px;
}

.hero-cta .btn-outline-light {
    border-color: #fff;
    color: #fff;
}

.hero-cta .btn-outline-light:hover {
    background: #fff;
    color: #000;
}

.hero-inner h2 {
    font-size: 1.9rem;
    margin-bottom: .5rem;
    color: #1f3b1a;
    font-weight: 800;
}

.hero-inner p.lead {
    color: var(--muted);
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.3rem;
    color: #ffffff;
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.hero-image img {
    max-width: 900px;
    width: 80%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

/* Section title */
#services .section-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #234;
    font-family: 'Times New Roman', Times, serif;
}

/* Services grid card */
.card-service {
    border-radius: 12px;
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease;
    cursor: pointer;
    min-height: 250px;
    display: flex;
    flex-direction: column;
}

.card-service:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(20, 50, 20, 0.06);
}

.card-service img {
    max-width: 100%;
    max-height: 18rem;
    object-fit: cover;
    margin-top: 0.5em;
    border-radius: 0 50px 0 50px;
}

.card-service .card-body {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Detay butonu ile WhatsApp + Telefon butonları aynı hizada */
.card-service .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-service .card-body>div:first-child {
    flex-grow: 1;
}

/* Contact card */
.contact-card {
    border-radius: 12px;
}

/* Footer small */
footer small {
    color: #777;
}

/* Güçlü modal ayarları - CSS ile mümkün olduğunca önleyici */
.modal-dialog {
    max-width: 920px;
    width: 100%;
    margin: 0 auto;
}

.modal-content {
    max-height: 95vh !important;
    display: flex;
    flex-direction: column;
}

/* Body scroll ve merkezleme */
.modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 1rem;
    /* istersen 0 yapabilirsin */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Resim için genel güvenli ayarlar (önceki inline stilleri geçersiz kılmak için important) */
.modal-body img {
    width: 35% !important;
    height: auto !important;
    max-height: 80vh !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0.5rem 0 !important;
    border-radius: 8px !important;
}

.modal-body p {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    font-family: 'Times New Roman', Times, serif;
    width: 98%;
}

.bilgiler {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
}

.card-text {
    font-size: 1.3rem;
    color: #444;
    text-align: center;
    margin-top: 0.5em;
    font-family: 'Times New Roman', Times, serif;
}

.card-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: 'Times New Roman', Times, serif;
    background: linear-gradient(90deg,
            #e0f2fe 0%,
            /* en açık tatlı mavi */
            #bae6fd 25%,
            #7dd3fc 50%,
            #38bdf8 75%,
            #0ea5e9 100%
            /* hafif canlı bitiş */
        );
    border-radius: 3em;
    padding: 2% 5% 2% 5%;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7) !important;
}

.py-5 .container .section-title {
    font-family: 'Times New Roman', Times, serif;
}

/* BUTONLAR TAM ORTADA + GÜZEL GÖRÜNÜM */
.card-information {
    margin-top: 1rem !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.8rem !important;
    width: 100% !important;
}

.card-btn-group {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.6rem !important;
    width: 100% !important;
    margin-top: 0.5rem !important;
}

.d-flex .btn-outline-secondary {
    display: none;
}



.hero-content h2,
.hero-content p {
    opacity: 0;
    animation: fadeInUpGlow 1.2s ease forwards;
}

.hero-content h2 {
    animation-delay: 0.2s;
}

.hero-content p:nth-of-type(1) {
    animation-delay: 0.8s;
}

.hero-content p:nth-of-type(2) {
    animation-delay: 1.1s;
}

.hero-content p:nth-of-type(3) {
    animation-delay: 1.4s;
}

.bilgibutonu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 3px;
    margin-top: 1.5em;
}

.btn-primary {
    opacity: 0;
    animation: fadeInUpGlow 2.2s ease forwards;
    animation-delay: 2.1s;
    min-height: 5em;
    width: 24%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1px;
    background: none;
    border: 2px solid #547c3f;
}

/* Offcanvas düzeltilmiş sürüm */
.offcanvas {
    width: 95%;
    /* Genişliği neredeyse tüm ekran */
    max-width: 600px;
    /* Masaüstünde max genişlik */
    margin-top: 4.5em;
}

.offcanvas-body {
    font-family: 'Times New Roman', serif;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    /* Yüksek içerik için kaydırma */
    max-height: calc(100vh - 5em);
    /* Ekranı aşmaması için */
    padding-bottom: 1rem;
}

.offcanvas-body h3 {
    font-size: 1.5rem;
    color: #0f2b17;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

@keyframes fadeInUpGlow {
    0% {
        opacity: 0;
        transform: translateY(20px);
        text-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }

    60% {
        opacity: 1;
        transform: translateY(0);
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
    }

    100% {
        opacity: 1;
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
    }
}


.memnuniyet {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    /* sayfanın ortası */
    padding: 18px;
    box-sizing: border-box;
    border-radius: 12px;
    font-family: 'Times New Roman', Times, serif;
    background: linear-gradient(135deg, #a19f9f 1%, #adacac 20%, #f5f1f1 100%);
}

.memnuniyet h3 {
    text-align: center;
    font-size: 22px;
    color: #0f2b17;
    margin-bottom: 20px;
    font-weight: 700;
    color: #fff;
    ;
}

/* Grid temel ayarı: default 4 sütun */
.memnuniyet-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
}

/* video kart */
.tube {
    background: linear-gradient(135deg, #7c93b1 1%, #4779a3 20%, #0188b1 100%);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* responsive iframe: aspect-ratio kullanımı modern ve güvenli */
.tube iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border: 0;
    display: block;
}

/* başlık */
.tube h4 {
    margin: 10px;
    margin-top: 12px;
    font-size: 15px;
    text-align: center;
    color: #f1f5f2;
    font-weight: 600;
}

/* Hover efekti */
.tube:hover {
    transform: translateY(-6px);
    transition: transform .18s ease;
}


.hizmet2 {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 3em;
    color: #e74c3c;
}

.hizmet2:hover {
    color: #f8fff8;
    transition: color 0.3s ease;
}

.hizmet .nav-link-two {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 700;
    font-size: 2.1rem;
    color: #f2f5f2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hizmet .nav-link-two:hover {
    color: #e74c3c;
}


/* RENKLİ OK (KIRMIZI ↔ BEYAZ) */
.color-shift-arrow {
    width: 36px;
    height: 36px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
    animation:
        colorShift 2s infinite alternate,
        bounce 1.6s infinite;
    transition: all 0.3s ease;
}

.color-shift-arrow:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.5);
}

.watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-25deg);
    font-size: 40px;
    /* Daha büyük, tam sayfayı doldurur */
    font-weight: 900;
    color: rgba(255, 0, 0, 0.20);
    /* içi kırmızı ve soluk */

    -webkit-text-stroke-width: 3px;
    /* kenar kalınlığı */
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.45);
    /* yarı şeffaf beyaz kenarlık */

    text-align: center;
    line-height: 1.3;
    /* iki satıra geniş aralık */
    letter-spacing: 10px;
    /* harfler arası geniş */

    pointer-events: none;
    user-select: none;
    z-index: 9999;

    display: none;
}

/* Modal veya card içindeki long yazıları kopyalanamasın */
.modal-body p,
.card-text,
.lead,
.offcanvas-body p {
    user-select: none;
    /* Metin seçilemiyor */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    /* Mouse ile seçimi engeller */
}

.sosyal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5em;
    font-size: 3em;
}


/* RENK DEĞİŞİMİ */
@keyframes colorShift {
    0% {
        background: #e74c3c;
        color: white;
    }

    50% {
        background: #ffffff;
        color: #e74c3c;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    100% {
        background: #e74c3c;
        color: white;
    }
}

/* Zıplama */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


/* Telefonla Ara butonu - akıllı cihaz algılama */
.phone-call-btn .desktop-text {
    display: none;
}

.phone-call-btn .mobile-text {
    display: inline;
}

/* HERO ALTI - CONTAINER İÇİNDE EŞİT BUTONLAR */
.hero-services {
    padding: 0 1rem;
    margin-top: 2rem;
}

.hero-service-item {
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 18px;
    padding: 1.3rem 0.8rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.35s ease;
    opacity: 0;
    transform: translateY(35px);
    color: #fff !important;
    font-weight: 700;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.1rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-service-item:hover {
    background: rgba(255, 255, 255, 0.42);
    transform: translateY(-7px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
}

.hero-service-item.appear {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.75s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* EŞİT YÜKSEKLİK */
#heroServicesGrid .col {
    display: flex;
}

#heroServicesGrid .hero-service-item {
    width: 100%;
}

.hizmet {
    list-style: none !important;
    margin-top: 2em;
    font-family: 'Times New Roman', Times, serif;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3em;
    margin-left: 1em;
}


/* BUTON VE MODAL İÇİN MİNİMUM STİL */
.quick-btn {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600;
    padding: 1.2rem;
    border: none;
    border-radius: 12px;
    background: #fff;
    color: #1a3d1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all .2s;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.95rem;
}

.quick-btn:hover {
    background: #5aa035;
    color: white;
    transform: translateY(-4px);
}

/* TELEFON / BİLGİSAYAR BUTONU */
.btn-call-dynamic {
    min-width: 120px;
}

.btn-call-dynamic .mobile-text,
.btn-call-dynamic .desktop-text {
    font-weight: 600;
}

.btn-call-dynamic .mobile-text {
    display: none;
}

.btn-call-dynamic .desktop-text {
    display: inline;
}

/* MODAL */
.modal-header {
    background: #5aa035;
    color: white;
}

/* Header/footer sabit, body kaydırılabilir */
.modal-header,
.modal-footer {
    flex-shrink: 0;
}

.modal-long-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
    margin: 0;
}


.btn-hizmet {
    background-color: #5aa035;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hizmet-yazisi {
    margin: 0;
}

.gs-container {
    display: none;
    /* Başlangıçta gizli */
    margin-top: 20px;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    /* ortalamak için */
}

.hizmet-button {
    display: flex;
    align-self: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    /* aralarındaki boşluk */
    width: 80%;
    flex: 0 0 18%;
    /* Yan yana 2 li için yaklaşık %50 */
    margin-bottom: 1px;
    text-align: center;
    padding: 3px;
    border: 0 solid #ccc;
    border-radius: 8px;
    background: transparent;
    /* arka plan yok */
    color: #fff;
    /* yazılar beyaz */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    /* gölge */
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hizmet-button:hover {
    color: #fff;
    /* Hover’da sarı olabilir */
    text-shadow: 2px 2px 5px rgba(252, 252, 252, 0.8);
    transform: scale(1.05);
    opacity: 0.9;
}