/* Reset and enforce full width */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: "Varta";
  line-height: 1.5;
}

/* Break out of WP containers */
.mmf-header,
.wp-coder,
.wp-block,
.wp-block-wp-coder {
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.placeholder {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;

  display: block;      /* makes auto margin work */
  margin: 0 auto;      /* centers horizontally */
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  width: 100%;
  background-color: #fff;
  position: relative;
  z-index: 10;
}

.navbar .page-title {
  font-family: "Varta";
  font-size: 2.5vw;
  font-weight: 800; /* made even bolder */
  color: #a31d3e;
  text-align: center;
  margin: 0;
  letter-spacing: 1px; /* adds structure */
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  height: 85vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.hero-carousel .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-carousel .slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Position the first hero image slightly higher */
.hero-carousel .slide:first-child img {
  object-position: center 30%;
}

/* Carousel Dots */
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 9999;
}

.carousel-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.carousel-dots button.active {
  background: #a31d3e;
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-carousel { height: 75vh; }
}

@media (max-width: 1024px) {
  .hero-carousel { height: 65vh; }
  .navbar .page-title { font-size: 3.2rem; }
}

@media (max-width: 768px) {
  .hero-carousel { height: 55vh; }
  .navbar .page-title { font-size: 2.6rem; }
}

@media (max-width: 480px) {
  .hero-carousel { height: 45vh; }
  .navbar .page-title { font-size: 2.1rem; }
}

/* Hard-override Avada’s auto min-height on containers */
.fusion-text-1,
.fusion-text,
.fusion-builder-column,
.fusion-column-wrapper,
.fusion-column-content,
.mmf-wrapper {
    min-height: 0 !important;
    height: auto !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

