/*
Theme Name: DNZ Express
Theme URI: https://dnzexpress.com
Author: themafis
Author URI: https://github.com/themafis
Description: Premium, Modern ve Dinamik Kurye Teması - 3D Neural Network, Glassmorphism, GSAP Animasyonları
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dnz-express
Tags: dark, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.4
*/

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

:root {
  --primary-color: #FF6B00;
  --primary-hover: #FF8C00;
  --bg-main: #0B0C10; /* Koyu, zengin arkaplan */
  --bg-card: #1F2833; /* Kart arkaplanı */
  --bg-card-hover: #2B3746;
  --text-light: #F8F9FA;
  --text-muted: #C5C6C7;
  --font-main: 'Outfit', sans-serif;
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; /* Soft scroll effect */
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 35px;
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
  transform: translateY(-3px);
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background-color: #fff;
  color: var(--bg-main);
  border-color: #fff;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 12, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 8px 0;
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo img {
  max-height: 90px;
  transition: var(--transition);
}

/* Typewriter Hero Text */
.hero-typewriter-text {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, #FF6B00 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
  text-shadow: none;
  filter: drop-shadow(0 0 30px rgba(255, 107, 0, 0.4));
  min-height: 1.2em; /* Prevent layout shift while typing */
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background: var(--primary-color);
  margin-left: 4px;
  vertical-align: middle;
  border-radius: 2px;
  animation: blink 0.8s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.8);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@media (max-width: 768px) {
  .hero-typewriter-text { font-size: 2.8rem; }
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 35px;
}

.main-navigation a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.5px;
  position: relative;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
  width: 100%;
}

.main-navigation a:hover {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-light);
  cursor: pointer;
  z-index: 10001;
  position: relative;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

/* =====================================================
   MODERN FULL-SCREEN MOBILE MENU
   Only visible on mobile (max-width: 768px)
   ===================================================== */
@media (max-width: 768px) {
  .site-header {
    padding: 6px 0;
  }

  .site-logo img {
    max-height: 50px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.2);
    font-size: 22px;
    color: var(--primary-color);
    transition: all 0.3s ease;
  }

  .menu-toggle:active {
    transform: scale(0.92);
  }

  .main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(11, 12, 16, 0.96);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  .main-navigation.active {
    opacity: 1;
    visibility: visible;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
    text-align: center;
    width: 100%;
    max-width: 320px;
  }

  .main-navigation li {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .main-navigation.active li {
    opacity: 1;
    transform: translateY(0);
  }

  /* Staggered animation for each menu item */
  .main-navigation.active li:nth-child(1) { transition-delay: 0.05s; }
  .main-navigation.active li:nth-child(2) { transition-delay: 0.1s; }
  .main-navigation.active li:nth-child(3) { transition-delay: 0.15s; }
  .main-navigation.active li:nth-child(4) { transition-delay: 0.2s; }
  .main-navigation.active li:nth-child(5) { transition-delay: 0.25s; }
  .main-navigation.active li:nth-child(6) { transition-delay: 0.3s; }

  .main-navigation li a {
    display: block;
    padding: 18px 0;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.3s ease, padding-left 0.3s ease;
  }

  .main-navigation li a:hover,
  .main-navigation li a.active {
    color: var(--primary-color);
    padding-left: 10px;
  }

  .main-navigation a::after {
    display: none;
  }

  /* CTA buttons in mobile menu */
  .main-navigation li a.nav-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover)) !important;
    color: #fff !important;
    border-radius: 14px !important;
    margin: 8px auto;
    padding: 14px 30px !important;
    display: inline-block !important;
    font-size: 18px !important;
    border-bottom: none;
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
  }

  .main-navigation li a.nav-cta:hover {
    padding-left: 30px !important;
    box-shadow: 0 6px 25px rgba(255, 107, 0, 0.5);
  }
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden; /* To keep canvas inside */
}

