:root {
  --primary-yellow: #f4d33f;
  --accent-yellow: #ffe76a;
  --deep-green: #276b46;
  --soft-white: #fcfcf6;
  --card-radius: 24px;
}

body {
  background: var(--soft-white);
  color: var(--deep-green);
  font-family: 'Montserrat', 'Arial', sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  margin-top: 2rem;
  font-size: 2.7rem;
  font-weight: 800;
  text-align: center;
  color: var(--deep-green);
  letter-spacing: 1px;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;
  padding: 2rem;
  margin: 2rem 0;
  background: var(--accent-yellow);
  border-radius: 34px;
  box-shadow: 0 8px 32px rgba(100,100,20,0.10);
  max-width: 1200px;
  width: 100%;
}

.grid-item {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: 0 4px 16px rgba(36,36,16,0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.grid-item:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 12px 36px rgba(44,44,10,0.13);
}

.grid-image {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-bottom: 2px solid var(--primary-yellow);
}

.caption {
  padding: 1rem 1.3rem;
  font-size: 1.13rem;
  color: var(--deep-green);
  font-weight: 600;
  text-align: center;
}

.cta-container {
  margin: 2rem 0 2.5rem;
  text-align: center;
}

.cta-button {
  font-size: 1.3rem;
  font-weight: bold;
  padding: 1rem 2.2rem;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #f4d33f, #f4a23f);
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(244,162,63,0.4);
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-button:hover {
  transform: scale(1.07) translateY(-3px);
  background: linear-gradient(135deg, #ffe76a, #f4c23f);
  box-shadow: 0 8px 24px rgba(244,162,63,0.6);
}

footer {
  margin-top: 3rem;
  width: 100%;
  background: linear-gradient(135deg, #f4d33f, #f4a23f, #ffe76a);
  color: var(--deep-green);
  font-family: 'Montserrat', sans-serif;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  box-shadow: 0 -7px 25px rgba(160, 130, 0, 0.25);
  padding: 2.5rem 1.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: -90px;
  left: -90px;
  width: 200px;
  height: 200px;
  background: rgba(255, 250, 190, 0.25);
  border-radius: 50%;
  filter: blur(50px);
}

footer::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: rgba(255, 150, 80, 0.25);
  border-radius: 50%;
  filter: blur(60px);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--deep-green);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--deep-green);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(255,255,255,0.7);
}

.footer-socials {
  display: flex;
  gap: 1.2rem;
}

.footer-socials a {
  font-size: 1.4rem;
  color: var(--deep-green);
  transition: transform 0.3s, color 0.3s;
}

.footer-socials a:hover {
  color: #fff;
  transform: scale(1.3) rotate(8deg);
  text-shadow: 0 0 15px rgba(255,255,255,0.8);
}

.footer-bottom {
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  color: #174d34;
  opacity: 0.85;
}


@media (max-width: 1000px) {
  .grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
    gap: 1.5rem;
    padding: 1rem;
  }
  .grid-image {
    height: 220px;
  }
  h1 {
    font-size: 2rem;
  }
  .cta-button {
    font-size: 1.1rem;
    padding: 0.9rem 2rem;
  }
}
