:root {
  --bg: #0f0f10;
  --light: #f8f5f0;
  --accent: #d4a056;
  --text: #1e1e1e;
  --muted: #666;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

.header {
  min-height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)),
    url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1600") center/cover no-repeat;
  color: white;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.7rem;
  cursor: pointer;
}

.hero {
  text-align: center;
  padding: 8rem 0 5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin-bottom: 1rem;
}

.hero p {
  max-width: 650px;
  margin: 0 auto 1.8rem;
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #1b1b1b;
  padding: 0.75rem 1.4rem;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.section {
  padding: 4.5rem 0;
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card h3 {
  margin: 1rem 1rem 0.4rem;
}

.card p {
  margin: 0 1rem 1.2rem;
  color: var(--muted);
}

.dark {
  background: var(--bg);
  color: var(--light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: center;
}

.about-grid img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  min-height: 320px;
}

.contact-text {
  text-align: center;
  margin-bottom: 1.2rem;
}

#contact .btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.footer {
  background: #111;
  color: #ddd;
  text-align: center;
  padding: 1rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    width: 220px;
    flex-direction: column;
    padding: 1rem;
    border-radius: 10px;
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}