/*
Theme Name: Site Adı - KORENEL
Theme URI: https://korenel.com
Author: A. Yiğit Çevik
Author URI: 
Description: Korenel website custom theme
Tags: 
Version: 1.0
Requires at least: 5.3
Tested up to: 5.4
Requires PHP: 7.0
Bootstrap version: 5.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: korenel
*/

/* Small devices (tablets, 768px and up) */
@media (max-width: 768px) {
}

/* Medium devices (desktops, 992px and up) */
@media (max-width: 992px) {
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");

body {
  font-family: "Roboto", sans-serif;
  font-weight: normal;
  font-style: normal;
  color: #505056;
  overflow-x: hidden;
}

.korenel-logo {
  text-align: end;
}

.korenel-logo > a > img {
  width: auto;
  height: 12px;
}

@media (max-width: 768px) {
  .korenel-logo {
    text-align: center;
  }
}

/* Genel Stiller */

:root {
  --primary-color: #022f18;
  --primary-color-rgb: 2, 47, 24;
  --secondary-color: #0d2f1b;
  /*Button, Icon*/
  --text-color: #414042;
  /*Text*/
  --yellow-color: #ffa800;
  --blue-color: #0099ff;
  /*Text*/
  --line-color: #9b9a9b;
  --background-color: rgba(44, 62, 80, 0.9);
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.container {
  margin: 0 auto;
  padding: 0 20px;
}

/* Header ve Navigasyon */
header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 0;
  border-bottom: 1px solid #022f18;
}

.container-fluid {
  padding: 0;
  justify-content: center !important;
  gap: 50px;
}

.custom-logo {
  width: auto;
  height: 22px;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #064635;
  padding: 0.5rem 1rem;
}

.navbar-collapse {
  flex-grow: 0 !important;
  gap: 20px;
}

.navbar-nav-wrapper {
  width: 100%;
  margin: 0 auto;
}

.navbar-nav {
  display: flex;
  justify-content: space-around;
  text-align: center;
  width: 100%;
  gap: 20px;
}

.nav-item {
  align-content: center;
}

.nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 1rem 0.75rem !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--yellow-color);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--yellow-color) !important;
}

.nav-link:hover::after {
  width: 100%;
}

.navbar-extra {
  display: flex;
  align-items: center;
  place-content: center;
}

.social-media {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0.5rem 1.2rem;
  border-left: 1px solid var(--primary-color);
  border-right: 1px solid var(--primary-color);
}

.social-media a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  background-color: var(--primary-color);
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-media a:hover {
  background-color: var(--yellow-color);
}

.social-media i {
  color: white;
  font-size: 14px;
}

.language-selector {
  padding: 0.5rem 1rem;
}

.language-selector select {
  padding: 0.5rem;
  border: none;
  background-color: #fff;
  color: #064635;
}

/* Hero Bölümü */
#hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  font-family: "Times New Roman", Times, serif;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
}

#hero h1 {
  color: var(--text-color);
  font-size: 4rem;
  margin-bottom: 2rem;
  letter-spacing: 3px;
  line-height: 1.3;
}

.hero-svg {
  width: 200px;
  margin-bottom: 40px;
  height: auto;
}

.black-line {
  width: 100%;
  height: 100px;
  position: relative;
  background-color: var(--text-color);
}

@media (max-width: 1366px) {
  .footer-line {
    display: none;
  }
}

@media (max-width: 1279px) {
  #hero h1 {
    font-size: 3rem !important;
  }

  .news-box h2 {
    font-size: 28px !important;
  }

  .news-box {
    height: auto !important;
  }

  .post-item {
    flex: 0 0 calc(50% - 30px) !important;
  }

  .footer-line {
    display: none;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 1.2rem !important;
  }

  .news-box h2 {
    font-size: 20px !important;
  }
}

#content-boxes {
  position: relative;
  padding: 40px 0;
}

.content-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  /* Kutuları üst hizaya getir */
}

.blog-box {
  width: 40%;
  margin-right: 50px;
}

.blog-box img {
  width: 100%;
  height: 250px !important;
  object-fit: cover;
}

.news-content {
  padding: 20px 0;
}

.date {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
}

.blog-box h2 {
  color: var(--primary-color);
  font-size: 20px;
  margin-bottom: 15px;
}

