/* 

1. Add your custom Css styles below
2. Place the this code in your template: 

 <link href="css/custom.css" rel="stylesheet">

*/

/* ========== TOPBAR & HEADER BEYAZ ARKA PLAN SORUNU ÇÖZÜMÜ ========== */

/* EN ÜST TOPBAR DÜZELTMESİ - IG vs iconlar olan kısım */
/* Topbar her zaman koyu arka plan (bu en önemli sorun) */
#topbar.topbar-transparent.dark {
    background-color: rgba(37, 37, 37, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Topbar menü linklerinin görünürlüğü */
#topbar.topbar-transparent.dark .top-menu > li > a,
#topbar.topbar-transparent.dark .social-icons li a {
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* HEADER DÜZELTMESİ - Transparent dark header için arka plan */
#header.header-transparent.dark #header-wrap {
    background-color: rgba(37, 37, 37, 0.95) !important;
    border-bottom: 0 !important;
}

/* Header sticky durumu için özel düzeltme */
#header.header-transparent.dark.header-sticky-resposnive #header-wrap,
#header.header-sticky #header-wrap {
    background-color: rgba(37, 37, 37, 0.95) !important;
    border-bottom: 0 !important;
    transition: all 0.3s ease;
}

/* Header menü linklerinin görünürlüğü */
#header.header-transparent.dark #mainMenu nav > ul > li > a,
#header.header-sticky #mainMenu nav > ul > li > a,
#header.header-transparent.dark.header-sticky-resposnive #mainMenu nav > ul > li > a {
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Dropdown menü düzeltmesi */
#header.header-transparent.dark #mainMenu nav > ul > li .dropdown-menu,
#header.header-sticky #mainMenu nav > ul > li .dropdown-menu {
    background-color: rgba(37, 37, 37, 0.95) !important;
}

#header.header-transparent.dark #mainMenu nav > ul > li .dropdown-menu > li > a,
#header.header-sticky #mainMenu nav > ul > li .dropdown-menu > li > a {
    color: #ffffff !important;
}

/* Mobile hamburger menü button düzeltmesi */
#header.header-transparent.dark #mainMenu-trigger button .lines,
#header.header-transparent.dark #mainMenu-trigger button .lines:before,
#header.header-transparent.dark #mainMenu-trigger button .lines:after,
#header.header-sticky #mainMenu-trigger button .lines,
#header.header-sticky #mainMenu-trigger button .lines:before,
#header.header-sticky #mainMenu-trigger button .lines:after {
    background-color: #ffffff !important;
}

/* Logo görünürlüğü artırma */
#header.header-transparent.dark #logo,
#header.header-sticky #logo {
    filter: brightness(1.1) contrast(1.05);
}

/* Sayfada scroll yaparken header'ın yumuşak geçişi */
#header.header-transparent.dark,
#header.header-sticky {
    transition: all 0.3s ease;
}

/* ADMIN SAYFALARI İÇİN ÖZEL KURALLARI - Eğer admin panelde şeffaf olması istenirse */
/* Admin panelde (trex/) topbar ve header şeffaf kalsın */
body.admin-body #topbar.topbar-transparent.dark {
    background-color: transparent !important;
    border-bottom: 1px solid rgba(144, 144, 144, 0.25) !important;
}

body.admin-body #header.header-transparent.dark #header-wrap,
body.admin-body #header.header-sticky #header-wrap {
    background-color: transparent !important;
}

body.admin-body #topbar.topbar-transparent.dark .top-menu > li > a,
body.admin-body #topbar.topbar-transparent.dark .social-icons li a,
body.admin-body #header.header-transparent.dark #mainMenu nav > ul > li > a {
    color: inherit;
    text-shadow: none;
}

/* Product Cards Styles */
.product-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
  overflow: hidden;
  border: 1px solid #f0f0f0;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-content {
  padding: 25px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-title {
  margin-bottom: 15px;
}

.product-title h4 {
  color: #333;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.product-description {
  flex: 1;
  margin-bottom: 15px;
}

.product-description p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.product-price {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid #eee;
  margin-top: auto;
}

.product-price .price {
  color: #e74c3c;
  font-size: 18px;
  font-weight: 700;
}

.product-price .price i {
  margin-right: 5px;
}

/* 4 Products Grid Layout */
#section-products .row .col-md-4 {
  margin-bottom: 30px;
}

/* Responsive Design */
@media (min-width: 992px) {
  #section-products .col-md-4 {
    width: 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  #section-products .col-md-4 {
    width: 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767px) {
  .product-card {
    margin-bottom: 20px;
  }
  
  .product-content {
    padding: 20px 15px;
  }
  
  .product-title h4 {
    font-size: 16px;
  }
  
  .product-description p {
    font-size: 13px;
  }
  
  .product-price .price {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .product-content {
    padding: 15px;
  }
  
  .product-title h4 {
    font-size: 15px;
  }
  
  .product-description p {
    font-size: 12px;
  }
}

/* Section Spacing */
#section-products {
  background: #f8f9fa;
}

#section-products .container {
  max-width: 1200px;
}

/* Button Styling */
#section-products .btn-primary {
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

#section-products .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Working Hours Styles */
.working-hours-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 30px 25px;
  border: 1px solid #f0f0f0;
  height: 100%;
}

.working-hours ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.working-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.working-hours li:last-child {
  border-bottom: none;
}

.working-hours li:hover {
  background: #f8f9fa;
  margin: 0 -15px;
  padding: 15px 15px;
  border-radius: 5px;
}

.working-hours .day {
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

.working-hours .opening-hour {
  color: #e74c3c;
  font-weight: 500;
  font-size: 14px;
}

/* Responsive Working Hours */
@media (max-width: 991px) {
  .working-hours-card {
    margin-top: 40px;
    padding: 25px 20px;
  }
}

@media (max-width: 767px) {
  .working-hours-card {
    margin-top: 30px;
    padding: 20px 15px;
  }
  
  .working-hours .day {
    font-size: 14px;
  }
  
  .working-hours .opening-hour {
    font-size: 12px;
  }
}
