/* ================= RESET & GLOBAL ================= */
html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #000000;
  /* Deep Black */
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

h1,
h2,
h3,
h4 {
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  display: block;
}

/* ================= UTILITIES ================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-accent {
  color: #007bff;
  /* Electric Blue */
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #007bff;
  color: #fff;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  border: 1px solid #007bff;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: transparent;
  color: #007bff;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background-color: #fff;
  color: #000;
}

/* ================= HEADER & NAV ================= */
.main-header {
  background-color: rgba(0, 0, 0, 0.9);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #222;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
}

.nav-link:hover,
.nav-link.active {
  color: #007bff;
}

/* ================= HERO SECTION ================= */
.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/background.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  /* Offset for fixed header */
}

/* Variant for internal pages */
.hero-small {
  height: 40vh;
  min-height: 300px;
}

.hero-small h1 {
  font-size: 36px;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #ccc;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

/* ================= FEATURES / HIGHLIGHTS ================= */
.section {
  padding: 80px 0;
}

.bg-darker {
  background-color: #0a0a0a;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #007bff;
  margin: 15px auto 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: #111;
  padding: 30px;
  border-radius: 6px;
  border: 1px solid #222;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #007bff;
}

.feature-icon {
  font-size: 40px;
  color: #007bff;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.feature-card p {
  color: #aaa;
  font-size: 14px;
}

/* ================= ABOUT SECTION ================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  color: #ccc;
}

/* ================= SERVICES GRID ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.service-card {
  background: #151515;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.service-img {
  height: 180px;
  background-color: #222;
  /* Placeholder if image missing */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-info {
  padding: 20px;
  text-align: center;
}

.service-info h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

/* ================= FOOTER ================= */
.footer {
  background-color: #080808;
  padding: 60px 0 20px;
  border-top: 1px solid #222;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-col p,
.footer-col a {
  color: #888;
  font-size: 14px;
  margin-bottom: 10px;
  display: block;
}

.footer-col a:hover {
  color: #007bff;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #111;
  color: #555;
  font-size: 13px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    /* Mobile menu to be implemented if needed */
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 36px;
  }
}

/* ================= SERVICE MODAL ================= */
.service-card {
  cursor: pointer;
  /* Indicate interactivity */
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #151515;
  border: 1px solid #333;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 8px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding: 0;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 20px 30px;
  border-bottom: 1px solid #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1a1a1a;
}

.modal-title {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin: 0;
}

.close-modal {
  background: none;
  border: none;
  color: #888;
  font-size: 28px;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}

.close-modal:hover {
  color: #007bff;
}

.modal-body {
  padding: 30px;
  color: #ccc;
}

.modal-desc {
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.6;
}

.modal-section-title {
  color: #007bff;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
  border-bottom: 1px solid #333;
  padding-bottom: 5px;
}

.modal-includes ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.modal-includes ul li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
}

.modal-includes ul li::before {
  content: '✔';
  color: #007bff;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.modal-process-text {
  font-size: 14px;
  background: #0a0a0a;
  padding: 15px;
  border-radius: 4px;
  border-left: 3px solid #007bff;
}

/* ================= SCROLLBAR FOR MODAL ================= */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: #111;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: #555;
}