:root {
  --primary-color: #46621e;
  --primary-hover: #365018;
  --primary-light: #567828;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--primary-color);
}

html {
  position: relative;
  min-height: 100%;
}

body {
  padding-top: 70px; /* Navbar için padding */
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Tema Renkleri */
.bg-primary, .navbar-dark.bg-primary {
  background-color: var(--primary-color) !important;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.text-primary {
  color: var(--primary-color) !important;
}


/* Sağ Sabit Telefon & WhatsApp */
.fixed-contact {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

.contact-btn:hover {
  transform: scale(1.08);
  color: #fff;
}

/* Telefon */
.contact-btn.phone {
  background-color: #0d6efd; /* Bootstrap Primary */
}

/* WhatsApp */
.contact-btn.whatsapp {
  background-color: #25D366;
}

/* Mobilde biraz küçült */
@media (max-width: 576px) {
  .contact-btn {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
}

/* WhatsApp Float Button - Eski (Artık kullanılmayacak) */
.whatsapp-float {
  display: none;
}

/* Sefer Card Styles */
.sefer-card {
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  overflow: hidden;
}

.sefer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(30, 51, 98, 0.15);
  border-color: var(--primary-color);
}

.badge-custom {
  font-size: 0.9rem;
  padding: 0.5em 0.75em;
}

/* Logo Stili */
.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 576px) {
  .logo-img {
    height: 35px;
  }
  .navbar-brand span {
    font-size: 0.9rem;
  }
}

/* Menü İyileştirmeleri */
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  padding: 0.75rem 0;
  z-index: 1030;
}

.navbar-brand {
  font-size: 1.3rem;
  font-weight: 600;
  transition: opacity 0.3s;
  color: #fff !important;
}

.navbar-brand:hover {
  opacity: 0.9;
  color: #fff !important;
}

.navbar-nav .nav-link {
  padding: 0.6rem 1.2rem;
  margin: 0 0.3rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95) !important;
  letter-spacing: 0.3px;
}

.navbar-nav .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar-nav .nav-link.active {
  background-color: rgba(255, 255, 255, 0.25);
  color: #fff !important;
  font-weight: 700;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* İçerik İyileştirmeleri */
.container {
  max-width: 1200px;
}

.card {
  border-radius: 10px;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.hero-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
  border-radius: 15px;
  padding: 3rem 0;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 1.5rem 0;
  }
  
  .hero-section h1 {
    font-size: 1.75rem !important;
  }
  
  .hero-section .lead {
    font-size: 1rem !important;
  }
}

/* Section Title Styling */
.section-title-wrapper {
  margin: 2rem 0;
}

.section-title {
  position: relative;
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  padding-bottom: 1rem;
}

.section-title .title-icon {
  display: inline-block;
  margin-right: 0.75rem;
  color: var(--primary-color);
  font-size: 2.2rem;
  vertical-align: middle;
  animation: pulse 2s ease-in-out infinite;
}

.section-title .title-text {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-title .title-decoration {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  border-radius: 2px;
}

.section-title .title-decoration::before,
.section-title .title-decoration::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 50%;
  transform: translateY(-50%);
}

.section-title .title-decoration::before {
  left: -20px;
}

.section-title .title-decoration::after {
  right: -20px;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .section-title .title-icon {
    font-size: 1.8rem;
    margin-right: 0.5rem;
  }
  
  .section-title-wrapper {
    margin: 1.5rem 0;
  }
}

/* İletişim Sayfası Stilleri */
.contact-info-card {
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.contact-item:hover {
  background-color: #f8f9fa;
}

.contact-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-content {
  flex: 1;
}

.contact-content h6 {
  color: #333;
  font-size: 1rem;
}

.contact-link {
  color: var(--primary-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--primary-hover);
  text-decoration: underline !important;
}

.map-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 10px 10px;
}

.map-container iframe {
  display: block;
  width: 100%;
  min-height: 450px;
}

@media (max-width: 768px) {
  .contact-item {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-icon-wrapper {
    margin: 0 auto;
  }
  
  .map-container iframe {
    min-height: 280px;
    height: 280px;
  }
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #2d3e1a 0%, #1a2510 100%);
  color: #e8e8e8;
  margin-top: 4rem;
  padding: 2rem 0 1rem;
  border-top: 3px solid var(--primary-color);
}

.footer-content {
  padding: 0;
}

.footer-section {
  margin-bottom: 1rem;
}

.footer-title {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.footer-title i {
  color: var(--primary-light);
}

.footer-subtitle {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.footer-text {
  color: #c8c8c8;
  line-height: 1.8;
  font-size: 0.95rem;
  margin: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #c8c8c8;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-links a i {
  font-size: 0.85rem;
  width: 20px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 0.75rem;
}

.footer-contact a {
  color: #c8c8c8;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
}

.footer-contact a:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.footer-contact a i {
  font-size: 1rem;
  width: 24px;
}

.footer-social {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.social-icon.whatsapp {
  background-color: #25D366;
}

.social-icon.whatsapp:hover {
  background-color: #20BA5A;
}

.social-icon.phone {
  background-color: #0d6efd;
}

.social-icon.phone:hover {
  background-color: #0b5ed7;
}

.footer-copyright {
  color: #999;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-copyright p:first-child {
  font-weight: 600;
  color: #bbb;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 2rem 0 1rem;
    margin-top: 3rem;
  }

  .footer-title {
    font-size: 1.2rem;
  }

  .footer-subtitle {
    font-size: 0.95rem;
    margin-top: 0.75rem;
  }

  .footer-section {
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .footer-links,
  .footer-contact {
    text-align: center;
  }

  .footer-links a,
  .footer-contact a {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-copyright {
    text-align: center;
  }
}
