/*
Theme Name: Kayadibi Hayvancılık
Theme URI: https://kayadibitarim.com/
Author: Murat Kurtuldu
Author URI: https://muratkurtuldu.com.tr/
Description: Kayadibi Hayvancılık kurumsal web sitesi teması. Modern, responsive ve premium tasarım.
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: kayadibi
Tags: livestock, farm, agriculture, dairy, premium, green
*/

/* 
  Kayadibi Hayvancılık - Main Stylesheet 
  Refactored & Organized
*/


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Merienda:ital,wght@1,700&family=Merienda&display=swap');

/* --- 1. CORE & VARIABLES --- */
:root {
  --primary-color: #01b88d;
  --primary-dark: #1e5a3a;
  --text-dark: #333;
  --text-gray: #666;
  --bg-light: #fdfdfd;
  --yellow: #f8e124;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: #fff;
}

.btn-kaya-light {
  background-color: #e8e8e8;
  border-radius: 40px;
  padding: 0.6rem 1.5rem !important;
  font-size: 0.8rem;
  font-weight: 500;
  color: #333;
  border-bottom: 4px solid #e3e1e1;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
}

.separator-line {
  width: 150px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 10px;
}

/* --- WordPress Default Classes --- */
.alignleft {
  float: left;
  margin: 0.5rem 1.5rem 1.5rem 0;
}

.alignright {
  float: right;
  margin: 0.5rem 0 1.5rem 1.5rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  clear: both;
}

.wp-caption {
  margin-bottom: 1.5rem;
  text-align: center;
  padding-top: 5px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 0.85rem;
  margin: 5px 0;
  font-style: italic;
  color: #666;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1rem;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* --- WordPress Gallery Styles --- */
.gallery {
  margin: 0 -10px 1.5rem;
  display: flex;
  flex-wrap: wrap;
}

.gallery-item {
  display: inline-block;
  padding: 10px;
  text-align: center;
  vertical-align: top;
  width: 100%;
  box-sizing: border-box;
}

.gallery-columns-2 .gallery-item {
  max-width: 50%;
}

.gallery-columns-3 .gallery-item {
  max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
  max-width: 25%;
}

.gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.gallery-icon img {
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  width: 100%;
  height: auto;
  display: block;
}

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

.gallery-caption {
  font-size: 0.85rem;
  padding: 5px 0;
  color: #666;
  font-style: italic;
}

@media (max-width: 767px) {

  .gallery-columns-3 .gallery-item,
  .gallery-columns-4 .gallery-item,
  .gallery-columns-5 .gallery-item,
  .gallery-columns-6 .gallery-item {
    max-width: 50%;
  }
}

@media (max-width: 480px) {
  .gallery-item {
    max-width: 100% !important;
  }
}



/* --- 2. LAYOUT COMPONENTS --- */

/* --- Top Bar --- */
.top-bar-wrapper {
  background-color: #1a1a1a;
  height: 40px;
  display: flex;
  justify-content: flex-end;
}

.top-bar-content {
  display: flex;
  align-items: center;
}

.top-socials {
  display: flex;
  gap: 1.5rem;
  padding-right: 1.5rem;
}

.top-socials a {
  color: #888;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-socials a:hover {
  color: #fff;
}

.top-phone {
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 700;
  height: 100%;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.top-bar-mobile {
  display: none;
}

.lang-menu-wrapper {
  position: relative;
  display: inline-block;
}

.lang-menu {
  position: relative;
}

.lang-toggle {
  background: transparent;
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.lang-menu:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-menu:focus-within .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.lang-option:hover {
  background-color: #f5f5f5;
  color: #333;
}

.lang-option.active {
  background-color: #e8f4f8;
  color: #2c5aa0;
}

.flag-icon {
  font-size: 16px;
}

.current-lang {
  font-weight: 600;
}

.lang-toggle i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.lang-menu:hover .lang-toggle i {
  transform: rotate(180deg);
}

/* --- Navbar --- */
.navbar {
  background: transparent !important;
  padding: 1.5rem 0;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.3rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #222 !important;
  text-transform: uppercase;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

/* --- Main Footer --- */
#main-footer {
  background: url(assets/img/bg-header.png) repeat;
  padding: 100px 0;
}

.footer-logo img {
  max-height: 40px;
}

.footer-link {
  color: #333;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary-color);
}

/* --- 3. HOME PAGE SECTIONS --- */

/* --- Hero Section --- */
#hero {
  background: url('assets/img/bg-header.png') repeat;
  height: auto;
  position: relative;
  padding-top: 40px;
  height: 340px;
}

#hero .item-slide {
  height: 340px;
}

#hero .sol {
  background-color: #1e5a3a;
  border-top-right-radius: 300px;
  padding-right: 30px;
  padding-left: 0;
  height: 300px;
  position: absolute;
  left: 0;
}

