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 #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
}

/* Jolly-style Header */
.top-bar {
  border-bottom: 1px solid #dee2e6;
  font-size: 12px;
  padding: 5px 0 !important;
}

.top-bar a {
  color: #6c757d;
  text-decoration: none;
}

.top-bar a:hover {
  color: #007bff;
}

/* Top-bar'daki butonları özel stillendir */
.top-bar .btn-primary {
  color: #ffffff !important;
  background: linear-gradient(45deg, #ff6b35, #f7931e) !important;
  background-color: #ff6b35 !important;
  border: none !important;
  border-color: #ff6b35 !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
  box-shadow: 0 3px 10px rgba(255, 107, 53, 0.4) !important;
  transition: all 0.3s ease !important;
  letter-spacing: 0.5px !important;
}

.top-bar .btn-primary:hover,
.top-bar .btn-primary:focus,
.top-bar .btn-primary:active {
  background: linear-gradient(45deg, #e55a2b, #e8831b) !important;
  background-color: #e55a2b !important;
  border-color: #e55a2b !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.5) !important;
  color: #ffffff !important;
}

  .main-header {
    background: white !important;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }

  .logo-img {
    height: 60px;
    width: auto;
    max-width: 200px;
    transition: transform 0.3s ease;
  }

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

  .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #dc3545, #fd7e14);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: inline-block;
    transition: all 0.3s ease;
  }

.logo-text:hover {
  transform: scale(1.05);
  text-decoration: none;
  filter: brightness(1.1);
}

.logo-text-footer {
  font-size: 2rem;
  font-weight: bold;
  color: #dc3545;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.main-nav .nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

.main-nav .nav-links li {
  position: relative;
}

.main-nav .nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 400;
  font-size: 13px;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.main-nav .nav-links a:hover {
  color: #dc3545;
}

/* Jolly-style Hero Section */
.hero-section-jolly {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  padding: 60px 0 80px 0;
  position: relative;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 40px;
}

.search-widget-jolly {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  overflow: hidden;
}

.search-tabs .nav-tabs {
  border-bottom: none;
  background: #f8f9fa;
  padding: 0;
}

.search-tabs .nav-tabs .nav-item {
  margin-bottom: 0;
}

.search-tabs .nav-tabs .nav-link {
  border: none;
  border-radius: 0;
  color: #666;
  font-size: 13px;
  font-weight: 500;
  padding: 15px 20px;
  background: transparent;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.search-tabs .nav-tabs .nav-link:hover {
  border-color: transparent;
  background: rgba(0,123,255,0.1);
  color: #007bff;
}

.search-tabs .nav-tabs .nav-link.active {
  background: white;
  color: #007bff;
  border-bottom: 3px solid #007bff;
  border-top: none;
  border-left: none;
  border-right: none;
}

.search-form-jolly {
  padding: 25px;
  background: white;
  overflow: visible !important;
}

.search-widget-jolly {
  overflow: visible !important;
}

.room-selector {
  position: static !important;
  overflow: visible !important;
}

.search-form-jolly .form-control,
.search-form-jolly .form-select {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 12px 15px;
  font-size: 14px;
}

.search-form-jolly .form-control:focus,
.search-form-jolly .form-select:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

.btn-search {
  background: #28a745;
  border: none;
  border-radius: 5px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 13px;
  color: white;
  transition: all 0.3s ease;
}

.btn-search:hover {
  background: #218838;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Features Section */
.features-section {
  background: white;
}

.feature-card {
  padding: 30px 20px;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 60px 0;
  color: white;
}

.search-card {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: none;
  border-radius: 15px;
  overflow: hidden;
}

.search-card .card-header {
  border: none;
  padding: 20px;
}

.search-card .card-body {
  padding: 30px;
}

/* Popular Routes */
.popular-route-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.popular-route-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

/* Trip Cards */
.trip-card {
  transition: transform 0.2s ease;
  border: none;
  border-left: 4px solid #007bff;
}

.trip-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.time-display {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.city-name {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0;
}

.price {
  font-size: 1.8rem;
  font-weight: bold;
}

/* Seat Selection */
.bus-layout {
  background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
  border: 2px solid #dee2e6;
  border-radius: 20px;
  padding: 30px;
  margin: 20px 0;
  position: relative;
}

.bus-layout::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background: #007bff;
  border-radius: 2px;
}

.driver-area {
  text-align: center;
  border-bottom: 2px solid #dee2e6;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.driver-seat {
  display: inline-block;
  padding: 15px 25px;
  background: linear-gradient(45deg, #e9ecef, #dee2e6);
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.seat-map {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.seat-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  align-items: center;
}

.seat {
  width: 55px;
  height: 55px;
  border: 3px solid #dee2e6;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.8rem;
}

.seat::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 10%;
  right: 10%;
  height: 8px;
  background: inherit;
  border-radius: 5px 5px 0 0;
}

.seat.available {
  background: linear-gradient(145deg, #d4edda, #c3e6cb);
  border-color: #28a745;
  color: #155724;
}

.seat.available:hover {
  background: linear-gradient(145deg, #c3e6cb, #b1dfbb);
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.seat.occupied {
  background: linear-gradient(145deg, #f8d7da, #f5c6cb);
  border-color: #dc3545;
  color: #721c24;
  cursor: not-allowed;
}

.seat.selected {
  background: linear-gradient(145deg, #cce5ff, #b3d7ff);
  border-color: #007bff;
  color: #004085;
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.seat-number {
  font-size: 10px;
  font-weight: bold;
  margin-top: 2px;
}

.aisle {
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aisle::after {
  content: '';
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, #dee2e6, transparent, #dee2e6);
}

/* Form Styling */
.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-select:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Progress Bar */
.progress {
  height: 8px;
  background-color: #e9ecef;
}

.progress-bar {
  background: linear-gradient(90deg, #28a745, #20c997);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0;
  }
  
  .search-card .card-body {
    padding: 20px;
  }
  
  .seat {
    width: 45px;
    height: 45px;
  }
  
  .seat-row {
    gap: 10px;
  }
}

/* Modern Footer */
.footer-modern {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  position: relative;
  overflow: hidden;
}

.footer-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.3" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
  opacity: 0.1;
  z-index: 1;
}

.footer-main {
  position: relative;
  z-index: 2;
  padding: 50px 0 30px 0;
  color: white;
}

.footer-section {
  height: 100%;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.footer-logo-img {
  height: 90px;
  width: auto;
  filter: brightness(1.1);
  transition: all 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.08);
  filter: brightness(1.3) drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.footer-brand-text {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffd700;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
  background: linear-gradient(45deg, #ffd700, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.footer-brand-text:hover {
  transform: scale(1.05);
  text-shadow: 3px 3px 8px rgba(0,0,0,0.5);
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.footer-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-item i {
  width: 20px;
  color: #ffd700;
  font-size: 1.1rem;
}

.feature-item span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.footer-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #ffd700, #ff6b6b);
  border-radius: 2px;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  padding: 5px 0;
}

.footer-links a:hover {
  color: #ffd700;
  transform: translateX(8px);
}

.footer-links a i {
  margin-right: 8px;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.footer-links a:hover i {
  color: #ff6b6b;
}

.footer-contact .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.footer-contact .contact-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.footer-contact .contact-item i {
  color: #ffd700;
  font-size: 1.2rem;
  margin-top: 2px;
  min-width: 20px;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-info strong {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.contact-info span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  position: relative;
  z-index: 2;
}

.footer-copyright p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-copyright .license-info {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  margin-top: 5px;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.social-title {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
  z-index: -1;
}

.social-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.social-link:hover::before {
  transform: scale(1);
}

.social-link.facebook:hover {
  background: rgba(24, 119, 242, 0.2);
}

.social-link.twitter:hover {
  background: rgba(29, 161, 242, 0.2);
}

.social-link.instagram:hover {
  background: rgba(228, 64, 95, 0.2);
}

.social-link.linkedin:hover {
  background: rgba(0, 119, 181, 0.2);
}

.social-link.youtube:hover {
  background: rgba(255, 0, 0, 0.2);
}

/* Room Selector Styles */
.room-selector {
  position: relative;
}

.room-selector-btn {
  width: 100%;
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 12px 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 14px;
  transition: all 0.2s ease;
}

.room-selector-btn:hover {
  border-color: #007bff;
  background-color: #f8f9fa;
}

.room-selector-btn:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

.room-selector-btn .room-summary {
  flex: 1;
  text-align: left;
}

.room-selector-btn i {
  margin-left: 10px;
  transition: transform 0.2s ease;
}

.room-selector-btn.active i {
  transform: rotate(180deg);
}

.room-dropdown {
  min-width: 280px;
  max-width: 320px;
  border: 1px solid #dee2e6 !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12) !important;
  border-radius: 8px !important;
  padding: 18px !important;
  position: fixed !important;
  z-index: 10000 !important;
  background: white !important;
  display: none !important;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.room-dropdown.show {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.room-section {
  border: 1px solid #e9ecef !important;
  border-radius: 6px !important;
  padding: 15px !important;
  background: #f8f9fa !important;
  margin-bottom: 12px !important;
  min-height: 140px !important;
}

.guest-counter {
  padding: 10px 0 !important;
  border-bottom: 1px solid #dee2e6 !important;
  margin-bottom: 8px !important;
}

.guest-counter:last-of-type {
  border-bottom: none !important;
  margin-bottom: 12px !important;
}

.guest-type {
  font-weight: 600 !important;
  color: #333 !important;
  font-size: 14px !important;
}

.guest-info small {
  color: #6c757d !important;
  font-size: 11px !important;
}

.counter-controls {
  min-width: 120px;
}

.counter-btn {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #ddd !important;
  background: white !important;
  transition: all 0.2s ease !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

.counter-btn:hover {
  background: #007bff !important;
  border-color: #007bff !important;
  color: white !important;
  transform: scale(1.05) !important;
}

.counter-btn:disabled {
  background: #f8f9fa !important;
  border-color: #e9ecef !important;
  color: #6c757d !important;
  cursor: not-allowed !important;
  transform: none !important;
}

.counter-value {
  font-weight: 600 !important;
  font-size: 1rem !important;
  min-width: 32px !important;
  text-align: center !important;
  color: #333 !important;
}

.add-room-btn {
  color: #007bff !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  padding: 6px 10px !important;
  border-radius: 4px !important;
  transition: all 0.2s ease !important;
}

.add-room-btn:hover {
  color: #0056b3 !important;
  background: rgba(0, 123, 255, 0.1) !important;
}

.apply-room-btn {
  padding: 8px 18px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  border-radius: 4px !important;
  background: #28a745 !important;
  border: none !important;
  color: white !important;
  transition: all 0.2s ease !important;
}

.apply-room-btn:hover {
  background: #218838 !important;
  transform: translateY(-1px) !important;
}

.form-group {
  margin-bottom: 0;
}

.form-group .form-label {
  margin-bottom: 5px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Multiple rooms support */
.room-section + .room-section {
  margin-top: 15px;
  border-top: 2px solid #dee2e6;
  padding-top: 15px;
}

.remove-room-btn {
  color: #dc3545;
  font-size: 0.8rem;
  padding: 0;
  border: none;
  background: none;
}

.remove-room-btn:hover {
  color: #c82333;
  text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-main {
    padding: 35px 0 25px 0;
  }
  
  .footer-logo-img {
    height: 65px;
  }
  
  .footer-brand-text {
    font-size: 1.8rem;
  }
  
  /* Mobile Header Fixes */
  .main-header {
    padding: 10px 0 !important;
  }
  
      .logo-img {
    height: 40px !important;
    max-width: 150px !important;
    }
  
      .logo-text {
    font-size: 1.1rem !important;
    }
  
  .navbar-brand {
    margin-right: 0;
  }

  .navbar-toggler {
    border: none;
    padding: 4px 8px;
  }

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

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f8f9fa;
  }

  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }

  .navbar-collapse {
    border-top: 1px solid #e9ecef;
    margin-top: 10px;
    padding-top: 10px;
    }
  
  .footer-features {
    margin-bottom: 30px;
  }
  
  .footer-social {
    justify-content: center;
    margin-top: 20px;
  }
  
  .social-title {
    display: none;
  }
  
  .footer-copyright {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .room-dropdown {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    border-radius: 15px 15px 0 0 !important;
    max-height: 70vh !important;
    transform: translateY(100%) !important;
    transition: transform 0.3s ease !important;
    margin: 0 !important;
    z-index: 10001 !important;
  }
  
  .room-dropdown.show {
    transform: translateY(0) !important;
  }
  
  .room-selector {
    position: relative;
  }
  
  .room-section {
    min-height: auto !important;
    margin-bottom: 8px !important;
    padding: 12px !important;
  }
  
  .counter-controls {
    min-width: 100px;
  }
  
  /* Mobile overlay for room dropdown */
  .room-dropdown::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 70vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }
}

/* Custom Utilities */
.bg-gradient-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.text-shadow {
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.border-gradient {
  border: 2px solid;
  border-image: linear-gradient(45deg, #667eea, #764ba2) 1;
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Popular Destinations Styling */
.destination-input {
    position: relative;
}

.destination-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
    border-color: #28a745;
}

/* Improve datalist appearance */
.destination-input[list]::-webkit-calendar-picker-indicator {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    opacity: 0.5;
}

.destination-input[list]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* UMRE Package Cards */
.umre-package-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 15px;
    padding: 20px;
    color: white;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.umre-package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.4);
}

.umre-package-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #60a5fa, #3b82f6);
    border-radius: 0 0 0 100px;
    opacity: 0.1;
}

.package-header {
    text-align: center;
    margin-bottom: 20px;
}

.package-duration {
    font-size: 1.2rem;
    font-weight: 700;
    color: #60a5fa;
    letter-spacing: 1px;
}

.package-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-top: 5px;
}

.package-prices {
    space-y: 10px;
}

.price-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
}

.price-option .occupancy {
    font-size: 0.9rem;
    font-weight: 500;
    color: #e2e8f0;
}

.price-option .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
}

.umre-package-card .btn-primary {
    background: linear-gradient(45deg, #f59e0b, #eab308);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: 12px;
    transition: all 0.3s ease;
}

.umre-package-card .btn-primary:hover {
    background: linear-gradient(45deg, #eab308, #f59e0b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.4);
}

/* Authentication Pages Styles */
.auth-page {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: calc(100vh - 220px);
  padding: 40px 0;
}

.auth-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.auth-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.auth-form .form-label {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.auth-form .form-label i {
  color: #3498db;
  margin-right: 0.5rem;
}

.auth-form .form-control {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
}

.auth-form .form-control:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.15);
  background: white;
}

.auth-form .input-group {
  border-radius: 10px;
  overflow: hidden;
}

.auth-form .input-group .form-control {
  border-right: none;
  border-radius: 10px 0 0 10px;
}

.auth-form .input-group .btn {
  border: 2px solid #e9ecef;
  border-left: none;
  border-radius: 0 10px 10px 0;
  background: transparent;
  color: #6c757d;
  transition: all 0.3s ease;
}

.auth-form .input-group .btn:hover {
  background: #f8f9fa;
  color: #3498db;
}

.auth-form .btn-primary {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.auth-form .btn-primary:hover {
  background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.auth-form .btn-primary:active {
  transform: translateY(0);
}

.auth-links a {
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.auth-links a:hover {
  color: #2980b9;
  text-decoration: underline;
}

/* Responsive Styles for Auth */
@media (max-width: 768px) {
  .auth-page {
    padding: 20px 0;
  }
  
  .auth-card .card-body {
    padding: 2rem 1.5rem;
  }
  
  .auth-form .form-control {
    padding: 10px 14px;
  }
}

/* GLOBAL BTN-PRIMARY OVERRIDE - EN ÜST ÖNCELİK */
.btn.btn-primary, 
a.btn.btn-primary, 
button.btn.btn-primary,
.top-bar .btn-primary,
.navbar .btn-primary {
  color: #ffffff !important;
  background: linear-gradient(45deg, #ff6b35, #f7931e) !important;
  background-color: #ff6b35 !important;
  border: none !important;
  border-color: #ff6b35 !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
  box-shadow: 0 3px 10px rgba(255, 107, 53, 0.4) !important;
  transition: all 0.3s ease !important;
  letter-spacing: 0.5px !important;
}

.btn.btn-primary:hover, 
a.btn.btn-primary:hover, 
button.btn.btn-primary:hover,
.btn.btn-primary:focus, 
a.btn.btn-primary:focus, 
button.btn.btn-primary:focus,
.btn.btn-primary:active, 
a.btn.btn-primary:active, 
button.btn.btn-primary:active,
.top-bar .btn-primary:hover,
.top-bar .btn-primary:focus,
.top-bar .btn-primary:active {
  background: linear-gradient(45deg, #e55a2b, #e8831b) !important;
  background-color: #e55a2b !important;
  border-color: #e55a2b !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.5) !important;
  color: #ffffff !important;
}

/* Profil butonu kısa ve şık görünüm için */
.profile-btn-short {
    max-width: 180px;
    min-width: 0;
    padding-left: 8px !important;
    padding-right: 8px !important;
    height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.profile-email-text {
    max-width: 110px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
}
@media (max-width: 576px) {
    .profile-btn-short {
        max-width: 110px;
        font-size: 13px;
    }
    .profile-email-text {
        max-width: 60px;
        font-size: 12px;
    }
}

.top-bar-right {
    gap: 0.5rem;
}
.top-bar-right .dropdown {
    margin-left: 0.5rem;
}
@media (max-width: 768px) {
    .top-bar-right {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    .top-bar-right .dropdown {
        margin-left: 0.25rem;
    }
}

/* Neden Bizimle? login kutusu için */
.why-title {
    color: #fff !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(60,0,100,0.18);
}
.why-feature {
    margin-bottom: 0.5rem;
}
.why-icon-bg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    box-shadow: 0 2px 8px rgba(60,0,100,0.10);
    margin-bottom: 0.5rem;
}
.why-icon-bg i {
    font-size: 1.7rem;
    color: #3b82f6 !important;
}
.why-text {
    color: #f8f9fa !important;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(60,0,100,0.12);
    margin-bottom: 0;
}
@media (max-width: 576px) {
    .why-title { font-size: 1.1rem; }
    .why-icon-bg { width: 38px; height: 38px; }
    .why-icon-bg i { font-size: 1.2rem; }
    .why-text { font-size: 0.9rem; }

    /* Extra small mobile header fixes */
    .logo-img {
        height: 35px !important;
        max-width: 120px !important;
    }

    .logo-text {
        font-size: 1rem !important;
    }

    .main-header {
        padding: 8px 0 !important;
    }

    .navbar-toggler {
        padding: 3px 6px;
    }

    .profile-btn-short {
        max-width: 140px;
    }
    
    .profile-email-text {
        max-width: 100px;
        font-size: 0.8rem;
    }
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

/* Main FAB Button */
.fab-main {
    position: relative;
    z-index: 1001;
}

.fab-main-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: fabPulse 3s infinite;
}

.fab-main-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.6);
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
}

.fab-main-btn i {
    font-size: 24px;
    color: white;
    transition: transform 0.3s ease;
}

.fab-main.active .fab-main-btn i {
    transform: rotate(180deg);
}

/* FAB Options Container */
.fab-options {
    position: absolute;
    bottom: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fab-options.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* Individual FAB Option */
.fab-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    position: relative;
    transform: translateY(20px);
    animation: fabSlideIn 0.3s ease forwards;
}

.fab-option:nth-child(1) { animation-delay: 0.1s; }
.fab-option:nth-child(2) { animation-delay: 0.2s; }

.fab-option:hover {
    transform: scale(1.1) translateY(0);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* WhatsApp FAB */
.whatsapp-fab {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.whatsapp-fab:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    color: white;
    text-decoration: none;
}

.whatsapp-fab i {
    font-size: 22px;
}

/* Info FAB */
.info-fab {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.info-fab:hover {
    background: linear-gradient(135deg, #0056b3, #007bff);
    color: white;
}

.info-fab i {
    font-size: 20px;
}

/* FAB Labels */
.fab-label {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.fab-label::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.8);
}

.fab-option:hover .fab-label {
    opacity: 1;
    visibility: visible;
    right: 65px;
}

/* Animations */
@keyframes fabPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes fabSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
    
    .fab-main-btn {
        width: 55px;
        height: 55px;
    }
    
    .fab-main-btn i {
        font-size: 22px;
    }
    
    .fab-option {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
    }
    
    .fab-option i {
        font-size: 18px !important;
    }
    
    .fab-label {
        display: none; /* Hide labels on mobile */
    }
}

@media (max-width: 480px) {
    .floating-actions {
        bottom: 15px;
        right: 15px;
    }
    
    .fab-main-btn {
        width: 50px;
        height: 50px;
    }
    
    .fab-main-btn i {
        font-size: 20px;
    }
    
    .fab-option {
        width: 42px;
        height: 42px;
        margin-bottom: 10px;
    }
    
    .fab-option i {
        font-size: 16px !important;
    }
}

/* Legal Links Styles */
.legal-links {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.legal-links a {
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.legal-links a:hover {
    color: #007bff !important;
    text-decoration: underline !important;
}

@media (max-width: 768px) {
    .legal-links {
        padding-top: 10px;
    }
    
    .legal-links a {
        display: block;
        margin-bottom: 5px;
        font-size: 0.8rem;
    }
    
    .legal-links a:last-child {
        margin-bottom: 0;
    }
}

/* Legal Agreements Styles */
.legal-agreements {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
}

.legal-agreements h6 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 15px;
}

.legal-agreements .form-check {
    margin-bottom: 12px;
}

.legal-agreements .form-check-label {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #495057;
}

.legal-agreements .form-check-label a {
    font-weight: 600;
    text-decoration: none;
}

.legal-agreements .form-check-label a:hover {
    text-decoration: underline;
}

.legal-agreements .form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.legal-agreements .form-check-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Modal Legal Content Styles */
.modal .legal-content h6 {
    color: #2c3e50;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
}

.modal .legal-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.modal .legal-content ul, .modal .legal-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.modal .legal-content li {
    margin-bottom: 0.5rem;
}

.modal .legal-content .text-muted {
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .legal-agreements {
        padding: 15px;
    }
    
    .legal-agreements .form-check-label {
        font-size: 0.85rem;
    }
    
    .modal .legal-content h6 {
        font-size: 0.95rem;
    }
    
    .modal .legal-content p,
    .modal .legal-content ul,
    .modal .legal-content ol {
        font-size: 0.85rem;
    }
}