/* ============================
   CSS Variables
   ============================ */

:root {
  --brand-bg: #46100d;
  --brand-color: #eddfcc;
  --section-padding: 80px;
}

/* ============================
   Global Styles
   ============================ */

body {
  font-family: 'fieldwork', Arial, sans-serif;
  line-height: 1.6;
}

/* ============================
   Base Section Styles
   ============================ */

.section {
  padding: var(--section-padding) 0;
}

.section--alt {
  background-color: #f8f9fa;
}

.section__title {
  text-align: center;
  margin-bottom: 2rem;
}

.section__text {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

/* ============================
   Flame Section
   ============================ */

.flame {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 575.98px) {
  .flame {
    min-height: 300px;
  }
}

.flame__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

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

.flame__content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.flame__title {
  font-size: 2.5rem;
  color: #eddfcc;
}

.flame__subtitle {
  font-size: 30px;
  margin-top: 48px;
  font-weight: 100;
  color: #eddfcc;
  line-height: 37px;
}

@media (max-width: 575.98px) {
  .flame__title {
    font-size: 1.3rem;
  }

  .flame__subtitle {
    font-size: 1.1rem;
    line-height: normal;
    margin-top: 2rem;
  }
}

.flame__button {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 5;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  visibility: hidden;
}

.flame__button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* ============================
   Services Section
   ============================ */

.services {
  width: 100%;
}

/* Services Secondary (Top Section) */
.services__secondary {
  position: relative;
  background-color: #46100d;
  padding: 100px 0;
  color: #eddfcc;
  overflow: visible;
}

@media (max-width: 575.98px) {
  .services__secondary {
    padding: 50px 0 100px;
  }
}

.services__secondary-text {
  margin: 0 auto;
  text-align: center;
  font-size: 24px;
  line-height: 30px;
}

@media (max-width: 575.98px) {
  .services__secondary-text {
    font-size: 1.1rem;
    line-height: normal;
  }
}

.services__secondary-text--handwritten {
  font-size: 80px;
  line-height: 90px;
  padding-top: 42px;
  margin-bottom: 6px;
}

@media (max-width: 575.98px) {
  .services__secondary-text--handwritten {
    font-size: 3.3rem;
    padding-top: 1rem;
  }
}

/* Services Separator (Floating Rose) */
.services__separator {
  position: absolute;
  left: 50%;
  top: 120%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 575.98px) {
  .services__separator {
    top: 97%;
  }
}

.services__separator-img {
  display: block;
  width: auto;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .25));
}

@media (max-width: 991.98px) {
  .services__separator-img {
    max-width: 680px;
  }
}

@media (max-width: 575.98px) {
  .services__separator-img {
    max-width: 180px;
  }
}

/* Services Main (Bottom Section) */
.services__main {
  position: relative;
  z-index: 1;
  background-color: #eddfcc;
  min-height: 1000px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  padding-top: 140px;
  padding-bottom: 80px;
}

@media (max-width: 575.98px) {
  .services__main {
    padding-top: 60px;
    padding-bottom: 30px;
  }
}

.services__title {
  text-align: center;
  margin: 0 auto 24px;
  font-size: clamp(4rem, 15vw, 245px);
  color: #46100d;
  white-space: nowrap;
}


.services__lead {
  max-width: 200px;
  margin: 0 auto;
  text-align: center;
}

.services__video-container {
  position: relative;
  width: 100%;
  height: 900px;
  min-height: 900px;
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
}

@media (max-width: 575.98px) {
  .services__video-container {
    width: 100%;
    height: 100%;
    min-height: 532px;
    text-align: center;
  }
}

.services__video {
  width: 100%;
  height: 100%;
  border: none;
}

.services__video iframe {
  height: 900px;
  width: 506px;
}

@media (max-width: 575.98px) {
  .services__video {
    width: auto;
    height: 100%;
    display: inline-block;
  }
  .services__video iframe {
    height: 100%;
    width: 100%;
  }
}

/* ============================
   Multi-Item Logo Carousel       
   ============================ */

.logo-carousel-section {
  background-color: var(--brand-bg);
  padding: 0 0 60px;
  overflow: hidden;
}

.logo-carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.logo-carousel-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: fit-content;
  animation: scroll-right-to-left 40s linear infinite;
  will-change: transform;
}

.logo-carousel-item {
  height: 150px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
  filter: grayscale(100%);
}

.logo-carousel-item:hover {
  opacity: 1;
  transform: scale(1.05);
  filter: grayscale(0%);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo-carousel-track {
    gap: 30px;
    animation-duration: 30s;
  }

  .logo-carousel-item {
    height: 120px;
  }
}

@media (max-width: 480px) {
  .logo-carousel-track {
    gap: 20px;
    animation-duration: 24s;
  }

  .logo-carousel-item {
    height: 100px;
  }
}

/* ============================
   Testimonials Section
   ============================ */

.testimonial {
  background: #fff;
  padding: 2rem;
  border-left: 4px solid var(--brand-bg);
}

.testimonial__quote {
  font-style: italic;
}

.testimonial__author {
  margin-top: 1rem;
  font-weight: bold;
  text-align: right;
}

/* ============================
   Mission Section
   ============================ */

.mission__statement {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  font-weight: 700;
  font-size: 1.4rem;
}

/* ============================
   Contact Section
   ============================ */

.contact__wrap {
  text-align: center;
}

.contact__lead {
  margin-bottom: 12px;
}

.contact__btn {
  margin-top: 6px;
}

/* ============================
   Responsive Design
   ============================ */

@media (max-width: 991.98px) {
  .media__col {
    height: 70vh;
  }
}

@media (max-width: 767.98px) {
  .media__col {
    height: 33.33vh;
  }
}

@media (min-width: 768px) {
  :root {
    --section-padding: 96px;
  }

  .site-header__brand {
    font-size: 3rem;
  }
}

@media (min-width: 992px) {
  :root {
    --section-padding: 104px;
  }

  .site-header__brand {
    font-size: 3.5rem;
  }

  .site-header__menu-list .nav-link {
    margin-left: 3rem;
  }

  .site-header__brand-img {
    max-height: 48px;
  }
}

@media (min-width: 1200px) {
  .flame__title {
    font-size: 47px;
    line-height: 58px;
  }
}