#hero-3d-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* Let clicks pass through to background if needed, but we track mouse on document */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11,12,16,0.9) 0%, rgba(11,12,16,0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid rgba(255, 107, 0, 0.25);
  color: var(--primary-color);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  margin-bottom: 30px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  animation: badgePulse 3s ease-in-out infinite;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.2), transparent);
  animation: badgeSweep 3s ease-in-out infinite;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 8px rgba(255, 107, 0, 0.8);
  animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
  50% { box-shadow: 0 0 20px 2px rgba(255, 107, 0, 0.15); }
}

@keyframes badgeSweep {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.8); opacity: 0.5; }
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  background: linear-gradient(to right, #fff, #C5C6C7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

@media (max-width: 768px) {
  .hero-content h1 { font-size: 3rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
}

/* Services */
.services-section {
  padding: 120px 0;
  background-color: var(--bg-main);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.service-card {
  background: var(--bg-card);
  padding: 50px 40px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,107,0,0.1) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

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

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 107, 0, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  color: var(--primary-color);
  margin-bottom: 30px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary-color);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-muted);
}

/* Stats */
.stats-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item .stat-number {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1;
}

.stat-item .stat-text {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.9;
}

/* Gallery / Team */
.gallery-section {
  padding: 120px 0;
  background-color: var(--bg-main);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 400px;
}

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

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.site-footer {
  background-color: #050608;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

.footer-widget h3 {
  font-size: 1.4rem;
  margin-bottom: 30px;
  color: #fff;
}

.footer-widget p, .footer-widget li {
  color: var(--text-muted);
  margin-bottom: 15px;
}

.footer-widget ul {
  list-style: none;
}

.footer-widget a {
  color: var(--text-muted);
}

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

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  margin-right: 10px;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.contact-info li {
  display: flex;
  align-items: flex-start;
}

.contact-info i {
  color: var(--primary-color);
  margin-top: 5px;
  margin-right: 15px;
  font-size: 18px;
}

.site-info {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: #666;
  font-size: 14px;
}

/* WhatsApp Float */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: #FFF;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(-10deg);
  color: #FFF;
}

/* ==========================================================================
   3D Forms & Glassmorphism
   ========================================================================== */
.form-page-wrapper {
  min-height: 100vh;
  padding: 150px 0 80px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-page-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at center, rgba(11,12,16,0.7) 0%, rgba(11,12,16,0.95) 100%);
  z-index: 1;
}

.form-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  perspective: 1000px;
}

.glass-card {
  background: rgba(31, 40, 51, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
}

.glass-card h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  background: linear-gradient(to right, #fff, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateZ(50px);
}

.glass-card p.subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
  transform: translateZ(30px);
}

.form-group {
  margin-bottom: 25px;
  transform: translateZ(20px);
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  font-family: var(--font-main);
  color: #fff;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.4);
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.2);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FF6B00' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  cursor: pointer;
}

