/* 
 * Alo Denizli Taksi - style.css
 * Clean, modern, mobile-first design with high accessibility and premium taxi brand aesthetics.
 * Light Theme Edition with Sticky Floating Buttons.
 */

/* Import Outfit and Inter fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Color Palette (Light Theme) */
  --color-primary: #FBC02D;        /* Taxi Yellow */
  --color-primary-hover: #F9A825;  /* Deep Yellow */
  --color-primary-light: #FFFDE7;  /* Soft light yellow tint */
  --color-bg-main: #FFFFFF;        /* Pure White Background */
  --color-bg-alt: #F8F9FA;         /* Off-white for alternating sections */
  --color-bg-card: #FFFFFF;        /* Card background */
  --color-bg-card-hover: #FCFDFF;
  --color-text-primary: #1A1A1E;   /* Dark Charcoal for text */
  --color-text-secondary: #5A5A65; /* Slate Gray for secondary text */
  --color-text-dark: #121214;
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #20BA5A;
  --color-call: #2979FF;
  --color-call-hover: #2962FF;
  
  /* Border radius and shadows */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.1);
  --shadow-yellow: 0 8px 24px rgba(251, 192, 45, 0.2);
  --shadow-whatsapp: 0 8px 24px rgba(37, 211, 102, 0.2);
  
  /* Max width */
  --container-width: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  height: 50px;
  width: 216px;
}

.logo img {
  height: 100%;
  width: auto;
}

.nav-menu {
  display: none; /* Mobile first hidden */
}

/* Mobile Toggle Button */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-alt);
  color: var(--color-text-primary);
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: var(--transition);
}

.menu-toggle:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary-hover);
}

.nav-link {
  font-weight: 600;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary-hover);
}

.nav-actions {
  display: flex;
  gap: 12px;
}

.btn-header-call {
  background-color: var(--color-primary);
  color: var(--color-text-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
}

.btn-header-call:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), var(--shadow-yellow);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 60px 0 100px;
  background-color: var(--color-bg-main);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50%;
  height: 70%;
  background: radial-gradient(circle, rgba(251, 192, 45, 0.12) 0%, rgba(255,255,255,0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  text-align: center;
}

.badge-24h {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(251, 192, 45, 0.1);
  color: var(--color-primary-hover);
  border: 1px solid rgba(251, 192, 45, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  color: var(--color-text-primary);
}

.hero-title span {
  color: var(--color-primary-hover);
}

.hero-desc {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-sm), var(--shadow-yellow);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), var(--shadow-yellow);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-sm), var(--shadow-whatsapp);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), var(--shadow-whatsapp);
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-image-wrapper img {
  width: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

.hero-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
}

.hero-image-badge p {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  font-weight: 600;
}

.hero-image-badge h4 {
  font-size: 1.1rem;
  color: var(--color-primary-hover);
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  color: var(--color-primary-hover);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
  font-weight: 700;
}

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

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.feature-card {
  background-color: var(--color-bg-card);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-5px);
  background-color: var(--color-bg-card-hover);
  border-color: rgba(251, 192, 45, 0.5);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  background-color: rgba(251, 192, 45, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-primary-hover);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--color-text-primary);
}

.feature-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

/* Regions Section */
.regions {
  padding: 80px 0;
  background-color: var(--color-bg-main);
}

.regions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.region-card {
  background-color: var(--color-bg-alt);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 4px solid var(--color-primary);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-left-width: 4px;
}

.region-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.region-status {
  font-size: 0.85rem;
  color: var(--color-primary-hover);
  background-color: rgba(251, 192, 45, 0.15);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

/* Reviews Section */
.reviews {
  padding: 80px 0;
  background-color: var(--color-bg-alt);
}

.reviews-summary {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto 50px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
}

.rating-big {
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-primary-hover);
  line-height: 1;
}

