/* NDM Website - Industrial Professional Style */

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

:root {
  --primary: #1a1a1a;
  --secondary: #2d2d2d;
  --accent: #d4652a;
  --accent-hover: #e8783d;
  --text: #333333;
  --text-light: #666666;
  --text-white: #ffffff;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --border: #e0e0e0;
  --shadow: rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--primary);
  color: var(--text-white);
}

.section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--text-white);
}

.section-gray {
  background: var(--bg-light);
}

/* Header & Navigation */
header {
  background: var(--primary);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px var(--shadow);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

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

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.logo-accent {
  color: var(--accent);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--text-white);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}

nav a:hover, nav a.active {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  padding: 0.75rem 1.5rem !important;
  border-radius: 4px;
  border-bottom: none !important;
  transition: background 0.3s !important;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  color: var(--text-white) !important;
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-white);
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2a2a2a 100%);
  color: var(--text-white);
  padding: 10rem 0 6rem;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(45deg, transparent 0%, rgba(212, 101, 42, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  color: var(--text-white);
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-white);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
}

.btn-secondary:hover {
  background: var(--text-white);
  color: var(--primary);
}

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

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

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--text-white);
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author-info h4 {
  margin-bottom: 0;
}

.testimonial-author-info p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* About Page */
.about-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2a2a2a 100%);
  color: var(--text-white);
  padding: 10rem 0 4rem;
  margin-top: 60px;
}

.about-hero h1 {
  color: var(--text-white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  color: var(--text-light);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.fleet-item {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent);
}

.fleet-item h4 {
  margin-bottom: 0.5rem;
}

.fleet-item p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Services Page */
.services-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2a2a2a 100%);
  color: var(--text-white);
  padding: 10rem 0 4rem;
  margin-top: 60px;
}

.services-hero h1 {
  color: var(--text-white);
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-content h3 {
  color: var(--primary);
}

.service-detail-content ul {
  list-style: none;
  margin-top: 1rem;
}

.service-detail-content li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
}

.service-detail-content li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.service-image {
  background: var(--bg-light);
  border-radius: 8px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Contact Page */
.contact-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2a2a2a 100%);
  color: var(--text-white);
  padding: 10rem 0 4rem;
  margin-top: 60px;
}

.contact-hero h1 {
  color: var(--text-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--text-white);
}

.contact-item-text h4 {
  margin-bottom: 0.25rem;
}

.contact-item-text p {
  color: var(--text-light);
  margin-bottom: 0;
}

.contact-form {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Map */
.map-container {
  height: 400px;
  background: var(--bg-light);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 4rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Testimonials Page */
.testimonials-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2a2a2a 100%);
  color: var(--text-white);
  padding: 10rem 0 4rem;
  margin-top: 60px;
}

.testimonials-hero h1 {
  color: var(--text-white);
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--text-white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer-links h4 {
  color: var(--text-white);
  margin-bottom: 1rem;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Page Header */
.page-header {
  background: var(--bg-light);
  padding: 3rem 0;
  margin-top: 60px;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #b85520 100%);
  text-align: center;
  padding: 5rem 0;
}

.cta-section h2 {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Service area map */
.service-area-map {
  height: 400px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  background: #e8e8e8;
  position: relative;
  z-index: 1;
}

.map-legend {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.map-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.map-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.map-legend-dot.shop {
  background: #d4652a;
}

.map-legend-dot.service-area {
  background: rgba(212, 101, 42, 0.2);
  border: 2px solid #d4652a;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-detail:nth-child(even) {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  
  .hero {
    padding: 8rem 0 4rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 0;
  }
  
  nav ul.active {
    display: flex;
  }
  
  nav li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  nav a {
    display: block;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* Utilities */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }