@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;500;700&family=Syne:wght@500;700;800&display=swap');

:root {
  --bg-color: #0d0d0f;
  --surface-color: #17171a;
  --surface-hover: #222226;
  --accent-color: #FF5A00; /* Safety Orange */
  --accent-hover: #ff7326;
  --text-main: #f0f0f0;
  --text-muted: #9a9a9c;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --container-max: 1200px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Texture Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-image: url('data:image/svg+xml,%3Csvg viewBox=%220 0 200 200%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22noiseFilter%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.65%22 numOctaves=%223%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23noiseFilter)%22 opacity=%220.03%22/%3E%3C/svg%3E');
  pointer-events: none;
  z-index: 9999;
}

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

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

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

/* Header */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  background: rgba(13, 13, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.nav-item > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

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

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background: var(--surface-color);
  min-width: 250px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 0.5rem 0;
  pointer-events: none;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu a {
  padding: 0.8rem 1.5rem;
  font-size: 0.85rem;
  text-transform: none;
  font-weight: 400;
  display: block;
}

.dropdown-menu a:hover {
  background: rgba(255,90,0,0.1);
  color: var(--accent-color);
}

/* Hero Section */
.hero {
  padding: 12rem 0 8rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(255,90,0,0.15) 0%, rgba(13,13,15,0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 10vw, 6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  word-wrap: break-word;
}

.hero h1 .highlight {
  color: var(--accent-color);
  display: block;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 3rem;
}

.btn {
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  padding: 1rem 2.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: all 0.3s ease;
  border: 1px solid var(--accent-color);
}

.btn:hover {
  background: transparent;
  color: var(--accent-color);
  box-shadow: 0 0 20px rgba(255,90,0,0.3);
}

/* Services Section */
.services {
  padding: 8rem 0;
  background: var(--surface-color);
}

.section-header {
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-color);
  padding: 3rem 2rem;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-color);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: gap 0.3s ease;
}

.service-card:hover .service-card-link {
  gap: 1rem;
}

/* Service Detail Pages */
.service-hero {
  padding: 12rem 0 6rem;
  background: var(--surface-color);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-hero i {
  font-size: 4rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
}

.service-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 4rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
  word-wrap: break-word;
}

.service-content {
  padding: 6rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.service-content h2 {
  font-family: var(--font-display);
  color: var(--accent-color);
  margin: 3rem 0 1.5rem;
  font-size: 2rem;
}

.service-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.service-content ul {
  list-style: none;
  margin-bottom: 2rem;
}

.service-content ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-main);
  font-size: 1.05rem;
}

.service-content ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent-color);
}

.cta-section {
  text-align: center;
  padding: 6rem 0;
  background: var(--bg-color);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

/* Contacts Section */
.contacts {
  padding: 8rem 0;
  background: var(--bg-color);
  position: relative;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2rem;
}

.contact-card {
  background: var(--surface-color);
  padding: 3rem 2rem;
  border: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  transition: all 0.4s ease;
  border-radius: 4px;
}

.contact-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255,90,0,0.1);
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.contact-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.contact-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.contact-desc a {
  word-break: break-word;
}

/* Footer */
footer {
  background: #000;
  padding: 6rem 0 3rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.footer-col p, .footer-col a {
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  display: block;
  word-break: break-word;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
  align-items: center;
}

/* Mobile Nav */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.2rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--surface-color);
    flex-direction: column;
    padding: 2rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    align-items: flex-start;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-item {
    width: 100%;
    margin-bottom: 1rem;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(0,0,0,0.2);
    margin-top: 1rem;
    padding: 0;
    display: none; /* Hidden by default on mobile, toggled by JS */
    pointer-events: auto;
  }
  .nav-item.active .dropdown-menu {
    display: block;
  }
  .dropdown-menu a {
    padding: 0.8rem 1rem 0.8rem 2rem;
  }
  .mobile-menu-btn {
    display: block;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Privacy Policy Page Content */
.page-header {
  padding: 10rem 0 4rem;
  background: var(--surface-color);
  text-align: center;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 4rem);
  text-transform: uppercase;
  word-wrap: break-word;
}

.content-section {
  padding: 4rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.content-section h2 {
  font-family: var(--font-display);
  color: var(--accent-color);
  margin: 2rem 0 1rem;
}

.content-section p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
