/* CFL Wedding — Homepage Luxury Wedding Design */

.page-home {
  background: var(--bg-light);
  padding-bottom: 0;
}

.page-home .site-header {
  background: transparent;
  border-bottom-color: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.page-home .site-header.is-scrolled,
.page-home .site-header.is-solid {
  background: rgba(255, 253, 251, 0.97);
  border-bottom-color: rgba(43, 43, 43, 0.06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

.page-home .site-header:not(.is-scrolled) .site-nav a,
.page-home .site-header:not(.is-scrolled) .nav-toggle span {
  color: #fff;
}

.page-home .site-header:not(.is-scrolled) .site-nav a:hover,
.page-home .site-header:not(.is-scrolled) .site-nav a.is-active {
  color: var(--secondary);
}

.page-home .site-logo img {
  height: 56px;
  filter: brightness(0) invert(1);
  transition: filter 0.4s ease;
}

.page-home .site-header.is-scrolled .site-logo img,
.page-home .site-header.is-solid .site-logo img {
  filter: none;
}

/* Section heading */
.home-heading:not(.title-section) {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.home-heading.title-section {
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
  margin: 0 calc(-1 * min(1rem, 50vw - 600px)) clamp(2.5rem, 5vw, 3.5rem);
  border-radius: 0;
}

.home-heading.title-section .home-heading__eyebrow {
  color: var(--secondary);
}

.home-heading.title-section .home-heading__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.home-heading.title-section .home-heading__line {
  background: linear-gradient(90deg, transparent, rgba(216, 179, 106, 0.9), transparent);
}

.home-heading__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.home-heading__title {
  color: var(--dark);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 500;
  margin: 0;
}

.home-heading__line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  margin: 1.25rem auto 0;
}

.home-ribbon {
  height: 1px;
  border: none;
  background: linear-gradient(90deg, transparent 0%, var(--secondary) 20%, var(--primary) 50%, var(--secondary) 80%, transparent 100%);
  opacity: 0.45;
  margin: 0;
}

/* Hero */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.home-hero__slides {
  position: absolute;
  inset: 0;
}

.home-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.home-hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.home-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.02);
  animation: heroKenBurns 12s ease-out forwards;
}

.home-hero__slide.is-active img {
  animation: heroKenBurns 12s ease-out forwards;
}

@keyframes heroKenBurns {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 45%);
}

.home-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: calc(var(--header-height) + 2rem) 1rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.home-hero__content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.home-hero__brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.home-hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: 0.92;
  font-weight: 300;
  margin-bottom: 2rem;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.home-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 560px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(216, 179, 106, 0.35);
}

.home-hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--secondary);
  font-weight: 600;
}

.home-hero__stat span {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.home-hero__dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.5rem;
}

.home-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.home-hero__dot.is-active {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.2);
}

/* Buttons — homepage */
.btn--brand {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  border-radius: 999px;
  padding: 1rem 2rem;
  font-weight: 500;
}

.btn--brand:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

.btn--brand-outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--secondary);
  border-radius: 999px;
  padding: 1rem 2rem;
}

.btn--brand-outline:hover {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

/* About split */
.home-about {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--bg-light);
}

.home-about__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .home-about__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.home-about__text h2 {
  color: var(--dark);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.25rem;
}

.home-about__text p {
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.home-about__image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.home-about__image::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(216, 179, 106, 0.3);
  border-radius: 16px;
  pointer-events: none;
  z-index: 1;
}

.home-about__image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.home-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(216, 179, 106, 0.25);
}

@media (min-width: 768px) {
  .home-features {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-feature {
  text-align: center;
  padding: 1rem 0.5rem;
}

.home-feature__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--secondary);
  font-size: 1.25rem;
}

.home-feature strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.home-feature span {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* Service cards */
.home-services {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--bg-soft);
}

.home-service-card {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
  color: inherit;
}

.home-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(232, 168, 184, 0.15);
  color: inherit;
}

.home-service-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.home-service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.home-service-card:hover .home-service-card__image img {
  transform: scale(1.06);
}

.home-service-card__body {
  padding: 1.75rem;
}

.home-service-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.home-service-card__body p {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.home-service-card__cta {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}

.home-services__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .home-services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Fleet showcase */
.home-fleet {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--bg-light);
  overflow: hidden;
}

.home-fleet__showcase {
  position: relative;
}

.home-fleet__slide {
  display: none;
  animation: fadeIn 0.6s ease;
}

