
/* --- OTO Enterprises: Luxury Homepage Section Styling --- */

/* Page Load Fade In */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

body {
  animation: pageFadeIn 0.6s ease-in-out;
}

/* Fade In On Scroll */
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

section {
  padding: 4rem 8vw;
  background-color: #f8f8f8;
  font-family: 'Cormorant Garamond', serif;
}

h2 {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-align: center;
}

p {
  font-size: 1.15rem;
  line-height: 1.85;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: #2e2e2e;
}



/* --- Luxury Highlights Strip --- */
.luxury-strip-container {
  overflow: hidden;
  width: 100%;
  background: #0f0f0f;
  border-top: 1px solid #0f0f0f;
  border-bottom: 1px solid #0f0f0f;
  text-transform: uppercase;
  padding: 0.8rem 0;
  position: relative;
  font-family: 'Cormorant Garamond', serif;
}

.luxury-strip-track {
  display: flex;
  width: fit-content;
  animation: scroll-strip 30s linear infinite;
}

.highlight-item {
  color: #f5f5f5;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 0 2.5rem;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

@keyframes scroll-strip {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.luxury-strip-container::before,
.luxury-strip-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.luxury-strip-container::before {
  left: 0;
  background: linear-gradient(to right, #0f0f0f, transparent);
}

.luxury-strip-container::after {
  right: 0;
  background: linear-gradient(to left, #0f0f0f, transparent);
}



/* --- Why Choose OTO --- */
.why-oto {
  background-color: #fff;
}

.why-oto p {
  font-style: normal;
  font-size: 1.4rem;
  line-height: 2;
  color: #222;
  max-width: 860px;
}

/* --- Before & After --- */
.before-after {
  background-color: #fafafa;
}

.before-after-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: #444;
  margin-top: 1rem;
  font-style: normal;
}

/* --- Testimonials --- */
.testimonials-section {
  padding: 4rem 1rem;
  background-color: #f9f9f9;
  text-align: center;
}

.testimonials-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-family: 'Open Sans', sans-serif;
}

.testimonials-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
  scroll-padding: 1rem;
  padding: 0 1rem 1rem 1rem;
}

.testimonial-card {
  flex: 0 0 calc(100% / 3 - 1.5rem); /* 3 cards per screen with spacing */
  max-width: calc(100% / 3 - 1.5rem);
  min-height: 380px; /* MAKE IT TALLER */
  background: white;
  border-radius: 2px;
  padding: 2rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  scroll-snap-align: start;
  text-align: center;
  box-sizing: border-box;
}

.testimonial-text {
  font-size: 2rem;
  font-style: italic;
  color: #444;
  margin-bottom: 1rem;
  border-left: 4px solid #5991e7;
  padding-left: 1rem;
}

.testimonial-author {
  font-weight: bold;
  font-size: 1.3rem;
  color: #222;
}

.testimonials-carousel-wrapper {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.testimonials-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 2rem 1rem 3rem;
  scroll-behavior: smooth;
  scroll-padding: 1rem;
  animation: auto-scroll 60s linear infinite;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonials-carousel::-webkit-scrollbar {
  display: none;
}

.testimonials-carousel:hover {
  animation-play-state: paused;
}


@keyframes auto-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% + 100vw));
  }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 80%;
    max-width: 80%;
  }
}

