/* General Styles */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #fff3e0, #ffe0b2);
  color: #333;
}

/* Header */
header {
  position: relative;
  background-color: #d2691e;
  color: white;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
}

header p {
  margin-top: 10px;
  font-size: 1.2rem;
}

/* Container for cards */
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 40px;
}

/* Cards */
.card {
  background: rgb(187, 240, 82);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.card h2 {
  margin: 15px;
  font-size: 1.5rem;
}

.card p {
  margin: 0 15px 20px;
  font-size: 1rem;
  color: #555;
}


footer {
  text-align: center;
  padding: 20px;
  background-color: #f5f5f5;
  font-size: 0.9rem;
}


.logo-row {
  position: relative;
  padding: 10px 0;
}

#logo {
  width: clamp(100px, 20vw, 160px);
  height: auto;
  position: absolute;
  left: 20px;
  top: 75%;
  transform: translateY(-50%);
}

#title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0;
  line-height: normal;
  margin-left: 200px;
}

/* SUBTITLE */
header p {
  margin-top: 10px;
  font-size: 1rem;
}

/* Scale header for smaller screens */
@media (max-width: 360px) {
  .logo-row {
    transform: scale(0.8);
    transform-origin: left center;
  }

  header {
    padding: 15px 10px;
  }
}
