/* ========================================
   Mallorca Elite Transfers - Landing Page
   Fonts: Playfair Display (Serif), Lato (Sans)
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lato:wght@300;400;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Lato", "Helvetica Neue", sans-serif;

  --color-primary: hsl(28, 38%, 59%);         /* Gold/Tan */
  --color-primary-light: hsl(28, 38%, 72%);
  --color-primary-dark: hsl(28, 38%, 45%);
  --color-primary-foreground: #ffffff;

  --color-background: hsl(36, 33%, 94%);       /* Cream */
  --color-foreground: hsl(0, 0%, 10%);
  --color-card: hsl(37, 30%, 96%);
  --color-muted: hsl(0, 0%, 40%);
  --color-border: hsl(30, 20%, 85%);

  --color-accent: hsl(18, 50%, 55%);
  --color-dark: #0f172a;
  --color-dark-soft: #1e293b;

  --radius: 0.5rem;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-feature-settings: normal;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-foreground);
  background-color: var(--color-background);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-foreground);
}

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

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

ul, ol {
  list-style: none;
}

/* ── Utility Classes ── */
.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Animated Entrance ── */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.15s; }
.fade-up.delay-2 { transition-delay: 0.3s; }
.fade-up.delay-3 { transition-delay: 0.45s; }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__background img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  will-change: transform;
  transition: transform 0.1s linear;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.2) 40%,
    rgba(0,0,0,0.6) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 56rem;
  padding: 0 1.5rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
}

.hero__badge svg {
  width: 1rem;
  height: 1rem;
  opacity: 0.8;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.hero__subtitle {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
}

.hero__cta:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.hero__cta svg {
  width: 1.25rem;
  height: 1.25rem;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

.hero__scroll-hint svg {
  width: 1.5rem;
  height: 1.5rem;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========================================
   JOURNEY SECTION
   ======================================== */
.journey {
  padding: 6rem 0 7rem;
  background-color: var(--color-background);
}

.journey__header {
  text-align: center;
  margin-bottom: 5rem;
}

.journey__label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.journey__title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--color-foreground);
}

/* Journey Timeline */
.journey__timeline {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.journey__stop {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.journey__stop--reverse {
  flex-direction: column;
}

.journey__stop-image {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.journey__stop-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.journey__stop:hover .journey__stop-image img {
  transform: scale(1.05);
}

.journey__stop-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.15), transparent 40%);
  pointer-events: none;
}

.journey__stop-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9999px;
  box-shadow: var(--shadow-md);
}

.journey__stop-content {
  flex: 1;
  padding: 0 0.5rem;
}

.journey__stop-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.journey__stop-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.75rem;
}

.journey__stop-desc {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-muted);
}

/* ========================================
   FLEET SECTION
   ======================================== */
.fleet {
  position: relative;
  padding: 10rem 0;
  overflow: hidden;
  color: #fff;
}

.fleet__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fleet__background img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  will-change: transform;
}

.fleet__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

.fleet__content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.fleet__label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 1rem;
}

.fleet__title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3rem;
}

.fleet__features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}

.fleet__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 2rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.75rem;
  min-width: 200px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.fleet__feature:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}

.fleet__feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-primary-light);
}

.fleet__feature-name {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

.fleet__gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

.fleet__gallery-item {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.fleet__gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.fleet__gallery-item:hover img {
  transform: scale(1.05);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-footer {
  padding: 7rem 0 5rem;
  background: var(--color-background);
  text-align: center;
}

.cta-footer__title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 1rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-footer__subtitle {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-muted);
  margin-bottom: 2.5rem;
}

.cta-footer__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
}

.cta-footer__btn:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.cta-footer__btn svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* ========================================
   SITE FOOTER
   ======================================== */
.site-footer {
  background-color: #0a0a0a;
  color: rgba(255, 255, 255, 0.7);
  padding: 0 1.5rem;
  font-family: var(--font-sans);
}

.site-footer__top {
  padding: 3.5rem 0 2rem;
  text-align: center;
}

.site-footer__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--color-primary) 20%,
    var(--color-primary) 80%,
    transparent 100%
  );
  opacity: 0.5;
  max-width: 72rem;
  margin: 0 auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 0;
}

.site-footer__heading {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.site-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

.site-footer__link:hover {
  color: var(--color-primary-light);
  transform: translateX(3px);
}

.site-footer svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.site-footer__icon {
  width: 1rem;
  height: 1rem;
  max-width: 1rem;
  max-height: 1rem;
  flex-shrink: 0;
  color: var(--color-primary);
  opacity: 0.7;
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.75rem 0;
}

.site-footer__bottom-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
}

.site-footer__bottom-link {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer__bottom-link:hover {
  color: var(--color-primary-light);
}

.site-footer__bottom-right {
  display: flex;
  align-items: center;
}

.site-footer__dev-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.02em;
}

.site-footer__dev-credit:hover {
  color: var(--color-primary-light);
}

.site-footer__code-icon {
  width: 0.85rem;
  height: 0.85rem;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: #25D366;
  color: #fff;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

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

.whatsapp-float svg {
  width: 1.75rem;
  height: 1.75rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet (md: 768px+) */
@media (min-width: 768px) {
  .hero__title {
    font-size: 3.75rem;
  }

  .hero__subtitle {
    font-size: 1.125rem;
  }

  .journey {
    padding: 9rem 0 10rem;
  }

  .journey__title {
    font-size: 3rem;
  }

  .journey__stop {
    flex-direction: row;
    gap: 4rem;
  }

  .journey__stop--reverse {
    flex-direction: row-reverse;
  }

  .journey__stop-image {
    width: 50%;
    flex-shrink: 0;
  }

  .journey__stop-name {
    font-size: 1.875rem;
  }

  .fleet__title {
    font-size: 3rem;
  }

  .fleet__features {
    flex-direction: row;
    gap: 1.5rem;
  }

  .fleet__gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .fleet {
    padding: 10rem 0;
  }

  .cta-footer__title {
    font-size: 3rem;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    padding: 3.5rem 0;
  }

  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .site-footer__bottom-left {
    justify-content: flex-start;
  }
}

/* Desktop (lg: 1024px+) */
@media (min-width: 1024px) {
  .hero__title {
    font-size: 4.5rem;
  }

  .journey__timeline {
    gap: 8rem;
  }

  .fleet__gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .site-footer__logo {
    font-size: 1.75rem;
  }
}
