/* ============================================
   Kaynarca Bezi - Özel Stil Dosyası
   Bootstrap 5 Override ve Tema
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ============================================
   CSS Custom Properties (Renk Paleti)
   ============================================ */
:root {
  /* Ana Renkler - Geleneksel Kaynarca Desenleri */
  --primary: #8B4513;        /* Toprak kahverengi */
  --secondary: #D2691E;      /* Açık kahve */
  --accent: #CD853F;         /* Peru */
  --dark: #3E2723;           /* Koyu kahve */
  --light: #F5E6D3;          /* Krem/Bej */
  --white: #FFFAF0;          /* Kırık beyaz */
  
  /* Vurgu Renkleri */
  --red: #B22222;            /* Geleneksel kırmızı */
  --blue: #4682B4;           /* Çivit mavisi */
  --green: #556B2F;          /* Zeytin yeşili */
  
  /* Gölge ve Efektler */
  --shadow-sm: 0 2px 4px rgba(62, 39, 35, 0.1);
  --shadow-md: 0 4px 8px rgba(62, 39, 35, 0.15);
  --shadow-lg: 0 8px 16px rgba(62, 39, 35, 0.2);
  
  /* Geçişler */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================
   Genel Stiller
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
  color: var(--dark);
}

a {
  text-decoration: none;
  transition: var(--transition-normal);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Bootstrap Override - Navbar
   ============================================ */
.navbar {
  background-color: var(--white) !important;
  box-shadow: var(--shadow-md);
  padding: 1rem 0;
  transition: var(--transition-normal);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary) !important;
  transition: var(--transition-fast);
}

.navbar-brand:hover {
  color: var(--secondary) !important;
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  color: var(--dark) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: var(--transition-normal);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-normal);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--primary) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-link.active {
  color: var(--primary) !important;
  font-weight: 600;
}

/* ============================================
   Bootstrap Override - Buttons
   ============================================ */
.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: var(--transition-normal);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
}

/* ============================================
   Bootstrap Override - Cards
   ============================================ */
.card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  background-color: var(--white);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-img-top {
  height: 250px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.card:hover .card-img-top {
  transform: scale(1.1);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--dark);
  font-size: 0.95rem;
}

/* ============================================
   Özel Bileşenler - Hero Section
   ============================================ */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/hero/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  animation: fadeInUp 1.2s ease;
  font-family: 'Poppins', sans-serif;
}

.hero-buttons {
  animation: fadeInUp 1.4s ease;
}

/* ============================================
   Özel Bileşenler - Section
   ============================================ */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

/* ============================================
   Özel Bileşenler - Feature Cards
   ============================================ */
.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  background-color: var(--light);
  transition: var(--transition-normal);
  height: 100%;
}

.feature-card:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
  color: var(--white);
  transform: scale(1.2);
}

.feature-card h4 {
  color: var(--dark);
  margin-bottom: 1rem;
  transition: var(--transition-normal);
}

.feature-card:hover h4,
.feature-card:hover p {
  color: var(--white);
}

/* ============================================
   Özel Bileşenler - Footer
   ============================================ */
.footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer p,
.footer a {
  color: var(--light);
  font-size: 0.95rem;
}

.footer a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 230, 211, 0.2);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  margin: 0 0.5rem;
  transition: var(--transition-normal);
}

.social-links a:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
}

/* ============================================
   Animasyonlar
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ============================================
   Responsive Tasarım
   ============================================ */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* ============================================
   Utility Classes
   ============================================ */
.bg-primary-custom {
  background-color: var(--primary);
}

.bg-light-custom {
  background-color: var(--light);
}

.text-primary-custom {
  color: var(--primary);
}

.text-secondary-custom {
  color: var(--secondary);
}

.border-primary-custom {
  border-color: var(--primary) !important;
}

/* ============================================
   Yeni Özellikler Stilleri
   ============================================ */

/* Navbar Scrolled */
.navbar-scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-lg);
  background-color: rgba(255, 250, 240, 0.95) !important;
  backdrop-filter: blur(10px);
}

/* Gallery Item */
.gallery-item {
  cursor: pointer;
  position: relative;
}

.gallery-item::after {
  content: '\F61C'; /* Bootstrap Icons: zoom-in */
  font-family: 'bootstrap-icons';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background-color: rgba(139, 69, 19, 0.8);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition-normal);
  opacity: 0;
}

.gallery-item:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Scroll to Top Button */
#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: var(--primary);
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

#scrollToTopBtn:hover {
  background-color: var(--dark);
  transform: translateY(-5px);
}

#scrollToTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
