 /* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  transition: all 0.3s ease;

}

/* Body */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fdfaf6;
  color: #2c2c2c;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  background-color: #4e342e;
  color: white;
  padding: 20px 0;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 1.8rem;
}

/* Navigation */
nav {
  margin-top: 10px;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
}
nav a.active {
  border-bottom: 2px solid #d7ccc8;
  padding-bottom: 3px;
}


nav a:hover {
  color: #d7ccc8;
}

/* Main Content */
main {
  flex: 1;
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

/* Sections */
section {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

h2 {
  color: #4e342e;
  margin-bottom: 20px;
  font-size: 2rem;
}

/* Lists */
ul {
  list-style: none;
  padding: 0;
}

ul li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

/* Projects Grid */
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.project-card,
.blog-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover,
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Forms */
form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

/* Buttons */
.button {
  background-color: #8d6e63;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}

.button:hover {
  background-color: #d7ccc8;
  color: #2c2c2c;
}

/* Thank You Popup */
.thank-you {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #4e342e;
  color: white;
  padding: 20px 30px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 10;
}

/* Footer */
footer {
  background-color: #4e342e;
  color: white;
  text-align: center;
  padding: 15px;
}