.news-box {
  width: 40%;
  height: 600px;
  position: relative;
  top: -250px;
  margin-bottom: -100px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: right;
  border: 30px solid rgba(var(--primary-color-rgb), 0.5);
  box-shadow: inset 0 0 0 1000px rgba(255, 255, 255, 1);
}

.news-box h2 {
  color: var(--primary-color);
  font-size: 34px;
  margin-bottom: 15px;
}

.news-box p {
  color: #333;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-right-button {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-top: 12px;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button:hover,
.cta-right-button:hover {
  background-color: var(--yellow-color);
}

@media (max-width: 768px) {
  .blog-box img {
    height: 150px !important;
  }
}

/* Çalışma Alanları */
#work-areas {
  padding: 4rem 0;
  background-color: #f5f5f5;
}

#work-areas .title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5rem;
}

#work-areas h2 {
  text-align: center;
  color: var(--primary-color);
  position: relative;
  padding: 0 20px;
  margin: 0;
}

#work-areas h2::before,
#work-areas h2::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 1px;
  background-color: var(--line-color);
  width: 550px;
}

#work-areas h2::before {
  right: 100%;
}

#work-areas h2::after {
  left: 100%;
}

.work-areas-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.work-area {
  text-align: center;
  padding: 1.5rem;
  background-color: #ececec;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.work-area:hover {
  transform: translateY(-5px);
}

.work-area img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.work-area h3 {
  color: var(--primary-color);
  font-size: 22px;
  margin-bottom: 0.5rem;
}

.work-button {
  margin-top: auto;
  margin-bottom: -20px;
  padding-top: 10px;
  width: 100%;
}

.work-button hr {
  margin: 5px;
  border: 0;
  border-top: 1px solid var(--line-color);
}

.work-button a {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.work-button a:hover {
  background-color: var(--yellow-color);
  color: white;
}

/* Work Area Slide */

.work-areas-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.work-areas-slider-container {
  width: 100%;
  overflow: hidden;
}

.work-areas-slider {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.work-areas-slider::-webkit-scrollbar {
  display: none; /* WebKit */
}

.work-area-slide {
  flex: 0 0 calc(25% - 15px); /* Show 4 items, adjust margin */
  width: calc(25% - 15px);
  margin-right: 20px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  height: auto;
}

.work-area-slide img {
  width: 100%;
  height: 200px; /* Set a fixed height for images */
  object-fit: cover;
}

.work-area-slide h3 {
  margin-top: 10px;
  flex-grow: 1; /* Allow title to push content down */
}

.slider-nav-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 15px;
  bottom: 45px;
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
  position: relative; /* Changed from absolute */
}

.prev-button {
  margin-right: 10px;
}

.next-button {
  margin-left: 10px;
}

.slider-nav-button:hover {
  background-color: var(--yellow-color);
}

.slider-nav-button:focus {
  outline: none;
}

@media (max-width: 768px) {
  .work-areas-slider-container {
    width: 100%;
  }

  .work-area-slide {
    flex: 0 0 calc(100% - 0px);
    width: calc(100%);
  }

  .hero-svg {
    width: 100px;
    margin-bottom: 20px;
    height: auto;
  }
}

/* Teknoloji ve Hukuk Bölümü */
#contact-area {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
}

.contact-area-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.contact-area-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-area-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 1;
}

.contact-area-text h2 {
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-area-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.cta-contact-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--yellow-color);
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-contact-button:hover {
  background-color: var(--secondary-color);
}

