/* ==========================================================================
   Ozonur Tur Taşımacılık - Human-Crafted Master Style Sheet
   Standards: Human UI Design & Frontend-Design Principles
   ========================================================================== */

:root {
  --primary-dark: #040c1a;
  --secondary-dark: #0a192f;
  --card-dark: #0f172a;
  --accent-orange: #ff6b00;
  --accent-orange-hover: #e65100;
  --accent-gold: #ff6b00;
  --accent-gold-hover: #e65100;
  --accent-cyan: #00e5ff;
  --accent-blue: #1e3a8a;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --card-shadow: 0 10px 30px rgba(10, 25, 47, 0.06);
  --card-shadow-hover: 0 22px 50px rgba(10, 25, 47, 0.15);
  --glass-bg: rgba(10, 25, 47, 0.84);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-glow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Orange Color Theme Overrides */
.btn-warning {
  background-color: var(--accent-orange) !important;
  border-color: var(--accent-orange) !important;
  color: #ffffff !important;
}

.btn-warning:hover, .btn-warning:focus, .btn-warning:active {
  background-color: var(--accent-orange-hover) !important;
  border-color: var(--accent-orange-hover) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.35) !important;
}

.btn-outline-warning {
  color: var(--accent-orange) !important;
  border-color: var(--accent-orange) !important;
}

.btn-outline-warning:hover {
  background-color: var(--accent-orange) !important;
  color: #ffffff !important;
}

.text-warning {
  color: var(--accent-orange) !important;
}

.bg-warning {
  background-color: var(--accent-orange) !important;
  color: #ffffff !important;
}

.border-warning {
  border-color: var(--accent-orange) !important;
}

.badge.bg-warning {
  background-color: var(--accent-orange) !important;
  color: #ffffff !important;
}

/* Base Setup */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.025em;
}

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

.italic {
  font-style: italic;
}

/* Pulse Dot Live Indicator */
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #000;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 0, 0, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

/* Custom Koyu Tema Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #020617;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
  border: 2px solid #020617;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Top Header Bar */
.top-bar {
  background: #ffffff;
  color: #475569;
  font-size: 0.86rem;
  padding: 9px 0;
  border-bottom: 1px solid #e2e8f0;
}

.top-bar a {
  color: #334155;
  font-weight: 500;
}

.top-bar a:hover {
  color: #1e3a8a;
}

.social-links a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}

.social-links a:hover {
  background: #1e3a8a;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Navbar White Theme & Sticky */
.navbar-custom {
  position: relative;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 0;
  transition: var(--transition-smooth);
}

.navbar-custom.sticky {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

.site-logo {
  max-height: 46px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.navbar-brand .brand-text {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.navbar-brand .brand-text span {
  color: #1e3a8a;
}

.nav-link {
  color: #1e293b !important;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 4px;
  padding: 8px 12px !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0;
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: #1e3a8a !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Mega Menu Full Width & 5-Column Grid */
.col-lg-2-4 {
  width: 100%;
}

@media (min-width: 992px) {
  .col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }

  .dropdown-mega {
    position: static !important;
  }

  .dropdown-mega .dropdown-toggle::after {
    display: none;
  }

  .dropdown-mega .mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 0;
    background: #ffffff;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12) !important;
    border-top: 3px solid var(--accent-orange) !important;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 1050;
  }

  /* Invisible hover bridge to prevent menu from closing when mouse moves down */
  .dropdown-mega .mega-menu::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    height: 25px;
    background: transparent;
  }

  .dropdown-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Backdrop Blur Overlay for Mega Menu */
.megamenu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 12, 26, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 998;
}

.megamenu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mega-service-card {
  padding: 12px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: var(--transition-smooth);
  height: 100%;
}

.mega-service-card:hover {
  background: #ffffff;
  border-color: var(--accent-orange);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.12);
}

.mega-card-img-box {
  height: 120px;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.mega-card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mega-service-card:hover .mega-card-img-box img {
  transform: scale(1.08);
}

.mega-card-placeholder {
  height: 100%;
  width: 100%;
  background: linear-gradient(135deg, #040c1a 0%, #0a192f 100%);
  border-radius: 10px;
  padding: 12px;
  transition: var(--transition-smooth);
}

.mega-service-card:hover .mega-card-placeholder {
  background: linear-gradient(135deg, #0a192f 0%, #1e3a8a 100%);
}

.mega-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.mega-service-card:hover .mega-card-title {
  color: var(--accent-orange) !important;
}

.mega-card-desc {
  font-size: 0.8rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hero Slider (700px Height Limit) */
.hero-slider-container {
  position: relative;
  width: 100%;
  height: 700px;
  max-height: 700px;
  overflow: hidden;
  background: #020617;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.5s ease-out;
  transform: scale(1.06);
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(0, 229, 255, 0.14), transparent 45%),
              linear-gradient(180deg, rgba(4, 12, 26, 0.78) 0%, rgba(4, 12, 26, 0.93) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
  color: #ffffff;
  padding-top: 20px;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 22px;
  color: #ffffff;
  letter-spacing: -1.5px;
}

.hero-title span {
  color: var(--accent-orange);
  background: linear-gradient(135deg, #ff6b00 0%, #ffa042 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #cbd5e1;
  max-width: 650px;
  margin-bottom: 35px;
  font-weight: 400;
  line-height: 1.6;
}

.slider-arrow {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(4, 12, 26, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
  z-index: 30;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.slider-prev {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.slider-next {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.slider-arrow:hover {
  background: var(--accent-orange) !important;
  color: #ffffff !important;
  border-color: var(--accent-orange) !important;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.45);
}

/* Quick Stats Bar */
.quick-stats-bar {
  background: var(--primary-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
  color: #ffffff;
}

.stat-item {
  padding: 10px;
}

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

.stat-label {
  font-size: 0.88rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Page Header (Inner pages) */
.inner-page-header {
  background: radial-gradient(circle at top right, rgba(0, 229, 255, 0.15), transparent 50%),
              linear-gradient(135deg, #040c1a 0%, #0a192f 100%);
  color: #ffffff;
  padding: 60px 0 55px 0;
  position: relative;
}

.inner-page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-cyan));
}

/* Feature & Service Cards */
.feature-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 38px 28px;
  box-shadow: var(--card-shadow);
  border: 1px solid #e2e8f0;
  transition: var(--transition-smooth);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-cyan));
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 184, 0, 0.3);
  box-shadow: var(--card-shadow-hover);
}

/* Full-Card Image Overlay Service Card */
.service-overlay-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(4, 12, 26, 0.15) 0%, rgba(4, 12, 26, 0.68) 50%, rgba(4, 12, 26, 0.96) 100%);
  z-index: 2;
  transition: background 0.4s ease;
}

.service-card-content {
  position: relative;
  z-index: 3;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-overlay-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255, 107, 0, 0.3);
}

.service-overlay-card:hover .service-card-bg {
  transform: scale(1.12);
}

.service-overlay-card:hover .service-card-overlay {
  background: linear-gradient(180deg, rgba(4, 12, 26, 0.1) 0%, rgba(4, 12, 26, 0.55) 45%, rgba(4, 12, 26, 0.98) 100%);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0a192f 0%, #1e3a8a 100%);
  color: var(--accent-gold);
  font-size: 1.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 10px 20px rgba(10, 25, 47, 0.15);
}

/* Vehicle Fleet Cards */
.vehicle-card {
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  border: 1px solid #e2e8f0;
}

.vehicle-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
}

.vehicle-img-box {
  height: 230px;
  overflow: hidden;
  position: relative;
}

.vehicle-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.vehicle-card:hover .vehicle-img-box img {
  transform: scale(1.09);
}

.vehicle-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent-gold);
  color: #000;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.4);
}

