/* ===========================
   GENEL AYARLAR
   =========================== */
:root {
    --primary-color: #2c3e50;
    --accent-color: #2ecc71;
    --light-bg: #f9f9f9;
    --text-color: #333;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

section[id] {
    scroll-margin-top: 108px;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   ERISILEBILIRLIK
   =========================== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--accent-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 0 0 5px 5px;
    z-index: 10000;
    font-weight: bold;
}

.skip-link:focus {
    top: 0;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ===========================
   TOP BAR
   =========================== */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info i {
    margin-right: 5px;
    color: var(--accent-color);
}

.contact-info span {
    margin-right: 20px;
}

.social-icons a {
    color: var(--white);
    margin-left: 15px;
}

.social-icons a:hover {
    color: var(--accent-color);
}

/* ===========================
   SABIT SOSYAL BUTONLAR
   =========================== */
.floating-social {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2000;
}

.floating-social a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.floating-social .whatsapp {
    background: #25D366;
}

.floating-social .instagram {
    background: #C13584;
}

.floating-social .maps {
    background: #e74c3c;
}

.floating-social a:hover {
    transform: translateY(-2px);
}

/* ===========================
   HEADER & MENU
   =========================== */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 62px;
}

.logo {
    font-size: 1.28rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 22px;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary-color);
}

.nav-links a.nav-active {
    color: var(--accent-color);
}

.nav-links a:hover {
    color: #27ae60;
}

.nav-links a.nav-active:hover {
    color: #1e8449;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
    background: none;
    border: none;
}

.btn-randevu {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: bold;
}

.btn-randevu:hover {
    background-color: #27ae60;
    color: var(--white);
}

/* ===========================
   SECTION TITLE (ortak)
   =========================== */
.section-title {
    color: var(--accent-color);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

/* ===========================
   ILETISIM BOLUMU (ortak)
   =========================== */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: stretch;
}

.contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 5px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-list i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.map-frame {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 10px;
}

.contact-note {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-left: 4px solid #4CAF50;
    border-radius: 4px;
}

