/*---------------------------------------
  BLOG - BAŞLANGIÇ              
-----------------------------------------*/

/*---------------------------------------
  NAVBAR ACTIVE STATE - BAŞLANGIÇ              
-----------------------------------------*/
.dropdown-item.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white-color) !important;
}
/*---------------------------------------
  NAVBAR ACTIVE STATE - BİTİŞ              
-----------------------------------------*/

/*---------------------------------------
  MOBILE NAVBAR STYLES - BAŞLANGIÇ              
-----------------------------------------*/
@media (max-width: 991.98px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
  }
}
/*---------------------------------------
  MOBILE NAVBAR STYLES - BİTİŞ              
-----------------------------------------*/

/*---------------------------------------
  SECTION HEADER - BAŞLANGIÇ              
-----------------------------------------*/
.section-header {
  position: relative;
  text-align: left;
  margin-bottom: 50px;
}

.section-subtitle {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  line-height: 1.2;
  margin-bottom: 0;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  color: var(--p-color);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0;
}
/*---------------------------------------
  SECTION HEADER - BİTİŞ              
-----------------------------------------*/

/*---------------------------------------
  FEATURED NEWS SECTION - BAŞLANGIÇ              
-----------------------------------------*/
.featured-news-item {
  background: var(--white-color);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 1rem 3rem rgba(0,0,0,.1);
  border: 1px solid rgba(72, 192, 179, 0.1);
}

.news-image-wrapper {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.news-featured-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-image-wrapper:hover .news-featured-image {
  transform: scale(1.05);
}

.news-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white-color);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.news-content {
  padding-left: 20px;
}