/* Footer */
footer {
  background-color: #fff;
  color: var(--primary-color);
  padding: 2rem 0;
  border-top: 1px solid var(--line-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-links a {
  color: var(--primary-color);
  text-decoration: none;
  margin-right: 1.5rem;
  font-weight: 500;
}

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

.footer-social-media {
  display: flex;
}

.footer-social-media a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  margin-left: 1rem;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.footer-social-media a:hover {
  background-color: var(--yellow-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-logo img {
  width: auto;
}

.footer-line {
  border-left: 1px solid var(--line-color);
  height: 60px;
  margin-left: -200px;
  margin-right: -200px;
}

.text-right {
  text-align: right;
}

.footer-copyright,
.footer-address,
.footer-contact {
  margin: 0.5rem 0;
}

.see-maps {
  color: var(--yellow-color);
}

/* Genel responsive ayarları */
@media screen and (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media screen and (max-width: 992px) {
  .container {
    max-width: 720px;
  }
}

@media screen and (max-width: 768px) {
  .container {
    max-width: 540px;
  }
}

@media screen and (max-width: 576px) {
  .container {
    max-width: 100%;
    padding: 0 15px;
  }
}

/* Header ve Navigasyon */
@media screen and (max-width: 768px) {
  nav {
    flex-direction: column;
    padding: 1rem;
  }

  .navbar-menus {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .navbar-extra {
    flex-direction: column;
  }

  .social-media {
    border: none;
    padding: 15px 0;
    justify-content: space-evenly;
  }

  .language-selector {
    text-align: center;
  }
}

/* Hero Bölümü */
@media screen and (max-width: 768px) {
  #hero {
    height: 30vh;
  }

  .hero-content h1 {
    font-size: 1.5rem !important;
  }
}

/* Content Boxes */
@media screen and (max-width: 992px) {
  .content-container {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .blog-box,
  .news-box {
    width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
  }

  .news-box {
    top: 0;
    height: auto;
    margin-bottom: 30px;
  }
}

/* Çalışma Alanları */
@media screen and (max-width: 992px) {
  .work-areas-grid {
    flex-wrap: wrap;
  }

  .work-area {
    width: calc(50% - 20px);
  }
}

@media screen and (max-width: 576px) {
  .work-area {
    width: 100%;
  }

  #work-areas h2::before,
  #work-areas h2::after {
    content: none;
  }
}

/* Footer */
@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    margin-bottom: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-line {
    display: none;
  }

  .text-right {
    text-align: center;
  }
}

/* Ekip sayfası için özel stiller */
#team-hero {
  position: relative;
  width: 100%;
  height: 30vh;
  overflow: hidden;
}

#team-hero .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#team-hero .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#team-hero .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 1;
}

#team-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

#team-intro {
  background-color: #f5f5f5;
  padding: 4rem 0;
  text-align: center;
}

#team-intro h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.team-category {
  margin-bottom: 20px;
}

.team-title {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.team-hr {
  margin-bottom: 2rem;
  border: none;
  height: 2px;
  background: var(--primary-color);
}

.korenel-admin-meta-textarea {
  min-height: 100px;
}

.korenel-admin-image-preview {
  max-width: 100px;
  max-height: 100px;
  margin-top: 10px;
}

.add-team-member,
.remove-team-member,
.korenel-admin-remove-category {
  margin-top: 10px;
}

#team-members {
  padding: 4rem 0;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 5rem;
}

.team-member {
  flex: 0 0 calc(33.333% - 2rem);
  max-width: 300px;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 2rem;
}

.team-member h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.team-members-title {
  color: var(--primary-color);
  margin-bottom: 3rem;
  text-align: center;
}

.team-member p {
  color: var(--text-color);
  margin-bottom: 2rem;
}

.team-member .t-read-more {
  display: inline-block;
  padding: 0.5rem 1rem;
  max-width: fit-content;
  border: none;
  background-color: var(--primary-color);
  color: #f0f0f0;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.team-member .t-read-more:hover {
  background-color: var(--yellow-color);
}

@media screen and (max-width: 1024px) {
  .practice-areas-container {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media screen and (max-width: 768px) {
  #practice-areas-hero {
    height: 40vh;
  }

  #practice-areas-hero h1 {
    font-size: 2rem;
  }

  .practice-areas-container {
    grid-template-columns: 1fr !important;
  }

  .team-member {
    flex: 0 0 auto;
    width: 90%;
  }
}

/* Teams Modal */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80% !important;
  width: 1400px;
  max-width: max-content;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  padding-bottom: 50px;
}

.close {
  color: #aaa;
  margin: auto;
  margin-right: 0;
  font-size: 34px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
}

.member-info {
  display: flex;
  gap: 20px;
}

.member-image {
  flex: 0 0 300px;
}

.member-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.member-text {
  flex: 1;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95% !important;
    margin: 10% auto;
  }

  .member-info {
    flex-direction: column;
  }

  .member-image {
    flex: 0 0 auto;
    max-width: 100%;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Çalışma Alanlarımız Sayfası Stilleri */

#practice-areas-hero {
  position: relative;
  width: 100%;
  height: 30vh;
  overflow: hidden;
}

#practice-areas-hero .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#practice-areas-hero .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#practice-areas-hero .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 1;
}

