/* =====================================================
   Osmanlı Yiğitleri Teşkilatı - Ana Stil Dosyası
   ===================================================== */

:root {
  --haki:       #556B2F;
  --haki-dark:  #3d5022;
  --haki-light: #6e8a3e;
  --turkuaz:    #40E0D0;
  --turkuaz-dark:#2bbfb0;
  --gold:       #C9A84C;
  --gold-light: #e8c76a;
  --dark:       #1a1a2e;
  --dark2:      #16213e;
  --white:      #ffffff;
  --light-bg:   #f8f9fa;
  --text-muted: #6c757d;
  --border:     #dee2e6;
  --shadow:     0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.18);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: all .3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #2d3436;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
}

a { color: var(--haki); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--haki-dark); }

img { max-width: 100%; height: auto; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #2a2a2a; }
::-webkit-scrollbar-thumb { background: var(--haki); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--haki-light); }

/* ===== Preloader ===== */
#preloader {
  position: fixed; inset: 0;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity .5s ease;
}
#preloader.fade-out { opacity: 0; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo { width: 80px; animation: pulse 1.5s infinite; }
.preloader-text { color: var(--gold); font-size: 1.1rem; margin-top: 15px; letter-spacing: 3px; }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(to right, #ffffff 0%, #f5f5f5 18%, #3d5022 42%, #556B2F 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,.2);
  transition: var(--transition);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.site-header.scrolled {
  background: linear-gradient(to right, #ffffff 0%, #f0f0f0 18%, #3d5022 42%, #556B2F 100%);
  box-shadow: 0 4px 30px rgba(0,0,0,.35);
}

.navbar-brand .brand-logo {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.brand-text { line-height: 1.2; }
.brand-text .brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  letter-spacing: 1px;
}
.brand-text .brand-slogan {
  font-size: .7rem;
  color: var(--turkuaz);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,.85) !important;
  font-weight: 600;
  padding: .5rem 1rem !important;
  position: relative;
  transition: var(--transition);
  letter-spacing: .5px;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--turkuaz);
  transition: var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffffff !important;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  left: 10%; right: 10%;
}

.btn-uye-ol {
  background: linear-gradient(135deg, var(--haki), var(--haki-light));
  color: #fff !important;
  border-radius: 25px;
  padding: .45rem 1.5rem !important;
  border: none;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 3px 15px rgba(85,107,47,.4);
}
.btn-uye-ol:hover {
  background: linear-gradient(135deg, var(--haki-dark), var(--haki));
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(85,107,47,.5);
  color: #fff !important;
}

.navbar-toggler { border: 1px solid rgba(201,168,76,.4); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(201,168,76,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Hero Section ===== */
.hero-section {
  min-height: 100vh;
  background:
    linear-gradient(160deg, rgba(26,26,46,.92) 0%, rgba(85,107,47,.8) 60%, rgba(64,224,208,.2) 100%),
    url('../images/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../images/pattern.png') repeat;
  opacity: .04;
}

.hero-ornament {
  position: absolute;
  opacity: .06;
  pointer-events: none;
}
.hero-ornament-1 { top: 10%; right: 5%; width: 300px; }
.hero-ornament-2 { bottom: 10%; left: 5%; width: 200px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.4);
  color: var(--gold);
  padding: .4rem 1.2rem;
  border-radius: 25px;
  font-size: .85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInDown .8s ease;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
  animation: fadeInUp .8s ease .2s both;
}
.hero-title .highlight {
  color: var(--turkuaz);
  position: relative;
}
.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--turkuaz);
  border-radius: 2px;
  animation: expandWidth 1s ease 1s both;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2.5rem;
  max-width: 600px;
  animation: fadeInUp .8s ease .4s both;
}

.hero-buttons { animation: fadeInUp .8s ease .6s both; }

.btn-primary-custom {
  background: linear-gradient(135deg, var(--haki), var(--haki-light));
  color: #fff;
  padding: .85rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  box-shadow: 0 5px 25px rgba(85,107,47,.5);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--haki-dark), var(--haki));
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(85,107,47,.6);
  color: #fff;
}

.btn-outline-custom {
  background: transparent;
  color: var(--turkuaz);
  padding: .85rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--turkuaz);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-outline-custom:hover {
  background: var(--turkuaz);
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(64,224,208,.4);
}

.hero-stats {
  animation: fadeInUp .8s ease .8s both;
}
.hero-stat {
  text-align: center;
  padding: 1.5rem;
  border-right: 1px solid rgba(255,255,255,.15);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.hero-stat .stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  cursor: pointer;
}
.hero-scroll-indicator span {
  display: block;
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 15px;
  position: relative;
  margin: 0 auto;
}
.hero-scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--turkuaz);
  border-radius: 50%;
  animation: scrollDot 2s infinite;
}

