/* ===== CSS Variables ===== */
:root {
  --primary-orange: #ff8c42;
  --dark-orange: #e67a2e;
  --light-orange: #ffb380;
  --primary-gray: #4a4a4a;
  --dark-gray: #2d2d2d;
  --light-gray: #6b6b6b;
  --bg-light: #f5f5f5;
  --white: #ffffff;
  --text-dark: #333333;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(0, 0, 0, 0.2);
}

/* ===== Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Top Bar ===== */
#topbar {
  background-color: var(--primary-gray);
  color: var(--white);
  padding: 10px 0;
  font-size: 14px;
}

#topbar .contact-info {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

#topbar .contact-info a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

#topbar .contact-info a:hover {
  color: var(--primary-orange);
}

/* ===== Header ===== */
#header {
  background-color: var(--white);
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  color: var(--primary-orange);
  font-size: 28px;
  font-weight: bold;
  margin: 0;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
}

.nav-menu a {
  color: var(--primary-gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
  color: var(--primary-orange);
  border-bottom-color: var(--primary-orange);
}

.mobile-menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--primary-gray);
}

/* ===== Hero Section ===== */
#hero {
  position: relative;
  height: 600px;
  background: linear-gradient(135deg, var(--primary-gray) 0%, var(--dark-gray) 100%);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  background: linear-gradient(135deg, var(--primary-gray) 0%, var(--dark-gray) 100%);
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide:nth-child(2) {
  background: linear-gradient(135deg, var(--dark-orange) 0%, var(--primary-orange) 100%);
}

.hero-slide:nth-child(3) {
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--primary-gray) 100%);
}

.hero-content {
  text-align: center;
  color: var(--white);
  padding: 20px;
  max-width: 800px;
}

.hero-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  border: none;
  font-size: 40px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  z-index: 10;
}

.hero-prev:hover,
.hero-next:hover {
  background-color: rgba(255, 140, 66, 0.8);
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

.hero-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero-indicator.active {
  background-color: var(--primary-orange);
}

/* ===== About Section ===== */
.about {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.about .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.col-image .about-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
  border-radius: 10px;
  box-shadow: 0 10px 30px var(--shadow);
  position: relative;
}

.col-image .about-image::after {
  content: '🚛';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 120px;
  opacity: 0.3;
}

.col-content h2 {
  font-size: 36px;
  color: var(--primary-gray);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.col-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--primary-orange);
}

.about-text p {
  margin-bottom: 15px;
  color: var(--light-gray);
  line-height: 1.8;
}

/* ===== Services Section ===== */
.services {
  padding: 80px 0;
  background-color: var(--white);
}

.services h2 {
  text-align: center;
  font-size: 36px;
  color: var(--primary-gray);
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.services h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-orange);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-item {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-hover);
}

.service-number {
  display: inline-block;
  font-size: 48px;
  font-weight: bold;
  color: var(--primary-orange);
  opacity: 0.3;
  margin-bottom: 10px;
}

.service-item h4 {
  font-size: 22px;
  color: var(--primary-gray);
  margin-bottom: 15px;
}

.service-item p {
  color: var(--light-gray);
  line-height: 1.6;
}

/* ===== ADR Services Section ===== */
.adr-services {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.adr-services h2 {
  text-align: center;
  font-size: 36px;
  color: var(--primary-gray);
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.adr-services h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-orange);
}

.adr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.adr-item {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  border-left: 4px solid var(--primary-orange);
  transition: transform 0.3s, box-shadow 0.3s;
}

.adr-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px var(--shadow);
}

.adr-item h4 {
  font-size: 18px;
  color: var(--primary-gray);
  line-height: 1.6;
}

/* ===== Contact Section ===== */
.contact {
  padding: 80px 0;
  background-color: var(--white);
}

.contact h2 {
  text-align: center;
  font-size: 36px;
  color: var(--primary-gray);
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.contact h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-orange);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.contact-box {
  background-color: var(--bg-light);
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-hover);
}

.contact-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.contact-box h3 {
  font-size: 22px;
  color: var(--primary-gray);
  margin-bottom: 15px;
}

.contact-box p {
  color: var(--light-gray);
  line-height: 1.8;
}

.contact-box a {
  color: var(--primary-orange);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-box a:hover {
  color: var(--dark-orange);
}

/* ===== Footer ===== */
#footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
  color: var(--primary-orange);
  margin-bottom: 20px;
}

.footer-col p {
  line-height: 1.8;
  color: #cccccc;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--primary-orange);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #cccccc;
}

/* ===== Back to Top Button ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary-orange);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, background-color 0.3s;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--dark-orange);
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
  .about .row {
    grid-template-columns: 1fr;
  }

  .hero-content h2 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .services-grid,
  .adr-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 5px 10px var(--shadow);
  }

  .nav-menu.active ul {
    flex-direction: column;
    gap: 0;
  }

  .nav-menu.active ul li {
    border-bottom: 1px solid var(--bg-light);
  }

  .nav-menu.active ul li a {
    display: block;
    padding: 15px 20px;
  }

  #hero {
    height: 500px;
  }

  .hero-content h2 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-prev,
  .hero-next {
    font-size: 30px;
    padding: 5px 15px;
  }

  .services h2,
  .adr-services h2,
  .contact h2,
  .col-content h2 {
    font-size: 28px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  #topbar .contact-info {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .logo h1 {
    font-size: 22px;
  }

  .hero-content h2 {
    font-size: 24px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .service-number {
    font-size: 36px;
  }

  .service-item h4 {
    font-size: 18px;
  }
}