select.form-control option {
  background: #1a1a2e;
  color: #fff;
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

.form-control[style*="border-color: rgb(239, 68, 68)"] {
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

.submit-btn {
  width: 100%;
  padding: 18px;
  font-size: 1.2rem;
  border-radius: 12px;
  transform: translateZ(40px);
  margin-top: 10px;
}

/* Page Header for standard pages */
.page-header-3d {
  padding: 150px 0 80px;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Service Card 3D */
.service-card-3d {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.service-card-3d:hover {
  border-color: rgba(255, 107, 0, 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 0 40px rgba(255, 107, 0, 0.05);
}

.service-card-3d i {
  font-size: 45px;
  color: var(--primary-color);
  margin-bottom: 25px;
  transform: translateZ(40px);
}

.service-card-3d h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  transform: translateZ(30px);
}

.service-card-3d p {
  color: var(--text-muted);
  transform: translateZ(20px);
}

/* Hide WP defaults that conflict */
.form-response {
  margin-top: 20px;
  padding: 15px;
  border-radius: 10px;
  transform: translateZ(30px);
}

.form-response.success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.form-response.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* Contact footer info inside glass card */
.contact-footer-info {
  margin-top: 50px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

/* Nav CTA button style */
.nav-cta {
  background: var(--primary-color) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 50px !important;
  font-size: 13px !important;
}

.nav-cta:hover {
  background: var(--primary-hover) !important;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4) !important;
}

/* ==========================================================================
   SUBMIT BUTTON - Motorcycle Animation
   ========================================================================== */
.submit-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.submit-btn .btn-moto {
  display: inline-block;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.submit-btn .btn-moto i {
  font-size: 1.3em;
}

.submit-btn:hover .btn-moto {
  transform: translateX(8px);
}

.submit-btn.submitting .btn-moto {
  animation: motoRide 1.5s ease-in-out infinite;
}

.submit-btn.btn-success-anim {
  background: #22c55e !important;
  border-color: #22c55e !important;
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.5) !important;
}

@keyframes motoRide {
  0% { transform: translateX(0px) rotate(0deg); }
  25% { transform: translateX(15px) rotate(-5deg); }
  50% { transform: translateX(30px) rotate(0deg); }
  75% { transform: translateX(15px) rotate(5deg); }
  100% { transform: translateX(0px) rotate(0deg); }
}

.moto-anim i {
  animation: motoRide 1s ease-in-out infinite;
  display: inline-block;
}

/* ==========================================================================
   SPECTACULAR MOTORCYCLE OVERLAY ANIMATION
   ========================================================================== */
.moto-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.moto-overlay.active {
  opacity: 1;
  pointer-events: all;
  background: radial-gradient(circle at center, rgba(11,12,16,0.95) 0%, rgba(0,0,0,0.98) 100%);
}

.moto-scene {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.moto-rider {
  position: absolute;
  left: -150px;
  font-size: 80px;
  color: var(--primary-color);
  filter: drop-shadow(0 0 30px rgba(255,107,0,0.8)) drop-shadow(0 0 60px rgba(255,107,0,0.4));
  transition: none;
}

.moto-overlay.active .moto-rider {
  animation: motoFlyAcross 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes motoFlyAcross {
  0% { 
    left: -150px; 
    transform: scale(0.6) rotate(-5deg); 
    opacity: 0;
  }
  10% { 
    opacity: 1; 
  }
  40% { 
    left: 45%; 
    transform: scale(1.3) rotate(0deg); 
    filter: drop-shadow(0 0 40px rgba(255,107,0,1)) drop-shadow(0 0 80px rgba(255,107,0,0.6));
  }
  60% { 
    left: 50%; 
    transform: scale(1.5) rotate(2deg); 
    filter: drop-shadow(0 0 60px rgba(255,107,0,1)) drop-shadow(0 0 120px rgba(255,107,0,0.8));
  }
  100% { 
    left: calc(100% + 150px); 
    transform: scale(0.8) rotate(-3deg); 
    opacity: 0;
  }
}

.moto-trail {
  position: absolute;
  left: 0;
  top: 55%;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), rgba(255,107,0,0.6), transparent);
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(255,107,0,0.6), 0 0 40px rgba(255,107,0,0.3);
}

.moto-overlay.active .moto-trail {
  animation: trailExpand 2s 0.3s ease-out forwards;
}

@keyframes trailExpand {
  0% { width: 0%; left: 0; opacity: 0; }
  30% { opacity: 1; }
  100% { width: 100%; left: 0; opacity: 0; }
}

.moto-success-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.moto-success-text.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.moto-success-text i {
  font-size: 80px;
  color: #22c55e;
  filter: drop-shadow(0 0 30px rgba(34,197,94,0.8));
  animation: successPulse 1s ease-in-out infinite;
}

.moto-success-text span {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@keyframes successPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 30px rgba(34,197,94,0.8)); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 50px rgba(34,197,94,1)); }
}

/* ==========================================================================
   BLOG STYLES
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
}

.blog-card {
  padding: 0 !important;
  overflow: hidden;
}

.blog-card-img {
  height: 220px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

.blog-card-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.blog-card-meta i {
  color: var(--primary-color);
  margin-right: 6px;
}

.blog-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-card h3 a {
  color: #fff;
}

.blog-card h3 a:hover {
  color: var(--primary-color);
}

.blog-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.95rem;
  transition: var(--transition);
}

.blog-read-more:hover {
  gap: 14px;
  color: var(--primary-hover);
}

.blog-single-content {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.9;
}

.blog-single-content h2,
.blog-single-content h3,
.blog-single-content h4 {
  color: #fff;
  margin: 30px 0 15px;
}

.blog-single-content p {
  margin-bottom: 20px;
}

.blog-single-content img {
  border-radius: 12px;
  margin: 20px 0;
}

.blog-single-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  color: #fff;
  margin: 0 5px;
  transition: var(--transition);
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

/* WP content area (editable from admin) */
.wp-content-area h2,
.wp-content-area h3 {
  color: #fff;
  margin-bottom: 20px;
}

.wp-content-area p {
  margin-bottom: 15px;
}

.wp-content-area img {
  border-radius: 12px;
}

/* ==========================================================================
   MOBILE RESPONSIVE - LAYOUT
   ========================================================================== */
@media (max-width: 768px) {
  .hero-content h1,
  .hero-typewriter-text { font-size: 2.5rem; }
  
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }

  .section-title { font-size: 2rem; }

  .glass-card { padding: 30px 20px; }

  .services-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .stat-item .stat-number { font-size: 2.5rem; }

  .footer-grid { grid-template-columns: 1fr; }

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

  .form-container { padding: 0 15px; }

  .form-page-wrapper { padding: 120px 0 60px; }
}

