@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #2e8b57;
  --primary-light: #46b876;
  --primary-dark: #1e5c39;
  --primary-bg: #edf8f1;
  --accent-color: #e5a93b;
  --accent-terracotta: #d9822b;
  --accent-light: #faf0dd;
  --bg-dark: #0e1712;
  --bg-light: #f7faf8;
  --text-dark: #16241c;
  --text-light: #ffffff;
  --text-muted: #5e7265;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-dark: rgba(14, 23, 18, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-border-dark: rgba(255, 255, 255, 0.08);
  --shadow: 0 10px 30px rgba(46, 139, 87, 0.06);
  --shadow-hover: 0 20px 40px rgba(46, 139, 87, 0.15);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
  border: 2px solid var(--bg-light);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(46, 139, 87, 0.10);
  box-shadow: 0 6px 24px rgba(20, 40, 28, 0.05);
  transition: var(--transition);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(20, 40, 28, 0.10);
  padding: 4px 0;
}

/* Brand: logo mark + wordmark (left aligned) */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
}

.logo-shield {
  background: var(--text-light);
  border: 2px solid var(--primary-bg);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(46, 139, 87, 0.12);
  transition: var(--transition);
  padding: 5px;
  flex-shrink: 0;
}

.logo-shield img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

header.scrolled .logo-shield {
  width: 48px;
  height: 48px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.05;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-text span {
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--accent-terracotta);
  -webkit-text-fill-color: initial;
}

@media (max-width: 1199px) and (min-width: 992px) {
  .nav-link {
    font-size: 0.95rem;
    margin: 0 4px;
    padding: 8px 10px !important;
  }
}

@media (max-width: 400px) {
  .brand-text { display: none; }
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text-dark) !important;
  margin: 0 10px;
  padding: 8px 16px !important;
  border-radius: var(--border-radius-sm);
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--primary-color) !important;
  background: rgba(46, 139, 87, 0.05);
}

.nav-link.active {
  color: var(--primary-color) !important;
  background: var(--primary-bg);
  font-weight: 600;
}

.nav-link.active::after {
  width: 60%;
}

.navbar-toggler {
  border: none;
  background: var(--primary-bg);
  padding: 8px;
  border-radius: 50%;
  color: var(--primary-color);
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Call to Action Button in Nav */
.nav-cta {
  background: var(--primary-color);
  color: var(--text-light) !important;
  border-radius: 30px;
  padding: 8px 24px !important;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(46, 139, 87, 0.2);
}

.nav-cta:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 139, 87, 0.3);
  color: var(--text-light) !important;
}

/* Page Layout Spacer */
main {
  padding-top: 84px;
  min-height: calc(100vh - 84px);
  position: relative;
  overflow-x: clip; /* ekran dışı korkuluklar yatay kaydırma oluşturmasın */
}

@media (min-width: 992px) {
  main {
    padding-top: 90px;
    min-height: calc(100vh - 90px);
  }
}

/* Buttons */
.btn-festival {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-festival-primary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.btn-festival-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(46, 139, 87, 0.3);
}

.btn-festival-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-festival-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(46, 139, 87, 0.15);
}

.btn-festival-accent {
  background: var(--accent-color);
  color: var(--bg-dark);
  border: 2px solid var(--accent-color);
}

.btn-festival-accent:hover {
  background: var(--accent-terracotta);
  border-color: var(--accent-terracotta);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(229, 169, 59, 0.3);
}

/* Sections & Typography Styles */
.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 45px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 800;
  position: relative;
  z-index: 2;
}

.section-title .accent-line {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 80px;
  height: 5px;
  background: var(--primary-color);
  border-radius: 5px;
}

.section-title .accent-line::after {
  content: '';
  position: absolute;
  right: -15px;
  width: 10px;
  height: 5px;
  background: var(--accent-color);
  border-radius: 5px;
}