.news-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.news-date,
.news-category {
  color: var(--p-color);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.news-title {
  color: var(--dark-color);
  font-size: 1.5rem;
  line-height: 1.3;
}

.news-excerpt {
  color: var(--p-color);
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more-btn {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}
/*---------------------------------------
  FEATURED NEWS SECTION - BİTİŞ              
-----------------------------------------*/

/*---------------------------------------
  FEATURED NEWS SMALL ITEMS - BAŞLANGIÇ              
-----------------------------------------*/
.featured-news-item-small {
  background: var(--white-color);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 1rem 3rem rgba(0,0,0,.1);
  border: 1px solid rgba(72, 192, 179, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-featured-image-small {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-news-item-small:hover .news-featured-image-small {
  transform: scale(1.05);
}

.news-content-small {
  padding-top: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-title-small {
  color: var(--dark-color);
  font-size: 1.2rem;
  line-height: 1.3;
  flex-grow: 1;
}

.news-excerpt-small {
  color: var(--p-color);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/*---------------------------------------
  FEATURED NEWS SMALL ITEMS - BİTİŞ              
-----------------------------------------*/

/*---------------------------------------
  NEWS CARDS SECTION - BAŞLANGIÇ              
-----------------------------------------*/
.news-card {
  background: var(--white-color);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 1rem 3rem rgba(0,0,0,.1);
  border: 1px solid rgba(72, 192, 179, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  overflow: visible;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1.5rem 4rem rgba(72, 192, 179, 0.2);
}

.news-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  margin: 0 0 20px 0;
  width: 100%;
  height: 250px;
}

.news-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  border-radius: 15px;
  display: block;
}

.news-card:hover .news-card-image {
  transform: scale(1.05);
}

.news-card-content {
  padding: 0;
}

.news-card-title {
  color: var(--dark-color);
  font-size: 1.4rem;
  line-height: 1.3;
  margin-bottom: 15px;
  font-weight: 600;
}

.news-card-excerpt {
  color: var(--p-color);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

.news-read-btn {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.news-read-btn:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.news-card {
  margin-bottom: 30px;
}

/* Featured News Card Style - For col-lg-12 cards (single row cards) */
.col-lg-12 .news-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow: visible;
  padding: 40px;
}

.col-lg-12 .news-image-container {
  flex: 0 0 40%;
  margin: 0;
  margin-right: 30px;
  border-radius: 15px;
  overflow: hidden;
  height: 280px;
}

.col-lg-12 .news-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.col-lg-12 .news-card-content {
  flex: 1;
  padding: 0;
  padding-left: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.col-lg-12 .news-card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  line-height: 1.3;
}

.col-lg-12 .news-card-excerpt {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Responsive adjustments for featured cards */
@media screen and (max-width: 991px) {
  .news-card {
    padding: 30px;
  }
  
  .news-image-container {
    height: 220px;
  }
  
  .col-lg-12 .news-card {
    flex-direction: column;
    padding: 30px;
  }
  
  .col-lg-12 .news-image-container {
    flex: none;
    margin-right: 0;
    margin-bottom: 20px;
    height: 200px;
  }
  
  .col-lg-12 .news-card-content {
    padding-left: 0;
  }
  
  .featured-news-item {
    padding: 30px;
  }
  
  .news-content {
    padding-left: 0;
    margin-top: 20px;
  }
  
  .news-featured-image {
    height: 250px;
  }
  
  .featured-news-item-small {
    padding: 20px;
    margin-bottom: 30px;
  }
  
  .news-featured-image-small {
    height: 180px;
  }
  
  .news-title-small {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 768px) {
  .news-card {
    padding: 25px;
  }
  
  .news-image-container {
    height: 200px;
  }
  
  .news-card-title {
    font-size: 1.2rem;
  }
  
  .col-lg-12 .news-card {
    padding: 25px;
  }
  
  .col-lg-12 .news-image-container {
    height: 180px;
  }
  
  .col-lg-12 .news-card-title {
    font-size: 1.3rem;
  }
  
  .featured-news-item {
    padding: 25px;
  }
  
  .news-title {
    font-size: 1.3rem;
  }
  
  .news-meta {
    flex-direction: column;
    gap: 10px;
  }
  
  .featured-news-item-small {
    padding: 15px;
  }
  
  .news-featured-image-small {
    height: 160px;
  }
  
  .news-title-small {
    font-size: 1rem;
  }
  
  .news-excerpt-small {
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 480px) {
  .news-card {
    padding: 20px;
  }
  
  .news-image-container {
    height: 180px;
  }
  
  .news-card-title {
    font-size: 1.1rem;
  }
  
  .col-lg-12 .news-card {
    padding: 20px;
  }
  
  .col-lg-12 .news-image-container {
    height: 160px;
  }
  
  .col-lg-12 .news-card-title {
    font-size: 1.2rem;
  }
  
  .news-featured-image {
    height: 200px;
  }
  
  .featured-news-item {
    padding: 20px;
  }
  
  .featured-news-item-small {
    padding: 15px;
  }
  
  .news-featured-image-small {
    height: 140px;
  }
  
  .news-title-small {
    font-size: 0.95rem;
  }
  
  .news-excerpt-small {
    font-size: 0.8rem;
  }
}
/*---------------------------------------
  NEWS CARDS SECTION - BİTİŞ              
-----------------------------------------*/

/*---------------------------------------
  BLOG CARDS SECTION - BAŞLANGIÇ              
-----------------------------------------*/
.blog-card {
  background: var(--white-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,.1);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 2rem rgba(72, 192, 179, 0.2);
}

.blog-image-container {
  position: relative;
  overflow: hidden;
}

.blog-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image {
  transform: scale(1.1);
}

.blog-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
  display: flex;
  align-items: flex-end;
  padding: 15px;
}

.blog-date-badge {
  background: rgba(255, 255, 255, 0.9);
  color: var(--dark-color);
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white-color);
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.blog-author,
.blog-category {
  color: var(--p-color);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.blog-card-title {
  color: var(--dark-color);
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 15px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-excerpt {
  color: var(--p-color);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: justify;
}

.blog-read-btn {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.blog-read-btn:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.blog-card {
  margin-bottom: 30px;
}
/*---------------------------------------
  BLOG CARDS SECTION - BİTİŞ              
-----------------------------------------*/

/*---------------------------------------
  NEWSLETTER SECTION - BAŞLANGIÇ              
-----------------------------------------*/
/* .newsletter-section {
  background: var(--section-bg-color);
}

.newsletter-card {
  background: var(--white-color);
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 1rem 2rem rgba(0,0,0,.1);
  border: 1px solid rgba(72, 192, 179, 0.1);
  text-align: center;
}

.newsletter-header {
  margin-bottom: 40px;
}

.newsletter-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px auto;
}

.newsletter-header h2 {
  color: var(--dark-color);
  margin-bottom: 15px;
}

.newsletter-header .lead {
  color: var(--p-color);
  margin-bottom: 0;
}

.newsletter-form-wrapper {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form .input-group {
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-input {
  border: none;
  padding: 15px 25px;
  font-size: 1rem;
  background: var(--white-color);
  border-radius: 50px 0 0 50px;
}

.newsletter-input:focus {
  box-shadow: none;
  border-color: transparent;
  outline: none;
}

.newsletter-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white-color);
  border: none;
  padding: 15px 25px;
  font-weight: 600;
  border-radius: 0 50px 50px 0;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  transform: translateX(-2px);
  color: var(--white-color);
}

.newsletter-consent {
  margin-top: 15px;
  text-align: center;
}

.newsletter-consent small {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
} */
/*---------------------------------------
  NEWSLETTER SECTION - BİTİŞ              
-----------------------------------------*/


/*---------------------------------------
  ANIMATION EFFECTS - BAŞLANGIÇ              
-----------------------------------------*/
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-card,
.newsletter-card {
  animation: slideInUp 0.6s ease-out;
}

.custom-btn:hover i {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.blog-card:nth-child(1) {
  animation-delay: 0.1s;
}

.blog-card:nth-child(2) {
  animation-delay: 0.2s;
}

.blog-card:nth-child(3) {
  animation-delay: 0.3s;
}

.blog-card:nth-child(4) {
  animation-delay: 0.4s;
}

.blog-card:nth-child(5) {
  animation-delay: 0.5s;
}

.blog-card:nth-child(6) {
  animation-delay: 0.6s;
}
/*---------------------------------------
  ANIMATION EFFECTS - BİTİŞ              
-----------------------------------------*/

/*---------------------------------------
  RESPONSIVE DESIGN - BAŞLANGIÇ              
-----------------------------------------*/
@media screen and (max-width: 991px) {
  .section-title {
    font-size: 2rem;
  }
  
  .blog-card-content {
    padding: 20px;
  }
  
  .blog-card-title {
    font-size: 1.1rem;
  }
  
  .blog-card-image {
    height: 200px;
  }
  
  .newsletter-card {
    padding: 40px 30px;
  }
  
  .newsletter-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 768px) {
  .section-header {
    text-align: center; /* Mobilde ortalanmış */
    margin-bottom: 40px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-description {
    font-size: 1rem;
    margin: 0 auto;
    max-width: 100%;
  }
  
  .blog-card-content {
    padding: 15px;
  }
  
  .blog-card-title {
    font-size: 1rem;
  }
  
  .blog-card-excerpt {
    font-size: 0.85rem;
  }
  
  .blog-meta {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  
  .blog-author,
  .blog-category {
    font-size: 0.8rem;
  }
  
  .newsletter-card {
    padding: 30px 20px;
  }
  
  .newsletter-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .newsletter-form .input-group {
    flex-direction: column;
    border-radius: 15px;
  }
  
  .newsletter-input {
    border-radius: 15px 15px 0 0;
    margin-bottom: 0;
  }
  
  .newsletter-btn {
    border-radius: 0 0 15px 15px;
  }
}

@media screen and (max-width: 480px) {
  .section-title {
    font-size: 1.6rem;
    text-align: center;
  }
  
  .section-description {
    text-align: center;
  }
  
  .blog-card-image {
    height: 180px;
  }
  
  .blog-card-content {
    padding: 12px;
  }
  
  .blog-card-title {
    font-size: 0.95rem;
  }
  
  .blog-card-excerpt {
    font-size: 0.8rem;
  }
  
  .blog-category-badge {
    font-size: 0.7rem;
    padding: 4px 8px;
  }
  
  .blog-date-badge {
    font-size: 0.75rem;
    padding: 4px 8px;
  }
  
  .newsletter-header h2 {
    font-size: 1.5rem;
  }
  
  .newsletter-header .lead {
    font-size: 1rem;
  }
}
/*---------------------------------------
  RESPONSIVE DESIGN - BİTİŞ              
-----------------------------------------*/


/*---------------------------------------
  MOBİL KENAR BOŞLUKLARI - BAŞLANGIÇ              
-----------------------------------------*/
@media screen and (max-width: 768px) {
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  
  .section-padding {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .content-wrapper,
  .main-content,
  .page-content {
    padding: 0 15px;
  }
  
  .section-title {
    text-align: center;
  }
  
  .section-description {
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  .section-padding {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .content-wrapper,
  .main-content,
  .page-content {
    padding: 0 10px;
  }
  
  .section-title {
    text-align: center;
  }
  
  .section-description {
    text-align: center;
  }
}
/*---------------------------------------
  MOBİL KENAR BOŞLUKLARI - BİTİŞ              
-----------------------------------------*/

/*---------------------------------------
  MOBİL RESPONSIVE - BAŞLANGIÇ              
-----------------------------------------*/
@media screen and (max-width: 768px) {
  .section-header {
    text-align: left;
  }
  
  .section-subtitle {
    display: inline-block;
    margin-bottom: 15px;
    text-align: left;
  }
  
  .section-title {
    text-align: center;
  }
  
  .section-description {
    text-align: center;
  }
}
/*---------------------------------------
  MOBİL RESPONSIVE - BİTİŞ              
-----------------------------------------*/

/*---------------------------------------
  BLOG - BİTİŞ              
-----------------------------------------*/