/* ===== Section Styles ===== */
.section-header { margin-bottom: 3rem; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(85,107,47,.1);
  color: var(--haki);
  padding: .35rem 1rem;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: .75rem;
  border: 1px solid rgba(85,107,47,.2);
}
.section-tag i { color: var(--turkuaz); }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .75rem;
  line-height: 1.2;
}
.section-title .text-accent { color: var(--haki); }

.section-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}
.section-divider::before, .section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--haki), transparent);
  max-width: 80px;
}
.divider-icon { color: var(--gold); font-size: 1.2rem; }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== About / Intro Section ===== */
.intro-section { padding: 100px 0; background: var(--light-bg); }

.intro-visual {
  position: relative;
  height: 450px;
}
.intro-img-main {
  width: 75%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: absolute;
  top: 0; right: 0;
}
.intro-img-accent {
  width: 55%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: absolute;
  bottom: 0; left: 0;
  border: 5px solid #fff;
}
.intro-badge-float {
  position: absolute;
  bottom: 60px; right: 10px;
  background: var(--haki);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  animation: float 3s ease-in-out infinite;
}
.intro-badge-float .badge-num {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  color: var(--gold);
}
.intro-badge-float .badge-txt {
  font-size: .75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mission-card, .vision-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border-left: 4px solid;
  transition: var(--transition);
}
.mission-card { border-left-color: var(--haki); }
.vision-card  { border-left-color: var(--turkuaz); }
.mission-card:hover, .vision-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.card-icon-wrap {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.mission-card .card-icon-wrap { background: rgba(85,107,47,.1); color: var(--haki); }
.vision-card  .card-icon-wrap { background: rgba(64,224,208,.1); color: var(--turkuaz-dark); }

/* ===== Presidents Section ===== */
.presidents-section { padding: 100px 0; background: var(--dark); }

.president-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(201,168,76,.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.president-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--haki), var(--turkuaz), var(--gold));
}
.president-card:hover {
  background: rgba(255,255,255,.08);
  transform: translateY(-8px);
  border-color: rgba(201,168,76,.4);
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
}

.president-photo {
  width: 130px; height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
  margin: 0 auto 1.5rem;
  display: block;
  box-shadow: 0 5px 20px rgba(0,0,0,.3);
}
.president-photo-placeholder {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--haki), var(--haki-light));
  border: 4px solid var(--gold);
  margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,.7);
}
.president-title {
  color: var(--turkuaz);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.president-name {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .75rem;
}
.president-desc {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  line-height: 1.6;
}

/* ===== News Section ===== */
.news-section { padding: 100px 0; }

.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.news-card-img {
  height: 220px;
  object-fit: cover;
  width: 100%;
}
.news-card-img-placeholder {
  height: 220px;
  background: linear-gradient(135deg, var(--haki), var(--haki-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,.4);
}
.news-card-body { padding: 1.8rem; flex: 1; display: flex; flex-direction: column; }
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}
.news-card-date {
  font-size: .8rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 5px;
}
.news-card-date i { color: var(--turkuaz); }
.news-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .75rem;
  line-height: 1.4;
  flex: 1;
}
.news-card-title a { color: inherit; }
.news-card-title a:hover { color: var(--haki); }
.news-card-excerpt { color: var(--text-muted); font-size: .9rem; line-height: 1.6; }
.news-card-footer {
  padding: 1rem 1.8rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.news-read-more {
  color: var(--haki);
  font-weight: 600;
  font-size: .9rem;
  display: flex; align-items: center; gap: 5px;
}
.news-read-more:hover { color: var(--haki-dark); gap: 10px; }

/* ===== Gallery Section (Home) ===== */
.gallery-section { padding: 100px 0; background: var(--light-bg); }

.gallery-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gallery-arrow {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid var(--haki);
  background: #fff;
  color: var(--haki);
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
}
.gallery-arrow:hover { background: var(--haki); color: #fff; }

.home-gallery-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  scrollbar-width: none;
  cursor: grab;
}
.home-gallery-scroll:active { cursor: grabbing; }
.home-gallery-scroll::-webkit-scrollbar { display: none; }

.home-gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  flex: 0 0 calc(25% - 12px);
  height: 280px;
  background: #ddd;
  scroll-snap-align: start;
}
.home-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  pointer-events: none;
}
.home-gallery-item:hover img { transform: scale(1.06); }
.home-gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff;
  font-size: .8rem;
  padding: 2rem .9rem .6rem;
  opacity: 0;
  transition: opacity .3s;
}
.home-gallery-item:hover .home-gallery-caption { opacity: 1; }

