/* ===== Global ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Oswald', sans-serif;
  background: #1c1c1c;
  color: #c0c0c0;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3 {
  margin: 0;
}

/* ===== Header & Hero ===== */
header {
  background: #111;
  color: #c0c0c0;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  height: 60px;
}

.logo h1 {
  color: #f7941d;
  font-size: 1.8em;
}

.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(180deg, #1c1c1c 0%, #111 100%);
}

.hero h2 {
  font-size: 2.6em;
  color: #f7941d;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto;
  color: #c0c0c0;
}

.hero-buttons {
  margin-top: 35px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: #f7941d;
  color: #111;
}

.btn-primary:hover {
  background: #ffa93f;
}

.btn-outline {
  border: 2px solid #f7941d;
  color: #f7941d;
  background: transparent;
}

.btn-outline:hover {
  background: #f7941d;
  color: #111;
}

/* ===== Services ===== */
#services {
  padding: 60px 20px;
  background: #1c1c1c;
  text-align: center;
}

#services h2 {
  color: #f7941d;
  font-size: 2.2em;
  margin-bottom: 20px;
}

#services p {
  font-size: 1.1em;
  max-width: 700px;
  margin: 0 auto 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  text-align: left;
}

.service-box {
  background: #2a2a2a;
  padding: 20px;
  border-radius: 8px;
  transition: background 0.3s;
}

.service-box:hover {
  background: #333;
}

/* ===== Pricing Table Section ===== */
#pricing {
  /* indentation left & right using percentage padding for responsiveness */
  padding: 60px 6%;
  background: #1c1c1c;
  color: #c0c0c0;
}

#pricing h2 {
  text-align: center;
  color: #f7941d;
  font-size: 2.2em;
  margin-bottom: 15px;
}

#pricing p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 32px;
  font-size: 1.05em;
  color: #c0c0c0;
}

/* wrapper provides the rounded corners, padding/indentation and horizontal scroll */
.table-wrapper {
  overflow-x: auto;
  border-radius: 10px;
  /* interior spacing so there's visual indentation inside the wrapper */
  padding: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
}

/* table itself */
.pricing-table {
  width: 100%;
  min-width: 920px; /* allows horizontal scroll on small screens while keeping columns readable */
  border-collapse: collapse;
  font-size: 0.97em;
  background: transparent;
}

/* head cells */
.pricing-table thead th {
  font-weight: 700;
  text-transform: uppercase;
  padding: 14px 12px;
  font-size: 0.95em;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* body cells */
.pricing-table tbody td {
  padding: 12px 12px;
  vertical-align: top;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

/* Column background colors (site palette) */
/* NOTE: coloring the entire column (both th and td) */
.pricing-table thead th:nth-child(1),
.pricing-table tbody td:nth-child(1) {
  background: #2a2a2a; /* dark charcoal */
  color: #eee;
}

.pricing-table thead th:nth-child(2),
.pricing-table tbody td:nth-child(2) {
  background: #f7941d; /* bright orange */
  color: #111;
}

.pricing-table thead th:nth-child(3),
.pricing-table tbody td:nth-child(3) {
  background: #d66b00; /* medium orange/red */
  color: #111;
}

.pricing-table thead th:nth-child(4),
.pricing-table tbody td:nth-child(4) {
  background: #b83a00; /* deep red */
  color: #fff;
  font-weight: 700;
  text-align: right;
}

/* alternating row subtle contrast inside each column */
.pricing-table tbody tr:nth-child(even) td {
  opacity: 0.98;
}

/* small text styling for notes */
.pricing-table td small,
.pricing-table td em {
  display: block;
  color: #999;
  font-style: normal;
  font-size: 0.92em;
  margin-top: 6px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  /* provide slightly narrower min-width so tablet can still show more columns */
  .pricing-table { min-width: 820px; }
}

@media (max-width: 768px) {
  #pricing {
    padding: 40px 5%;
  }
  .pricing-table thead th,
  .pricing-table tbody td {
    font-size: 0.93em;
    padding: 10px 8px;
  }
  .pricing-table { min-width: 700px; }
}

@media (max-width: 480px) {
  #pricing {
    padding: 30px 4%;
  }
  #pricing h2 { font-size: 1.8em; }
  #pricing p { font-size: 0.95em; margin-bottom: 20px; }
  .pricing-table { min-width: 600px; font-size: 0.9em; }
  .pricing-table thead th:nth-child(4),
  .pricing-table tbody td:nth-child(4) {
    text-align: right;
  }
}

/* ===== Contact ===== */
#contact {
  padding: 60px 20px;
  background: #1c1c1c;
  color: #c0c0c0;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-form h2 {
  color: #f7941d;
  font-size: 2em;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: none;
  background: #2a2a2a;
  color: #c0c0c0;
  border-radius: 4px;
  width: 100%;
}

.contact-form button {
  background: #f7941d;
  color: #111;
  font-weight: bold;
  border: none;
  padding: 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #ffa93f;
}

.contact-map {
  flex: 1;
  min-width: 300px;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
}

/* ===== Footer ===== */
footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 40px 20px;
  font-size: 0.95em;
}

footer a {
  color: #f7941d;
}

footer p {
  margin: 8px 0;
}

footer .brand {
  color: #f7941d;
  font-size: 1.2em;
  margin-bottom: 10px;
}
