/* Base Styles */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #F9F9F9;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Header */
.site-header {
  background-color: transparent;
  color: white;
  padding: 20px 0;
  position: absolute;
  width: 100%;
  z-index: 10;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  height: 120px;
  width: auto;
  border-radius: 12px;
}

.nav-toggle {
  background: none;
  border: 2px solid white;
  color: white;
  font-size: 22px;
  padding: 6px 12px;
  display: none;
  border-radius: 4px;
  cursor: pointer;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
  border-bottom: 2px solid #8B5E3C;
}

/* Typography */
h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  color: #1E3F2F;
}

ul {
  padding-left: 20px;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  background-color: #1E3F2F;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  font-weight: 600;
  border-radius: 4px;
}

.btn-primary:hover, .btn-secondary:hover {
  background-color: #8B5E3C;
}

/* Hero Section */
.hero-image {
  background: url("../images/hero-background.png") center center / cover no-repeat;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 1;
  margin-top: 0;
}

.hero-overlay {
  background: none;
  width: 100%;
  padding: 60px 20px;
  text-align: left;
  color: white;
}

.hero-overlay h2,
.hero-overlay p {
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

.hero-overlay h2 {
  font-size: 3rem;
  line-height: 1.2;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 20px;
}

.hero-overlay p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-overlay .btn-primary {
  background-color: #1E3F2F;
  border: none;
  padding: 12px 28px;
  font-size: 1rem;
  color: white;
}

.hero-overlay .btn-primary:hover {
  background-color: #8B5E3C;
}

/* Footer */
.site-footer {
  background-color: #333;
  color: #fff;
  padding: 40px 0 20px;
  font-size: 15px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 20px;
}

.footer-columns h4 {
  margin-bottom: 10px;
  color: #F9F9F9;
}

.footer-columns ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-columns a {
  color: #F9F9F9;
  text-decoration: none;
  display: block;
  margin-bottom: 5px;
}

.footer-columns a:hover {
  color: #8B5E3C;
}

.copyright {
  text-align: center;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 10px;
  color: #ccc;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    position: absolute;
    top: 30px;
    right: 20px;
    z-index: 999;
  }

  .main-nav {
    display: none;
    background-color: #1E3F2F;
    padding: 20px;
    width: 100%;
    position: absolute;
    top: 100px;
    left: 0;
  }

  .main-nav.nav-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .main-nav ul li a {
    color: white;
    padding: 10px 0;
    display: block;
  }

  .hero-image {
    height: 80vh;
    padding-top: 140px;
  }

  .hero-overlay h2 {
    font-size: 2rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }

  .logo {
    height: 70px;
    margin-right: auto;
    margin-top: -30px;
  }
}  /* ✅ THIS WAS MISSING — closes the @media (max-width: 768px) block */

/* Desktop Navigation */
@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: block !important;
  }
}

/* Internal pages: green header background */
.internal-page .site-header {
  background-color: #1b3d2f;
  position: relative;
  z-index: 10;
}
/* Projects Page: Uniform Image Sizing */
.project-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.project img {
  width: 100%;
  height: auto;
  object-fit: unset;
  border-radius: 8px;
  display: block;
}

