/* ====== GENERAL STYLES ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  position: relative;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #885e2d;
  background-image: radial-gradient(circle at top left, rgba(255, 255, 255, 0.75), transparent 28%),
                    radial-gradient(circle at bottom right, rgba(255, 216, 122, 0.14), transparent 30%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.14;
  pointer-events: none;
  background-image: url("assets/silkychoco-webbackground.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* ====== NAVBAR ====== */
nav {
  background: linear-gradient(135deg, #6b4423 0%, #8b5a3c 100%);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo:hover {
  color: #ffd700;
  transition: color 0.3s ease;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.25rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffd700;
  border-bottom: 2px solid #ffd700;
}

/* ====== CONTAINER ====== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* ====== HERO SECTION ====== */
.hero {
  background: linear-gradient(135deg, #6b4423 0%, #8b5a3c 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 10px;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  background-color: #ffd700;
  color: #6b4423;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 0.5rem;
}

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

/* ====== GRID LAYOUT ====== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.card h3 {
  color: #6b4423;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card p {
  color: #666;
  margin-bottom: 1rem;
}

.card-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #e8d4c4 0%, #d4b5a0 100%);
  border-radius: 8px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

/* ====== SECTION STYLES ====== */
section {
  margin-bottom: 3rem;
}

h2 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  border-bottom: 3px solid #ffd700;
  padding-bottom: 0.5rem;
  display: inline-block;
  width: 100%;
}

/* ====== FOOTER ====== */
footer {
  background-color: #6b4423;
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  border-top: 3px solid #ffd700;
}

footer p {
  margin: 0.5rem 0;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .logo {
    font-size: 1.4rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .container {
    padding: 1rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