/* ============================================================
   CTA SPLIT SECTION
   ============================================================ */
.cta-split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 340px;
}

.cta-split-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 60px 50px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cta-split-kurye {
  background: linear-gradient(135deg, #0d0e13 0%, #1a0a00 100%);
  border-right: 1px solid rgba(255,107,0,0.15);
}

.cta-split-isortagi {
  background: linear-gradient(135deg, #0a0d1a 0%, #050c20 100%);
}

.cta-split-card:hover {
  transform: scale(1.02);
  z-index: 2;
}

.cta-split-kurye:hover  { background: linear-gradient(135deg, #1a0a00 0%, #2a1200 100%); }
.cta-split-isortagi:hover { background: linear-gradient(135deg, #06101f 0%, #0a1530 100%); }

/* Glow blob */
.cta-split-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
}

.cta-split-kurye   .cta-split-glow { background: radial-gradient(circle, rgba(255,107,0,0.35) 0%, transparent 70%); }
.cta-split-isortagi .cta-split-glow { background: radial-gradient(circle, rgba(59,130,246,0.3) 0%, transparent 70%); }

.cta-split-card:hover .cta-split-glow { opacity: 1; }

/* Icon */
.cta-split-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}

.cta-split-kurye   .cta-split-icon { background: rgba(255,107,0,0.15); color: var(--primary-color); border: 1px solid rgba(255,107,0,0.3); }
.cta-split-isortagi .cta-split-icon { background: rgba(59,130,246,0.12); color: #60a5fa; border: 1px solid rgba(59,130,246,0.25); }

.cta-split-card:hover .cta-split-icon { transform: scale(1.12) rotate(-5deg); }

/* Text */
.cta-split-content {
  position: relative;
  z-index: 1;
}

.cta-split-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}

.cta-split-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.cta-split-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.cta-split-kurye   .cta-split-btn { color: var(--primary-color); }
.cta-split-isortagi .cta-split-btn { color: #60a5fa; }

.cta-split-card:hover .cta-split-btn { gap: 14px; }

/* Responsive */
@media (max-width: 768px) {
  .cta-split-section { grid-template-columns: 1fr; }
  .cta-split-card { padding: 40px 24px; }
  .cta-split-kurye { border-right: none; border-bottom: 1px solid rgba(255,107,0,0.15); }
}

@media (max-width: 480px) {
  .hero-content h1,
  .hero-typewriter-text { font-size: 2rem; }

  .hero-content p { font-size: 1rem; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-item .stat-number { font-size: 2rem; }

  .blog-grid { grid-template-columns: 1fr; }

  .glass-card h1 { font-size: 2rem; }
}
