/* =========================
   ROAD MONEY — Dark Rugged Theme
   (Includes Hero Slideshow)
========================= */

:root {
  --bg: #121212;
  --card-bg: #1e1e1e;
  --text: #e0e0e0;
  --muted: #b0b0b0;
  --accent: #ff6b00;
  --accent-hover: #ff812b;
  --header-bg: #181818;
  --footer-bg: #0c0c0c;
}

* {
  box-sizing: border-box;
  font-family: "Inter", "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* =========================
   HEADER
========================= */

header {
  position: sticky;
  top: 0;
  background: var(--header-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

header .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
}

nav a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s, background 0.3s;
  padding: 6px 10px;
  border-radius: 6px;
}

nav a:hover {
  color: var(--accent);
}

/* =========================
   HERO SECTION (Image Right)
========================= */

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;     /* prevents dropping under */
  gap: 60px;
  padding: 80px 10%;
  background: linear-gradient(90deg, #1a1a1a 0%, #202020 100%);
}

.hero-text {
  flex: 1;
  max-width: 520px;
}

.hero-text h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--accent);
}

.hero-text p {
  color: var(--muted);
  margin-bottom: 25px;
}

/* Button */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, transform 0.3s;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
}

/* Keep slideshow container pushed to the right */
.hero-image {
  flex: 0 0 auto;
  margin-left: auto;
}

/* =========================
   HERO SLIDESHOW
========================= */

.slideshow {
  position: relative;
  width: 420px;
  max-width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Slides */
.slide {
  width: 100%;
  height: 520px;          /* adjust height here */
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 500ms ease;
}

.slide.active {
  opacity: 1;
  position: relative;
}

/* Nav buttons */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 28px;
  line-height: 40px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.2s;
}

.slide-btn:hover {
  background: rgba(0,0,0,0.65);
  transform: translateY(-50%) scale(1.03);
}

.slide-btn.prev { left: 12px; }
.slide-btn.next { right: 12px; }

/* Dots */
.slide-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.10);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.dot:hover {
  transform: scale(1.15);
}

.dot.active {
  background: rgba(255,255,255,0.95);
}

/* =========================
   ABOUT
========================= */

.about {
  padding: 60px 10%;
  background: #1a1a1a;
  text-align: center;
}

.about h2 {
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.about p {
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto;
}

/* =========================
   FOOTER
========================= */

footer {
  background: var(--footer-bg);
  color: var(--muted);
  text-align: center;
  padding: 25px 0;
  border-top: 1px solid #222;
}

/* =========================
   MOBILE RESPONSIVENESS
========================= */

@media (max-width: 900px) {
  header {
    padding: 16px 18px;
    flex-wrap: wrap;
    gap: 10px;
  }

  nav ul {
    gap: 10px;
    flex-wrap: wrap;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    gap: 35px;
    padding: 60px 8%;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-image {
    margin-left: 0;
  }

  .slideshow {
    width: min(520px, 100%);
  }

  .slide {
    height: 420px; /* slightly shorter on mobile */
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