#hero .sol .icerik {
  background: url(assets/img/slide-sol-bg.jpg) no-repeat center center;
  background-size: cover;
  height: 300px;
  border-top-right-radius: 300px;
  padding: 20px;
  padding-left: 25%;
  padding-right: 80px;
}

#hero h2 {
  font-family: 'Merienda', cursive;
  font-size: 2.8rem;
  letter-spacing: -1px;
  color: white;
  font-weight: bolder;
  padding-bottom: 0;
  margin-bottom: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  width: 75%;
}

#hero h2 small {
  font-size: 1.2rem;
  font-weight: 400;
  display: block;
  letter-spacing: 1px;
}

.hero-btn {
  background-color: var(--primary-color);
  color: white;
  font-weight: 500;
  border-radius: 10px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 0.8rem;
}

.hero-btn .btn-icon {
  background-color: #1a1a1a;
  padding: 0.5rem 0.8rem;
  border-top-left-radius: 20px;
  font-size: 1rem;
}

.hero-btn.stil-1 {
  background-color: #163560;
}

.hero-btn.stil-1 .btn-icon {
  background-color: #1AB690;
}

.hero-btn.stil-2 {
  background-color: rgba(255, 255, 255, 0.173);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-btn.stil-2 .btn-icon {
  background-color: #FFEE00;
  color: black;
  padding: 0.5rem 0.8rem;
  border-top-left-radius: 20px;
  font-size: 1rem;
}

#hero .bg-gorsel {
  background: url(assets/img/bg-slide-new.png) no-repeat;
  background-size: cover;
}

#hero .sag {
  background-color: var(--primary-color);
  border-top-left-radius: 300px;
  padding-left: 30px;
  padding-right: 0;
  position: absolute;
  right: 0;
  z-index: 111;
}

#hero .sag .icerik {
  background-color: white;
  height: 300px;
  border-top-left-radius: 300px;
  padding: 0;
  overflow: hidden;
}

#hero .sag .icerik img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

#hero .sanatgunesi {
  position: absolute;
  top: 50px;
  left: 30%;
  width: 200px;
  height: 200px;
  background-color: var(--yellow);
  border-radius: 50%;
  filter: blur(40px);
}

/* --- About Section (Hakkımızda) --- */
#hakkimizda {
  background: url('assets/img/bg-header.png') repeat;
}

#hakkimizda .sol h2 {
  font-size: 1.6rem;
  font-weight: bolder;
  letter-spacing: -1px;
}

#hakkimizda .sol h2 small {
  display: block;
  font-weight: 300;
}

#hakkimizda .sol p {
  font-size: 0.9rem;
  font-weight: 300;
  margin: 0;
  color: #333;
}

#hakkimizda .sol img {
  border-radius: 100%;
}

#hakkimizda .sag {
  background-image: url(assets/img/bg-sut.jpg);
  background-size: cover;
  padding-left: 230px;
  padding-bottom: 50px;
  border-bottom-left-radius: 600px;
  position: absolute;
  right: 0;
  padding-right: 0;
}