#practice-areas-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

#practice-areas-intro {
  background-color: #f5f5f5;
  padding: 4rem 0;
  text-align: center;
}

#practice-areas-intro h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

#practice-areas-grid {
  padding: 4rem 0;
}

.practice-areas-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.practice-area-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.practice-area-item:hover {
  transform: translateY(-5px);
}

.practice-area-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.practice-area-item h3 {
  color: var(--primary-color);
  padding: 1rem;
  margin: 0;
  text-align: center;
}

.practice-area-item p {
  color: var(--text-color);
  padding: 0 1rem 1rem;
  text-align: center;
}

.practice-area-item .read-more {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  margin: 0 1rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.practice-area-item .read-more:hover {
  background-color: var(--yellow-color);
}

#contact-cta {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

#contact-cta h2 {
  margin-bottom: 1rem;
}

#contact-cta .cta-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--yellow-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

#contact-cta .cta-button:hover {
  background-color: #fff;
  color: var(--primary-color);
}

/* Haberler & Blog Sayfası Stilleri */

#news-blog-hero {
  position: relative;
  width: 100%;
  height: 30vh;
  overflow: hidden;
}

#news-blog-hero .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#news-blog-hero .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#news-blog-hero .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 1;
}

#news-blog-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

#news-blog-content {
  padding: 4rem 0;
}

.content-wrapper {
  display: flex;
  gap: 2rem;
}

.main-content {
  flex: 1;
}

.sidebar {
  width: 300px;
}

.post-grid {
  display: flex;
  flex-wrap: wrap;
  margin: -15px; /* Negatif margin to counteract item margins */
}