@media (max-width: 767px) {
  .home-gallery-item {
    flex: 0 0 100%;
    height: 260px;
  }
  .gallery-arrow {
    width: 40px; height: 40px;
    font-size: .85rem;
  }
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--haki) 0%, var(--dark) 50%, var(--haki-dark) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../images/pattern.png') repeat;
  opacity: .05;
}
.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}
.cta-text { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 2rem; }

/* ===== Footer ===== */
.site-footer {
  background: var(--dark2);
  color: rgba(255,255,255,.8);
  padding: 70px 0 0;
}
.footer-brand .brand-name { color: var(--gold); font-size: 1.3rem; font-weight: 700; }
.footer-brand .brand-slogan { color: var(--turkuaz); font-size: .8rem; letter-spacing: 2px; }
.footer-desc { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.7; margin: 1rem 0; }

.footer-heading {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid rgba(201,168,76,.2);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  display: flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.footer-links a i { color: var(--turkuaz); font-size: .8rem; }
.footer-links a:hover { color: var(--turkuaz); padding-left: 5px; }

.footer-contact-item {
  display: flex; gap: 12px;
  margin-bottom: 1rem;
}
.footer-contact-item .icon {
  width: 36px; height: 36px;
  background: rgba(85,107,47,.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--turkuaz);
  flex-shrink: 0;
}
.footer-contact-item .text { font-size: .85rem; color: rgba(255,255,255,.7); }
.footer-contact-item .label { font-size: .75rem; color: rgba(255,255,255,.4); margin-bottom: 2px; }

.footer-social { display: flex; gap: 10px; margin-top: 1rem; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
}
.social-btn:hover {
  background: var(--haki);
  border-color: var(--haki);
  color: #fff;
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 50px;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { color: rgba(255,255,255,.5); font-size: .85rem; margin: 0; }
.footer-credit-link {
  color: rgba(255,255,255,.5);
  font-size: .82rem;
  text-decoration: none;
  transition: color .2s;
}
.footer-credit-link:hover { color: #ff8c00; }

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--haki-dark) 100%);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: #fff;
  clip-path: ellipse(60% 100% at 50% 100%);
}
.page-hero-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: .5rem;
}
.breadcrumb-item a { color: var(--turkuaz); }
.breadcrumb-item.active { color: rgba(255,255,255,.7); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ===== Content sections ===== */
.content-section { padding: 80px 0; }

/* ===== Presidents Page ===== */
.president-page-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.president-page-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--haki);
}
.president-page-card .card-top {
  background: linear-gradient(135deg, var(--haki), var(--haki-light));
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
}
.president-page-card .card-top::after {
  content: '';
  position: absolute;
  bottom: -20px; left: 50%;
  transform: translateX(-50%);
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid var(--haki-light);
}
.president-page-card .card-body { padding: 2.5rem 2rem 2rem; }

/* ===== News Page ===== */
.news-single-content {
  font-size: 1.05rem;
  line-height: 1.9;
}
.news-single-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.news-single-content h2,
.news-single-content h3 { color: var(--haki); margin-top: 2rem; }

/* ===== Member Form ===== */
.register-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  border-top: 5px solid var(--haki);
}
.form-label { font-weight: 600; color: var(--dark); font-size: .9rem; }
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: .7rem 1rem;
  font-size: .95rem;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--haki);
  box-shadow: 0 0 0 3px rgba(85,107,47,.15);
}
.form-control.is-invalid { border-color: #dc3545; }
.invalid-feedback { font-size: .82rem; }

/* ===== Contact Page ===== */
.contact-info-card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #fff;
  height: 100%;
}
.contact-info-item { display: flex; gap: 15px; margin-bottom: 1.5rem; }
.contact-info-item .icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--haki), var(--haki-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}
.contact-info-item .detail { }
.contact-info-item .detail .label {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.contact-info-item .detail .value { color: rgba(255,255,255,.9); font-size: .95rem; }

.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 350px;
}
.map-wrapper iframe { width: 100%; height: 100%; border: none; }

/* ===== About Page ===== */
.about-value-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--haki);
  transition: var(--transition);
  text-align: center;
}
.about-value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.value-icon { font-size: 2.5rem; color: var(--haki); margin-bottom: 1rem; }