.section-subtitle {
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: block;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(238, 249, 242, 0.8) 0%, rgba(247, 250, 248, 1) 90%);
  padding: 60px 0;
}

.hero-shapes {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 0;
}

.hero-shape-1 {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(46, 139, 87, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  animation: float-slow 12s infinite alternate;
}

.hero-shape-2 {
  position: absolute;
  bottom: -10%;
  right: 15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(229, 169, 59, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  animation: float-slow 8s infinite alternate-reverse;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--primary-color);
  background: linear-gradient(120deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-date-badge {
  display: inline-flex;
  align-items: center;
  background: var(--primary-bg);
  border: 1px solid rgba(46, 139, 87, 0.2);
  color: var(--primary-color);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  margin-bottom: 25px;
  font-family: 'Outfit', sans-serif;
  gap: 8px;
}

.hero-image-wrapper {
  position: relative;
  z-index: 2;
}

.hero-image-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 8px solid var(--text-light);
  transform: rotate(2deg);
  transition: var(--transition);
}

.hero-image-container:hover {
  transform: rotate(0) scale(1.02);
}

.hero-badge-interactive {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  padding: 15px 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 3;
  animation: float-badge 4s ease-in-out infinite;
}

.hero-badge-icon {
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.3rem;
}

/* Animations */
@keyframes float-slow {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(30px) rotate(15deg); }
}
@keyframes float-badge {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Countdown Timer */
.countdown-container {
  margin-top: 40px;
  display: flex;
  gap: 15px;
}

.countdown-box {
  background: var(--text-light);
  border: 1px solid rgba(46, 139, 87, 0.1);
  box-shadow: var(--shadow);
  border-radius: var(--border-radius-md);
  min-width: 90px;
  padding: 15px 10px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.countdown-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.countdown-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.1;
  display: block;
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 5px;
  display: block;
}

/* Standard Interactive Cards */
.festival-card {
  background: var(--text-light);
  border: 1px solid rgba(46, 139, 87, 0.06);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.festival-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(46, 139, 87, 0.2);
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
  padding-bottom: 65%;
}

.card-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.festival-card:hover .card-img-wrapper img {
  transform: scale(1.08);
}

.card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  color: var(--primary-color);
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.card-body-custom {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title-custom {
  font-size: 1.35rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.card-text-custom {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-footer-custom {
  border-top: 1px solid rgba(46, 139, 87, 0.08);
  padding: 15px 25px;
  background: rgba(46, 139, 87, 0.02);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-footer-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.card-footer-info i {
  color: var(--primary-color);
}

/* Feature/Stat Counter Section */
.stats-section {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(46, 139, 87, 0.15) 0%, rgba(0,0,0,0) 50%);
  z-index: 0;
}

.stat-box {
  position: relative;
  z-index: 1;
  text-align: center;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Timeline Component */
.timeline-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.timeline-tab-btn {
  background: var(--text-light);
  border: 1px solid rgba(46, 139, 87, 0.1);
  padding: 15px 35px;
  border-radius: 40px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-muted);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.timeline-tab-btn:hover {
  color: var(--primary-color);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.timeline-tab-btn.active {
  background: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
  box-shadow: 0 10px 25px rgba(46, 139, 87, 0.25);
}

.timeline-wrapper {
  position: relative;
  padding: 30px 0;
}

.day-header-divider {
  clear: both;
  text-align: center;
  position: relative;
  margin: 55px 0 35px 0;
  width: 100%;
  z-index: 5;
}

.day-header-divider:first-child {
  margin-top: 10px;
}

.day-header-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), #1b5e20);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  padding: 10px 28px;
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(46, 139, 87, 0.35);
  border: 3px solid #ffffff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: rgba(46, 139, 87, 0.15);
  transform: translateX(-50%);
  border-radius: 5px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  width: 100%;
  clear: both;
}

.timeline-item::after {
  content: '';
  display: table;
  clear: both;
}

.timeline-img {
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  border: 4px solid var(--text-light);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 15px;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(46, 139, 87, 0.1), var(--shadow);
  z-index: 2;
  transition: var(--transition);
}

.timeline-item:hover .timeline-img {
  background: var(--primary-color);
  transform: translateX(-50%) scale(1.2);
}

.timeline-content-box {
  width: 45%;
  background: var(--text-light);
  border: 1px solid rgba(46, 139, 87, 0.06);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
}

.timeline-content-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(46, 139, 87, 0.2);
}

.timeline-item.timeline-right .timeline-content-box {
  float: right !important;
}

.timeline-item.timeline-left .timeline-content-box {
  float: left !important;
}

.timeline-item:nth-child(even) .timeline-content-box {
  float: right;
}

.timeline-item:nth-child(odd) .timeline-content-box {
  float: left;
}

.timeline-time-badge {
  display: inline-block;
  background: var(--primary-bg);
  color: var(--primary-color);
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 12px;
  font-family: 'Outfit', sans-serif;
}

.timeline-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 12px;
  font-weight: 500;
}

.timeline-location-tag i {
  color: var(--primary-color);
}

/* Timeline Responsive */
@media (max-width: 991px) {
  .timeline-wrapper::before {
    left: 40px;
  }
  .timeline-img {
    left: 40px;
  }
  .timeline-content-box {
    width: calc(100% - 80px);
    float: right !important;
  }
}

/* Interactive SVG/CSS Village Map */
.map-section {
  padding: 80px 0;
  background: #edf3ee;
  border-radius: var(--border-radius-lg);
  position: relative;
  overflow: hidden;
}

.map-container {
  position: relative;
  width: 100%;
  height: 550px;
  background: var(--text-light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow);
  border: 1px solid rgba(46, 139, 87, 0.1);
  overflow: hidden;
}

/* Map SVG Background Details */
.map-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.map-pins {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.map-pin {
  position: absolute;
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  border: 3px solid var(--text-light);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg) translate(-50%, -50%);
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: var(--transition);
}

.map-pin::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent-color);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.map-pin:hover, .map-pin.active {
  background: var(--accent-terracotta);
  transform: rotate(-45deg) translate(-50%, -50%) scale(1.2);
  z-index: 10;
}

.map-pin-pulse {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  animation: pulse-pin 2s infinite;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

@keyframes pulse-pin {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.map-info-panel {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 350px;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  padding: 25px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.1);
  z-index: 5;
  transition: var(--transition);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
}

.map-info-panel.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Lightbox styles */
.gallery-filter-btn {
  background: transparent;
  border: 1px solid rgba(46, 139, 87, 0.2);
  color: var(--text-dark);
  padding: 8px 24px;
  border-radius: 20px;
  font-weight: 600;
  transition: var(--transition);
}

.gallery-filter-btn:hover {
  background: var(--primary-bg);
  color: var(--primary-color);
}

.gallery-filter-btn.active {
  background: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}

/* Rules / Eco Section */
.rule-card {
  background: var(--text-light);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(46, 139, 87, 0.08);
  box-shadow: var(--shadow);
  padding: 35px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.rule-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-color);
}

.rule-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-color);
}

