/* Genel stiller */
body {
    font-family: "Poppins", sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Sayfanın tamamını kapsar */
}

/* Sağ içerik toplam yükseklik */
.right-content {
    height: 400px; /* Slider ile eşit */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Sağ içerikteki kutular */
.right-content .box {
    background-color: #d8e7e1;
    padding: 15px;
    border-radius: 10px;
    flex: 1;
    margin-bottom: 10px;
}

/* Son kutunun alt boşluğunu sıfırla */
.right-content .box:last-child {
    margin-bottom: 0;
}

/* Slider sabit yüksekliği */
.carousel-item img {
    height: 400px;
    object-fit: cover;
}

/* Mobil uyum */
@media (max-width: 768px) {
    .carousel-item img {
        height: auto;
    }
    .right-content {
        height: auto;
    }
}

/* CUSTOM SLIDER TASARIM */
.custom-slider {
    background: linear-gradient(135deg, #a1b070, #e0e0e0); /* Arka plan rengi */
    padding: 20px;
    border-radius: 15px;
    height: 400px; /* Slider yüksekliği */
    position: relative;
    overflow: hidden;
}

.custom-slider .carousel-inner {
    height: 100%;
}

.custom-slider .carousel-item {
    height: 100%;
}

.slider-content {
    padding: 20px;
    color: #333;
}

.slider-content h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
}

.slider-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

.slider-content .btn {
    background-color: #28a745;
    color: white;
    border: none;
}

.slider-content .btn:hover {
    background-color: #218838;
}

.slider-image img {
    max-height: 360px;
    object-fit: contain;
    width: 100%;
}

/* Mobile için düzenleme */
@media (max-width: 768px) {
    .custom-slider {
        height: auto;
        padding: 10px;
    }
    .slider-image img {
        max-height: 200px;
    }
}

/* Ürün Detay Sayfası */
/* Product Details Section */
.product-detail {
    background-color: #d8e7e1; /* Pastel bir bej tonu */
    padding: 20px;
    border-radius: 8px;
}

/* Product Image */
.product-image {
    max-width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px;
}

/* Product Name */
.product-name {
    font-size: 2.4 rem;
    color: #717171; /* Soft pastel turuncu */
    margin-bottom: 15px;
}

/* Product Description */
.product-description {
    font-size: 1rem;
    color: #717171;
    line-height: 1.5;
}

/* Tab Styling */
.nav-tabs .nav-link {
    color: #717171;
    font-weight: bold;
    border: none;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
    color: #d88a5e;
    background-color: transparent;
    border-bottom: 2px solid #d88a5e;
}

.tab-content {
    margin-top: 20px;
}

.tab-content ul {
    padding-left: 20px;
    color: #343a40; /* Koyu gri */
}

.tab-content li {
    margin-bottom: 5px;
}

/* Buttons */
.btn-primary {
    background-color: #d8e7e1;
    border-color: #d8e7e1;
    color: #717171;
    padding: 10px 20px;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: #ff7f50; /* Daha koyu pastel turuncu */
    border-color: #717171;
}

/* Breadcrumb Styling */
.breadcrumb {
    background-color: #f8f9fa; /* Hafif bir gri ton */
    padding: 8px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.breadcrumb-item a {
    color: #d88a5e; /* Pastel turuncu */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #ff7f50; /* Daha koyu pastel turuncu */
}

.breadcrumb-item.active {
    color: #6c757d; /* Koyu gri */
    font-weight: bold;
}

/* Navbar Styling */
/* Navbar General Styling */
.custom-navbar {
    padding: 10px 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.custom-navbar .nav-link {
    color: #6c757d; /* Koyu gri */
    font-size: 1rem;
    font-weight: 500;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.custom-navbar .nav-link:hover {
    color: #d88a5e; /* Pastel turuncu */
}

.custom-navbar .nav-link.active {
    color: #d88a5e;
    border-bottom: 2px solid #d88a5e;
}

/* Social Media Icons */
.navbar-nav .nav-link i {
    font-size: 1.2rem;
    color: #6c757d;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link i:hover {
    color: #ff7f50; /* Daha koyu pastel turuncu */
}

/* Language Dropdown */
/* Dil Dropdown ve Sosyal Medya İkonları */
.navbar-nav .dropdown-toggle {
    color: #6c757d;
    font-weight: 500;
}

.navbar-nav .dropdown-menu {
    background-color: #d8e7e1; /* Pastel arka plan */
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-nav .dropdown-item {
    color: #6c757d;
    transition: all 0.3s ease;
}

.navbar-nav .dropdown-item:hover {
    color: #d88a5e;
    background-color: #fff4ec; /* Hafif pastel vurgu */
}

.navbar-nav .nav-link i {
    font-size: 1.2rem;
    color: #6c757d;
    transition: color 0.3s ease;
    margin-right: 10px;
}

.navbar-nav .nav-link i:hover {
    color: #ff7f50; /* Daha koyu pastel turuncu */
}
/* Recipe Card Styling */

.recipes .card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}


.recipes .card:hover {
    transform: scale(1.02);
}

.recipes .card-img-top {
    max-height: 180px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.recipes .card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #d88a5e;
}

.recipes .card-text {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 10px;
}

/* Footer Styling */
/* Genel Sayfa Düzeni */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Tüm ekranı kapsaması için */
}

.container {
    flex: 1; /* İçeriğin esnek olarak genişlemesini sağlar */
}

/* Footer Styling */
.custom-footer {
    color: #6c757d; /* Koyu gri */
    border-top: 1px solid #ddd;
    padding: 15px 0;
    position: relative; /* Sticky yapıyı kaldırır */
    bottom: 0;
    width: 100%;
    text-align: center;
}

.custom-footer a {
    color: #d88a5e; /* Pastel turuncu */
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-footer a:hover {
    color: #ff7f50; /* Daha koyu turuncu */
}

.custom-footer p {
    margin: 0;
    font-size: 0.95rem;
}

.custom-footer .fab {
    color: #6c757d;
    transition: color 0.3s ease;
}

.custom-footer .fab:hover {
    color: #d88a5e;
}

/* Section Title */
h2.text-center {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #d88a5e; /* Pastel turuncu tonu */
    margin-bottom: 30px;
}

/* Card Styling */
.highlight-section .card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.highlight-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.highlight-section .card-img-top {
    height: 180px;
    object-fit: cover;
}

.highlight-section .card-title {
    font-size: 1rem;
    font-weight: bold;
    color: #6c757d; /* Koyu gri */
    margin-top: 10px;
}

.highlight-section .card-text {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Blog Detay Başlık */
.blog-detail h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #5a8d99;
    margin-bottom: 1.5rem;
    border-left: 5px solid #5a8d99;
    padding-left: 15px;
}

/* İçerik Görseli */
.blog-detail img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* İçerik Paragrafı */
.blog-detail p {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #555;
    margin-top: 1rem;
}

/* Sağ Taraf: Diğer Yazılar */
.blog-detail h4 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #5a8d99;
    margin-bottom: 1rem;
}

.blog-detail ul {
    list-style: none;
    padding: 0;
}

.blog-detail ul li {
    margin-bottom: 0.8rem;
}

.blog-detail ul li a {
    text-decoration: none;
    color: #5a8d99;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-detail ul li a:hover {
    color: #9c7e5a; /* Pastel kahverengi */
}

/* Butonlar */
.blog-detail a.btn {
    display: inline-block;
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    background-color: #5a8d99; /* Pastel mavi */
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.blog-detail a.btn:hover {
    background-color: #9c7e5a; /* Pastel kahverengi */
}

/* Kutular ve Gölgelendirme */
.blog-detail .card{
    background-color: #fafafa; /* Hafif pastel beyaz */
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

/*dynamic-page Stilleri*/
.page-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #ddd;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

.page-content .content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.page-content .content h2 {
    font-size: 2rem;
    margin-top: 1.5rem;
    color: #222;
}

.page-content .content p {
    margin: 1rem 0;
}

/* Küçük ve sade Google Translate butonu */
#google_translate_element {
  font-size: 0.85rem;
  margin-left: 10px;
}

.goog-te-gadget {
  font-family: 'Poppins', sans-serif !important;
  color: #444 !important;
}

.goog-te-gadget .goog-te-combo {
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 2px 4px;
}

@media (max-width: 768px) {
  .custom-navbar .nav-link {
    margin-right: 8px;
    font-size: 0.95rem;
  }

  .navbar-nav.ms-3 {
    margin-left: 0 !important;
  }

  .navbar-nav {
    align-items: start !important;
  }
}

@media (max-width: 576px) {
  .slider-content h2 {
    font-size: 1.4rem;
  }

  .slider-content p {
    font-size: 0.9rem;
  }

  .slider-content .btn {
    font-size: 0.9rem;
    padding: 6px 12px;
  }
}

@media (max-width: 768px) {
  .custom-footer .row > div {
    margin-bottom: 15px;
    text-align: center !important;
  }
}

img, video {
  max-width: 100%;
  height: auto;
}

.container,
.container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

@media (max-width: 576px) {
  body {
    font-size: 0.95rem;
  }

  h1, h2, h3 {
    font-size: 1.3rem;
  }

  .breadcrumb {
    font-size: 0.85rem;
    padding: 5px 10px;
  }
}
