/*
Theme Name: HRG
Theme URI: https://hrgdis.com
Author: HRG
Author URI: https://hrgdis.com
Description: Kurumsal diş kliniği teması - HTML5, responsive, hızlı.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hrg
Tags: custom-menu, custom-logo, responsive-layout
*/

/* ==========================================================================
   Reset / Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1f2933;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: #0a66c2; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }

p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed; top: 0; left: 0;
    width: auto; height: auto;
    padding: .75rem 1rem;
    background: #0a66c2; color: #fff;
    clip: auto; z-index: 9999;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #ffffff;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 64px;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2933;
}

/* Menu toggle (mobil) */
.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px; height: 2px;
    background: #1f2933;
    position: relative;
    transition: transform .2s ease;
}
.hamburger::before,
.hamburger::after { content: ""; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

/* Navigasyon */
.main-navigation { display: none; width: 100%; }
.main-navigation.is-open { display: block; }

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li { border-top: 1px solid #e4e7eb; }
.nav-menu a {
    display: block;
    padding: .85rem 0;
    color: #1f2933;
    font-weight: 500;
}

.nav-menu .sub-menu { padding-left: 1rem; }

/* ==========================================================================
   Main / Footer
   ========================================================================== */
.site-main { padding: 1rem 0; }

.site-footer {
    background: #1f2933;
    color: #cbd2d9;
    padding: 2.5rem 0 0;
    margin-top: 3rem;
}

.footer-inner {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.footer-title { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; }

.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav a { color: #cbd2d9; }

.footer-contact-list { list-style: none; margin: 0; padding: 0; }
.footer-contact-list a { color: #cbd2d9; }

.footer-bottom {
    border-top: 1px solid #323f4b;
    margin-top: 2rem;
    padding: 1rem 0;
    font-size: .875rem;
    text-align: center;
}
.footer-bottom p { margin: 0; }

/* ==========================================================================
   Tablet / Desktop
   ========================================================================== */
@media (min-width: 768px) {
    .menu-toggle { display: none; }

    .main-navigation { display: block; width: auto; }

    .nav-menu {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }
    .nav-menu li { border: 0; }
    .nav-menu a { padding: 0; }

    .nav-menu li { position: relative; }
    .nav-menu .sub-menu {
        display: none;
        position: absolute;
        top: 100%; left: 0;
        min-width: 220px;
        padding: .5rem 0;
        background: #fff;
        box-shadow: 0 8px 24px rgba(0,0,0,.12);
        border: 1px solid #e4e7eb;
        padding-left: 0;
    }
    .nav-menu .sub-menu a { padding: .6rem 1rem; }
    .nav-menu li:hover > .sub-menu,
    .nav-menu li:focus-within > .sub-menu { display: block; }

    .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}


/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: .75rem 1.5rem;
    background: #0a66c2;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    transition: background .2s ease;
}
.btn:hover, .btn:focus { background: #084a8c; text-decoration: none; }

/* ==========================================================================
   Post list / cards
   ========================================================================== */
.post-list {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.post-card {
    background: #fff;
    border: 1px solid #e4e7eb;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.post-card-thumb img { width: 100%; height: auto; }

.post-card-body { padding: 1rem 1.25rem 1.25rem; }

.post-card-title { font-size: 1.2rem; margin: 0 0 .5rem; }
.post-card-title a { color: #1f2933; }
.post-card-title a:hover { color: #0a66c2; text-decoration: none; }

.post-card-meta { display: none; font-size: .85rem; color: #7b8794; margin-bottom: .75rem; }

.post-card-excerpt { margin-bottom: 1rem; }

.post-card-more { font-weight: 600; }

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination { margin: 2rem 0; }
.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 .75rem;
    border: 1px solid #e4e7eb;
    border-radius: 6px;
    color: #1f2933;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: #0a66c2;
    color: #fff;
    border-color: #0a66c2;
    text-decoration: none;
}

/* ==========================================================================
   Single / Page content
   ========================================================================== */
.page-header { margin-bottom: 1.5rem; }
.page-title, .entry-title { margin-bottom: .5rem; }

.entry-meta {
    display: flex;
    gap: 1rem;
    font-size: .875rem;
    color: #7b8794;
    margin-bottom: 1.5rem;
}

.entry-thumb { margin-bottom: 1.5rem; }
.entry-thumb img { border-radius: 8px; }

.entry-content h2, .entry-content h3 { margin-top: 1.5em; }
.entry-content img { border-radius: 8px; }
.entry-content blockquote {
    margin: 1.5em 0;
    padding: .75rem 1rem;
    border-left: 4px solid #0a66c2;
    background: #f5f7fa;
    color: #323f4b;
}

.post-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: 0;
    margin: 1.5rem 0;
}
.post-tags li a {
    display: inline-block;
    padding: .25rem .75rem;
    background: #f5f7fa;
    border-radius: 999px;
    font-size: .8rem;
    color: #323f4b;
}

/* ==========================================================================
   Post navigation
   ========================================================================== */
.post-navigation { margin: 2rem 0; }
.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.post-navigation a {
    display: block;
    padding: 1rem;
    border: 1px solid #e4e7eb;
    border-radius: 8px;
    flex: 1;
    color: #1f2933;
}
.post-navigation a:hover { border-color: #0a66c2; text-decoration: none; }

/* ==========================================================================
   404 / No results
   ========================================================================== */
.error-404, .no-results {
    text-align: center;
    padding: 3rem 1rem;
}
.error-title { font-size: 5rem; margin: 0 0 1rem; color: #0a66c2; }

/* ==========================================================================
   Search form
   ========================================================================== */
.search-form {
    display: flex;
    gap: .5rem;
    max-width: 480px;
}
.search-form input[type="search"] {
    flex: 1;
    padding: .6rem .85rem;
    border: 1px solid #cbd2d9;
    border-radius: 6px;
    font-size: 1rem;
}
.search-form button {
    padding: .6rem 1.25rem;
    background: #0a66c2;
    color: #fff;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}
.search-form button:hover { background: #084a8c; }

/* ==========================================================================
   Responsive grids
   ========================================================================== */
@media (min-width: 640px) {
    .post-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .post-list { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Language switcher (qTranslate-XT)
   ========================================================================== */
.qtranxs-lang-menu,
.qtranxs-lang-menu-item,
.menu-item-language-switcher {
    position: relative;
}

.qtranxs-lang-menu > a,
.menu-item-language-switcher > a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 600;
}

.qtranxs-lang-menu .sub-menu,
.menu-item-language-switcher .sub-menu {
    min-width: 160px;
}

.qtranxs-lang-menu .sub-menu a,
.menu-item-language-switcher .sub-menu a {
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* Dil kodu / bayrak görünümü */
.qtranxs-lang-menu-item img,
.menu-item-language-switcher img {
    width: 18px;
    height: 13px;
    object-fit: cover;
    border-radius: 2px;
}

/* Mobilde dil menüsü */
@media (max-width: 767px) {
    .qtranxs-lang-menu .sub-menu,
    .menu-item-language-switcher .sub-menu {
        position: static;
        box-shadow: none;
        border: 0;
        display: block;
        padding-left: 1rem;
    }
}

/* ==========================================================================
   FRONT PAGE: Hero
   ========================================================================== */
.hero {
    background: linear-gradient(135deg, #e8f2fc 0%, #f5f9ff 100%);
    padding: 4rem 0;
}
.hero-inner { display: flex; align-items: center; }
.hero-content { max-width: 720px; }
.hero-eyebrow {
    display: inline-block;
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #0a66c2;
    margin-bottom: 1rem;
}
.hero-title { margin-bottom: 1rem; }
.hero-text { font-size: 1.125rem; color: #323f4b; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.btn-primary { background: #0a66c2; color: #fff; }
.btn-primary:hover { background: #084a8c; }
.btn-outline {
    background: transparent;
    color: #0a66c2;
    border: 2px solid #0a66c2;
}
.btn-outline:hover { background: #0a66c2; color: #fff; }
.hero-badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0;
    margin: 0;
}
.hero-badges li {
    font-size: .85rem;
    color: #52606d;
    padding-left: 1.4rem;
    position: relative;
}
.hero-badges li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0a66c2;
    font-weight: 700;
}

/* ==========================================================================
   Section commons
   ========================================================================== */
section { padding: 3.5rem 0; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { margin-bottom: .5rem; }
.section-header p { color: #52606d; max-width: 640px; margin: 0 auto; }
.section-link { font-weight: 600; }

/* ==========================================================================
   Services
   ========================================================================== */
.services { background: #fff; }
.services-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}
.service-card {
    padding: 1.5rem;
    border: 1px solid #e4e7eb;
    border-radius: 10px;
    background: #fff;
    transition: box-shadow .2s ease, transform .2s ease;
}
.service-card:hover {
    box-shadow: 0 8px 24px rgba(10, 102, 194, .08);
    transform: translateY(-2px);
}
.service-title { font-size: 1.15rem; margin-bottom: .5rem; color: #1f2933; }
.service-desc { color: #52606d; margin-bottom: 1rem; }
.service-link { font-weight: 600; color: #0a66c2; }

/* ==========================================================================
   Why us
   ========================================================================== */
.why-us { background: #f5f9ff; }
.why-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}
.why-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.why-item h3 { color: #0a66c2; font-size: 1.05rem; margin-bottom: .5rem; }
.why-item p { color: #52606d; margin: 0; }


/* ==========================================================================
   Why Us Split Layout (1:1 Image & 2x2 Grid)
   ========================================================================== */
.why-split-layout {
    display: flex;
    flex-direction: column; /* Mobilde alt alta */
    gap: 2rem;
    align-items: stretch;
}

.why-image-side {
    width: 100%;
}

.why-grid-side {
    width: 100%;
}

.why-grid-modern {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr; /* Mobilde tek sütun */
    gap: 1rem;
    height: 100%; /* Yüksekliği görsele uydurmak için */
}

.why-item-modern {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e4e7eb;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-item-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.08);
}

.why-item-modern h3 {
    color: #0a66c2;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.why-item-modern p {
    color: #52606d;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* Tablet ve Masaüstü Görünümü */
@media (min-width: 768px) {
    .why-split-layout {
        flex-direction: row; /* Yan yana */
        align-items: center;
    }

    .why-image-side {
        flex: 0 0 50%; /* Sol taraf %50 */
    }

    .why-grid-side {
        flex: 1; /* Sağ taraf kalan alanı kaplar */
    }

    .why-grid-modern {
        grid-template-columns: repeat(2, 1fr); /* Sağ tarafta 2 sütun (2x2) */
        gap: 1.25rem;
    }
}
/* ==========================================================================
   About
   ========================================================================== */
.about-stats {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 0;
    margin: 2rem 0 0;
    text-align: center;
}
.about-stats strong { display: block; font-size: 1.75rem; color: #0a66c2; }
.about-stats li { color: #52606d; font-size: .85rem; }

/* ==========================================================================
   Process
   ========================================================================== */
.process { background: #f5f9ff; }
.process-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}
.process-steps li { text-align: center; }
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0a66c2;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: .75rem;
}
.process-steps h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.process-steps p { color: #52606d; margin: 0; font-size: .95rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: #f5f9ff; }
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: .75rem; }
.faq-item {
    background: #fff;
    border: 1px solid #e4e7eb;
    border-radius: 8px;
    padding: 1rem 1.25rem;
}
.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    color: #0a66c2;
    font-size: 1.4rem;
    font-weight: 700;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: #52606d; margin: .75rem 0 0; }

/* ==========================================================================
   Latest posts
   ========================================================================== */
.latest-posts { background: #fff; }
.latest-posts .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    flex-wrap: wrap;
    gap: .5rem;
}

/* ==========================================================================
   CTA
   ========================================================================== */
/* ==========================================================================
   CTA (Randevu / İletişim Alanı)
   ========================================================================== */
.cta {
    /* Önce koyu mavi degrade, sonra arka plan görseli (virgül ile ayrılır) */
    background: linear-gradient(33deg, rgba(0, 40, 105, 0.9) 0%, rgba(0, 53, 78, 0.8) 100%), 
                url('https://hrgdis.com/wp-content/uploads/2026/11/form-bg.png') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 4rem 0; /* Üstten ve alttan biraz nefes alması için */
}

.cta-inner {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    align-items: center;
}

@media (min-width: 1024px) {
    .cta-inner {
        grid-template-columns: 1fr 1fr; /* Masaüstünde sol metin, sağ form */
    }
}

/* CTA Metin Düzenlemesi */
.cta-content p {
    margin-bottom: 1.25rem;
    line-height: 1.6;
    font-size: 1.05rem;
    color: #f8fafc; /* Metin rengini biraz daha yumuşak beyaz yapar */
}
.cta-contact {
    margin-top: 2rem;
} 

.cta h2 { color: #fff; }
.cta p { color: #d9e7f7; }
.cta-contact {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.cta-contact a { color: #fff; font-weight: 600; }
.cta-form { background: #fff; border-radius: 10px; padding: 1.5rem; color: #1f2933; }

/* ==========================================================================
   Responsive grids (front page)
   ========================================================================== */
@media (min-width: 640px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .why-grid { grid-template-columns: repeat(4, 1fr); }
    .process-steps { grid-template-columns: repeat(4, 1fr); }
    .cta-inner { grid-template-columns: 1fr 1fr; }
    .hero { padding: 6rem 0; }
}

/* ==========================================================================
   Contact / About page
   ========================================================================== */
.page-lead { color: #52606d; font-size: 1.05rem; max-width: 720px; }

.contact-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
}
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { padding: .5rem 0; border-bottom: 1px solid #e4e7eb; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list strong { color: #1f2933; display: inline-block; min-width: 130px; }

.contact-form {
    background: #f5f9ff;
    padding: 1.5rem;
    border-radius: 10px;
}

.about-stats-section { margin: 2rem 0; }
.mission { background: #f5f9ff; padding: 2rem; border-radius: 10px; margin-top: 2rem; }

@media (min-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb {
    font-size: .85rem;
    color: #7b8794;
    margin: 1rem 0 1.5rem;
}
.breadcrumb a { color: #0a66c2; }
.breadcrumb span { margin: 0 .35rem; }

/* ==========================================================================
   Service layout (detay sayfa)
   ========================================================================== */
.service-layout {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
}
.service-sidebar { display: grid; gap: 1.5rem; align-content: start; }
.sidebar-box {
    background: #f5f9ff;
    padding: 1.25rem;
    border-radius: 10px;
}
.sidebar-box h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .75rem; }
.sidebar-cta .btn { display: block; text-align: center; margin-bottom: .5rem; }
.sidebar-services { list-style: none; padding: 0; margin: 0; }
.sidebar-services li { border-bottom: 1px solid #e4e7eb; }
.sidebar-services li:last-child { border-bottom: 0; }
.sidebar-services a { display: block; padding: .5rem 0; color: #1f2933; }
.sidebar-services a:hover { color: #0a66c2; }

@media (min-width: 1024px) {
    .service-layout { grid-template-columns: 1fr 320px; }
}

/* ==========================================================================
   Single post: author box + related
   ========================================================================== */
.author-box {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #f5f9ff;
    padding: 1.25rem;
    border-radius: 10px;
    margin: 2rem 0;
}
.author-avatar img { border-radius: 50%; }
.author-name { font-size: 1rem; margin-bottom: .25rem; }
.author-info p { color: #52606d; margin: 0; font-size: .95rem; }

.related-posts { margin: 3rem 0; }
.related-posts h2 { margin-bottom: 1.5rem; }

/* ==========================================================================
   Archive description
   ========================================================================== */
.archive-description { color: #52606d; max-width: 720px; margin-top: .5rem; }

/* ==========================================================================
   About page
   ========================================================================== */
.about-layout { margin-bottom: 3rem; }
.about-content h2 { margin-top: 2rem; color: #0a66c2; }
.about-content p { font-size: 1.05rem; line-height: 1.7; color: #323f4b; }

.mission-vision-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin-top: 2rem;
}
.mission, .vision {
    background: #f5f9ff;
    padding: 2rem;
    border-radius: 10px;
    border-top: 4px solid #0a66c2;
}
.mission h2, .vision h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.mission p, .vision p { color: #52606d; margin: 0; line-height: 1.7; }

@media (min-width: 768px) {
    .mission-vision-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   About page: Services CTA & Bottom CTA
   ========================================================================== */
.about-services-cta {
    background: linear-gradient(135deg, #e8f2fc 0%, #f5f9ff 100%);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}
.about-services-content { max-width: 800px; margin: 0 auto; }
.about-services-cta h2 { margin-bottom: 1rem; color: #0a66c2; }
.about-services-cta p { color: #323f4b; font-size: 1.05rem; margin-bottom: 1.5rem; }

/* Bottom CTA'da buton hizalaması için */
.cta-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
}
.cta-actions p { margin: 0; color: #d9e7f7; font-size: 0.95rem; }
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.15rem;
    background: #fff;
    color: #0a66c2;
}
.btn-large:hover {
    background: #e8f2fc;
    color: #084a8c;
}

@media (min-width: 768px) {
    .cta-actions { align-items: flex-start; text-align: left; }
}

/* ==========================================================================
   Contact Form 7 Styles
   ========================================================================== */
.wpcf7-form p { margin-bottom: 1rem; }
.wpcf7-form label { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 0.35rem; color: #1f2933; }

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd2d9;
    border-radius: 6px;
    background: #fff;
    font-family: inherit;
    font-size: 1rem;
    color: #1f2933;
    transition: border-color 0.2s ease;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: #0a66c2;
    outline: none;
}

.hrg-form-grid { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .hrg-form-grid { grid-template-columns: 1fr 1fr; } }

.hrg-form-submit input[type="submit"] {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    cursor: pointer;
}

/* Hata ve başarı mesajları */
.wpcf7-response-output {
    margin: 1rem 0 0 !important;
    padding: 1rem !important;
    border-radius: 6px;
    font-weight: 600;
}
.wpcf7 form.sent .wpcf7-response-output { background: #d1fae5; color: #065f46; border: 1px solid #10b981; }
.wpcf7 form.failed .wpcf7-response-output { background: #fee2e2; color: #991b1b; border: 1px solid #ef4444; }
.wpcf7-not-valid-tip { color: #ef4444; font-size: 0.85rem; margin-top: 0.25rem; display: block; }

/* ==========================================================================
   Custom Logo Size
   ========================================================================== */
.site-branding .custom-logo-link img,
.site-branding .custom-logo {
    max-height: 56px; /* İhtiyaca göre 40-60 arası değiştirebilirsiniz */
    width: auto;
    object-fit: contain;
}

@media (max-width: 767px) {
    .site-branding .custom-logo-link img,
    .site-branding .custom-logo {
        max-height: 48px;
    }
}

/* ==========================================================================
   Footer Logo
   ========================================================================== */
.footer-logo-link {
    display: inline-block;
    margin-bottom: 1rem;
}
.footer-logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

/* ==========================================================================
   Career Page
   ========================================================================== */
.career-layout {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
}
.career-benefits { list-style: none; padding: 0; margin: 0; }
.career-benefits li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #323f4b;
}
.career-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0a66c2;
    font-weight: bold;
}

.career-form-section {
    background: #f5f9ff;
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}
.career-form-wrapper {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e4e7eb;
}

@media (min-width: 1024px) {
    .career-layout { grid-template-columns: 2fr 1fr; }
}


/* ==========================================================================
   Testimonials (Hasta Yorumları)
   ========================================================================== */
.testimonials {
    background: #f5f9ff;
    padding: 4rem 0;
}
.testimonials-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}
.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #e4e7eb;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(10, 102, 194, 0.08);
}
.testimonial-stars {
    color: #f59e0b;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}
.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #323f4b;
    font-style: italic;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}
.testimonial-author {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #e4e7eb;
    padding-top: 1rem;
}
.testimonial-author strong {
    color: #1f2933;
    font-size: 1.05rem;
}
.testimonial-author span {
    color: #7b8794;
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Home Services (6/4/2 Grid)
   ========================================================================== */
.home-services {
    padding: 4rem 0;
    background: #fff;
}
.home-services-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr); /* Mobil: 2 sütun */
    margin-bottom: 2.5rem;
}
.home-service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.3rem 1.3rem;
    background: #f5f9ff;
    border: 1px solid #e4e7eb;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    min-height: 60px;
}
.home-service-card:hover,
.home-service-card:focus {
    background: #0a66c2;
    border-color: #0a66c2;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.15);
}
.home-service-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2933;
    line-height: 1.3;
    margin-bottom: 1rem;
}
.home-service-arrow {
    font-size: 1.25rem;
    color: #0a66c2;
    transition: transform 0.2s ease;
}
.home-service-card:hover .home-service-title,
.home-service-card:focus .home-service-title,
.home-service-card:hover .home-service-arrow,
.home-service-card:focus .home-service-arrow {
    color: #fff;
}
.home-service-card:hover .home-service-arrow,
.home-service-card:focus .home-service-arrow {
    transform: translateX(4px);
}
.home-services-action {
    text-align: center;
}

/* Tablet: 4 sütun */
@media (min-width: 768px) {
    .home-services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

/* Desktop: 6 sütun */
@media (min-width: 1024px) {
    .home-services-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.5rem;
    }
    .home-service-card {
        padding: 1.75rem 1.25rem;
        min-height: 130px;
    }
}

/* Related Posts Grid */
@media (min-width: 640px) {
    .related-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (min-width: 1024px) {
    .related-grid { grid-template-columns: repeat(4, 1fr) !important; }
}

/* Modern Featured Image */
.entry-thumb-modern {
    width: 100%;
    max-width: 900px; /* Çok fazla genişlemesini engellemek için */
    margin: 0 auto 3rem auto; /* Ortalar ve altına boşluk bırakır */
    overflow: hidden;
    background: #f5f9ff; /* Görsel yüklenene kadar hafif bir arka plan */
}

.entry-thumb-modern img {
    width: 100%;
    aspect-ratio: 10 / 4; /* İstediğiniz 10:4 oranı */
    object-fit: cover; /* Oranı bozmadan kırpar */
    display: block;
    border-radius: 0; /* Köşesiz (düz) görünüm */
}

/* Eğer içerik metni çok genişse okunabilirliği artırmak için */
.single-post .entry-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ==========================================================================
   FRONT PAGE: Hero (Background Image)
   ========================================================================== */
.hero {
    /* Arka plan görselinin üzerine okunabilirlik için koyu degrade */
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), 
                url('https://hrgdis.com/wp-content/uploads/2026/11/hrgdis-hero.webp') no-repeat center center;
    background-size: cover;
    padding: 6rem 0;
    color: #fff;
    position: relative;
}
.hero-inner { display: flex; align-items: center; }
.hero-content { max-width: 600px; } /* Yazıların resme girmemesi için genişliği sınırladık */

.hero-eyebrow {
    display: inline-block;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #0a66c2; /* Kurumsal mavi */
    margin-bottom: 1rem;
}
.hero-title { 
    margin-bottom: 1rem; 
    color: #1f2933; /* Koyu lacivert/siyah */
    font-weight: 800;
}
.hero-text { 
    font-size: 1.125rem; 
    color: #52606d; /* Koyu gri */
    margin-bottom: 2rem; 
}

/* Butonlar */
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.btn-primary { background: #0a66c2; color: #fff; }
.btn-primary:hover { background: #084a8c; }
.btn-outline {
    background: transparent;
    color: #0a66c2;
    border: 2px solid #0a66c2;
}
.btn-outline:hover { background: #0a66c2; color: #fff; }

/* Rozetler (Badges) */
.hero-badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0;
    margin: 0;
}
.hero-badges li {
    font-size: .9rem;
    font-weight: 600;
    color: #323f4b;
    padding-left: 1.4rem;
    position: relative;
}
.hero-badges li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0a66c2;
    font-weight: 700;
}

/* Mobilde resim yazıların arkasına geçmesin diye gizleyebilir veya alta alabiliriz */
@media (max-width: 991px) {
    .hero { background-size: cover; background-position: center; }
    .hero::before {
        content: "";
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(255, 255, 255, 0.85); /* Mobilde yazılar okunsun diye beyaz perde */
        z-index: 1;
    }
    .hero-inner { position: relative; z-index: 2; }
}

@media (min-width: 992px) {
    .hero { padding: 8rem 0; }
}

/* ==========================================================================
   Footer (Modern & Kurumsal)
   ========================================================================== */
.site-footer {
    background: #004082; /* Daha koyu, modern bir lacivert */
    color: #eceff2;
    padding: 4rem 0 0;
    margin-top: 4rem;
    font-size: 0.95rem;
}

.footer-inner {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
}

.footer-col h2.footer-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-col h2.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #0a66c2;
}

/* Hakkımızda Kolonu */
.footer-logo-link { display: inline-block; margin-bottom: 1.25rem; }
.footer-logo { max-height: 50px; width: auto; object-fit: contain; }
.footer-about p { line-height: 1.6; margin: 0; }

/* Menü Kolonu */
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 0.75rem; }
.footer-nav a { color: #94a3b8; text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; padding-left: 5px; }

/* İletişim Kolonu */
.footer-contact-list { list-style: none; margin: 0; padding: 0; }
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}
.contact-icon { font-size: 1.1rem; line-height: 1.4; }
.footer-contact-list a { color: #94a3b8; text-decoration: none; transition: color 0.2s; }
.footer-contact-list a:hover { color: #fff; }

/* Alt Bilgi (Copyright ve Yasal Linkler) */
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 1.5rem 0;
    font-size: 0.85rem;
    text-align: center;
}
.footer-bottom p { margin: 0.5rem 0 0 0; }

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.footer-legal-links a { color: #d1e8ff; text-decoration: none; transition: color 0.2s; }
.footer-legal-links a:hover { color: #fff; }
.footer-legal-links span { color: #334155; }

/* Responsive Grid */
@media (min-width: 768px) {
    .footer-inner { grid-template-columns: 1.5fr 1fr 1.5fr; gap: 2rem; }
    .footer-bottom { text-align: left; display: flex; justify-content: space-between; align-items: center; }
    .footer-legal-links { margin-bottom: 0; justify-content: flex-start; }
    .footer-bottom p { margin-top: 0; }
}

/* İletişim Kolonu */
.footer-contact-list { list-style: none; margin: 0; padding: 0; }
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}
.contact-icon { 
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1e8ff; /* İkonlar kurumsal mavi */
    margin-top: 2px; /* Yazıyla hizalanması için */
}
.footer-contact-list a { color: #eceff2; text-decoration: none; transition: color 0.2s; }
.footer-contact-list a:hover { color: #fff; }

.footer-about-text {
    color: #eceff2;
    margin-bottom: 1rem;
    line-height: 1.6;
}
.footer-more-link {
    display: inline-block;
    color: #60a5fa; /* Açık kurumsal mavi */
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-more-link:hover {
    color: #fff;
    text-decoration: underline;
}
/* ==========================================================================
   Header & Navigation (Mobil ve Masaüstü Uyumlu)
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff;
    border-bottom: 1px solid #e4e7eb;
    width: 100%;
}

/* Header İç Yapısı */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* Mobilde menü alta düşsün diye */
    min-height: 70px;
    padding: 0.5rem 1.5rem;
    max-width: 1200px; /* Sizin istediğiniz genişlik */
    margin: 0 auto; /* Ortalamak için (120px yerine) */
}

/* Hamburger İkonu */
.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
}
.hamburger-box { width: 24px; height: 14px; display: inline-block; position: relative; }
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 24px; height: 2px; background-color: #1f2933;
    position: absolute; transition: transform 0.3s ease;
}
.hamburger-inner { top: 50%; margin-top: -1px; }
.hamburger-inner::before { content: ""; top: -8px; }
.hamburger-inner::after { content: ""; top: 8px; }

/* Çarpı Animasyonu */
.menu-toggle.is-active .hamburger-inner { background-color: transparent; }
.menu-toggle.is-active .hamburger-inner::before { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-active .hamburger-inner::after { transform: translateY(-8px) rotate(-45deg); }

/* =========================================
   MOBİL GÖRÜNÜM (Varsayılan)
   ========================================= */
.main-navigation {
    display: none; /* Mobilde varsayılan gizli */
    width: 100%; /* Flex kırıldığında tam satır kaplar */
    margin-top: 1rem;
}
.main-navigation.is-open { display: block; }

.nav-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.nav-menu li { border-bottom: 1px solid #f0f4f8; }
.nav-menu a { display: block; padding: 1rem 0; color: #1f2933; font-weight: 600; text-decoration: none; }

/* Mobil Alt Menü */
.nav-menu .sub-menu { display: none; background: #f5f9ff; padding: 0.5rem 0; }
.nav-menu li.open > .sub-menu { display: block; }
.nav-menu .sub-menu a { padding: 0.75rem 1rem; font-weight: 500; color: #323f4b; }
.qtranxs-lang-menu > a { color: #0a66c2; }

/* =========================================
   MASAÜSTÜ GÖRÜNÜM (768px ve üzeri)
   ========================================= */
@media (min-width: 768px) {
    .menu-toggle { display: none; } /* Hamburger gizlenir */
    
    .header-inner {
        flex-wrap: nowrap; /* Her şey tek satırda kalır */
    }

    .main-navigation {
        display: block !important; /* Her zaman görünür */
        width: auto; /* Sadece içeriği kadar yer kaplar */
        margin-top: 0;
        margin-left: auto; /* Sağa yaslar */
    }

    .nav-menu {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }

    .nav-menu li {
        border-bottom: none;
        position: relative;
    }

    .nav-menu a {
        padding: 0;
    }

    /* Masaüstü Alt Menü */
    .nav-menu .sub-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        background: #fff;
        border: 1px solid #e4e7eb;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        border-radius: 8px;
        padding: 0.5rem 0;
        z-index: 9999;
    }

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

    .nav-menu .sub-menu a {
        padding: 0.75rem 1.5rem;
        width: 100%;
    }
    
    .nav-menu .sub-menu a:hover {
        background: #f5f9ff;
        color: #0a66c2;
    }
}


/* ==========================================================================
   HERO ALANI - KUSURSUZ RTL VE GÖRSEL AYARI
   ========================================================================== */

/* 1. Varsayılan (İngilizce vb. LTR) Diller */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #ffffff !important;
    /* Arka plan görselini bir katman olarak ekliyoruz */
    background-image: url('https://hrgdis.com/wp-content/uploads/2026/11/hrgdis-hero.webp') !important;
    background-repeat: no-repeat !important;
    background-position: right center !important; 
    background-size: cover !important;
}

.hero-content {
    max-width: 650px;
    margin-right: auto;
    margin-left: 0;
}

/* 2. Arapça (RTL) Dil Seçildiğinde */
html[lang="ar"] .hero {
    background-position: left center !important; /* Resmi sola yasla */

}

html[lang="ar"] .hero-content {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

/* 3. MÜHENDİSLİK ÇÖZÜMÜ: Arapça'da Görseli Aynala (Mirror) */
html[lang="ar"] .hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('https://hrgdis.com/wp-content/uploads/2026/11/hrgdis-hero.webp');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    transform: scaleX(-1); /* Görseli yatayda ters çevirir */
    z-index: 0;
}


@media (max-width: 991px) {
.hero::before {
background: #ffffff;
background: linear-gradient(214deg,rgba(255, 255, 255, 1) 8%, rgba(217, 227, 252, 1) 88%)!important;
}
}

/* İçeriğin aynalanan resmin üstünde kalmasını sağla */
html[lang="ar"] .hero-inner {
    position: relative;
    z-index: 1;
    justify-content: flex-start; /* İçeriği sola (RTL'de sağa) yasla */
}

/* ==========================================================================
   4'lü Görsel Galeri (Ana Sayfa Tedaviler Üstü)
   ========================================================================== */
.services-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Masaüstünde tek sıra 4 sütun */
    gap: 1rem;
    margin-bottom: 2rem; /* Görseller ve kartlar arası boşluk */
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1; /* Görsellerin kare olmasını sağlar (dilerseniz 4/3 yapabilirsiniz) */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05); /* Üzerine gelince hafif büyüme efekti */
}

/* Tablet ve Mobil için 2x2 Grid */
@media (max-width: 991px) {
    .services-gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* Mobil ve tablette 2 sütun (2x2) */
    }
}


/* Mobil Menü İçin Kaydırma (Scroll) Düzeltmesi */
@media (max-width: 767px) {
    .main-navigation.is-open {
        max-height: calc(100vh - 80px); /* Ekran yüksekliğinden header'ı çıkar */
        overflow-y: auto; /* İçerik sığmazsa aşağı kaydırma çubuğu çıkar */
        -webkit-overflow-scrolling: touch; /* iOS cihazlarda yumuşak kaydırma */
        padding-bottom: 2rem;
    }

    /* Açılan alt menülerin (dil seçenekleri vb.) de kendi içinde kaymasını sağla */
    .nav-menu .sub-menu {
        max-height: 250px; 
        overflow-y: auto;
    }
}