.rule-card-accent::before {
  background: var(--accent-color);
}

.rule-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-bg);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 25px;
  transition: var(--transition);
}

.rule-card:hover .rule-icon-box {
  background: var(--primary-color);
  color: var(--text-light);
}

/* Custom Forms */
.form-group-custom {
  margin-bottom: 25px;
}

.form-control-custom {
  background: var(--text-light);
  border: 2px solid rgba(46, 139, 87, 0.1);
  padding: 15px 20px;
  border-radius: var(--border-radius-sm);
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  box-shadow: none;
}

.form-control-custom:focus {
  border-color: var(--primary-color);
  background: var(--text-light);
  box-shadow: 0 4px 15px rgba(46, 139, 87, 0.05);
}

label.form-label-custom {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
}

/* Success Alert & Toast Styles */
.toast-custom {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 20px 30px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  z-index: 1050;
  display: flex;
  align-items: center;
  gap: 15px;
  border-left: 5px solid var(--primary-light);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.toast-custom.visible {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 1.5rem;
  color: var(--primary-light);
}

/* Footer Section */
footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 30px;
  font-size: 0.95rem;
  border-top: 5px solid var(--primary-color);
}

footer h5 {
  color: var(--text-light);
  font-size: 1.25rem;
  margin-bottom: 25px;
  font-weight: 700;
  position: relative;
}

