/*
Theme Name: OsmanOnem
Theme URI: https://www.osmanonem.com.tr
Author: Osman Önem
Author URI: https://www.osmanonem.com.tr
Description: Osman Önem resmi WordPress teması. Gıda, Wellness, Organik Ürünler, Kuluçka Sistemleri.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: osmanonem
Tags: responsive, bootstrap, sidebar, turkish
*/

/* =============================================
   TEMEL STILLER
   ============================================= */
body {
  background: #f6f7fb;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar {
  font-size: 0.8rem;
  color: white;
  width: 250px;
  background: #008B8B;
  border-right: 1px solid #e6e9ef;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  transition: left 0.3s ease;
  overflow-y: auto;
}

.sidebar .brand {
  font-weight: normal;
  letter-spacing: 0.3px;
}

.nav-link.active {
  background: rgba(13, 110, 253, 0.06);
  color: #fff;
  border-radius: 8px;
}

.nav-link {
  color: #fff;
}

.sidebar .submenu {
  display: none;
  padding-left: 1rem;
}

.sidebar .submenu.show {
  display: block !important;
}

.sidebar .submenu a {
  font-size: 0.7rem;
  color: #fff;
}

.sidebar .nav-link.toggle::after {
  content: '\f282';
  font-family: 'bootstrap-icons';
  float: right;
  transition: 0.3s;
}

.sidebar .nav-link.toggle.collapsed::after {
  transform: rotate(-90deg);
}

/* =============================================
   MOBIL GÖRÜNÜM
   ============================================= */
@media (max-width: 992px) {
  .sidebar {
    left: -260px;
  }
  .sidebar.show {
    left: 0;
  }
  #sidebarOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1035;
  }
  #sidebarOverlay.active {
    display: block;
  }
  main {
    margin-left: 0 !important;
  }
}

@media (min-width: 993px) {
  main {
    margin-left: 250px;
  }
}

/* =============================================
   KART STİLLERİ
   ============================================= */
.hover-card {
  transition: all 0.3s ease;
  border-radius: 12px;
}

.hover-card:hover {
  background-color: #008B8B;
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.hover-card:hover .hover-img {
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.hover-card:hover .hover-b {
  color: #fff;
  transition: all 0.3s ease;
}

.hover-card01 {
  transition: all 0.3s ease;
}

.hover-card01:hover {
  background-color: rgb(64, 224, 208);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* =============================================
   FOOTER / SABİT YAZI
   ============================================= */
#sabit-yazi {
  font-size: 0.7rem;
  width: 100%;
  margin: 0;
  padding: 5px;
  color: #fff;
  z-index: 9999;
}

/* =============================================
   RESPONSIVE LOGO/İMZA
   ============================================= */
.responsive-img {
  width: 350px;
  height: auto;
  transition: width 0.3s ease;
}

@media (max-width: 768px) {
  .responsive-img {
    width: 200px;
  }
}

/* =============================================
   MOBİL METİN GİZLEME
   ============================================= */
@media (max-width: 768px) {
  .mobil-gizle {
    display: none;
  }
  .sadece-mobil {
    display: inline-block;
    color: #008B8B;
    font-weight: bold;
    text-decoration: none;
  }
  .sadece-mobil a {
    color: #008B8B;
    font-weight: bold;
  }
}

@media (min-width: 769px) {
  .sadece-mobil {
    display: none;
  }
}

/* =============================================
   SOSYAL İKONLAR
   ============================================= */
.social-icons {
  color: #008B8B;
}

.social-icons:hover {
  color: #000;
  transition: all 0.3s ease;
}

/* =============================================
   HAKKIMIZDA SAYFASI
   ============================================= */
.about-container {
  display: flex;
  gap: 40px;
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  align-items: center;
}

.about-left {
  flex: 1;
}

.about-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.subtitle {
  color: #ff7a00;
  font-weight: 600;
}

.title {
  font-size: 2.5rem;
  margin: 10px 0 20px;
}

.text {
  color: #555;
  line-height: 1.6;
}

.image-box img {
  width: 100%;
  border-radius: 12px;
  background: #e0e7ff;
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 20px;
  text-align: center;
}

.stat h2 {
  margin: 0;
  color: #111;
  font-size: 1.8rem;
}

.stat p {
  margin: 4px 0 0;
  color: #555;
  font-size: 0.9rem;
}

/* =============================================
   WORDPRESS STANDART STİLLER
   ============================================= */
.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.85rem;
  color: #666;
  text-align: center;
}

.alignleft {
  float: left;
  margin: 0 20px 20px 0;
}

.alignright {
  float: right;
  margin: 0 0 20px 20px;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

img.alignleft,
img.alignright,
img.aligncenter {
  max-width: 100%;
  height: auto;
}

/* =============================================
   SAYFA İÇERİĞİ
   ============================================= */
.page-content {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin: 15px;
}

.page-content h1,
.page-content h2,
.page-content h3 {
  color: #008B8B;
}

/* =============================================
   PAMUK ŞEKER SAYFASI
   ============================================= */
.ps-gallery img {
  border-radius: 10px;
  object-fit: cover;
  width: 100%;
  height: 200px;
  transition: transform 0.3s ease;
}

.ps-gallery img:hover {
  transform: scale(1.03);
}
