/* Amir Travel Hamburg – Styles */

:root {
  --color-logo-bg: #37050e;
  --color-bg: #29030a;
  --color-primary: #37050e;
  --color-primary-dark: #29030a;
  --color-primary-mid: #42100f;
  --color-accent: #c5a059;
  --color-accent-hover: #a8893d;
  --color-light: #f5ebe8;
  --color-white: #ffffff;
  --color-text: #2d1515;
  --color-text-muted: #6b5252;
  --color-border: #e8d5d5;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: var(--header-height);
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

/* Desktop Navigation */
.nav-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.nav-desktop a {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text);
  white-space: nowrap;
  transition: color var(--transition);
}

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

.nav-cta {
  background: var(--color-accent);
  color: var(--color-white) !important;
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  font-weight: 600;
  transition: background var(--transition);
}

.nav-cta:hover {
  background: var(--color-accent-hover);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Language switcher */
.lang-switcher {
  position: relative;
}

.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  transition: border-color var(--transition);
  line-height: 1;
}

.lang-switcher-btn:hover {
  border-color: var(--color-accent);
}

.lang-icon {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}

.lang-chevron {
  width: 13px;
  height: 13px;
  opacity: 0.5;
  transition: transform var(--transition);
}

.lang-switcher-btn[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}

.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 190px;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(41, 3, 10, 0.15);
  padding: 0.35rem;
  margin: 0;
  list-style: none;
  z-index: 2000;
}

.lang-switcher-menu li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  transition: background var(--transition);
}

.lang-switcher-menu li a:hover {
  background: var(--color-light);
  color: var(--color-primary);
}

.lang-switcher-menu li a[aria-current="true"] {
  background: var(--color-light);
  color: var(--color-primary);
  font-weight: 700;
}

.lang-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  padding: 0.1rem 0.3rem;
  background: var(--color-logo-bg);
  color: var(--color-accent);
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile menu – hidden on desktop */
.mobile-menu {
  display: none;
}

.menu-backdrop {
  display: none;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--color-bg) 0%, var(--color-logo-bg) 100%);
  overflow: hidden;
  padding: calc(var(--header-height) + 2.5rem) 0 3rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  color: var(--color-white);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-accent);
}

.hero p {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 1.5rem;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header .label {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* Services */
.services {
  background: var(--color-light);
}

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

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-mid));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

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

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  max-width: 400px;
  margin: 0 auto;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.about-feature .check {
  width: 24px;
  height: 24px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Contact */
.contact {
  background: var(--color-light);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  background: var(--color-white);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.contact-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-item .icon {
  width: 64px;
  height: 64px;
  background: var(--color-logo-bg);
  border: 2px solid var(--color-accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
  box-shadow: 0 4px 12px rgba(41, 3, 10, 0.25);
}

.contact-item .icon svg {
  width: 30px;
  height: 30px;
}

.contact-item--whatsapp .icon {
  background: #128c7e;
  border-color: #25d366;
  color: #ffffff;
}

.contact-item h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.contact-item a,
.contact-item p {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1rem;
}

.contact-placeholder {
  color: var(--color-text-muted);
  font-style: italic;
}

.bidi-ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

p.bidi-ltr,
li.bidi-ltr {
  display: block;
}

.contact-item a:hover {
  color: var(--color-accent);
}

.contact-map {
  max-width: 900px;
  margin: 3rem auto 0;
}

.contact-map-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.contact-map-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  background: var(--color-white);
}

.contact-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-map-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.contact-map-link:hover {
  color: var(--color-accent);
}

html[dir="rtl"] .contact-map-link {
  display: block;
  text-align: center;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

/* Footer */
.footer {
  background: var(--color-bg);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 1rem;
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.8;
}

.footer h4 {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.95rem;
  opacity: 0.8;
  transition: opacity var(--transition), color var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.footer-legal a:hover {
  color: var(--color-accent);
  opacity: 1;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 600;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.legal-page {
  padding: 6rem 0 4rem;
  min-height: 100vh;
}

.legal-page h1 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.legal-page h2 {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin: 1.75rem 0 0.75rem;
}

.legal-page p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-page a {
  color: var(--color-primary);
  font-weight: 600;
}

.legal-nav {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

/* Mobile Nav */
@media (max-width: 960px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
  }

  .logo-link {
    flex-shrink: 0;
  }

  .header-actions {
    flex-shrink: 0;
    margin-left: auto;
    gap: 0.4rem;
  }

  .lang-switcher-btn {
    min-height: 42px;
    padding: 0.45rem 0.65rem;
    font-size: 0.8rem;
  }

  .lang-switcher-menu {
    min-width: 11rem;
    max-height: min(70vh, 22rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 999;
    overflow-y: auto;
    padding: 0.5rem 0 2rem;
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
  }

  .mobile-nav a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
  }

  .mobile-nav a:hover {
    background: var(--color-light);
    color: var(--color-primary);
  }

  .mobile-nav-cta {
    display: block;
    margin: 1rem 1.5rem 0;
    padding: 0.85rem 1.5rem;
    background: var(--color-accent);
    color: var(--color-white) !important;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    border-bottom: none !important;
  }

  .mobile-lang {
    margin-top: 1.25rem;
    padding: 1.25rem 1.5rem 0;
    border-top: 1px solid var(--color-border);
  }

  .mobile-lang-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
  }

  .mobile-lang-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .mobile-lang-link {
    display: block;
    padding: 0.6rem 0.75rem;
    background: var(--color-light);
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    text-align: center;
  }

  .mobile-lang-link.active {
    background: var(--color-logo-bg);
    border-color: var(--color-logo-bg);
    color: var(--color-accent);
    font-weight: 700;
  }

  .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    top: var(--header-height);
    background: rgba(41, 3, 10, 0.4);
    z-index: 998;
  }

  .menu-backdrop[hidden] {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  :root {
    --header-height: 64px;
  }

  .logo-img {
    height: 44px;
  }

  .lang-switcher-btn {
    padding: 0.4rem 0.55rem;
    gap: 0.25rem;
  }

  .lang-icon {
    width: 14px;
    height: 14px;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 1rem;
    right: 1rem;
  }
}

/* RTL Support (Arabic & Persian) */
html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .header-inner {
  direction: rtl;
}

html[dir="rtl"] .lang-switcher-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .contact-item {
  flex-direction: row-reverse;
  text-align: right;
}

html[dir="rtl"] .contact-item .bidi-ltr {
  text-align: left;
  align-self: flex-start;
}

html[dir="rtl"] .about-feature {
  flex-direction: row-reverse;
}

html[dir="rtl"] .hero-buttons {
  flex-direction: row-reverse;
}

html[dir="rtl"] .footer-bottom {
  flex-direction: row-reverse;
}

html[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 1.5rem;
}

@media (max-width: 960px) {
  html[dir="rtl"] .header-inner {
    direction: rtl;
  }

  html[dir="rtl"] .header-actions {
    margin-left: 0;
    margin-right: auto;
  }

  html[dir="rtl"] .mobile-nav {
    text-align: right;
  }
}