footer h5::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--accent-color);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.footer-social-btn:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  margin-top: 60px;
  font-size: 0.85rem;
}

/* Custom Shape Divider */
.custom-shape-divider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.custom-shape-divider-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 45px;
}

.custom-shape-divider-bottom .shape-fill {
  fill: #edf3ee;
}

/* Nav Pills Customization (for tabs in LezzetlerAtolyeler page) */
.nav-pills .nav-link {
  color: var(--text-dark) !important;
  background: var(--text-light) !important;
  border: 1px solid rgba(46, 139, 87, 0.15) !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  border-radius: 30px;
  transition: var(--transition);
}

.nav-pills .nav-link:hover {
  color: var(--primary-color) !important;
  background: var(--primary-bg) !important;
  border-color: var(--primary-light) !important;
}

.nav-pills .nav-link.active, 
.nav-pills .show > .nav-link {
  background-color: var(--primary-color) !important;
  color: var(--text-light) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 10px 25px rgba(46, 139, 87, 0.25);
}

/* Mobile Navbar Styles */
@media (max-width: 991px) {
  .navbar {
    padding: 5px 15px !important;
  }
  
  .logo-shield {
    width: 48px;
    height: 48px;
    padding: 4px;
  }
  
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--border-radius-md);
    padding: 20px 15px;
    margin-top: 15px;
    box-shadow: 0 15px 35px rgba(46, 139, 87, 0.12);
    border: 1px solid rgba(46, 139, 87, 0.1);
  }
  
  .navbar-nav {
    align-items: stretch !important;
    width: 100%;
  }
  
  .nav-link {
    margin: 6px 0 !important;
    padding: 12px 20px !important;
    text-align: center;
    border-radius: var(--border-radius-sm);
  }
  
  .nav-cta {
    text-align: center;
    margin-top: 10px !important;
    width: 100%;
  }
}

/* Global Mobile Responsive Adjustments */
@media (max-width: 767px) {
  body {
    font-size: 0.95rem;
  }
  
  .py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  
  .my-5 {
    margin-top: 2.5rem !important;
    margin-bottom: 2.5rem !important;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  /* Hero Section mobile improvements */
  .hero-section {
    padding: 40px 0;
    min-height: auto;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.25;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-content .d-flex {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    margin-top: 30px;
  }
  
  /* Countdown Timer mobile adjustments */
  .countdown-container {
    gap: 8px;
    justify-content: center;
    margin-top: 25px;
  }
  
  .countdown-box {
    min-width: 68px;
    padding: 10px 4px;
  }
  
  .countdown-value {
    font-size: 1.4rem;
  }
  
  .countdown-label {
    font-size: 0.65rem;
    margin-top: 3px;
  }
  
  /* Timeline component mobile adjustments */
  .timeline-tabs {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    justify-content: center;
  }
  
  .timeline-tab-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
    flex: 1 1 auto;
    text-align: center;
  }
  
  .timeline-content-box {
    padding: 20px;
  }
  
  .timeline-content-box h4 {
    font-size: 1.15rem;
  }
  
  /* Stats Box mobile adjustments */
  .stat-number {
    font-size: 2.8rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }

  /* Form controls styling adjustments */
  .form-control-custom {
    padding: 12px 16px;
  }
  
  .btn-festival {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  /* Gallery mobile adjustments */
  .gallery-item {
    height: 200px;
  }
}

/* ========================================
   Festival Photo Gallery
   ======================================== */
.gallery-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  cursor: pointer;
  height: 280px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.75);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.4s ease;
  color: var(--text-light);
  z-index: 2;
}

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