.home-fleet__slide.is-active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-fleet__row {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .home-fleet__row {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }

  .home-fleet__row--reverse .home-fleet__media {
    order: 2;
  }

  .home-fleet__row--reverse .home-fleet__info {
    order: 1;
  }
}

.home-fleet__media {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.home-fleet__media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.home-fleet__info h3 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--dark);
  margin-bottom: 1rem;
}

.home-fleet__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.home-fleet__list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-muted);
}

.home-fleet__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.home-fleet__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.home-fleet__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(43, 43, 43, 0.12);
  background: #fff;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--dark);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-fleet__arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.home-fleet__counter {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--color-muted);
  min-width: 4rem;
  text-align: center;
}

/* Cases */
.home-cases {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--bg-soft);
}

.home-case {
  display: grid;
  gap: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .home-case {
    grid-template-columns: 1.2fr 1fr;
  }

  .home-case:nth-child(even) .home-case__image {
    order: 2;
  }
}

.home-case__image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.home-case__body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-case__meta {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.home-case__body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.home-case__detail {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.35rem;
}

.home-case__quote {
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 2px solid var(--primary);
  font-style: italic;
  color: var(--dark);
  font-size: 0.95rem;
}

/* Reviews */
.home-reviews {
  padding: clamp(4rem, 10vw, 6rem) 0;
  background: var(--bg-light);
}

.home-reviews__carousel {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
}

.home-reviews__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-review {
  flex: 0 0 100%;
  padding: 2.5rem 2rem;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.home-review__source {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.home-review__stars {
  color: var(--secondary);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.home-review__text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--dark);
  margin-bottom: 1rem;
}

.home-review__author {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.home-reviews__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.home-reviews__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(43, 43, 43, 0.15);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease;
}

.home-reviews__dot.is-active {
  background: var(--primary);
}

/* Blog */
.home-blog {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--bg-soft);
}

.home-blog__featured {
  display: grid;
  gap: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.home-blog__featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.08);
}

@media (min-width: 900px) {
  .home-blog__featured {
    grid-template-columns: 1.3fr 1fr;
  }
}

.home-blog__featured-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

@media (min-width: 900px) {
  .home-blog__featured-image {
    aspect-ratio: auto;
    min-height: 360px;
  }
}

.home-blog__featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.home-blog__featured:hover .home-blog__featured-image img {
  transform: scale(1.04);
}

.home-blog__featured-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-blog__tag {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.home-blog__featured-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  margin-bottom: 0.75rem;
}

.home-blog__featured-body h3 a {
  color: var(--dark);
}

.home-blog__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .home-blog__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease;
}

.home-blog-card:hover {
  transform: translateY(-6px);
}

.home-blog-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.home-blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-blog-card:hover .home-blog-card__img img {
  transform: scale(1.05);
}

.home-blog-card__body {
  padding: 1.25rem;
}

.home-blog-card__body h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.home-blog-card__body h4 a {
  color: var(--dark);
}

.home-blog-card__body p {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA */
.home-cta {
  position: relative;
  padding: clamp(5rem, 12vw, 8rem) 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.home-cta__bg {
  position: absolute;
  inset: 0;
}

.home-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(40, 40, 40, 0.65), rgba(40, 40, 40, 0.65));
}

.home-cta__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.home-cta__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
  margin-bottom: 0.75rem;
}

.home-cta__content > p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.home-cta__perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.home-cta__perks span::before {
  content: "✓ ";
  color: var(--secondary);
}

.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile CTA bar */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  padding: 0.75rem 1rem;
  background: rgba(255, 253, 251, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(43, 43, 43, 0.08);
  gap: 0.75rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.mobile-cta-bar a {
  flex: 1;
  text-align: center;
  padding: 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.mobile-cta-bar .btn--brand {
  color: #fff;
}

.mobile-cta-bar .btn--call {
  background: transparent;
  border: 1px solid var(--secondary);
  color: var(--dark);
}

@media (max-width: 767px) {
  .mobile-cta-bar {
    display: flex;
  }

  .page-home {
    padding-bottom: 72px;
  }

  .home-hero {
    min-height: 100svh;
  }

  .home-hero__stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .home-hero__stat {
    padding: 0.5rem;
  }

  .home-about,
  .home-services,
  .home-fleet,
  .home-cases,
  .home-reviews,
  .home-blog {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* SEO hidden keywords — accessible to crawlers */
.home-seo-keywords {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
