html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Page Banner - Ana sayfa hariç tüm sayfalarda 350px yükseklik */
.page-banner {
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px 20px;
}

.page-banner-content {
  text-align: center;
  width: 100%;
  max-width: 1400px;
}

.page-banner-content h1 {
  color: white;
  font-size: 32px;
  margin: 0 0 20px 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* ========== Kidsa Theme Styles ========== */

/* Header Top Bar - Kidsa Style */
.top-bar-kidsa {
  padding: 12px 0;
  background: #1a1a1a !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-kidsa .top-bar-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.top-bar-kidsa .top-bar-info ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
}

.top-bar-kidsa .top-bar-info ul li i {
  color: #ffc107;
  font-size: 16px;
}

.top-bar-kidsa .top-bar-info ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-left: 5px;
}

.top-bar-kidsa .top-bar-info ul li a:hover {
  color: #ffc107;
}

.top-bar-kidsa .top-bar-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.btn-kidsa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-kidsa.btn-call {
  background: #ffc107;
  color: #1a1a1a;
}

.btn-kidsa.btn-call:hover {
  background: #ffb300;
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.btn-kidsa.btn-book {
  background: transparent;
  color: #fff;
  border: 2px solid #ffc107;
}

.btn-kidsa.btn-book:hover {
  background: #ffc107;
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

@media (max-width: 768px) {
  .top-bar-kidsa .top-bar-info ul {
    flex-direction: column;
    gap: 10px;
  }
  
  .top-bar-kidsa .top-bar-actions {
    flex-direction: column;
    margin-top: 10px;
  }
  
  .btn-kidsa {
    width: 100%;
    justify-content: center;
  }
}

/* Banner Kidsa Style */
.banner-kidsa {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.banner-kidsa .banner-content {
  position: relative;
  z-index: 2;
  padding: 100px 0;
  text-align: center;
}

.banner-kidsa .banner-content h4 {
  color: #ffc107;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.banner-kidsa .banner-content h1 {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.banner-kidsa .banner-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 30px;
}

.banner-kidsa .banner-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.banner-kidsa .btn-banner {
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid transparent;
}

.banner-kidsa .btn-banner.btn-primary-banner {
  background: #ffc107;
  color: #1a1a1a;
  border-color: #ffc107;
}

.banner-kidsa .btn-banner.btn-primary-banner:hover {
  background: transparent;
  color: #ffc107;
  border-color: #ffc107;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
}

.banner-kidsa .btn-banner.btn-outline-banner {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.banner-kidsa .btn-banner.btn-outline-banner:hover {
  background: #fff;
  color: #1a1a1a;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.banner-kidsa .shape-img {
  position: absolute;
  z-index: 1;
  opacity: 0.1;
}

.banner-kidsa .shape-img.shape-1 {
  top: 10%;
  left: 5%;
  animation: float 6s ease-in-out infinite;
}

.banner-kidsa .shape-img.shape-2 {
  top: 20%;
  right: 10%;
  animation: float 8s ease-in-out infinite;
}

.banner-kidsa .shape-img.shape-3 {
  bottom: 15%;
  left: 10%;
  animation: float 7s ease-in-out infinite;
}

.banner-kidsa .shape-img.shape-4 {
  bottom: 10%;
  right: 5%;
  animation: float 9s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@media (max-width: 768px) {
  .banner-kidsa .banner-content {
    padding: 60px 0;
  }
  
  .banner-kidsa .banner-content h1 {
    font-size: 32px;
  }
  
  .banner-kidsa .banner-content h4 {
    font-size: 14px;
  }
  
  .banner-kidsa .banner-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .banner-kidsa .btn-banner {
    width: 100%;
    max-width: 300px;
  }
}

/* Footer Kidsa Style */
.footer-kidsa {
  background: #1a1a1a;
  color: #fff;
  padding: 60px 0 20px;
  position: relative;
}

.footer-kidsa .footer-logo {
  margin-bottom: 20px;
}

.footer-kidsa .footer-logo img {
  max-height: 60px;
  width: auto;
}

.footer-kidsa .footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 25px;
}

.footer-kidsa .footer-widget-title {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-kidsa .footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #ffc107;
}

.footer-kidsa .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-kidsa .footer-links ul li {
  margin-bottom: 12px;
}

.footer-kidsa .footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-kidsa .footer-links ul li a:hover {
  color: #ffc107;
  padding-left: 5px;
}

.footer-kidsa .newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-kidsa .newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 5px;
}

.footer-kidsa .newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-kidsa .newsletter-form button {
  padding: 12px 25px;
  background: #ffc107;
  color: #1a1a1a;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-kidsa .newsletter-form button:hover {
  background: #ffb300;
  transform: translateY(-2px);
}

.footer-kidsa .footer-social {
  margin-top: 25px;
}

.footer-kidsa .footer-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
}

.footer-kidsa .footer-social ul li a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-kidsa .footer-social ul li a:hover {
  background: #ffc107;
  color: #1a1a1a;
  transform: translateY(-3px);
}

.footer-kidsa .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .footer-kidsa .newsletter-form {
    flex-direction: column;
  }
  
  .footer-kidsa .newsletter-form button {
    width: 100%;
  }
}

/* Blog Section - News Thumb Image Fix */
.news-section .news-thumb {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
}

.news-section .news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.news-section .news-thumb:hover img {
  transform: scale(1.05);
}

.news-section .news-right-items.style-2 {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-section .news-right-items.style-2 .news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}

.news-section .news-right-items.style-2 .news-content h3 {
  margin-bottom: 15px;
}

.news-section .news-right-items.style-2 .news-content h3 a {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.news-section .news-right-items.style-2 .news-content h3 a:hover {
  color: #ffc107;
}

.news-section .news-right-items.style-2 .news-content p {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* Team Section - Gallery Carousel Fix */
.team-section-3 {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.team-section-3 .team-items {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-section-3 .team-image {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
}

.team-section-3 .team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.team-section-3 .team-image:hover img {
  transform: scale(1.05);
}

.team-section-3 .team-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.team-section-3 .team-image .shape-img {
  display: none !important;
}

.team-section-3 .team-image .shape-img img {
  display: none !important;
}

/* Ana CSS dosyasındaki shape-img stillerini override et */
.team-items .team-image .shape-img {
  display: none !important;
}

.team-section-3 .team-content {
  display: none;
}

.team-section-3 .social-profile {
  display: none;
}

.team-section-3 .tree-shape,
.team-section-3 .right-shape,
.team-section-3 .bee-shape {
  display: none !important;
}

/* Gallery Section - Grid Display Fix */
.gallery-section {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.gallery-section .gallery-item-grid {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
}

.gallery-section .gallery-item-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-section .gallery-item-grid:hover img {
  transform: scale(1.05);
}

.gallery-section .gallery-item-grid a {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-section .gallery-overlay {
  display: none;
}

@media (max-width: 1199px) {
  .gallery-section .gallery-item-grid {
    height: 280px;
  }
}

@media (max-width: 767px) {
  .gallery-section .gallery-item-grid {
    height: 250px;
  }
}

@media (max-width: 1199px) {
  .team-section-3 .team-image {
    height: 320px;
  }
}

@media (max-width: 767px) {
  .team-section-3 .team-image {
    height: 280px;
  }
}

@media (max-width: 1199px) {
  .news-section .news-thumb {
    height: 280px;
  }
}

@media (max-width: 767px) {
  .news-section .news-thumb {
    height: 250px;
  }
}