.gallery-overlay i {
  font-size: 2rem;
  background: rgba(46, 139, 87, 0.7);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1.1);
}

.gallery-overlay span {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  letter-spacing: 0.03em;
}

/* ========================================
   Lightbox Modal
   ======================================== */
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
}

.gallery-lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10000;
  line-height: 1;
  transition: var(--transition);
  opacity: 0.7;
}

.lightbox-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  font-size: 1.4rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: rgba(46, 139, 87, 0.6);
  border-color: var(--primary-color);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-content {
  max-width: 85vw;
  max-height: 85vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--border-radius-md);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  object-fit: contain;
}

.lightbox-caption {
  color: rgba(255,255,255,0.85);
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 15px;
  letter-spacing: 0.03em;
}

@media (max-width: 767px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
  
  .lightbox-content {
    max-width: 95vw;
  }
}

/* ========================================
   Application Type Toggle Buttons
   ======================================== */
.btn-app-type {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius-md);
  background: #f8f9fa;
  cursor: pointer;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #666;
  transition: var(--transition);
  line-height: 1.4;
}

.btn-app-type:hover {
  border-color: var(--primary-color);
  background: rgba(46, 139, 87, 0.05);
  color: var(--primary-color);
}

.btn-app-type.active {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, rgba(46, 139, 87, 0.08), rgba(46, 139, 87, 0.15));
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(46, 139, 87, 0.15);
}

.btn-app-type small {
  font-weight: 400;
  font-size: 0.75rem;
}

/* ========================================
   File Upload Dropzone
   ======================================== */
.upload-dropzone {
  border: 2px dashed #ccd5cc;
  border-radius: var(--border-radius-md);
  padding: 35px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: #fafbfa;
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
  border-color: var(--primary-color);
  background: rgba(46, 139, 87, 0.04);
}

.upload-dropzone.dragover {
  transform: scale(1.01);
  box-shadow: 0 0 20px rgba(46, 139, 87, 0.1);
}

.upload-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
}

.upload-preview-item {
  position: relative;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow);
}

.upload-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(220, 53, 69, 0.9);
  color: white;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.upload-preview-remove:hover {
  background: #dc3545;
  transform: scale(1.1);
}

.upload-preview-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 0.65rem;
  padding: 3px 5px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 576px) {
  .btn-app-type {
    padding: 12px 10px;
    font-size: 0.85rem;
  }
  
  .btn-app-type small {
    font-size: 0.65rem;
  }
  
  .upload-preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   Custom Category Card Checkbox Selection
   ======================================== */
.category-select-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #e0e6e0;
  border-radius: var(--border-radius-md);
  transition: all 0.25s ease;
  overflow: hidden;
}

.category-select-card:hover {
  border-color: var(--primary-color);
  background: rgba(46, 139, 87, 0.01);
}

.category-checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.category-checkbox-label {
  display: flex;
  align-items: flex-start;
  padding: 15px;
  margin-bottom: 0;
  cursor: pointer;
  width: 100%;
  user-select: none;
}

.checkbox-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 2px solid #bbc4bb;
  border-radius: 6px;
  margin-right: 12px;
  margin-top: 1px;
  flex-shrink: 0;
  background: #fff;
  transition: all 0.2s ease;
  color: #fff;
  font-size: 10px;
}

.category-checkbox-input:checked + .category-checkbox-label .checkbox-box {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.category-checkbox-input:checked + .category-checkbox-label {
  background-color: rgba(46, 139, 87, 0.03);
}

.category-select-card:has(.category-checkbox-input:checked) {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(46, 139, 87, 0.08);
}

.category-details {
  display: flex;
  flex-direction: column;
}

.category-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 3px;
}