@media (max-width: 600px) {
  .testimonial-card {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 1.5rem;
  }
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background-color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.arrow.left {
  left: 0.5rem;
}

.arrow.right {
  right: 0.5rem;
}

.arrow:hover {
  background-color: #eee;
}



/* --- Aircraft Types --- */
.aircraft-types ul {
  list-style-type: square;
  max-width: 600px;
  margin: 1.5rem auto;
  padding-left: 1.2rem;
  font-size: 1.05rem;
  color: #2d2d2d;
}

/* --- Pricing Table --- */
.pricing table {
  width: 90%;
  margin: 2rem auto;
  border-collapse: collapse;
  font-size: 1rem;
}

.pricing th, .pricing td {
  border: 1px solid #ddd;
  padding: 1rem;
  text-align: center;
}

.pricing th {
  background-color: #f2f2f2;
  font-weight: 600;
}

.pricing tr:nth-child(even) {
  background-color: #f9f9f9;
}

.pricing tr:hover {
  background-color: #f1f1f1;
}

/* --- Service Region --- */
.service-region {
  background-color: #fcfcfc;
  text-align: center;
  font-style: normal;
  padding: 5rem 8vw;
}

.service-region h2 {
  font-size: 3.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.service-region p {
  font-size: 1.25rem;
  color: #2a2a2a;
  line-height: 2.1;
  max-width: 700px;
}




/* cta */
.cta-video {
  position: relative;
  width: 100%;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
}

.background-video-cta {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 1;
}

.video-overlay-cta {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45); /* optional overlay */
  z-index: 2;
}

.cta-text {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  font-family: 'Cormorant Garamond', serif;
}

.cta-text h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-text .btn {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-text .btn:hover {
  background: white;
  color: black;
}

.cta-text p {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.cta-text p.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== STATS COUNTER ===== */
.stats-section {
  background-color: #111;
  padding: 4rem 8vw;
}

.stats-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.stat-item {
  flex: 1 1 200px;
  text-align: center;
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem;
  font-weight: 400;
  color: white;
  line-height: 1;
}

.stat-suffix {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: #5991e7;
  font-weight: 400;
}

.stat-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin-top: 0.7rem;
  text-align: center;
  max-width: none;
}


/* ===== MANIFESTO ===== */
.manifesto-section {
  background-color: #111;
  padding: 5rem 8vw;
  text-align: center;
}

.manifesto-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 400;
  color: white;
  line-height: 1.55;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  letter-spacing: 0.3px;
}

.manifesto-text em {
  color: #5991e7;
  font-style: italic;
}

.manifesto-dim {
  color: rgba(255, 255, 255, 0.38);
}

.manifesto-text strong em {
  font-weight: 700;
}

/* Line 1 wrapper — invisible by default; JS replaces content char by char */
.manifesto-line1-wrap {
  display: inline;
  color: transparent; /* placeholder text holds space; JS types visible chars */
}

.manifesto-line2 {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.manifesto-line2.visible {
  opacity: 1;
  transform: translateY(0);
}

.manifesto-cursor {
  display: inline-block;
  color: #5991e7;
  font-weight: 300;
  animation: blink-cursor 0.75s step-end infinite;
  margin-left: 2px;
}

@keyframes blink-cursor {
  from, to { opacity: 1; }
  50%       { opacity: 0; }
}


/* ===== HOW IT WORKS ===== */
.process-section {
  background-color: #f9f9f7;
  padding: 5rem 8vw;
}

.process-eyebrow {
  display: block;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 1.2rem;
}

.process-section h2 {
  font-size: 3.6rem;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1300px;
  margin: 0 auto;
}

.process-step {
  text-align: left;
  padding: 0 3.5rem 0 0;
  position: relative;
  cursor: default;
}

.process-step:last-child {
  padding-right: 0;
}

/* Top line — full-width grey rail per step */
.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #cecece;
}

/* Blue fill — sweeps left-to-right on hover */
.process-step::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #5991e7;
  transition: width 0.55s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.process-step:hover::after {
  width: 100%;
}

/* Number — same typographic voice as the eyebrow label */
.step-number {
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: #999;
  margin-top: 2rem;
  margin-bottom: 1.2rem;
  transition: color 0.35s ease;
}

.process-step:hover .step-number {
  color: #5991e7;
}

.process-step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: #111;
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.process-step:hover h3 {
  transform: translateY(-2px);
}

.process-step p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: #555;
  line-height: 1.85;
  text-align: left;
  max-width: none;
  margin: 0;
  padding-bottom: 2rem;
}

/* ===== HOW IT WORKS — RESPONSIVE ===== */

@media (max-width: 900px) {
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .process-step {
    padding: 0 2.5rem 0 0;
  }

  .process-step:nth-child(2n) {
    padding-right: 0;
  }

  .process-step h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 560px) {
  .process-section {
    padding: 4rem 6vw;
  }

  .process-section h2 {
    font-size: 2.6rem;
    margin-bottom: 2.5rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .process-step,
  .process-step:nth-child(2n) {
    padding: 0 0 0 0;
  }

  .process-step h3 {
    font-size: 1.65rem;
    margin-bottom: 0.75rem;
  }

  .process-step p {
    font-size: 1rem;
    line-height: 1.8;
    padding-bottom: 0.5rem;
  }
}


/* ===== AIRCRAFT CARDS ===== */
.aircraft-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Hairline dividers via background bleed — no gap spacing */
  gap: 1px;
  max-width: 1300px;
  margin: 2.5rem auto 0;
  background: #252525; /* shows through 1px gaps as divider lines */
  border: 1px solid #252525;
}

.aircraft-card {
  /* Subtle directional gradient — not flat black */
  background: linear-gradient(160deg, #141414 0%, #0c0c0c 100%);
  padding: 3rem 2.6rem 2.8rem;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.45rem;
  position: relative;
  overflow: hidden;
  /* Very faint top-edge highlight — simulates a light source above */
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1),
              background 0.35s ease;
  cursor: default;
}

/* Blue sweep on hover — fades out at right edge for restraint */
.aircraft-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, #5991e7 0%, rgba(89,145,231,0.15) 100%);
  transition: width 0.55s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.aircraft-card:hover::after {
  width: 100%;
}

