:root {
  --primary: #0b1f3a;
  --secondary: #132f57;
  --accent: #c0c0c0;
  --text: #eaeaea;
  --muted: #9aa3ad;
  --bg: #0a0f1a;
  --card: #111827;
  --border: #1f2937;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
}

/* TYPOGRAPHY */
h1,
h2,
h3 {
  letter-spacing: -0.5px;
}

h1 {
  font-size: 2rem;
  max-width: 700px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
}

/* LAYOUT */
section {
  padding: 100px 20px;
  max-width: 1100px;
  margin: auto;
}

/* NAVBAR */
/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  background: rgba(10, 15, 26, 0.95);
  backdrop-filter: blur(6px);
  z-index: 1000;
}

/* LOGO CONTAINER */
.logo {
  display: flex;
  align-items: center;
  height: 120px;
}

/* LOGO IMAGE */
.logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(10, 15, 26, 0.9)),
    url("assets/hero.jpeg");
  background-size: cover;
  background-position: center;
  padding: 0 40px;
  margin-top: 80px;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.brand-line {
  margin-top: 20px;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
}

/* BUTTONS */
button {
  padding: 12px 25px;
  margin-right: 10px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s ease;
}

button:first-of-type {
  background: var(--secondary);
  color: #fff;
}

button:first-of-type:hover {
  background: #1b3d73;
}

button:last-of-type {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  margin-right: 10px;
  font-size: 1rem;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn.primary {
  background: var(--secondary);
  color: #fff;
}

.btn.primary:hover {
  background: #1b3d73;
}

.btn.secondary {
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn.secondary:hover {
  background: var(--accent);
  color: #000;
}

/* SERVICES */
.services h2 {
  margin-bottom: 30px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 30px;
  border-left: 3px solid var(--secondary);
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

/* PORTFOLIO */
.portfolio {
  text-align: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.project {
  height: 200px;
  background-color: #000;
  background-size: cover;
  background-position: center;
  filter: grayscale(30%);
  transition: 0.3s ease;

  position: relative;
  overflow: hidden;
}

.project:hover {
  filter: grayscale(0%);
  transform: scale(1.02);
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(
    to top,
    rgba(10, 15, 26, 0.95),
    rgba(10, 15, 26, 0)
  );
  color: var(--text);
  transform: translateY(20px);
  opacity: 0;
  transition: 0.3s ease;
}

.project:hover .project-info {
  transform: translateY(0);
  opacity: 1;
}

.project-info h3 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.project-info p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* WHY US */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.why-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 25px;
  transition: 0.3s ease;
}

.why-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.why-card h3 {
  margin-bottom: 10px;
  color: var(--accent);
}

.why-card p {
  font-size: 0.95rem;
}

/* CONTACT */
.contact p {
  margin-top: 10px;
}

.contact form {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.contact input,
.contact textarea {
  padding: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  outline: none;
}

.contact textarea {
  min-height: 120px;
  resize: vertical;
}

.contact button {
  padding: 14px;
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
}

.contact button:hover {
  background: #1b3d73;
}

/* MOBILE */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
    padding: 15px 20px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .hero {
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .service-list,
  .portfolio-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
    margin-top: 10px;
  }
}

/* STICKY CALL BUTTON (MOBILE ONLY) */
.call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--secondary);
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
  display: none;
}

/* Show only on mobile */
@media (max-width: 768px) {
  .call-bar {
    display: block;
  }
}
@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
  }
}