.category-desc {
  font-size: 0.75rem;
  color: #778877;
  line-height: 1.3;
}
/* ============================================================
   FESTİVAL COŞKUSU — Menü + Hero Şenlik Katmanı
   ============================================================ */
:root {
  --cf1: #e5a93b; /* altın */
  --cf2: #d9822b; /* terracotta */
  --cf3: #46b876; /* yeşil */
  --cf4: #e0556b; /* mercan */
  --cf5: #3fa9d6; /* gök */
  --cf6: #9b6dd6; /* mor */
}

/* --- Menü: üstte hareketli renkli şenlik şeridi --- */
#mainHeader::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg,
    var(--cf3), var(--cf1), var(--cf4), var(--cf5), var(--cf6), var(--cf2), var(--cf3));
  background-size: 200% auto;
  animation: rainbow-slide 7s linear infinite;
  z-index: 1001;
}
@keyframes rainbow-slide {
  to { background-position: 200% center; }
}

/* --- Menü: daha canlı, parlayan CTA --- */
.nav-cta {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
  box-shadow: 0 4px 16px rgba(46, 139, 87, 0.35);
  animation: cta-pulse 2.8s ease-in-out infinite;
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-terracotta)) !important;
  box-shadow: 0 8px 22px rgba(229, 169, 59, 0.45);
}
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(46, 139, 87, 0.30); }
  50% { box-shadow: 0 6px 22px rgba(46, 139, 87, 0.50); }
}

/* --- Menü: renkli alt çizgi vurgusu --- */
.nav-link::after {
  background: linear-gradient(90deg, var(--cf3), var(--cf1)) !important;
  height: 3px;
}

/* ============================================================
   HERO — Şenlikli arka plan
   ============================================================ */
.festive-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(70, 184, 118, 0.20) 0%, rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 88% 22%, rgba(229, 169, 59, 0.20) 0%, rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 72% 92%, rgba(217, 130, 43, 0.14) 0%, rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 25% 88%, rgba(63, 169, 214, 0.10) 0%, rgba(255, 255, 255, 0) 45%),
    linear-gradient(180deg, #fbfdf9 0%, #ecf8f0 100%) !important;
  padding-top: 80px !important;
}

.hero-shape-3 {
  position: absolute;
  top: 35%;
  left: -8%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(224, 85, 107, 0.10) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  animation: float-slow 10s infinite alternate;
  z-index: 0;
}

/* --- Flama dizisi (bunting) --- */
.bunting {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 46px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 3%;
  z-index: 5;
  pointer-events: none;
}
.bunting::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 0;
  width: 100%;
  height: 26px;
  border-bottom: 3px solid rgba(46, 139, 87, 0.30);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.bunting span {
  position: relative;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 24px solid var(--cf1);
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.10));
  transform-origin: top center;
  animation: bunting-sway 3.2s ease-in-out infinite;
  animation-delay: calc(var(--f) * -0.18s);
}
.bunting span:nth-child(6n+1) { border-top-color: var(--cf1); }
.bunting span:nth-child(6n+2) { border-top-color: var(--cf3); }
.bunting span:nth-child(6n+3) { border-top-color: var(--cf4); }
.bunting span:nth-child(6n+4) { border-top-color: var(--cf5); }
.bunting span:nth-child(6n+5) { border-top-color: var(--cf2); }
.bunting span:nth-child(6n+6) { border-top-color: var(--cf6); }
@keyframes bunting-sway {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

/* --- Uçuşan konfetiler --- */
.confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}
.confetti i {
  position: absolute;
  top: -8%;
  left: var(--x);
  width: 9px;
  height: 15px;
  background: var(--c);
  border-radius: 2px;
  opacity: 0;
  transform: rotate(var(--r, 0deg));
  animation: confetti-fall var(--dur, 8s) linear infinite;
  animation-delay: var(--d, 0s);
}
.confetti i:nth-child(even) {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
@keyframes confetti-fall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  8%   { opacity: 0.9; }
  90%  { opacity: 0.85; }
  100% { transform: translateY(90vh) rotate(680deg); opacity: 0; }
}