/* Reference Cards Grid */
.reference-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.03);
  transition: var(--transition-smooth);
}

.reference-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.reference-card img {
  max-height: 85px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition-smooth);
}

.reference-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Custom Corporate Navy Footer */
footer.custom-footer {
  background: linear-gradient(135deg, #040c1a 0%, #0a192f 100%) !important;
  border-top: 3px solid var(--accent-orange) !important;
  color: #f8fafc !important;
}

footer.custom-footer a.text-secondary:hover {
  color: var(--accent-orange) !important;
}

/* Desktop Floating Action Group (Sağ Altta) */
.floating-widgets-group {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

.floating-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 1.75rem;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

.whatsapp-float {
  background-color: #25d366;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  animation: pulse-wa 2.2s infinite;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.12);
}

.phone-float {
  background-color: var(--accent-orange);
  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.45);
  animation: pulse-phone 2.2s infinite;
}

.phone-float:hover {
  background-color: var(--accent-orange-hover);
  transform: scale(1.12);
}

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pulse-phone {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7); }
  70% { box-shadow: 0 0 0 18px rgba(255, 107, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

/* Floating Speech Bubbles (Baloncuklar) */
.floating-bubble {
  position: absolute;
  right: 74px;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  color: #0f172a;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  border: 1px solid #e2e8f0;
  white-space: nowrap;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.floating-bubble::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 9px;
  border-style: solid;
  border-color: transparent transparent transparent #ffffff;
}

.floating-bubble.hide-bubble {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) translateX(12px);
}

.floating-btn:hover .floating-bubble {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(-50%) translateX(0) !important;
}

/* Cookie Notice Popup (Sol Altta) */
.cookie-banner {
  position: fixed;
  bottom: 25px;
  left: 25px;
  max-width: 400px;
  background: var(--secondary-dark);
  color: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.4);
  z-index: 1040;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.cookie-banner button {
  background: var(--accent-gold);
  color: #000;
  font-weight: 700;
  border: none;
  padding: 9px 24px;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.cookie-banner button:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
}

/* Mobil Alt Menü Barı (4 Menü: Anasayfa, Hizmetler, Referanslar, İletişim) */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 66px;
  background: rgba(4, 12, 26, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 1090;
  box-shadow: 0 -5px 25px rgba(0,0,0,0.5);
}

.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 500;
  padding: 6px 0;
  transition: var(--transition-smooth);
}

.mobile-nav-item i {
  font-size: 1.3rem;
  margin-bottom: 3px;
}

.mobile-nav-item.active, .mobile-nav-item:hover {
  color: var(--accent-gold);
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.7rem;
  }
  .navbar-custom {
    position: relative;
    background: #ffffff;
  }
}

@media (max-width: 767px) {
  .whatsapp-float {
    display: none !important;
  }
  .mobile-bottom-nav {
    display: flex;
  }
  body {
    padding-bottom: 66px;
  }
  .hero-slider-container {
    height: 520px;
    max-height: 520px;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .cookie-banner {
    left: 15px;
    right: 15px;
    bottom: 82px;
    max-width: none;
  }
}