.contact-social-buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-whatsapp,
.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-whatsapp {
    background: #25D366;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.btn-whatsapp i,
.btn-instagram i {
    font-size: 20px;
}

/* ===========================
   FOOTER
   =========================== */
footer {
    background-color: var(--primary-color);
    color: #bdc3c7;
    padding: 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
}

/* ===========================
   HOMEPAGE: HERO
   =========================== */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('https://via.placeholder.com/1920x800?text=Terapi+Ofisi');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-btns a {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    margin: 0 10px;
    font-weight: bold;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* ===========================
   HOMEPAGE: HAKKIMDA
   =========================== */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* ===========================
   HOMEPAGE: TEKNIKLER
   =========================== */
.techniques {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.techniques h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.techniques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.technique-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c5f7e 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    text-align: center;
    color: var(--white);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.technique-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.technique-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--white);
}

.technique-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.technique-card .btn {
    background: var(--white);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    margin-top: 10px;
    transition: 0.3s;
}

.technique-card .btn:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* ===========================
   HOMEPAGE: HIZMETLERIMIZ
   =========================== */
.services {
    padding: 80px 0;
    background-color: var(--light-bg);
    text-align: center;
}

.services h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card img {
    width: 250px;
    height: 170px;
    object-fit: contain;
    display: block;
    margin: 0 auto 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card a {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.9rem;
}

/* ===========================
   HOMEPAGE: SERTIFIKALAR SLIDER
   =========================== */
.certificates {
    padding: 80px 0;
    background-color: var(--white);
}

.certificates h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

.cert-slider {
    position: relative;
}

.cert-track {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cert-track::-webkit-scrollbar {
    display: none;
}

.cert-card {
    min-width: 280px;
    height: 340px;
    flex: 0 0 auto;
    background: var(--white);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cert-card img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.cert-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.cert-modal.active {
    display: flex;
}

.cert-modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.cert-modal-content img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.cert-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 20px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 5px;
}

.cert-modal-nav:hover {
    background: rgba(255, 255, 255, 0.4);
}

.cert-modal-prev {
    left: 20px;
}

.cert-modal-next {
    right: 20px;
}

.cert-card h4 {
    margin-top: 12px;
    color: var(--primary-color);
    font-size: 1rem;
}

.cert-file {
    height: 220px;
    border-radius: 8px;
    border: 1px dashed #d0d7de;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.cert-file i {
    font-size: 2rem;
    color: #e74c3c;
}

.cert-pdf {
    width: 100%;
    height: 220px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    background: var(--white);
}

.cert-pdf object,
.cert-pdf embed {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.cert-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 1px solid #e5e7eb;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
}

.cert-nav.prev {
    left: -10px;
}

.cert-nav.next {
    right: -10px;
}

/* ===========================
   HOMEPAGE: SSS
   =========================== */
.faq-section {
    padding: 80px 0;
}

/* ===========================
   ALT SAYFA: PAGE HERO
   =========================== */
.page-hero {
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 45px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* ===========================
   ALT SAYFA: HIZMET DETAY
   =========================== */
.service-detail {
    padding: 80px 0;
}

.service-detail-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.service-detail img {
    width: 100%;
    max-width: 320px;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    display: block;
    margin: 0 auto;
}

.service-text {
    max-width: 900px;
    width: 100%;
}

.service-text h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.service-text h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 10px;
}

.service-text p {
    margin-bottom: 14px;
}

.service-highlights {
    margin-top: 10px;
}

.service-highlights li {
    margin-bottom: 10px;
}

.service-highlights i {
    color: var(--accent-color);
    margin-right: 8px;
}

.cta-box {
    margin-top: 25px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cta-box a {
    background: var(--accent-color);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 5px;
    font-weight: bold;
    white-space: nowrap;
}

/* ===========================
   TEKNIKLER SAYFASI
   =========================== */
.technique-detail {
    padding: 80px 0;
    background-color: var(--white);
}

.technique-detail h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.technique-detail .section-title {
    text-align: center;
}

.technique-content {
    max-width: 900px;
    margin: 0 auto 60px;
}

.technique-image {
    width: 100%;
    max-width: 600px;
    margin: 30px auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.technique-text {
    margin-top: 30px;
}

.technique-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    margin-top: 30px;
}

.technique-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
}

.technique-highlights {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.technique-highlights li {
    padding: 12px 0;
    font-size: 1.05rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.technique-highlights i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    margin: 60px 0;
}

.technique-detail .cta-box {
    background: linear-gradient(135deg, var(--accent-color) 0%, #27ae60 100%);
    color: var(--white);
    padding: 30px;
    margin-top: 40px;
}

.technique-detail .cta-box strong {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 5px;
}

.technique-detail .cta-box a {
    background: var(--white);
    color: var(--accent-color);
    padding: 12px 30px;
    font-weight: 600;
}

.technique-detail .cta-box a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ===========================
   ONLINE TERAPI SAYFASI
   =========================== */
.intro-section {
    padding: 80px 0 40px;
    background-color: var(--white);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
}

.intro-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.intro-highlight-item {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.intro-highlight-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.intro-highlight-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.intro-highlight-item p {
    font-size: 0.95rem;
}

.online-services {
    padding: 60px 0 80px;
    background-color: var(--light-bg);
}

.online-services h2 {
    font-size: 2rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--primary-color);
}

.online-service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.online-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-content p {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 14px;
    color: var(--text-color);
}

.service-features {
    list-style: none;
    margin-bottom: 16px;
}

.service-features li {
    padding: 3px 0;
    font-size: 0.95rem;
    line-height: 1.45;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.service-features i {
    color: var(--accent-color);
    font-size: 1rem;
}

.btn-service {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: 0.3s;
}

.btn-service:hover {
    background: #27ae60;
}


/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        order: -1;
    }
    
    .logo {
        font-size: 1.1rem;
        margin-left: 10px;
        flex: 1;
        text-align: left;
    }
    
    .btn-randevu {
        padding: 6px 10px;
        font-size: 0.85rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 62px;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        gap: 15px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cert-card {
        flex: 0 0 auto;
        min-width: unset;
        width: min(300px, calc(100vw - 4rem));
        max-width: calc(100vw - 4rem);
    }

    .cert-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .techniques-grid {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .service-highlights {
        padding: 20px;
    }

    .cta-box {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .technique-text h3 {
        font-size: 1.5rem;
    }

    .technique-image {
        max-width: 100%;
    }

    .technique-highlights {
        padding: 20px;
    }

    .technique-detail .cta-box {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .intro-highlights {
        grid-template-columns: 1fr;
    }

    .online-services .services-grid {
        grid-template-columns: 1fr;
    }

    .service-features {
        font-size: 0.9rem;
    }
}
