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

/* ===== Theme ===== */
:root {
  --bg: #0b0b0f;
  --card: #12121a;
  --text: #ffffff;
  --muted: #b5b5c3;
  --accent: #7b4dff; /* midnight purple */
  --accent-hover: #9a7bff;
}

/* ===== Base ===== */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

/* ===== Header ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: #000;
  border-bottom: 1px solid #1e1e2a;
}

header img {
  height: 48px;
}

nav a {
  margin-left: 1.5rem;
  font-weight: 500;
}

/* ===== Sections ===== */
section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
}

h1, h2, h3 {
  margin-bottom: 1rem;
}

/* ===== Hero ===== */
.hero {
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
}

.hero p {
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.9rem 2rem;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}

.cta:hover {
  background: var(--accent-hover);
}

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

.card {
  background: var(--card);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid #1e1e2a;
}

/* ===== Service Items ===== */
.service-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  background: var(--card);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid #1e1e2a;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(123, 77, 255, 0.2);
}

.service-item img {
  width: 100%;
  border-radius: 8px;
}

.service-price {
  margin-top: 1rem;
  font-weight: 700;
  color: var(--accent);
}

/* ===== Filter & Search ===== */
.service-controls {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.service-controls select,
.service-controls input {
  padding: 0.7rem 1rem;
  background: #0b0b0f;
  border: 1px solid #2a2a3a;
  color: #fff;
  border-radius: 6px;
  font-size: 1rem;
  min-width: 220px;
  transition: border-color 0.2s, background 0.2s;
}

.service-controls select:focus,
.service-controls input:focus {
  outline: none;
  border-color: var(--accent);
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid #1e1e2a;
  color: var(--muted);
  background: #000;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .service-item {
    grid-template-columns: 1fr;
  }

  header {
    flex-direction: column;
    gap: 1rem;
  }

  nav a {
    margin-left: 0;
    margin-right: 1rem;
  }
}

/* ===== Forms ===== */
form label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

input, textarea, select {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.7rem;
  background: #0b0b0f;
  border: 1px solid #2a2a3a;
  color: #fff;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
}

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

/* ===== Contact Page Map ===== */
iframe {
  border-radius: 8px;
  border: 0;
}

/* ===== Buttons inside forms ===== */
form .cta {
  width: 100%;
  text-align: center;
}
