@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Patrick+Hand&display=swap');

html, body {
  color: #2C2C2C;
  font-family: 'Merriweather', serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #FFF8EF;
}

#wrapper {
  max-width: 960px;
  margin: 24px auto;
  background: #ffffff;
  border: 2px solid #000;
  overflow: hidden;
}

header .top-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFF8EF;
  padding: 12px 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 25%;
  height: auto;
}

.site-title {
  font-family: 'Patrick Hand', cursive;
  font-size: 100px;
  color: #2C2C2C;
}

.btn-subscribe {
  background: #FF6F61;
  color: #000;
  border: 1px solid #000;
  padding: 12px 22px;     
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;       
  cursor: pointer;
}

nav {
  background: #23B5AF;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px 8px;
  gap: 28px;
}

nav a {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 10px;
  text-decoration: none;
}

nav a:visited { color: #f3c27a; }
nav a:hover { color: #FFB84C; }

.page-title {
  background: #a4eeec;
  text-align: center;
  padding: 14px 0;
  font-size: 26px;
  letter-spacing: 2px;
  color: #6C8F97;
}

.featured-projects {
  text-align: center;
  background-color: #cfcfcf;
  padding: 26px 0 30px;
  border-top: 1px solid #9e9e9e;
}

.featured-projects h2 {
  font-family: 'Patrick Hand', cursive;
  font-size: 28px;
  margin-bottom: 18px;
}

.project-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 6px 20px;
}

.project-card {
  width: 275px;
  height: 350px;
  background: #ffffff;
  border: 3px solid #FFB84C;
  padding: 8px;
  text-align: center;
}

.project-card h3 {
  margin: 6px 0 10px;
  font-weight: 700;
  font-size: 18px;
}

.project-card img {
  width: 100%;
  border: 2px solid #cfcfcf;
}

.trending {
  background: #9e9e9e;
  text-align: center;
  padding: 22px 0 28px;
  border-top: 1px solid #9e9e9e;
}

.trending h2 {
  font-family: 'Patrick Hand', cursive;
  font-size: 26px;
  margin-bottom: 18px;
}

.trending-grid {
  display: flex;
  justify-content: center;
  gap: 36px;
  padding: 6px 16px;
}

.trend-box {
  width: 375px;
  height:100px;
  background: #ffffff;
  border: 3px solid #FFB84C;
  padding: 14px 16px;
}

.trend-box h3 {
  text-align: center;
  font-size: 18px;
}

.trend-box ul {
  list-style: none;
  padding: 0;
}

.trend-box li{
    text-align: left;
}

.trend-box a {
  color: #2C2C2C;
  text-decoration: underline;
}

.trend-box a:hover {
  color: #FF6F61;
}

footer {
  background: #23B5AF;
  color: #ffffff;
  padding: 14px 18px;
  text-align: center;
}

.signup-outer {
    background: #FFF8EF;
    padding: 25px;
}

.signup-container {
    background: #ffffff;
    border: 4px solid #FFB84C;
    padding: 25px 35px;
    max-width: 820px;
    margin: 0 auto;
}

.signup-title {
    text-align: center;
    font-family: 'Patrick Hand', cursive;
    font-size: 28px;
    margin-bottom: 16px;
    background: #FFB84C33;
    padding: 10px 0;
}

.signup-description {
    text-align: center;
    margin-bottom: 20px;
    font-size: 16px;
}

.email-label {
    display: block;
    margin-bottom: 4px;
}

.signup-form input[type=email] {
    width: 100%;
    padding: 8px;
    border: 2px solid #000;
    margin-bottom: 18px;
    border-radius: 4px;
}

.signup-columns {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

.signup-box {
    flex: 1;
    border: 2px solid #a3a3a3;
    padding: 10px 12px;
    background: #f7f7f7;
}

.signup-box h3 {
    margin-bottom: 8px;
    font-size: 16px;
}

.privacy-text {
    text-align: center;
    font-size: 12px;
    margin: 18px 0;
}

.signup-submit {
    display: block;
    margin: 0 auto;
    background: #FF6F61;
    color: #000;
    border: 1px solid #000;
    padding: 10px 26px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.signup-submit:hover {
    background: #ff8b7e;
}

.thankyou-text {
    text-align: center;
    font-size: 16px;
    margin: 16px 0 20px;
}

.thankyou-links {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
}

.thankyou-links a {
    color: #2C2C2C;
    text-decoration: underline;
}

.thankyou-links a:hover {
    color: #FF6F61;
}

.thankyou-text {
    text-align: center;
    margin-top: 15px;
}

.under-construction {
    text-align: center;
    padding: 24px;
    font-size: 18px;
    line-height: 1.5;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 28px;
    gap: 30px;
}

.hero-text {
    width: 50%;
}

.hero-text h1 {
    font-family: 'Patrick Hand', cursive;
    font-size: 34px;
    line-height: 1.25;
    margin-bottom: 14px;
}

.hero-text p {
    font-size: 16px;
    margin-bottom: 18px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.btn-primary {
    background: #FFB84C;
    border: 2px solid #000;
    padding: 10px 18px;
    text-decoration: none;
    color: #000;
    border-radius: 6px;
    font-weight: 700;
}

.btn-outline {
    background: transparent;
    border: 2px solid #000;
    padding: 10px 18px;
    text-decoration: none;
    color: #000;
    border-radius: 6px;
    font-weight: 700;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: stretch;   /* Makes both columns equal height */
    padding: 30px 28px;
    gap: 30px;
}

.hero-text h1 {
    font-family: 'Patrick Hand', cursive;
    font-size: 46px;        /* Increased */
    line-height: 1.25;
    margin-bottom: 18px;    /* More space */
}

.hero-text p {
    font-size: 20px;        /* Increased */
    line-height: 1.6;       /* More height */
    margin-bottom: 24px;
}

.hero-buttons a {
    font-size: 18px;        /* Larger button text */
    padding: 12px 22px;     /* Bigger buttons */
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;   /* Vertically centers the enlarged text */
}

.hero-image {
    width: 50%;
}

.hero-image img {
    width: 100%;
    border: 3px solid #000;
}

.features {
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding: 30px 0 40px;
}

.feature-box {
    width: 200px;
}

.feature-box img {
    width: 80px;
    margin-bottom: 10px;
}

.feature-box h3 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

@media (max-width: 800px) {
  .project-grid,
  .trending-grid {
    flex-direction: column;
    align-items: center;
  }

  .site-title {
    font-size: 70px;
    text-align: center;
  }

  .signup-columns {
    flex-direction: column;
  }
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-text,
  .hero-image {
    width: 100%;
  }

  .features {
    flex-direction: column;
    gap: 25px;
  }
}

