:root {
  /* Color System - Industrial & High Performance */
  --primary: #d40000; /* Racing Red */
  --primary-dark: #a30000;
  --secondary: #1a1a1a; /* Asphalt Black */
  --accent: #f5f5f5; /* Metallic Silver */
  --text-main: #1a1a1a;
  --text-muted: #555555;
  --bg-light: #ffffff;
  --bg-dark: #0f0f0f;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  
  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .logo {
  font-family: 'Syncopate', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.1;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography & Headers */
.subtitle {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.underline {
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-family: 'Syncopate', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

.btn-primary:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(212, 0, 0, 0.3);
}

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

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

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

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

.full-width {
  width: 100%;
}

/* Navigation */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.4rem;
  color: var(--secondary);
  letter-spacing: -1px;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-main);
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  background: var(--bg-dark);
  position: relative;
  display: flex;
  align-items: center;
  color: var(--white);
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15,15,15,1) 0%, rgba(15,15,15,0.7) 100%);
  z-index: 1;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.hero-image-container {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-img {
  width: 120%;
  transform: perspective(1000px) rotateY(-10deg);
  filter: drop-shadow(20px 20px 40px rgba(0,0,0,0.5));
}

/* Services */
.services {
  padding: var(--section-padding);
  background: var(--bg-light);
}

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

.service-card {
  padding: 40px;
  background: var(--white);
  border: 1px solid #eee;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.icon-box {
  width: 60px;
  height: 60px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
  font-size: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .icon-box {
  background: var(--primary);
  color: var(--white);
}

.service-card h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--secondary);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Detail Section */
.detail {
  padding: var(--section-padding);
  background: var(--accent);
}

.detail-flex {
  display: flex;
  align-items: center;
  gap: 80px;
}

.detail-img {
  flex: 1;
}

.detail-img img {
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.detail-text {
  flex: 1;
}

.feature-list {
  margin-top: 32px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--secondary);
}

.feature-list i {
  color: var(--primary);
}

/* Gallery */
.gallery {
  padding: var(--section-padding);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  height: 400px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(212, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay span {
  font-family: 'Syncopate', sans-serif;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  transform: translateY(20px);
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

/* About Section */
.about {
  padding: var(--section-padding);
  background: var(--secondary);
  color: var(--white);
}

.about-flex {
  display: flex;
  align-items: center;
  gap: 80px;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  color: var(--white);
}

.about-content p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.7);
}

.about-image-wrapper {
  flex: 1;
}

.about-img {
  border: 10px solid rgba(255, 255, 255, 0.05);
}

/* Process Section */
.process {
  padding: var(--section-padding);
}

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

.step {
  text-align: center;
}

.step-number {
  font-family: 'Syncopate', sans-serif;
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 700;
  position: relative;
}

.step:hover .step-number {
  color: var(--primary);
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.process-banner {
  width: 100%;
  overflow: hidden;
}

.process-banner img {
  width: 100%;
  filter: grayscale(100%) contrast(1.2);
  transition: var(--transition);
}

.process-banner:hover img {
  filter: grayscale(0%);
}

/* Testimonials */
.testimonials {
  padding: var(--section-padding);
  background: var(--accent);
}

.testimonials-slider {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  padding: 40px;
  box-shadow: var(--shadow);
}

.stars {
  color: #ffcc00;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.testimonial-card cite {
  font-family: 'Syncopate', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  display: block;
}

/* Contact Section */
.contact {
  padding: var(--section-padding);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

.contact-info h2 {
  margin-bottom: 24px;
}

.contact-details {
  margin-top: 40px;
}

.contact-details li {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-details i {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-details strong {
  display: block;
  font-family: 'Syncopate', sans-serif;
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.contact-form {
  background: var(--white);
  padding: 50px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--primary);
}

.contact-form h3 {
  margin-bottom: 30px;
  font-size: 1.2rem;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #ddd;
  font-family: 'Montserrat', sans-serif;
  transition: var(--transition);
}

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

/* Footer */
.main-footer {
  background: var(--bg-dark);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand .logo a {
  color: var(--white);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 300px;
}

.footer-nav h4,
.footer-social h4 {
  font-family: 'Syncopate', sans-serif;
  font-size: 0.85rem;
  margin-bottom: 24px;
  color: var(--white);
}

.footer-nav ul li {
  margin-bottom: 12px;
}

.footer-nav ul a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-nav ul a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
}

.social-links a:hover {
  background: var(--primary);
}

.footer-bottom {
  padding-top: 30px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Reveal Animations (Start Visible as requested) */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 1;
}

/* Micro-interactions */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 3rem; }
  .hero-img { width: 100%; transform: none; }
  .detail-flex, .about-flex { flex-direction: column; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-wrapper { flex-direction: column; text-align: center; justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-content { margin-bottom: 50px; }
  .hero-content h1 { font-size: 2.5rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .testimonials-slider { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.8rem; }
}