.aircraft-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(160deg, #181818 0%, #0f0f0f 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06),
              0 24px 48px rgba(0,0,0,0.45);
}

/* Silhouette — bottom-right, blurred slightly to read as shadow not icon */
.aircraft-bg-icon {
  position: absolute;
  bottom: -6%;
  right: -4%;
  width: 58%;
  height: auto;
  opacity: 0.06;
  pointer-events: none;
  filter: blur(0.6px);
  /* Landing: slow decelerate — the plane glides back into position */
  transition: transform 0.9s cubic-bezier(0, 0, 0.2, 1),
              opacity 0.7s ease,
              filter 0.4s ease;
}

.aircraft-card:hover .aircraft-bg-icon {
  /* Blast off: fast accelerating exit upward, fades as it exits */
  transform: translateY(-170px) scale(0.9);
  opacity: 0;
  filter: blur(1.5px);
  transition: transform 0.5s cubic-bezier(0.4, 0, 1, 1),
              opacity 0.4s cubic-bezier(0.4, 0, 1, 1),
              filter 0.3s ease;
}

/* Blue accent — short horizontal rule, more architectural than a dot */
.aircraft-card .accent-dot {
  display: block;
  width: 22px;
  height: 1.5px;
  border-radius: 0;
  background: #5991e7;
  margin-bottom: 1.1rem;
  position: relative;
  z-index: 1;
  transition: width 0.35s ease;
}

.aircraft-card:hover .accent-dot {
  width: 34px;
}

.aircraft-type {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  /* 400 weight reads more refined than 500 at this size */
  font-weight: 400;
  color: rgba(255,255,255,0.90);
  display: block;
  letter-spacing: 0.01em;
  line-height: 1.2;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.aircraft-card:hover .aircraft-type {
  color: rgba(255,255,255,1);
}

.aircraft-examples {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  display: block;
  position: relative;
  z-index: 1;
  margin-top: 0.2rem;
  transition: color 0.3s ease;
}

.aircraft-card:hover .aircraft-examples {
  color: rgba(255,255,255,0.42);
}


/* ===== PRICING CARDS ===== */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border: 1px solid #e4e4e4;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.pricing-card.featured {
  background: #111;
  border-color: #111;
}

.pricing-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 500;
  color: #111;
  margin: 0;
}

.pricing-card.featured h3 {
  color: white;
}

.pricing-card p {
  font-size: 1rem;
  color: #555;
  text-align: left;
  max-width: none;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.pricing-card.featured p {
  color: rgba(255,255,255,0.7);
}

.featured-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #5991e7;
  display: block;
}

.price-tag {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: #111;
  display: block;
  margin-top: 0.5rem;
}

.pricing-card.featured .price-tag {
  color: white;
}

.pricing-btn {
  display: block;
  margin-top: 1.5rem;
  padding: 0.7rem 1.5rem;
  background: transparent;
  border: 1.5px solid #111;
  color: #111;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.pricing-card.featured .pricing-btn {
  border-color: white;
  color: white;
}

.pricing-btn:hover {
  background: #111;
  color: white;
}

.pricing-card.featured .pricing-btn:hover {
  background: white;
  color: #111;
}


/* ===== MOBILE RESPONSIVE (HOME) ===== */

@media (max-width: 768px) {
  section {
    padding: 4rem 6vw;
  }

  h2 {
    font-size: 2.2rem;
  }

  p {
    font-size: 1.05rem;
    line-height: 1.75;
  }

  .why-oto p {
    font-size: 1.2rem;
    line-height: 1.85;
  }

  .cta-text h2 {
    font-size: 2rem;
  }

  .cta-text p {
    font-size: 1.05rem;
  }

  /* Stats — 2 col, divider between rows */
  .stats-section {
    padding: 3.5rem 6vw;
  }

  .stat-item {
    flex: 1 1 45%;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 2rem 1rem;
  }

  .stat-number {
    font-size: 3.5rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  /* Manifesto */
  .manifesto-section {
    padding: 5rem 6vw;
  }

  /* Aircraft — 2 col on tablet, 1 col on phone */
  .aircraft-grid {
    grid-template-columns: 1fr 1fr;
  }

  .aircraft-type {
    font-size: 1.55rem;
  }

  /* Pricing — single col on mobile */
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pricing-card {
    padding: 2rem 1.8rem;
  }

  .comparison-row {
    flex-direction: column;
  }

  /* Service region */
  .service-region p {
    font-size: 1.1rem;
    line-height: 1.85;
  }
}

@media (max-width: 480px) {
  section {
    padding: 3.5rem 5vw;
  }

  h2 {
    font-size: 2rem;
  }

  .aircraft-grid,
  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .stat-item {
    flex: 1 1 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .manifesto-text {
    font-size: 1.75rem;
  }

  .stats-section {
    padding: 3rem 5vw;
  }
}