.stars-wrapper {
  margin: 10px 0;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.star {
  color: var(--color-primary);
  font-size: 1.25rem;
}

.rating-count {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.review-card {
  background-color: var(--color-bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.review-card:hover {
  background-color: var(--color-bg-card-hover);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-md);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary-light);
  color: var(--color-primary-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  border: 1px solid rgba(251, 192, 45, 0.2);
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.review-date {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.review-stars {
  color: var(--color-primary);
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.review-text {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-style: italic;
  line-height: 1.5;
}

/* Quick CTA Section */
.quick-cta {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(251,192,45,0.06) 50%, rgba(255,255,255,0) 100%);
}

.cta-box {
  max-width: 650px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: var(--color-text-primary);
}

.cta-box p {
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

/* Policies & Info Pages styling */
.policy-page {
  padding: 60px 0 100px;
  background-color: var(--color-bg-alt);
}

.policy-content {
  background-color: var(--color-bg-card);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
}

.policy-content h1 {
  font-size: 2.2rem;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 12px;
  color: var(--color-text-primary);
}

.policy-content h2 {
  font-size: 1.4rem;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--color-primary-hover);
}

.policy-content p, .policy-content ul {
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  font-size: 1rem;
}

.policy-content ul {
  padding-left: 20px;
}

.policy-content li {
  margin-bottom: 8px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary-hover);
  font-weight: 600;
  margin-bottom: 24px;
}

.btn-back:hover {
  color: var(--color-text-primary);
}

/* Footer Section (Kept Dark for premium visual termination) */
.footer {
  background-color: #121214;
  color: #FFFFFF;
  padding: 60px 0 120px; /* Extra bottom padding for sticky bar */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-info p {
  color: #A0A0AB;
  font-size: 0.95rem;
  margin-top: 12px;
  max-width: 320px;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

.footer-links a {
  color: #A0A0AB;
  font-size: 0.95rem;
}

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  font-size: 0.85rem;
  color: #A0A0AB;
}

.footer-bottom a {
  color: var(--color-primary);
}

.webkurdu-link {
  font-weight: 600;
  transition: var(--transition);
}

.webkurdu-link:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

/* Sticky Action Bar for Mobile */
.sticky-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 12px 16px;
  display: flex;
  gap: 12px;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
}

.sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFFFFF;
}

.sticky-btn-call {
  background-color: var(--color-primary);
  color: var(--color-text-dark);
}

.sticky-btn-call:hover {
  background-color: var(--color-primary-hover);
}

.sticky-btn-whatsapp {
  background-color: var(--color-whatsapp);
}

.sticky-btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
}

/* Floating Sticky Action Buttons for Desktop / Tablet */
.floating-contact-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.floating-btn-call {
  background-color: var(--color-primary);
  color: var(--color-text-dark);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.floating-btn-call:hover {
  background-color: var(--color-primary-hover);
}

.floating-btn-whatsapp {
  background-color: var(--color-whatsapp);
}

.floating-btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
}

/* Pulse animation for call icon/badge */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(251, 192, 45, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(251, 192, 45, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(251, 192, 45, 0);
  }
}

.pulse-badge {
  animation: pulse 2s infinite;
}

/* Responsive Media Queries */
@media (min-width: 600px) {
  .hero-buttons {
    flex-direction: row;
  }
  
  .cta-buttons {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 100px 0 140px;
  }
  
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }
  
  .hero-content {
    text-align: left;
  }
  
  .hero-desc {
    margin-left: 0;
    margin-right: 0;
  }
  
  .hero-buttons {
    justify-content: flex-start;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .regions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
  
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .regions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Hide mobile action bar on desktop */
  .sticky-action-bar {
    display: none;
  }
  
  .footer {
    padding-bottom: 60px; /* Reset bottom padding */
  }
}

/* Mobile specific navigation and overlay overrides */
@media (max-width: 1024px) {
  .floating-contact-buttons {
    display: none;
  }
  
  .nav-actions {
    display: none; /* Hide header call button on mobile */
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-card);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    z-index: 99;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-link {
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
}
