:root {
  --yellow: #FFD100;
  --yellow-dark: #E6BC00;
  --black: #111111;
  --dark-gray: #1a1a1a;
  --light-gray: #f5f5f5;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

/* ========== HEADER & NAV ========== */
header {
  background: var(--black);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--yellow);
  text-decoration: none;
}

.logo span {
  color: var(--white);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--yellow);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--yellow);
  transition: 0.3s;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
              url('https://placehold.co/1920x900/111/FFD100?text=RDW+Trucking+Hero') center/cover no-repeat;
  height: 85vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 1.5rem;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-content h1 span {
  color: var(--yellow);
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 620px;
  margin: 0 auto 2rem;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  padding: 0.9rem 2rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
}

/* ========== SECTIONS ========== */
section {
  padding: 4.5rem 1.5rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.section-title span {
  color: var(--yellow);
  background: var(--black);
  padding: 0 0.25em;
}

.section-subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 2.8rem;
  font-size: 1.1rem;
}

/* About */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content p {
  margin-bottom: 1.3rem;
  font-size: 1.05rem;
  color: #333;
}

.about-image-top {
  margin-bottom: 2.5rem;
  border-radius: 8px;
  overflow: hidden;
  height: 340px;
}

.about-image-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-img {
  height: 200px;
  background: #ccc;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.service-content p {
  color: #555;
  font-size: 0.95rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 220px;
  background: #ddd;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
}

.contact-info p {
  margin-bottom: 0.9rem;
}

.contact-form {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 2px solid var(--yellow);
  border-color: transparent;
}

/* Footer */
footer {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 2.5rem 1.5rem;
}

footer .logo {
  display: inline-block;
  margin-bottom: 0.8rem;
}

footer p {
  opacity: 0.8;
  font-size: 0.95rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background: var(--dark-gray);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
  }

  .nav-links.active {
    right: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image-top {
    height: 240px;
  }
}