.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--haki), var(--turkuaz));
}
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px; top: 6px;
  width: 14px; height: 14px;
  background: var(--haki);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--haki);
}

/* ===== Pagination ===== */
.pagination .page-link {
  border-radius: 10px;
  margin: 0 3px;
  border: 1.5px solid var(--border);
  color: var(--haki);
  font-weight: 500;
  transition: var(--transition);
}
.pagination .page-link:hover,
.pagination .page-item.active .page-link {
  background: var(--haki);
  border-color: var(--haki);
  color: #fff;
}

/* ===== Floating Buttons ===== */
.floating-btns {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 998;
}
.float-btn {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-decoration: none;
}
.float-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: #fff; }
.float-btn-tel   { background: linear-gradient(135deg, #556B2F, #6e8a3e); }
.float-btn-wp    { background: linear-gradient(135deg, #25d366, #128c7e); }
.float-btn-insta { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

/* ===== Back to Top ===== */
#backToTop {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--haki), var(--haki-light));
  color: #fff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transition: var(--transition);
  cursor: pointer;
}
#backToTop.visible { opacity: 1; pointer-events: all; }
#backToTop:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

@media (max-width: 767px) {
  .floating-btns { right: 0; bottom: 20px; gap: 0; }
  .floating-btns .float-btn,
  .floating-btns #backToTop {
    border-radius: 10px 0 0 10px;
    width: 44px; height: 44px;
    margin-bottom: 4px;
  }
  .floating-btns .float-btn:last-child,
  .floating-btns #backToTop:last-child { margin-bottom: 0; }
}

/* ===== Animations ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes expandWidth {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.08); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-10px); }
}
@keyframes scrollDot {
  0%   { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* AOS-like reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-30px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right { opacity: 0; transform: translateX(30px);  transition: opacity .7s ease, transform .7s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ===== Utility ===== */
.text-haki { color: var(--haki) !important; }
.text-turkuaz { color: var(--turkuaz) !important; }
.text-gold { color: var(--gold) !important; }
.bg-haki { background-color: var(--haki) !important; }
.bg-dark-custom { background-color: var(--dark) !important; }
.fw-800 { font-weight: 800; }

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .site-header,
  .site-header.scrolled { background: #ffffff; box-shadow: 0 2px 12px rgba(0,0,0,.1); }
  .navbar-nav .nav-link { color: #333333 !important; }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active { color: var(--haki) !important; }
  .navbar-nav .nav-link::after { background: var(--haki); }
  .navbar-toggler {
    border: 2px solid var(--haki) !important;
    border-radius: 8px;
    padding: 6px 10px;
  }
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(85,107,47,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  }
  .hero-stats { display: none; }
  .intro-visual { height: 380px; }
  .intro-visual > div:first-child { height: 260px !important; }
  .intro-visual > div:nth-child(2) { height: 170px !important; }
  .president-card { margin-bottom: 1.5rem; }
  section, .hero-section, .intro-section, .presidents-section,
  .news-section, .cta-section, .content-section { overflow-x: hidden; }
  .navbar-collapse { max-width: 100%; }
}

@media (max-width: 767px) {
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: .95rem; }
  .hero-section { padding: 120px 0 60px; min-height: auto; }
  .hero-buttons .btn-primary-custom,
  .hero-buttons .btn-outline-custom { width: 100%; justify-content: center; }
  .hero-buttons { display: flex; flex-direction: column; gap: 1rem; }
  .intro-visual { height: 340px; overflow: hidden; }
  .intro-visual > div:first-child { height: 230px !important; }
  .intro-visual > div:nth-child(2) { height: 155px !important; width: 60% !important; }
  .intro-img-main { width: 100%; height: 200px; }
  .intro-img-accent { display: none; }
  .intro-badge-float { right: 0 !important; }
  .register-form-wrap { padding: 1.25rem; }
  .cta-title { font-size: 1.7rem; }
  .cta-section { padding: 60px 0; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-bottom p { font-size: .78rem; }
  .section-title { font-size: 1.6rem; }
  .page-hero { padding: 130px 0 50px; }
  .page-hero-title { font-size: 2rem; }
  .hero-scroll-indicator { display: none; }
  .content-section { padding: 60px 0; }
  .news-card-img, .news-card-img-placeholder { height: 180px; }
  .map-wrapper iframe { height: 250px; }
  .timeline-item { padding: 1.25rem; }
  .about-value-card { padding: 1.5rem; }
  .contact-info-card { padding: 1.5rem; margin-bottom: 2rem; }
  .contact-form-wrap { padding: 1.5rem; }
  .president-card { padding: 1.5rem 1rem; }
}