#hakkimizda .sag .cover {
  border-bottom-left-radius: 300px;
  height: 200px;
  object-fit: cover;
  background: url(assets/img/dogal-sut-gorsel.jpg) center center/cover;
}

#hakkimizda .sag h2 {
  font-family: 'Merienda', cursive;
  font-size: 1.6rem;
  font-weight: bolder;
  letter-spacing: -2px;
}

#hakkimizda .sag p {
  font-size: 0.8rem;
}

#hakkimizda .sag .list {
  font-size: 0.9rem;
}

#hakkimizda .sag .list p {
  padding: 0 !important;
  margin: 0 !important;
}

#hakkimizda .sag .list .btn-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: #222;
}

/* --- Farm Section (Çiftlik) --- */
#ciftlik .ciftlik-hakkinda .ciftlik-manset {
  background: url(assets/img/ciftligimiz.jpg) center center/cover;
  height: 200px;
  border-radius: 200px;
}

#ciftlik .ciftlik-hakkinda .ciftlik-logo {
  background: white;
  border-radius: 200px;
  margin-top: -40px;
}

#ciftlik .ciftlik-hakkinda .ciftlik-logo img {
  width: 400px;
  padding: 20px 40px;
}

#ciftlik .ciftlik-icerik h3 {
  font-size: 1.4rem;
  font-weight: bolder;
  color: #222;
  letter-spacing: -1px;
  width: 400px;
  margin-right: 50px;
  padding-bottom: 10px;
  border-bottom: 6px solid #01b88d;
}

#ciftlik .ciftlik-icerik p {
  font-weight: 300;
}

/* --- Certificates Section --- */
#sertifikalar {
  background-image: url(assets/img/bg-header.png);
}

#sertifikalar .section-title {
  color: #163560;
  font-size: 2.2rem;
  line-height: 1.2;
  font-weight: bolder;
  letter-spacing: -2px;
}

#sertifikalar .description {
  color: #555;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
}

.btn-cert-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  background-color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 0.5rem 1.5rem;
}

.btn-cert-outline:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.cert-img-wrapper {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.cert-img-wrapper img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.cert-img-wrapper::after {
  content: '';
  position: absolute;
  border-radius: 100%;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  opacity: 0.4;
  border: 4px solid white;
  z-index: 1;
}

.cert-img-wrapper:hover {
  transform: scale(1.05);
}

/* --- Neden Kayadibi Section --- */
#nedenkayadibi {
  background: url(assets/img/bg-neden.svg) white top center;
  background-size: auto 100%;
  position: relative;
  overflow: hidden;
}

.neden-kayadibi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.title-column {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#nedenkayadibi .section-title {
  font-family: 'Merienda', cursive;
  color: #163560;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -1px;
}

#nedenkayadibi .section-desc {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
}

