/*
Theme Name: Klinik Psikolog Büşra Gizem Genç
Theme URI: https://busragizemgenc.com
Author: Büşra Gizem Genç
Author URI: https://busragizemgenc.com
Description: Çocuk, Ergen ve Yetişkinler için profesyonel psikolojik danışmanlık hizmetleri teması
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: busragenc
Tags: one-page, responsive, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Theme Styles */
:root {
  --color-primary: #D9AAB7;
  --color-secondary: #A6B1E1;
  --color-secondary-dark: #8A96C8;
  --color-accent: #F4F7F6;
  --color-text-dark: #4A4A4A;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--color-text-dark);
  line-height: 1.6;
  background-color: #fff;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Selection */
::selection {
  background-color: var(--color-primary);
  color: white;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

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

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

/* Utilities */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background-color: rgba(217, 170, 183, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: white;
  color: var(--color-text-dark);
  border: 2px solid transparent;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.fade-in-up {
  animation: fadeInUp 1s ease-out forwards;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}

/* Footer Styles */
.site-footer {
  background-color: var(--color-text-dark);
  color: white;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand {
  margin-bottom: 0.5rem;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin: 0 0 0.25rem 0;
}

.footer-subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 300px;
}

.site-footer .section-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin: 0 0 1rem 0;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.contact-item .icon {
  flex-shrink: 0;
}

.contact-item a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--color-primary);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--color-primary);
  color: white;
  transform: scale(1.1);
}

.legal-note p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-section {
    align-items: center;
  }

  .footer-description {
    max-width: 100%;
  }

  .contact-item {
    justify-content: center;
  }
}