/* --- Rozet satırı (tarih + ücretsiz + konum) --- */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.festive-hero .hero-date-badge {
  margin-bottom: 0;
  box-shadow: 0 6px 18px rgba(46, 139, 87, 0.18);
  animation: badge-glow 3s ease-in-out infinite;
}
@keyframes badge-glow {
  0%, 100% { box-shadow: 0 6px 18px rgba(46, 139, 87, 0.18); }
  50% { box-shadow: 0 6px 24px rgba(46, 139, 87, 0.34); }
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 30px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
}
.hero-pill-free {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-terracotta));
  color: #fff;
  box-shadow: 0 6px 16px rgba(217, 130, 43, 0.30);
}
.hero-pill-loc {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid rgba(46, 139, 87, 0.18);
}

/* --- Hareketli, parlayan başlık --- */
.festive-hero .hero-title span {
  background: linear-gradient(120deg,
    var(--primary-color), var(--accent-color), var(--accent-terracotta), var(--primary-light), var(--primary-color));
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-text 6s linear infinite;
}
@keyframes shimmer-text {
  to { background-position: 300% center; }
}

/* --- Butonlarda ışık parlaması --- */
.festive-hero .btn-festival-primary::before,
.festive-hero .btn-festival-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-22deg);
  animation: btn-shine 3.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btn-shine {
  0% { left: -130%; }
  55%, 100% { left: 170%; }
}

/* --- Hero görseline şenlik kurdelesi --- */
.festive-hero .hero-image-container::after {
  content: 'ŞENLİK ZAMANI';
  position: absolute;
  top: 18px;
  right: -42px;
  background: linear-gradient(135deg, var(--cf4), var(--accent-terracotta));
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 7px 50px;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  z-index: 4;
}
.festive-hero .hero-image-container {
  position: relative;
}

/* Konfeti/flama mobilde sadeleşsin */
@media (max-width: 991px) {
  .bunting span { border-left-width: 11px; border-right-width: 11px; border-top-width: 18px; }
  .festive-hero .hero-image-container::after { display: none; }
  .hero-pill-loc { display: none; }
}

/* Hareket azaltma tercihi olanlar için animasyonları durdur */
@media (prefers-reduced-motion: reduce) {
  .confetti, .bunting span, .nav-cta,
  #mainHeader::before, .festive-hero .hero-title span,
  .festive-hero .btn-festival-primary::before,
  .festive-hero .btn-festival-secondary::before,
  .festive-hero .hero-date-badge,
  .hero-shape-3 {
    animation: none !important;
  }
}

/* ===== Sağdan/Soldan Fırlayan Korkuluklar (Oyuk) ===== */
.scarecrow-field {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;          /* ekran dışındaki korkulukları gizle */
  pointer-events: none;      /* tıklamalar altındaki içeriğe geçsin */
  z-index: 3;
}

.scarecrow-peek {
  position: absolute;
  width: var(--w, 150px);
  opacity: 0;                /* GSAP görünür yapana kadar gizli */
  will-change: transform, opacity;
  filter: drop-shadow(0 8px 12px rgba(30, 92, 57, 0.18));
}

.scarecrow-peek.left  { left: 0; }
.scarecrow-peek.right { right: 0; }

/* ===== Festival Hikayesi (Story Timeline) ===== */
.story-section {
  position: relative;
}

.story-timeline {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 0;
}

/* Ortadaki kesikli yol çizgisi */
.story-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  border-left: 3px dashed var(--primary-light);
  opacity: 0.5;
}