.feature-card {
  background: #fff;
  border-radius: 40px;
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #f0f0f0;
  width: 100%;
  height: 200px;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.feature-card h5 {
  font-size: 1rem;
  color: #163560;
  font-weight: 700;
  margin-bottom: 0;
}

.icon-wrapper img {
  width: 50px;
  height: auto;
}

/* --- Video Section --- */
.play-video-container {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circular-video-btn {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-overlay {
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  padding: 25px;
  background: #fff;
  z-index: 1;
}

.video-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.play-icon-center {
  position: relative;
  z-index: 3;
  width: 60px;
  height: 60px;
  background-color: var(--yellow);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid white;
}

.play-icon-center i {
  font-size: 2rem;
  margin-left: 3px;
  color: #1a1a1a;
}

.play-icon-center:hover {
  transform: scale(1.1);
}

.curved-text {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  animation: rotateText 25s linear infinite;
  pointer-events: none;
}

.curved-text svg {
  width: 100%;
  height: 100%;
}

.curved-text text {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  fill: #333;
}

@keyframes rotateText {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* --- Haber-Blog Section --- */
#haber-blog {
  background-color: #fff;
  width: 100%;
  overflow-y: hidden;
}

#haber-blog .section-title {
  color: #163560;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -1px;
}

.title-underline {
  width: 60px;
  height: 8px;
  background-color: #d1d4d7;
  border-radius: 4px;
}

.news-item h4 {
  color: #333;
  font-size: 1.1rem;
}

.news-item p {
  color: #333;
  font-size: 0.9rem;
}

.btn-detay {
  background-color: #f2f4f7;
  color: #333;
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.65rem !important;
  box-shadow: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-detay:hover {
  background-color: #e2e5e9;
  transform: translateY(-2px);
}

.blog-card {
  border-radius: 40px;
  overflow: hidden;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.blog-card-top {
  background-color: #4f772d;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-card-top h4 {
  font-size: 1.5rem;
  line-height: 1.3;
}

.blog-card-bottom {
  position: relative;
  line-height: 0;
}

.blog-card-bottom img {
  height: 250px;
  object-fit: cover;
}

.blog-card-bottom .img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(79, 119, 45, 0.5);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* --- Logo Slider Section --- */
#logo-slider {
  background-color: #fff;
  padding: 80px 0;
}

.partner-logo {
  max-height: 60px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.4s ease;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* --- 4. INTERNAL PAGE SECTIONS --- */

/* --- Page Header --- */
#page-header {
  background: url(assets/img/slide-sol-bg.jpg) #1e5a3a;
  background-size: cover;
  background-position: bottom;
  height: auto;
  position: relative;
  padding-top: 40px;
  padding-bottom: 40px;
  border-top-right-radius: 120px;
  border-right: 20px solid var(--primary-color);
}

#page-header h1 {
  color: white;
  font-weight: 700;
  letter-spacing: -1px;
  text-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

#page-header .breadcrumb {
  background-color: transparent;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

#page-header .breadcrumb-item {
  display: flex;
  align-items: center;
  opacity: 0.8;
}

#page-header .breadcrumb-item a {
  text-decoration: none;
  color: white;
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1;
}

#page-header .breadcrumb-item.active {
  color: white;
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1;
}

#page-header .breadcrumb-item+.breadcrumb-item::before {
  color: white;
}

/* Page Content Intro */
#page-content-intro {
  height: 400px;
  position: relative
}

#page-content-intro .cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#page-content-intro .cover h2 {
  position: absolute;
  bottom: 0;
  left: 15%;
  background: rgba(26, 182, 144, 0.44);
  border-left: 10px solid #FFFFFF;
  backdrop-filter: blur(20px);
  border-radius: 0px 200px 0px 0px;
  color: white;
  padding: 20px;
  font-size: 1.4rem;
  padding-right: 60px;
  margin-bottom: 0;

}

/* --- Page Content --- */
#page-content {
  padding: 80px 0;
  color: #444;
  line-height: 1.8;
}

#page-content p {
  margin-bottom: 1.5rem;
  font-weight: 300;
}

#page-content h3 {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1.8rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

#page-content h4 {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

#page-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2.5rem;
}

#page-content li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 0.8rem;
  font-weight: 300;
}

#page-content li::before {
  content: "\F272";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* --- Spot Section --- */
.content-spot {
  background-color: var(--primary-dark);
  border-radius: 80px;
  display: flex;
  align-items: stretch;
  margin: 4rem 0;
  overflow: hidden;
  color: white;
}

.content-spot .spot-img {
  flex: 0 0 60%;
  position: relative;
}

.content-spot .spot-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.content-spot .spot-text {
  flex: 1;
  padding: 3rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-spot .spot-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -1px;
}