.post-item {
  flex: 0 0 calc(33.333% - 30px); /* 3 columns */
  margin: 15px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.post-item img {
  width: 100%;
  height: 300px;
  overflow: hidden;
  object-fit: cover;
}

.post-content {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  height: 340px;
}

.post-category {
  display: inline-block;
  background-color: var(--yellow-color);
  color: #f0f0f0;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.news-category {
  display: inline-block;
  background-color: var(--blue-color);
  color: #f0f0f0;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.post-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.post-excerpt {
  color: var(--text-color);
  margin-bottom: 1rem;
}

.read-more {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: auto;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.pagination > * {
  margin: 0 0.25rem;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #f5f5f5;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 4px;
}

.pagination .page-numbers.current {
  background-color: var(--primary-color);
  color: white;
}

.pagination .page-numbers:hover:not(.current) {
  background-color: #e0e0e0;
}

.widget {
  background-color: #f5f5f5;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.widget h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.widget ul {
  list-style-type: none;
  padding: 0;
}

.widget ul li {
  margin-bottom: 0.5rem;
}

.widget ul li a {
  color: var(--text-color);
  text-decoration: none;
}

#newsletter-signup {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

#newsletter-signup h2 {
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.newsletter-form input[type="email"] {
  padding: 0.5rem 1rem;
  width: 300px;
  border: none;
  border-radius: 4px 0 0 4px;
}

.newsletter-form .cta-button {
  padding: 0.5rem 1rem;
  background-color: var(--yellow-color);
  color: var(--primary-color);
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form .cta-button:hover {
  background-color: #fff;
}

.post-grid {
  display: flex;
  flex-wrap: wrap;
}

.post-row {
  display: flex;
  width: 100%;
}

@media (max-width: 991px) {
  .post-item {
    flex: 0 0 calc(50% - 30px); /* 2 columns on medium screens */
  }

  .post-grid {
    justify-content: center;
    margin: 0;
  }
}

@media screen and (max-width: 768px) {
  #news-blog-hero {
    height: 40vh;
  }

  #news-blog-hero h1 {
    font-size: 2rem;
  }

  .content-wrapper {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .post-item {
    flex: 0 0 100% !important;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-form input[type="email"] {
    width: 100%;
    max-width: 300px;
    margin-bottom: 1rem;
    border-radius: 4px;
  }

  .newsletter-form .cta-button {
    width: 100%;
    max-width: 300px;
    border-radius: 4px;
  }
}

/* Share Button */
.share-button-container {
  margin: 20px 0;
}

.share-button {
  padding: 10px 5px;
  font-size: 16px;
  background-color: transparent;
  color: var(--blue-color);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.social-share-buttons {
  margin: 20px 0;
}

.fa-share-nodes {
  color: var(--blue-color);
}

/* Category Filter */

.filter-space-area {
  height: 500px;
}

.category-filter {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.filter-btn {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  margin: 0 10px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: white;
}

.filter-btn:focus {
  box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.3);
}

/* Animasyon için */
@keyframes buttonPop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.filter-btn:active {
  animation: buttonPop 0.3s ease;
}

/* Single Post */
/* Single Post Styles */

.single-post {
  margin-bottom: 60px;
}

.single-post .entry-header {
  background-color: #f8f9fa;
  padding: 40px 0;
  margin-bottom: 30px;
}

.single-post .entry-title {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.single-post .entry-meta {
  margin-bottom: 20px;
  font-size: 0.9em;
}

.single-post .post-category {
  background-color: var(--primary-color);
  color: white;
  padding: 5px 10px;
  border-radius: 3px;
  margin-right: 10px;
}

.single-post .post-date {
  color: #6c757d;
}

.single-post .featured-image {
  float: right;
  margin: 0 0 20px 20px;
  max-width: 50%;
}

.single-post .featured-image img {
  border-radius: 8px;
}

.single-post .entry-content {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 30px;
}

.single-post .post-tags {
  clear: both;
  margin-bottom: 30px;
}

.single-post .tag {
  display: inline-block;
  background-color: #f8f9fa;
  color: #495057;
  padding: 5px 10px;
  margin-right: 5px;
  margin-bottom: 5px;
  border-radius: 3px;
  font-size: 0.9em;
  text-decoration: none;
}

.single-post .post-navigation {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  padding: 20px 0;
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}

.single-post .post-navigation a {
  max-width: 45%;
  text-decoration: none;
  color: #495057;
}

.single-post .nav-label {
  display: block;
  font-size: 0.9em;
  color: #6c757d;
  margin-bottom: 5px;
}

.single-post .related-posts {
  margin-top: 40px;
}

.single-post .related-posts h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.single-post .related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.single-post .related-posts-grid a,
.single-post .related-posts-grid h4 {
  text-decoration: none;
}

.single-post .related-post-item {
  background-color: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

.single-post .related-post-image {
  display: block;
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.single-post .related-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.single-post .related-post-item:hover .related-post-image img {
  transform: scale(1.1);
}

.single-post .related-post-content {
  padding: 15px;
}

.single-post .related-post-content h4 {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.single-post .related-post-content h4 a {
  color: var(--secondary-color);
}

.single-post .related-post-date,
.single-post .related-post-category {
  font-size: 0.9em;
  color: #6c757d;
  display: block;
}

/* Sidebar Styles */
.sidebar {
  padding-left: 30px;
}

.sidebar-widget {
  margin-bottom: 40px;
}

.sidebar-widget h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.5em;
}

/* Archive Accordion Styles */
#archive-accordion .archive-year {
  background-color: #f8f9fa;
  color: var(--primary-color);
  padding: 15px;
  margin-bottom: 5px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  position: relative;
  font-weight: bold;
}

#archive-accordion .archive-year:hover {
  background-color: #e9ecef;
}

#archive-accordion .archive-year::after {
  content: "\25BC";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

#archive-accordion .archive-year.active::after {
  transform: translateY(-50%) rotate(180deg);
}

#archive-accordion .archive-posts {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #ffffff;
  border-radius: 0 0 5px 5px;
}

#archive-accordion .archive-posts ul {
  list-style-type: none;
  padding: 0 15px 15px;
  margin: 0;
}

#archive-accordion .archive-posts li {
  margin-bottom: 10px;
  padding: 10px;
  border-bottom: 1px solid #e9ecef;
}

#archive-accordion .archive-posts li:last-child {
  border-bottom: none;
}

#archive-accordion .archive-posts a {
  color: #495057;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 5px;
}

#archive-accordion .archive-posts a:hover {
  color: var(--primary-color);
}

.archive-post-date {
  font-size: 0.8em;
  color: #6c757d;
  display: block;
  margin-bottom: 5px;
}

