:root {
  --bg: #f4f6f8;
  --surface: rgba(255, 255, 255, 0.9);
  --text: #1f2937;
  --muted: #5f6b7a;
  --primary: #0f62fe;
  --primary-hover: #0043ce;
  --footer: #111827;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Poppins, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

.hero {
  min-height: 78vh;
  padding: 32px 20px;
  background:
    linear-gradient(rgba(8, 15, 31, 0.55), rgba(8, 15, 31, 0.65)),
    url("https://images.unsplash.com/photo-1501785888041-af3ef285b470") center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero-content {
  max-width: 760px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  padding: 48px 32px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.tag {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 14px;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
}

.hero-text {
  margin: 0 auto;
  max-width: 620px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-buttons {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.button,
.email-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.email-button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--primary);
  color: var(--white);
}

.button.primary:hover {
  background: var(--primary-hover);
}

.button.secondary {
  background: var(--white);
  color: var(--text);
}

.button.secondary:hover {
  background: #eef2f7;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  padding: 80px 20px 30px;
}

.card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.16);
}

.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.card h2 {
  margin: 20px 20px 10px;
  font-size: 1.35rem;
}

.card p {
  margin: 0 20px 24px;
  color: var(--muted);
}

.gallery {
  padding: 60px 20px 90px;
  text-align: center;
  background: var(--white);
  margin-top: 40px;
}

.gallery h2 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.section-text {
  margin: 0 auto 32px;
  max-width: 650px;
  color: var(--muted);
}

.gallery-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  padding: 36px 20px 28px;
}

.email-button {
  background: var(--white);
  color: #111827;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.email-button:hover {
  background: #f3f4f6;
}

.copyright {
  margin: 18px 0 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 640px) {
  .hero-content {
    padding: 36px 20px;
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .gallery {
    padding-bottom: 70px;
  }
}