/* --- Category Section --- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.category-card {
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

.category-card .card-top {
  background-color: var(--primary-dark);
  padding: 1rem 2.5rem;
  color: white;
  flex: 1;
}

.category-card .card-top h3 {
  font-size: 1.6rem !important;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white !important;
}

.category-card .card-top p {
  font-size: 0.9rem;
  font-weight: 300;
  opacity: 0.8;
  margin: 0;
  line-height: 1.6;
}

.category-card .card-img-wrapper {
  position: relative;
  height: 220px;
}

.category-card .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card .card-btn {
  position: absolute;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-dark);
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.category-card .card-btn:hover {
  background-color: white;
  transform: scale(1.1);
}

/* --- Gallery Section --- */
.gallery-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.gallery-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.gallery-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img-wrapper img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 184, 141, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
  font-size: 3rem;
  cursor: pointer;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info {
  padding: 1.5rem;
  text-align: center;
}

.gallery-info h5 {
  margin: 0;
  font-weight: 700;
  color: #163560;
  font-size: 1.1rem;
}

.video-item .gallery-overlay i {
  color: #FFEE00;
}

/* --- Contact Section --- */
#contact-intro h2 {
  color: var(--primary-dark);
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

#contact-intro p {
  font-size: 1.1rem;
  color: #666;
  font-weight: 300;
  line-height: 1.6;
}

.contact-info-block {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 30px;
  height: 100%;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.contact-info-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: var(--primary-color);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-info-block h5 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.contact-info-block p {
  font-size: 0.95rem;
  margin: 0;
  color: #555;
  line-height: 1.6;
}

.contact-form-wrapper {
  background-color: white;
  padding: 3rem;
  border-radius: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper h3 {
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 2rem;
  color: var(--primary-dark);
}

.contact-form .form-control {
  border-radius: 15px;
  padding: 0.8rem 1.2rem;
  border: 1px solid #eee;
  background-color: #fcfcfc;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  box-shadow: 0 0 0 4px rgba(1, 184, 141, 0.1);
  border-color: var(--primary-color);
  background-color: white;
}

.btn-contact-submit {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 15px;
  padding: 1rem 2.5rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-contact-submit:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
}

.map-wrapper {
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  margin-top: 4rem;
}

/* --- 5. INTERACTIVE ELEMENTS --- */

/* --- Preloader --- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
}

.loader-content {
  position: relative;
  text-align: center;
}

.loader-logo {
  width: 280px;
  margin-bottom: 30px;
  animation: pulseLogo 2s ease-in-out infinite;
}

.loader-progress-wrap {
  width: 200px;
  height: 4px;
  background-color: #f1f1f1;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

.loader-progress-bar {
  position: absolute;
  top: 0;
  left: -100%;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  animation: progressMove 1.5s infinite linear;
}

@keyframes pulseLogo {

  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }

  50% {
    transform: scale(0.96);
    filter: brightness(1.1);
  }
}

@keyframes progressMove {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

body.preloader-active {
  overflow: hidden;
}

.main-content-wrapper {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.77, 0, 0.175, 1);
}

body.loaded .main-content-wrapper {
  opacity: 1;
  transform: translateY(0);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-stagger>* {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-stagger.active>* {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.active>*:nth-child(1) {
  transition-delay: 0.1s;
}

.reveal-stagger.active>*:nth-child(2) {
  transition-delay: 0.2s;
}

.reveal-stagger.active>*:nth-child(3) {
  transition-delay: 0.3s;
}

.reveal-stagger.active>*:nth-child(4) {
  transition-delay: 0.4s;
}

.reveal-stagger.active>*:nth-child(5) {
  transition-delay: 0.5s;
}

/* --- Mobile FAB --- */
.mobile-fab-wrapper {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.fab-main {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  border: none;
  box-shadow: 0 10px 25px rgba(1, 184, 141, 0.4);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 2;
}

.fab-main:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(1, 184, 141, 0.5);
}

.fab-main.active {
  background-color: #1a1a1a;
  transform: rotate(135deg);
}

.fab-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.5);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.fab-list.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.fab-item {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.fab-item:hover {
  transform: scale(1.1);
}

.fab-item.whatsapp {
  background-color: #25D366;
}

.fab-item.phone {
  background-color: #3498db;
}

.fab-item.contact {
  background-color: var(--yellow);
  color: #1a1a1a;
}

/* --- Back to Top --- */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background-color: #1a1a1a;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 99998;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(1, 184, 141, 0.3);
}

/* --- 6. MEDIA QUERIES (Grouped) --- */

/* Desktop & Large Screens */
@media (min-width: 992px) {
  .mobile-fab-wrapper {
    display: none;
  }
}

/* XL Screens */
@media (max-width: 1399.98px) {
  #nedenkayadibi .section-title {
    font-size: 2.2rem;
  }
}