.archive-post-category {
  font-size: 0.8em;
  color: #ffffff;
  background-color: var(--primary-color);
  display: inline-block;
  padding: 2px 5px;
  border-radius: 3px;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .sidebar {
    padding-left: 15px;
    margin-top: 40px;
  }

  .single-post .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .alignright {
    width: 100%;
    height: auto;
  }

  .single-post .entry-title {
    font-size: 1.5em;
  }

  .single-post .featured-image {
    float: none;
    margin: 0 0 20px 0;
    max-width: 100%;
  }

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

  .single-post .post-navigation {
    flex-direction: column;
  }

  .single-post .post-navigation a {
    max-width: 100%;
    margin-bottom: 10px;
  }
}

/* Sosyal Sorumluluk Sayfası Stilleri */

#social-responsibility-hero {
  position: relative;
  width: 100%;
  height: 30vh;
  overflow: hidden;
}

#social-responsibility-hero .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#social-responsibility-hero .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#social-responsibility-hero .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 1;
}

#social-responsibility-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

#social-responsibility-hero p {
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#our-mission {
  background-color: #f5f5f5;
  padding: 4rem 0;
  text-align: center;
}

#our-mission h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

#current-projects {
  padding: 4rem 0;
}

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

.project-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.project-item:hover {
  transform: translateY(-5px);
}

.project-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-item h3 {
  color: var(--primary-color);
  padding: 1rem;
  margin: 0;
}

.project-item p {
  color: var(--text-color);
  padding: 0 1rem 1rem;
}

.project-item .read-more {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  margin: 0 1rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.project-item .read-more:hover {
  background-color: var(--yellow-color);
}

#impact-numbers {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.impact-item .impact-number {
  font-size: 3rem;
  font-weight: bold;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--yellow-color);
}

#get-involved {
  padding: 4rem 0;
  text-align: center;
  background-color: #f5f5f5;
}

#get-involved h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

#get-involved .cta-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

#get-involved .cta-button:hover {
  background-color: var(--yellow-color);
}

@media screen and (max-width: 1279px) {
  .project-item img {
    height: 150px;
  }
}

@media screen and (max-width: 768px) {
  #social-responsibility-hero {
    height: 40vh;
  }

  #social-responsibility-hero h1 {
    font-size: 2rem;
  }

  #social-responsibility-hero p {
    font-size: 1rem;
  }

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

/* Üyelikler Bölümü Stilleri */
#memberships {
  padding: 4rem 0;
  background-color: #f5f5f5;
}

#memberships h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2rem;
}

.membership-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.membership-logo {
  flex: 0 0 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.membership-logo:hover {
  transform: translateY(-5px);
}

.membership-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.membership-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .membership-logo {
    flex: 0 0 120px;
    height: 120px;
  }
}

/* Akademi & Eğitim Sayfası Stilleri */

#academy-hero {
  position: relative;
  width: 100%;
  height: 30vh;
  overflow: hidden;
}

#academy-hero .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#academy-hero .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#academy-hero .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 1;
}

#academy-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

#academy-hero p {
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#academy-intro {
  background-color: #f5f5f5;
  padding: 4rem 0;
  text-align: center;
}

#academy-intro h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

#education-programs {
  padding: 4rem 0;
}

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

.program-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.program-item:hover {
  transform: translateY(-5px);
}

.program-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.program-item h3 {
  color: var(--primary-color);
  padding: 1rem;
  margin: 0;
}

.program-item p {
  color: var(--text-color);
  padding: 0 1rem 1rem;
}

.program-item .read-more {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  margin: 0 1rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.program-item .read-more:hover {
  background-color: var(--yellow-color);
}

#upcoming-events {
  background-color: #f5f5f5;
  padding: 4rem 0;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-item {
  display: flex;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.event-date {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  min-width: 100px;
}

.event-details {
  padding: 1rem;
  flex-grow: 1;
}

.event-details h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.event-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--yellow-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  margin-top: 0.5rem;
}

.event-link:hover {
  background-color: var(--primary-color);
  color: white;
}

#publications {
  padding: 4rem 0;
}

.publication-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.publication-item {
  background-color: #f5f5f5;
  padding: 1.5rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.publication-item:hover {
  transform: translateY(-5px);
}

.publication-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.publication-item p {
  color: var(--text-color);
  margin-bottom: 1rem;
}

#contact-academy {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

#contact-academy h2 {
  margin-bottom: 1rem;
}

#contact-academy .cta-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--yellow-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

#contact-academy .cta-button:hover {
  background-color: white;
}