.story-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 96px 1fr;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.story-step:last-child { margin-bottom: 0; }

/* Korkuluk avatar düğümü (her zaman ortada, çizginin üstünde) */
.story-node {
  grid-column: 2;
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--outline, #4a6b3a);
  box-shadow: 0 10px 22px rgba(30, 92, 57, 0.15);
  overflow: hidden;
  display: flex;
  justify-content: center;
  z-index: 2;
}
.story-node svg {
  width: 88px;
  height: auto;
  margin-top: 10px;
}

.story-step-no {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--outline, #4a6b3a);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  z-index: 3;
}

/* Hikaye kartı */
.story-card {
  grid-column: 1;
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--outline, #4a6b3a);
  text-align: right;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.story-step:nth-child(even) .story-card {
  grid-column: 3;
  text-align: left;
}
.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}
.story-card h4 {
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.story-card p {
  color: #5c6b5f;
  line-height: 1.65;
}
.story-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #eef3e8;
  background: color-mix(in srgb, var(--tunic, #93b06d) 22%, #fff);
  color: var(--outline, #4a6b3a);
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
}

/* Mobil: tek sütun, çizgi solda */
@media (max-width: 767.98px) {
  .story-timeline::before { left: 32px; }
  .story-step {
    grid-template-columns: 64px 1fr;
    gap: 1rem;
    margin-bottom: 1.75rem;
  }
  .story-node {
    grid-column: 1;
    width: 64px;
    height: 64px;
    border-width: 3px;
  }
  .story-node svg { width: 58px; margin-top: 7px; }
  .story-step-no { width: 24px; height: 24px; font-size: 0.75rem; }
  .story-card,
  .story-step:nth-child(even) .story-card {
    grid-column: 2;
    text-align: left;
    padding: 1.15rem 1.25rem;
  }
}

/* Renk temaları (--hat: şapka, --tunic: gövde, --outline: kontur, --straw: saman, --center: papatya göbeği) */
.oyuk-c1 { --hat:#7d9a5b; --tunic:#93b06d; --outline:#4a6b3a; --straw:#a9945f; --center:#e5a93b; } /* adaçayı yeşili */
.oyuk-c2 { --hat:#d9822b; --tunic:#e79a4a; --outline:#9c531a; --straw:#c9a24e; --center:#fff3d6; } /* balkabağı turuncu */
.oyuk-c3 { --hat:#e0b53a; --tunic:#efc85e; --outline:#9c7a1c; --straw:#b7924a; --center:#8c5a1a; } /* hardal sarısı */
.oyuk-c4 { --hat:#4a90b8; --tunic:#6bb0d6; --outline:#255a78; --straw:#c9b06a; --center:#ffd24a; } /* gök mavisi */
.oyuk-c5 { --hat:#c14a5e; --tunic:#dd6f81; --outline:#7d2333; --straw:#c9a24e; --center:#ffe0a0; } /* kiraz kırmızısı */
.oyuk-c6 { --hat:#8a6bb0; --tunic:#a98ccc; --outline:#4f3574; --straw:#c9b06a; --center:#ffd24a; } /* lavanta moru */

.scarecrow-peek svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Tablette korkulukları küçült */
@media (max-width: 991.98px) {
  .scarecrow-peek { width: calc(var(--w, 150px) * 0.62); }
}

/* Telefonda: daha küçük + kenardan sadece kısmen çıksınlar (metni kapatmasınlar) */
@media (max-width: 575.98px) {
  .scarecrow-peek        { width: calc(var(--w, 150px) * 0.46); }
  .scarecrow-peek.left   { left: -34px; }
  .scarecrow-peek.right  { right: -30px; }
}

/* Hareket azaltma tercihi: korkulukları sabit ve görünür bırak */
@media (prefers-reduced-motion: reduce) {
  .scarecrow-peek {
    opacity: 1 !important;
    transform: none !important;
  }
}