/* Large Screens */
@media (max-width: 1199.98px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .navbar .nav-item:nth-child(4) {
    display: none;
  }

  #hero h2 {
    font-size: 1.7rem;
  }

  #hero .hero-btn:last-child {
    display: none !important;
  }

  #hakkimizda {
    height: 500px;
  }

  #hakkimizda .sol h2 {
    font-size: 1.3rem;
  }

  #hakkimizda p {
    font-size: 0.8rem;
  }

  #hakkimizda .sol img {
    padding-top: 20px;
  }

  #sertifikalar .cert-img-wrapper img {
    width: 120px;
    height: 120px;
  }

  #sertifikalar .section-title {
    font-size: 1.6rem;
  }

  #nedenkayadibi {
    position: relative;
    padding-bottom: 150px !important;
    max-width: none !important;
  }

  .neden-kayadibi-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .title-column {
    grid-column: span 2;
    order: -1;
    margin-bottom: 1rem;
  }

  .video-column {
    grid-column: span 2;
    order: 10;
    position: absolute;
    bottom: -40px !important;
    left: 35%;
    transform: scale(0.7);
  }
}

/* Medium Screens (Tablets) */
@media (max-width: 991.98px) {
  .mobile-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
  }

  .mobile-nav-actions .navbar-toggler {
    margin: 0;
  }

  .mobile-lang-menu .lang-toggle {
    color: #1f1f1f;
    background: white;
    border-radius: 9px;
    padding: 7px 10px;
    font-size: 0.8rem;
    font-weight: 700;
  }

  .mobile-lang-menu .lang-toggle i {
    font-size: 10px;
  }

  .mobile-lang-menu .lang-dropdown {
    right: 0;
    left: auto;
    border-radius: 10px;
    min-width: 132px;
  }

  .navbar {
    padding: 1rem 0;
  }

  .navbar-collapse {
    margin-top: 0.8rem;
    padding: 0.9rem;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
  }

  .top-bar-mobile {
    display: block;
    margin-bottom: 0.7rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ececec;
    background: #141414;
  }

  .top-bar-mobile .top-socials {
    justify-content: center;
    gap: 1.1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .top-bar-mobile .top-socials a {
    color: #b7b7b7;
    font-size: 0.95rem;
  }

  .top-bar-mobile .top-socials a:hover {
    color: #fff;
  }

  .top-bar-mobile .top-phone {
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  .navbar-nav {
    gap: 0.35rem !important;
  }

  .navbar-nav .nav-link {
    border-radius: 10px;
    padding: 0.65rem 0.85rem !important;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    background-color: #f4f8f7;
  }

  #back-to-top {
    display: none !important;
  }

  #hero .sanatgunesi {
    left: 35%;
  }

  #hero h2 {
    font-size: 2rem;
  }

  #hero h2 small {
    font-size: 1rem;
  }

  #hakkimizda .list-item:last-child {
    display: none !important;
  }

  #sertifikalar .section-title {
    font-size: 1.8rem;
  }

  #sertifikalar .cert-img-wrapper img {
    width: 100px;
    height: 100px;
  }

  #sertifikalar .separator-line {
    width: 100px;
    height: 6px;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
  }

  #sertifikalar .description {
    padding-top: 20px;
  }

  .blog-card-top {
    min-height: auto;
  }

  #main-footer {
    padding: 60px 0;
  }

  .footer-logo {
    text-align: center;
  }

  .content-spot {
    flex-direction: column;
    border-radius: 40px;
  }

  .content-spot .spot-img {
    height: 300px;
  }

  .content-spot .spot-text {
    padding: 2.5rem;
  }

  .content-spot .spot-text h2 {
    font-size: 1.6rem;
  }
}

