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

:root {
  --color-primary: #C8102E;
  --color-primary-dark: #750214;
  --color-gold: #FFD700;
  --color-teal: #2ABFBF;
  --color-dark: #1a1a1a;
  --color-gray: #555;
  --color-light: #f5f5f5;
  --color-white: #fff;

  --font-display: 'Alfa Slab One', Georgia, serif;
  --font-body: 'Open Sans', -apple-system, sans-serif;

  --max-width: 1100px;
  --nav-height: 60px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 1.6rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s, transform 0.1s;
  letter-spacing: 0.01em;
}

.btn:active { transform: scale(0.98); }

.btn--primary {
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
}

.btn--primary:hover { background: var(--color-primary-dark); }

.btn--lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
  border-radius: 4px;
}

.btn--full { display: block; width: 100%; }

.btn--outline-dark {
  background: transparent;
  color: var(--color-dark);
  border: 1.5px solid #ccc;
  border-radius: 4px;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid #e5e5e5;
  height: var(--nav-height);
}

.navbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo-img {
  width: 208px;
  height: 40px;
  object-fit: contain;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.navbar__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-dark);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s;
}

.navbar__link:hover,
.navbar__link--active { color: var(--color-teal); }

.navbar__dropdown { position: relative; }

.navbar__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--color-white);
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 0.4rem 0;
  min-width: 150px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navbar__dropdown:hover .navbar__dropdown-menu { display: block; }

.navbar__dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  transition: background 0.15s;
}

.navbar__dropdown-item:hover { background: var(--color-light); }

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar__phone {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border: 1.5px solid var(--color-dark);
  border-radius: 4px;
  transition: border-color 0.2s;
}

.navbar__phone:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-dark);
  transition: transform 0.3s, opacity 0.3s;
}

.navbar__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__hamburger.active span:nth-child(2) { opacity: 0; }
.navbar__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: 99;
  padding: 2rem 1.5rem;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-menu.active { display: flex; }

.mobile-menu__nav { display: flex; flex-direction: column; }

.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--color-dark);
  width: 100%;
  text-align: left;
}

.mobile-menu__dropdown-menu { display: none; padding-left: 1rem; }
.mobile-menu__dropdown-menu.active { display: block; }

.mobile-menu__dropdown-item {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  color: var(--color-gray);
}

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ===== Hero Carousel ===== */
.hero {
  position: relative;
  margin-top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  max-height: 680px;
  min-height: 420px;
  overflow: hidden;
}

.hero__slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero__slide--active { opacity: 1; }

.hero__slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.15) 70%);
  z-index: 1;
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 4rem;
  max-width: 600px;
}

.hero__content h1 {
  font-family: 'Alfa Slab One', Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  font-style: normal;
  line-height: 64px;
  color: var(--color-white);
  margin-bottom: 0.9rem;
}

.hero__stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1.4rem;
}

/* Social icons — vertical stack on right */
.hero__social {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.hero__social a {
  opacity: 0.85;
  transition: opacity 0.2s;
  display: block;
}

.hero__social a:hover { opacity: 1; }

/* Carousel dots — vertical, right side below social */
.hero__dots {
  position: absolute;
  right: 1.6rem;
  bottom: 1.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.hero__dot--active { background: var(--color-white); }

/* ===== Brand Marquee ===== */
.brands {
  padding: 2rem 1.5rem;
  text-align: center;
  overflow: hidden;
  background: var(--color-white);
  border-bottom: 1px solid #eee;
}

.brands__heading {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  color: var(--color-dark);
  margin-bottom: 1.4rem;
  letter-spacing: 0;
}

.brands__marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.brands__track {
  display: flex;
  gap: 4rem;
  animation: marquee 32s linear infinite;
  width: max-content;
  align-items: center;
}

.brands__logo {
  height: 40px;
  width: auto;
  display: inline-block;
  object-fit: contain;
  opacity: 0.75;
  flex-shrink: 0;
}

.brands__logo:hover {
  opacity: 1;
}

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

/* ===== Reviews ===== */
.reviews {
  background: #f0eeeb;
  padding: 5rem 1.5rem;
}

.reviews__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.reviews h2 {
  font-family: 'Alfa Slab One', Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 64px;
  text-align: center;
  margin-bottom: 3.5rem;
  color: var(--color-dark);
  letter-spacing: 0;
}

.reviews__list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.review {
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

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

.review__image {
  flex: 0 0 45%;
  border-radius: 4px;
  overflow: hidden;
}

.review__image img {
  width: 100%;
  height: auto;
  display: block;
}

.review__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.review--reverse .review__content {
  text-align: right;
}

.review__stars {
  display: flex;
  gap: 0.2rem;
}

.review--reverse .review__stars {
  justify-content: flex-end;
}

.review__text {
  font-size: 0.95rem;
  color: var(--color-gray);
  line-height: 1.7;
}

.review__author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-dark);
}

/* ===== Footer ===== */
.footer {
  background: #2a2a2a;
  color: var(--color-white);
  padding: 3rem 1.5rem 0;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 2.5rem;
}

.footer__logo {
  height: 50px;
  width: auto;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.footer__contact { margin-bottom: 1rem; }

.footer__contact-label {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.footer__contact a {
  font-size: 0.88rem;
  color: #ccc;
  transition: color 0.2s;
}

.footer__contact a:hover { color: var(--color-white); }

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer__social a { color: #ccc; transition: color 0.2s; }
.footer__social a:hover { color: var(--color-white); }

.footer__links { display: flex; gap: 4rem; }

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.footer__col a {
  font-size: 0.88rem;
  color: #ccc;
  transition: color 0.2s;
}

.footer__col a:hover { color: var(--color-white); }

.footer__bottom {
  border-top: 1px solid #444;
  text-align: center;
  padding: 1.25rem 0;
}

.footer__bottom p {
  font-size: 0.78rem;
  color: #999;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .navbar__links,
  .navbar__actions { display: none; }

  .navbar__hamburger { display: flex; }

  .hero { max-height: none; height: auto; min-height: 0; }

  .hero__slides { position: relative; }

  .hero__slide {
    position: absolute;
    height: 100%;
  }

  /* Fixed height for mobile hero */
  .hero { height: 85vw; min-height: 340px; max-height: 520px; }

  .hero__content {
    padding: 0 1.5rem;
    max-width: none;
    justify-content: flex-end;
    padding-bottom: 2rem;
    text-align: center;
    align-items: center;
  }

  .hero__content h1 { font-size: clamp(1.4rem, 6vw, 2rem); }

  .hero__social {
    right: 0.75rem;
    gap: 0.6rem;
  }

  .hero__social svg { width: 20px; height: 20px; }

  .hero__dots { right: 0.75rem; bottom: 0.75rem; }

  .review {
    flex-direction: column !important;
  }

  .review--reverse .review__content {
    text-align: left;
  }

  .review--reverse .review__stars {
    justify-content: flex-start;
  }

  .review__image img { min-height: 220px; height: 220px; }

  .review__content { padding: 1.5rem; }

  .footer__inner { flex-direction: column; gap: 2rem; }
  .footer__links { gap: 3rem; }
}
