/* ============================================
   Cimla Taksi - Main Stylesheet
   ============================================ */

:root {
  --color-primary: #f7ca18;
  --color-primary-light: #fbc531;
  --color-primary-dark: #e6b800;
  --color-brand-blue: #1565c0;
  --color-brand-blue-light: #1e88e5;
  --color-brand-blue-dark: #0d47a1;
  --color-brand-blue-soft: #e8f1fa;
  --color-dark: #1a1a2e;
  --color-dark-soft: #2d2d44;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fa;
  --color-bg-section: #f4f5f7;
  --color-border: #e8e8e8;
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #1da851;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-primary: 0 4px 20px rgba(247, 202, 24, 0.35);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --header-height: 72px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

.header img.logo__img--header {
  max-width: none;
  width: auto;
  height: 48px;
  max-height: calc(var(--header-height) - 24px);
  object-fit: contain;
  object-position: left center;
}

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-height: 0;
  max-height: var(--header-height);
}

.logo--header .logo__img--header {
  height: 48px;
  max-height: calc(var(--header-height) - 24px);
  width: auto;
}

.logo__img {
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.logo--footer .logo__img {
  height: 52px;
  max-width: 220px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Navigation */
.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-brand-blue), var(--color-brand-blue-light));
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-brand-blue-dark);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--color-brand-blue-soft);
  border: 1px solid #d0e3f5;
  border-radius: var(--radius-full);
  padding: 4px;
}

.lang-btn {
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-brand-blue-dark);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  letter-spacing: 0.02em;
}

.lang-btn:hover {
  color: var(--color-brand-blue);
  background: rgba(21, 101, 192, 0.08);
}

.lang-btn.active {
  background: var(--color-brand-blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(21, 101, 192, 0.3);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
}

.hamburger__line {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active .hamburger__line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn--whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn--whatsapp:hover {
  background: var(--color-whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.btn--whatsapp i {
  font-size: 1.4em;
}

.btn--outline {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}

.btn--outline:hover {
  background: var(--color-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--color-dark);
  color: #fff;
}

.btn--dark:hover {
  background: var(--color-dark-soft);
  transform: translateY(-2px);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 40px) 0 60px;
  background: linear-gradient(135deg, #fff 0%, #fafbfc 50%, #f4f5f7 100%);
  overflow: hidden;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(247, 202, 24, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(247, 202, 24, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(247, 202, 24, 0.15);
  color: var(--color-dark);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  border: 1px solid rgba(247, 202, 24, 0.3);
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.hero__stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.2;
}

.hero__stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__gallery {
  position: relative;
  width: 100%;
  max-width: 540px;
  padding-bottom: 48px;
}

.hero__photo {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
  background: var(--color-bg-alt);
}

.hero__photo--main {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.hero__photo--secondary {
  position: absolute;
  bottom: 0;
  right: -16px;
  width: 58%;
  aspect-ratio: 4 / 3;
  z-index: 2;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.hero__photo--main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26, 26, 46, 0.08) 100%);
  pointer-events: none;
}

.hero__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: middle;
}

/* ============================================
   Section Header
   ============================================ */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-header__tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-header__title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header__desc {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ============================================
   Features
   ============================================ */
.features {
  padding: 100px 0;
  background: var(--color-bg);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 202, 24, 0.12);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: var(--color-primary-dark);
  transition: all var(--transition);
}

.feature-card:hover .feature-card__icon {
  background: var(--color-primary);
  color: var(--color-dark);
}

.feature-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.feature-card__text {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

/* ============================================
   Service Areas
   ============================================ */
.areas {
  padding: 100px 0;
  background: var(--color-bg-alt);
}

.areas__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.areas__group {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.areas__group-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
}

.areas__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.areas__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-brand-blue-soft);
  border: 1px solid #d0e3f5;
  border-radius: var(--radius-full);
  line-height: 1.3;
}

.areas__item::before {
  content: '\f3c5';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--color-primary);
}

.areas__note {
  margin-top: 32px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-banner__title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.cta-banner__desc {
  font-size: 1rem;
  color: rgba(26, 26, 46, 0.75);
}

/* ============================================
   Contact
   ============================================ */
.contact {
  padding: 100px 0;
  background: var(--color-bg-section);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--color-bg);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(247, 202, 24, 0.4);
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 202, 24, 0.12);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  color: var(--color-primary-dark);
  flex-shrink: 0;
}

.contact-card__icon--whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: var(--color-whatsapp);
}

.contact-card__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-card__link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-dark);
}

.contact-card__link:hover {
  color: var(--color-primary-dark);
}

.contact-card__text {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-dark);
}

.contact__map {
  height: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.contact__map iframe {
  width: 100%;
  height: 100%;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 60px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__brand .logo {
  margin-bottom: 4px;
}

.footer__desc {
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 300px;
}

.footer__heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  transition: all var(--transition);
}

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

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}

.footer__bottom-inner {
  text-align: center;
}

.footer__copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Floating WhatsApp Button
   ============================================ */
.fab-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-whatsapp);
  color: #fff;
  border-radius: 50%;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: all var(--transition);
  animation: fab-pulse 2s infinite;
}

.fab-whatsapp:hover {
  background: var(--color-whatsapp-dark);
  transform: scale(1.1);
  animation: none;
}

@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8); }
}

/* ============================================
   Mobile Navigation Overlay
   ============================================ */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero__inner {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__gallery {
    max-width: 440px;
    margin: 0 auto;
    padding-bottom: 40px;
  }

  .hero__photo--secondary {
    right: 0;
    width: 52%;
  }

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

  .contact__map {
    height: 320px;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .logo--header .logo__img--header,
  .header img.logo__img--header {
    height: 40px;
    max-height: calc(var(--header-height) - 28px);
  }

  .logo--footer .logo__img {
    height: 44px;
    max-width: 180px;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background: var(--color-bg);
    box-shadow: var(--shadow-lg);
    padding: 32px 24px;
    transition: right var(--transition);
    z-index: 999;
    overflow-y: auto;
  }

  .nav.active {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: 14px 0;
    font-size: 1.05rem;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .hamburger {
    display: flex;
  }

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

  .hero__stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero__actions .btn--lg {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer__desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .footer__links ul {
    align-items: center;
  }

  .fab-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .lang-btn {
    padding: 5px 9px;
    font-size: 0.75rem;
  }

  .hero {
    padding-bottom: 40px;
  }

  .hero__gallery {
    max-width: 100%;
    padding-bottom: 32px;
  }

  .hero__photo--secondary {
    width: 48%;
    right: -4px;
  }

  .features,
  .areas,
  .contact {
    padding: 72px 0;
  }

  .feature-card {
    padding: 24px 20px;
  }
}