/* Small Screens (Large Phones) */
@media (max-width: 767.98px) {
  .category-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .category-card .card-top {
    padding: 2rem;
  }

  .category-card .card-img-wrapper {
    height: 220px;
  }

  #hero .sanatgunesi {
    left: 44%;
  }

  #hero .row {
    --bs-gutter-x: 0;
  }

  #hakkimizda .sag .cover {
    border-bottom-right-radius: 60px;
    border-bottom-left-radius: 60px;
    border-top: 10px solid #02b88d;
  }

  #hakkimizda .sol {
    display: none !important;
  }

  #hakkimizda .sag {
    position: relative;
    border-radius: 0;
    padding-left: 0;
  }

  #hakkimizda .sag .icerik {
    padding: 0 20px;
  }

  #hakkimizda .sag .icerik h2 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    top: 100px;
  }

  #hakkimizda .sag .icerik img {
    height: 70px;
  }

  #hakkimizda .list-item:last-child {
    display: flex !important;
  }

  #hakkimizda .icerik h2 {
    position: absolute;
    top: 30px;
    left: 29px;
    width: 50%;
  }

  #ciftlik .ciftlik-icerik p {
    font-size: 0.7rem !important;
  }

  .neden-kayadibi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-item {
    margin: 0 !important;
  }

  .grid-item:last-child {
    display: none !important;
  }

  .video-column {
    grid-column: span 2;
    order: 10;
    position: absolute;
    bottom: 0;
    left: 20%;
  }

  .title-column,
  .video-column {
    grid-column: span 1;
  }

  #nedenkayadibi .section-title {
    font-size: 1.8rem;
  }

  #nedenkayadibi .feature-card {
    border-radius: 40px;
    padding: 2rem 1rem;
  }

  .section-desc {
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  #page-content-intro .cover h2 {
    border-radius: 0px 100px 0px 0px;
    color: white;
    padding: 20px;
    font-size: 1.2rem;
    padding-right: 60px;
  }
}

/* Extra Small Screens (Phones) */
@media (max-width: 575.98px) {
  #hero .sol .icerik {
    padding-left: 20px;
  }

  #hakkimizda {
    overflow-y: hidden;
    height: auto;
  }

  #ciftlik .ciftlik-logo img {
    height: 70px;
    width: auto !important;
  }

  #ciftlik .ciftlik-manset {
    height: 100px !important;
  }

  #ciftlik .ciftlik-icerik h3,
  #ciftlik .ciftlik-icerik p {
    padding: 0;
    margin: 0;
    text-align: center;
    margin-bottom: 10px;
    border: none;
    position: relative;
    padding-bottom: 10px;
  }

  #ciftlik .ciftlik-icerik h3::after {
    content: '';
    width: 40px;
    height: 5px;
    background: rgb(9, 141, 97);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .mobile-fab-wrapper {
    bottom: 20px;
    right: 20px;
  }
}

/* Very Small Screens */
@media (max-width: 480px) {
  .logo {
    max-width: 200px;
  }

  #hero .sanatgunesi {
    left: 50%;
  }

  #hero h2 {
    font-size: 1.8rem;
  }

  #hero h2 small {
    font-size: 0.8rem;
  }

  .footer-logo {
    text-align: center;
  }

  .video-column {
    grid-column: span 2;
    order: 10;
    position: absolute;
    bottom: 0;
    left: 17%;
  }
}