/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: 'Roboto', sans-serif; /* Google Font */
  color: #333;
  line-height: 1.6;
  background-color: beige;
}

/* HEADER */
.header {
  background-color: bisque;
  padding: 1rem 2rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-left a {
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
}

.btn {
  background: #444;
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.nav-logo {
  font-weight: bold;
  font-size: 1.2rem;
}

.nav-right {
  font-size: 1.2rem;
}

/* HERO */
.hero {
  background: #ffffff;
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  height: 450px;
}

.hero-content {
  text-align: center;
}

/* ABOUT */
.about {
  padding: 3rem 2rem;
}

.about h2 {
  background: #fde69b;
  display: inline-block;
  padding: 0.5rem 1.5rem;
  margin-bottom: 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.about-text {
  background: #fde69b;
  padding: 1.5rem;
}

.about-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* WORK GRID */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.work-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.work-image {
  width: 100%;
  aspect-ratio: 3 / 2; /* ensures consistent card height */
  overflow: hidden;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills container without stretching */
  display: block;
}

.work-card h3 {
  margin: 10px 15px 5px 15px;
}

.work-card p {
  margin: 0 15px 15px 15px;
  font-size: 0.9rem;
  color: #333;
}

/* FOOTER */
.footer {
  background-color: bisque;
  padding: 2rem;
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a,
.footer-bottom a {
  text-decoration: none;
  color: #333;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  color: #999;
}

.legal-links {
  display: flex;
  gap: 1rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }

  .footer-social {
    justify-content: center;
  }
}
