html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
background: linear-gradient(
  to bottom,
  #f5f5f4,
  #e7e5e4,
  #d7ccc8
);
  color: #1c1c1c;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
}

/* HERO */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
              url('https://images.unsplash.com/photo-1509042239860-f550ce710b93');
  background-size: cover;
  background-position: center;
  color: white;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1,
.hero p {
  color: white;
}

.hero h1 {
  font-size: 36px;
  margin: 0;
}

.hero p {
  margin-top: 10px;
  color: #e7e5e4;
  max-width: 400px;
}

.hero h1, .hero p, .hero .btn {
  opacity: 1;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
}

.hero p {
  animation-delay: 0.3s;
}

.hero .btn {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* BUTTON */
.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 22px;
  background: #6d4c41;
  color: white;
  text-decoration: none;
  border-radius: 999px;
  transition: 0.3s;
}

.btn:hover {
  background: #3e2723;
  transform: translateY(-2px);
}

.card .btn {
  margin-top: 10px;
  display: inline-block;
}

/* SECTION */
.section h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #6d4c41;
  margin: 10px auto 0;
  border-radius: 2px;
}

.section p {
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 15px;
}

.section {
  padding: 80px 20px;
  text-align: center;
}

.section:not(:last-child) {
  border-bottom: 1px solid #eee;
}

.section {
  background: transparent;
}

.section {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
  border-radius: 16px;

  max-width: 1000px;
  margin: 40px auto;
  padding: 80px 20px;
}

.section h2 {
  margin-bottom: 20px;
  font-size: 26px;
}

.section {
  padding: 100px 20px;
}

.section h2 {
  margin-bottom: 25px;
}

/* CARD */
.container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  width: 220px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

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

  border-radius: 10px;
}

.card {
  text-align: center;
}

/* TEXT */
.section p {
  max-width: 500px;
  margin: auto;
  color: #444;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    padding: 80px 20px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .container {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
  }
}

/* ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  background: #1c1c1c;
  color: #aaa;
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
}

.credit {
  margin-top: 5px;
  font-size: 13px;
  color: #666;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 20px;
  margin-top: 30px;
  position: relative;
}

.scroll-indicator::after {
  content: "";
  width: 4px;
  height: 8px;
  background: white;
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollMove 1.5s infinite;
}

@keyframes scrollMove {
  0% { opacity: 0; top: 8px; }
  50% { opacity: 1; }
  100% { opacity: 0; top: 20px; }
}
