/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --brand-bg: #0c1a2b;
  --brand-accent: #ff3d57;
  --brand-accent-2: #e32c46;
  --panel: rgba(12, 26, 43, 0.85);
  --panel-strong: #132542;
  --text: #ffffff;
  --text-soft: #d9d9d9;
  --muted: #c7c7c7;
  --border: #1e3a5f;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: url("images/bg-sazahit.jpg") no-repeat center center fixed;
  background-size: cover;
  color: var(--text);
  scroll-behavior: smooth;
  position: relative;
  z-index: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.38);
  z-index: -1;
}

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

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--brand-bg);
  padding: 18px 28px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.logo img { height: 40px; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links li a {
  color: var(--text);
  font-weight: 500;
  transition: color 0.25s ease;
}

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

.burger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text);
}

.hero {
  height: 72vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 14px;
  color: var(--text);
}

.hero-text p {
  font-size: 1.15rem;
  margin-bottom: 28px;
  color: var(--text-soft);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 11px 26px;
  font-size: 1rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.btn.primary {
  background: var(--brand-accent);
  color: #fff;
  border: none;
}
.btn.primary:hover { background: var(--brand-accent-2); }

.btn.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid var(--brand-accent);
}
.btn.secondary:hover {
  background: var(--brand-accent);
  color: #fff;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px 20px 80px;
}

.section {
  margin-bottom: 72px;
  background: var(--panel);
  padding: 36px;
  border-radius: 12px;
  backdrop-filter: blur(3px);
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--text);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  margin-top: 22px;
}

.card {
  background: var(--panel-strong);
  padding: 26px;
  border-radius: 12px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 0 transparent;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.card img {
  max-width: 120px;   /* max width */
  max-height: 120px;  /* max height */
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  display: block;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: var(--text);
}

.card p {
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.5;
}

.card .muted {
  color: var(--muted);
  margin-top: 10px;
  font-size: 0.92rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

input, textarea {
  padding: 12px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  color: #111;
}

input:focus, textarea:focus { outline: 2px solid var(--brand-accent); }

footer {
  background: #0a1626;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #ccc;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-text h1 { font-size: 2rem; }
  .hero-buttons { flex-direction: column; }
  .nav-links { flex-direction: column; gap: 10px; }
  .burger { display: block; }

  .nav-links {
    display: none;
    background: var(--brand-bg);
    position: absolute;
    top: 70px;
    right: 20px;
    border-radius: 8px;
    padding: 14px;
    min-width: 220px;
  }
  .nav-links.active { display: flex; }
}

/* Scroll reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: all 0.45s ease-out;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
