/* Global */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Times New Roman', Times, serif;
  background-color: #ffcba4; /* warm peach */
  color: #2c2c2c;
  line-height: 1.6;

}

/* Layout helpers */
.page-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Nav */
nav {
  position: sticky; top: 0; z-index: 10;
  background: #5a3e36; /* deep brown */
  color: #fff; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
nav .logo { font-weight: bold; }
nav a {
  color: #fff; text-decoration: none; font-weight: bold;
  margin-left: 18px; transition: opacity .2s;
}
nav a:hover { opacity: .85; }
nav a.active { text-decoration: underline; }

/* Headings & text */
h1, h2 { margin: 0 0 14px; }
p { margin: 0 0 16px; }

/* Buttons/links */
a.btn {
  display: inline-block; padding: 10px 18px;
  background: #3b3b3b; color: #f5f5dc; text-decoration: none;
  border-radius: 28px; font-weight: bold; transition: transform .2s, box-shadow .2s, background .2s;
}
a.btn:hover {
  background: #5a5a5a; transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

/* Cards / white sections */
.card, .updates-box, .content-box {
 background-color: #fff3e6; /* soft peach */
  border-radius: 12px; padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

/* Grid for projects */
.grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Footer */
footer {
  margin-top: 40px; padding: 20px; text-align: center;
  background: #5a3e36; color: #fff;
}
footer a { color: #f5f5dc; text-decoration: none; margin: 0 8px; }
footer a:hover { text-decoration: underline; }

/* Forms */
form { max-width: 560px; margin: 0 auto; }
input, textarea {
  width: 100%; padding: 12px; margin: 8px 0 16px;
  border: 1px solid #ccc; border-radius: 8px; font-family: inherit;

}
button {
  padding: 12px 18px; border: 0; border-radius: 8px;
  background: #5a3e36; color: #fff; font-weight: bold; cursor: pointer;
  transition: background .2s, transform .2s;
}
button:hover { background: #b5651d; transform: translateY(-1px); }

/* Updates box specifics */
.updates-section { padding: 0 20px; }
.updates-section h2 { text-align: center; }
.updates-box ul { list-style: none; margin: 0; padding: 0; }
.updates-box li { margin: 10px 0; }

/* Small screen tweaks */
@media (max-width: 600px) {
  nav { flex-wrap: wrap; gap: 10px; }
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
}

.card {
  width: 280px;
  background: #fff3e6; /* soft peach */
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  background: #ffffff;
}
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* full viewport height */
}

main {
  flex: 1; /* pushes footer down */
}

footer {
  margin-top: auto; /* ensures it stays at bottom */

  padding: 15px;
  text-align: center;
}
.home-grid {
  display: grid;
  grid-template-columns: 1fr;  /* only one column */
  gap: 30px;                   /* spacing between cards */
  justify-items: center;       /* keeps them centered */
  margin: 40px 0;
}

.home-card {
  width: 100%;
  max-width: 700px;    /* makes them longer horizontally */
  min-height: 200px;   /* ensures some vertical space */
 background: #fff3e6; /* soft peach */
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.home-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.btn-footer {
  display: inline-block;
  margin: 6px;
  padding: 10px 16px;
  background-color: #3b3b3b; /* dark neutral */
  color: #f5f5dc; /* light beige text */
  text-decoration: none;
  border-radius: 20px;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}

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


.card {
  flex: 0 0 auto; /* prevents shrinking */
  scroll-snap-align: start;
}
.nav-button {
  background-color: #3c2f2f; /* default button color */
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 8px;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: none;
}

.nav-button:hover {
  background-color: #f0e6d2; /* hover color */
  color: #5c4033; /* text color on hover */
  transform: scale(1.08);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.nav {
   max-width: 600px 
   flex-wrap: wrap;
    row-gap: 2px;     /* vertical spacing */
    column-gap: 8px;  /* horizontal spacing */
  }
}



/* ===== NAVIGATION FIX ===== */

/* Make nav links line up neatly */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;

  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

nav .logo {
  font-weight: bold;
  font-size: 1.2rem;
}

nav div {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap; /* allows wrapping if needed */
}

.nav-button {
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;

  font-weight: 500;
}


}

/* Mobile view fix */
@media (max-width: 600px) {
  nav div {
    width: 100%;
    justify-content: center; /* center the buttons */
    margin-top: 0.5rem;
  }
  .nav-button {
    flex: 1 1 auto; /* let buttons resize equally */
    text-align: center;
  }
}




/* git add .
git commit -m "test: deployment pipeline working"
git push origin main */