@media screen and (max-width: 768px) {
  #academy-hero {
    height: 40vh;
  }

  #academy-hero h1 {
    font-size: 2rem;
  }

  #academy-hero p {
    font-size: 1rem;
  }

  .event-item {
    flex-direction: column;
  }

  .event-date {
    width: 100%;
    padding: 0.5rem;
  }
}

/* Single Social Project Styles */
.single-social-project {
  margin-bottom: 60px;
}

.project-hero {
  position: relative;
  height: 50vh;
  overflow: hidden;
}

.project-featured-image {
  width: 400px;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-featured-image.alignleft {
  float: left;
  margin-right: 40px;
  margin-bottom: 40px;
}

.project-featured-image:hover {
  transform: translateY(-5px);
}

.project-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  color: white;
}

.project-hero-content .entry-title {
  font-size: 2.5em;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.project-content-wrapper {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.project-main-content {
  width: 100%;
}

.project-sidebar {
  flex: 1;
}

.project-description,
.project-goals,
.project-impact {
  margin-bottom: 40px;
}

.project-description h2,
.project-goals h2,
.project-impact h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.project-details-widget,
.project-cta-widget {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.project-details-widget h3,
.project-cta-widget h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.project-details-widget ul {
  list-style-type: none;
  padding: 0;
}

.project-details-widget li {
  margin-bottom: 10px;
}

.project-cta-widget .cta-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.project-cta-widget .cta-button:hover {
  background-color: var(--yellow-color);
}

.post-navigation {
  margin: 40px 0;
  padding: 20px 0;
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}

.nav-links {
  display: flex;
  justify-content: space-between;
}

.nav-previous,
.nav-next {
  max-width: 45%;
}

.nav-subtitle {
  display: block;
  font-size: 0.9em;
  color: #6c757d;
}

.nav-title {
  font-weight: bold;
  color: var(--primary-color);
}

.related-projects {
  margin-top: 60px;
}

.related-projects h2 {
  color: var(--primary-color);
  margin-bottom: 30px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.project-item:hover {
  transform: translateY(-5px);
}

.project-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-item h3 {
  color: var(--primary-color);
  padding: 15px;
  margin: 0;
}

.project-item p {
  padding: 0 15px 15px;
}

.project-item .read-more {
  display: inline-block;
  padding: 5px 15px;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  margin: 0 15px 15px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.project-item .read-more:hover {
  background-color: var(--yellow-color);
}

@media (max-width: 768px) {
  .project-content-wrapper {
    flex-direction: column;
  }

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

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-previous,
  .nav-next {
    max-width: 100%;
    margin-bottom: 15px;
  }
}

/* Academy Coming Soon Styles */
#academy-coming-soon {
  background-color: #f8f9fa;
  padding: 4rem 0;
  text-align: center;
}

#academy-coming-soon h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.coming-soon-features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.feature-item {
  flex-basis: calc(33.333% - 2rem);
  margin: 1rem;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

#stay-tuned {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.subscribe-form {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.subscribe-form input[type="email"] {
  padding: 0.5rem 1rem;
  width: 300px;
  border: none;
  border-radius: 4px 0 0 4px;
}

.subscribe-form .cta-button {
  padding: 0.5rem 1rem;
  background-color: var(--yellow-color);
  color: var(--primary-color);
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.subscribe-form .cta-button:hover {
  background-color: #fff;
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .coming-soon-features {
    flex-direction: column;
  }

  .feature-item {
    flex-basis: 100%;
  }

  .subscribe-form {
    flex-direction: column;
    align-items: center;
  }

  .subscribe-form input[type="email"],
  .subscribe-form .cta-button {
    width: 100%;
    max-width: 300px;
    margin-bottom: 1rem;
    border-radius: 4px;
  }
}

/* Yakında Gelecek Bölümler Stili */
.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 50px 0;
  margin-bottom: 3rem;
}

.coming-soon-item {
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.coming-soon-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.coming-soon-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  height: 60px;
  width: 60px;
  line-height: 60px;
  border-radius: 50%;
  background: rgba(var(--primary-color-rgb), 0.1);
  margin: 0 auto 1.5rem;
}

.coming-soon-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.coming-soon-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.coming-soon-badge {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.6rem 1.2rem;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(var(--primary-color-rgb), 0.2);
}

.coming-soon-item:hover .coming-soon-badge {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.3);
}

/* Akademik Çalışmalar Listesi */
.academic-list {
  max-width: 1400px;
  margin: 0 auto;
  margin-bottom: 100px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.academic-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8rem 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  gap: 2rem;
}

.academic-item:last-child {
  border-bottom: none;
}

.academic-item:hover {
  background-color: rgba(var(--primary-color-rgb), 0.02);
}

.academic-item-content {
  flex: 1;
}

.academic-item h3 {
  color: var(--primary-color);
  margin: 0 0 0.5rem 0;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.4;
}

.academic-date {
  color: #777;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.academic-date i {
  color: var(--yellow-color);
}

.academic-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  border: 2px solid transparent;
}

.academic-link:hover {
  background-color: #fff;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.academic-link i {
  font-size: 0.85rem;
}

/* Section Title */
.section-title {
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  padding-bottom: 1.5rem;
}

.section-title h2 {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* Responsive Tasarım */
@media (max-width: 992px) {
  .coming-soon-grid {
    gap: 1.5rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .coming-soon-grid {
    grid-template-columns: 1fr;
  }

  .academic-item {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
  }

  .academic-link {
    width: 100%;
    justify-content: center;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .coming-soon-item {
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  .academic-list {
    margin: 0 1rem;
  }

  .academic-item h3 {
    font-size: 1.1rem;
  }
}

/* Modal Styles */
.academic-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  overflow: hidden; /* Modal'ın kendisi scroll olmasın */
  padding: 20px;
}

.academic-modal-content {
  position: relative;
  background: #fff;
  margin: 40px auto;
  width: 100%;
  max-width: 800px;
  height: calc(
    100vh - 80px
  ); /* Ekran yüksekliğinden üst ve alt margin'i çıkar */
  max-height: 700px; /* Maximum yükseklik */
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.academic-modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 28px;
  font-weight: 300;
  color: #666;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 1;
}

.academic-modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #333;
}

.academic-modal-header {
  padding: 30px 40px;
  border-bottom: 1px solid #eee;
  background: rgba(var(--primary-color-rgb), 0.03);
  flex-shrink: 0;
}

.modal-title {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin: 0 0 10px 0;
  padding-right: 40px;
  line-height: 1.3;
}

.modal-date {
  color: #666;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-date i {
  color: var(--yellow-color);
}

.academic-modal-body {
  padding: 30px 40px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  overflow-y: auto;
  flex: 1;
}

.academic-modal-body p {
  margin-bottom: 1rem;
}

.academic-modal-body h2,
.academic-modal-body h3,
.academic-modal-body h4 {
  color: var(--primary-color);
  margin: 1.5rem 0 1rem;
}

.academic-modal-footer {
  padding: 20px 40px;
  border-top: 1px solid #eee;
  text-align: right;
  background: rgba(var(--primary-color-rgb), 0.03);
  flex-shrink: 0;
}

/* Modal açma butonu */
.academic-modal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
}

.academic-modal-btn:hover {
  background-color: #fff;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.academic-modal-btn i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.academic-modal-btn:hover i {
  transform: translateX(3px);
}

/* Link stili */
.academic-modal-footer .academic-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
}

.academic-modal-footer .academic-link:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Body scroll engelleme */
body.modal-open {
  overflow: hidden;
}

/* Scrollbar stilini özelleştir */
.academic-modal-body::-webkit-scrollbar {
  width: 8px;
}

.academic-modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.academic-modal-body::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.academic-modal-body::-webkit-scrollbar-thumb:hover {
  background: #666;
}


/* Responsive düzenlemeler */
@media (max-width: 768px) {

  .custom-logo {
    width: auto;
    height: 18px;
  }

  .academic-modal {
    align-content: center;
  }

  .academic-modal-content {
    margin: 20px auto;
        height: calc(100vh - 40px);
  }

  .academic-modal-header,
    .academic-modal-footer {
        padding: 20px;
    }

  .modal-title {
    font-size: 1.5rem;
  }

  .academic-modal-body {
    padding: 20px;
  }

}

@media (max-width: 576px) {
  .academic-modal {
    padding: 10px;
  }

  .academic-modal-content {
    margin: 10px auto;
  }

  .modal-title {
    font-size: 1.3rem;
  }

  .academic-modal-footer .academic-link {
    width: 100%;
    justify-content: center;
  }
}
