:root {
  /* Colors */
  --color-dark-bg: #121212;
  /* Carbon Black */
  --color-secondary-bg: #1E1E24;
  /* Anthracite Grey */
  --color-accent: #FF5722;
  /* Electric Orange */

  --color-text-light: #F5F5F5;
  --color-text-muted: #B0B0B0;

  /* Fonts */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Roboto', sans-serif;

  /* Spacing & Utilities */
  --transition-speed: 0.3s;
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-dark-bg);
  color: var(--color-text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed) ease;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography styles */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #fff;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: none;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.btn-primary:hover {
  background-color: #E64A19;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background-color: #fff;
  color: var(--color-dark-bg);
  transform: translateY(-2px);
}

/* Layout Utilities */
.section {
  padding: 80px 0;
}

.bg-light-dark {
  background-color: var(--color-secondary-bg);
}

/* =========================================
   Navbar Styles
   ========================================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

header.scrolled {
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.logo span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-speed) ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 5px 0;
  transition: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--color-secondary-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: 0.4s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
  }

  .nav-links.active {
    right: 0;
  }
}

/* =========================================
   Hero Section Styles
   ========================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: url('hero-bg.png') no-repeat center center/cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.9) 0%, rgba(30, 30, 36, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  animation: fadeIn 1s ease forwards;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--color-text-muted);
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

/* =========================================
   About Section Styles
   ========================================= */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.about-stats {
  display: flex;
  justify-content: space-around;
  background-color: var(--color-dark-bg);
  padding: 40px;
  border-radius: 8px;
  border-bottom: 4px solid var(--color-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   Machine Park Section Styles
   ========================================= */
.machine-cards {
  display: flex;
  justify-content: center;
}

.machine-card {
  background-color: var(--color-secondary-bg);
  border: 1px solid rgba(255, 87, 34, 0.2);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  max-width: 600px;
  width: 100%;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  position: relative;
  overflow: hidden;
}

.machine-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-speed) ease;
}

.machine-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  background-color: #24242B;
}

.machine-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  margin-bottom: 20px;
  color: var(--color-accent);
  display: flex;
  justify-content: center;
}

.machine-card h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #fff;
}

.machine-specs {
  text-align: left;
  display: inline-block;
}

.machine-specs li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
}

.machine-specs li:last-child {
  border-bottom: none;
}

.machine-specs strong {
  color: var(--color-accent);
  margin-right: 10px;
}

.divider {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.2);
}

/* =========================================
   Services Section Styles
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-box {
  background-color: var(--color-dark-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
}

.service-box:hover {
  background-color: var(--color-secondary-bg);
  border-color: rgba(255, 87, 34, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(255, 87, 34, 0.1);
  color: var(--color-accent);
  margin-bottom: 25px;
  transition: all var(--transition-speed) ease;
}

.service-box:hover .service-icon {
  background-color: var(--color-accent);
  color: #fff;
  transform: scale(1.1);
}

.service-box h4 {
  font-size: 1.25rem;
  color: var(--color-text-light);
  line-height: 1.4;
}

/* =========================================
   Footer & Contact Section Styles
   ========================================= */
.footer-section {
  background-color: #0A0A0C;
  padding: 80px 0 20px;
  border-top: 1px solid rgba(255, 87, 34, 0.2);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon {
  font-size: 1.5rem;
  margin-right: 15px;
  color: var(--color-accent);
}

.contact-text h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #fff;
}

.contact-text p {
  color: var(--color-text-muted);
}

.contact-text a:hover {
  color: var(--color-accent);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
  transition: all var(--transition-speed) ease;
}

.social-links a:hover {
  background-color: var(--color-accent);
  transform: translateY(-3px);
}

.map-container {
  height: 350px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* =========================================
   WhatsApp Floating Button
   ========================================= */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all var(--transition-speed) ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .machine-specs {
    font-size: 0.95rem;
  }

  .machine-specs li {
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .divider {
    display: none;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}