/* Header Styles */
body {
  padding-top: 100px;
  /* Compensate for fixed header */
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(217, 170, 183, 0.2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  transition: height 0.3s ease;
}

.site-branding {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* New HTML Logo Styles */
.custom-logo-link-html {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 15px;
}

.logo-icon-img {
  height: 80px;
  width: auto;
  transition: height 0.3s ease;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-name-text {
  font-size: 24px;
  font-weight: 700;
  color: #D9AAB7;
  /* Soft Pink */
  line-height: 1.1;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  transition: font-size 0.3s ease;
  /* Ensuring modern font */
}

.logo-title-text {
  font-size: 19px;
  font-weight: 500;
  color: #A6B1E1;
  /* Soft Blue */
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  transition: font-size 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.site-header.scrolled .header-inner {
  height: 70px;
}

/* Scrolled Animation for HTML Logo */
.site-header.scrolled .logo-icon-img {
  height: 50px;
}

.site-header.scrolled .logo-name-text {
  font-size: 18px;
}

.site-header.scrolled .logo-title-text {
  font-size: 14px;
}

.site-title-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  margin: 0;
}

.site-subtitle {
  font-size: 0.875rem;
  color: var(--color-secondary);
  letter-spacing: 0.1em;
  font-weight: 500;
}

.nav-wrapper {
  display: flex;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-icon {
  width: 28px;
  height: 3px;
  background-color: var(--color-text-dark);
  transition: all 0.3s ease;
}

.nav-menu-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu-list li {
  margin: 0;
}

.nav-menu-list a {
  color: var(--color-text-dark);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
  display: block;
}

.nav-menu-list a:hover {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  /* Mobile Logo Fixes */
  .logo-icon-img {
    height: 50px;
  }

  .logo-name-text {
    font-size: 16px;
  }

  .logo-title-text {
    font-size: 12px;
  }

  .custom-logo-link-html {
    gap: 10px;
  }

  .mobile-menu-toggle {
    margin-left: 1rem;
  }
}

/* Smooth Scroll Offset for Fixed Header */
section[id] {
  scroll-margin-top: 120px;
}

@media (max-width: 768px) {
  section[id] {
    scroll-margin-top: 100px;
  }
}

@media (max-width: 768px) {
  .site-title {
    font-size: 1.25rem;
  }

  .site-subtitle {
    font-size: 0.75rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  }

  .nav-menu.active {
    display: block;
  }

  .nav-menu-list {
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .nav-menu-list li {
    width: 100%;
  }

  .nav-menu-list a {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: left;
    width: 100%;
  }
}

/* Social Feed Styles */
.social-feed-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

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

.instagram-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* Video Card */
.video-card {
  display: block;
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  background: #000;
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.video-card:hover .play-icon {
  opacity: 1;
}

.video-info {
  padding: 1rem;
}

.video-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-date {
  font-size: 0.875rem;
  color: #888;
}

/* Instagram Card */
.insta-card {
  position: relative;
  display: block;
  padding-bottom: 100%;
  /* 1:1 Aspect Ratio */
  border-radius: 0.5rem;
  overflow: hidden;
}

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

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

.insta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.insta-card:hover .insta-overlay {
  opacity: 1;
}

.social-error {
  text-align: center;
  color: #888;
  font-style: italic;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 0.5rem;
}

@media (max-width: 768px) {

  .youtube-grid,
  .instagram-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Single Post Improvements
   ========================================= */

/* Layout & Container */
.skin-narrow {
  max-width: 800px;
  margin: 0 auto;
}

.single-post-wrapper {
  padding-bottom: 4rem;
}

/* Hero Section */
.single-post-hero {
  padding: 3rem 0;
  text-align: center;
  background: linear-gradient(to bottom, #fff, #f9f9f9);
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 2.5rem;
  color: var(--color-text-dark);
  margin: 1rem 0;
  line-height: 1.3;
}

.post-meta-top {
  margin-bottom: 1rem;
}

.post-meta-top a {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 0.2rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.post-meta-top a:hover {
  background: var(--color-secondary);
}

.post-meta-bottom {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: #888;
}

.post-meta-bottom i {
  margin-right: 0.3rem;
  color: var(--color-primary);
}

/* Featured Image */
.post-featured-image {
  margin-bottom: 2.5rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Content Typography */
.entry-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #333;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

.entry-content h2 {
  font-size: 1.75rem;
}

.entry-content h3 {
  font-size: 1.5rem;
}

.entry-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #555;
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 0 0.5rem 0.5rem 0;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

/* Share Links */
.entry-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.share-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-label {
  font-weight: 600;
  margin-right: 0.5rem;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  transition: transform 0.2s;
}

.share-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.share-btn.twitter {
  background: #1DA1F2;
}

.share-btn.facebook {
  background: #4267B2;
}

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

/* Author Bio Box */
.author-bio-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fdfdfd;
  border: 1px solid #eee;
  padding: 2rem;
  border-radius: 0.75rem;
  margin-top: 3rem;
}

.author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-dark);
}

.author-desc {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.author-link {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* Post Navigation */
.post-navigation-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.nav-box {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid #eee;
  border-radius: 0.5rem;
  transition: all 0.3s;
}

.nav-box:not(.empty):hover {
  border-color: var(--color-primary);
  background: #fff9fb;
}

.nav-label {
  font-size: 0.8rem;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-title {
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.4;
}

.nav-box.next {
  text-align: right;
}

.nav-box.next .nav-label {
  justify-content: flex-end;
}

/* Related Posts */
.related-posts-section {
  margin-top: 4rem;
  border-top: 1px solid #eee;
  padding-top: 3rem;
}

.section-heading {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-heading::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-primary);
  margin: 0.5rem auto 0;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.related-post-card {
  transition: transform 0.3s;
}

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

.related-thumb-link {
  display: block;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 16/10;
  background: #eee;
}

.related-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.related-thumb-link:hover img {
  transform: scale(1.05);
}

.related-content .related-date {
  font-size: 0.8rem;
  color: #999;
  display: block;
  margin-bottom: 0.3rem;
}

.related-title {
  font-size: 1.1rem;
  line-height: 1.4;
}

.related-title a {
  color: var(--color-text-dark);
}

.related-title a:hover {
  color: var(--color-primary);
}

/* Comments */
.comments-area {
  margin-top: 4rem;
  padding-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .post-navigation-modern {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
  }

  .author-bio-box {
    flex-direction: column;
    text-align: center;
  }
}