@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap"
);
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
  background-color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column; /* Allow footer to be pushed down */
  max-width: 100%;
  overflow-x:hidden;
}

/* --- Hamburger Menu --- */
.hamburger {
  display: none; /* Hidden by default */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
  cursor: pointer;
}

.hamburger .bar {
  background-color: #192026;
  height: 4px;
  width: 100%;
  border-radius: 2px;
}

/* Navigation - default desktop */
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

/* Navigation - mobile dropdown hidden by default */
@media (max-width: 640px) {
  .hamburger {
    display: flex; /* Show hamburger on small screens */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1100; /* Make sure it's above menu */
  }

  .main-nav {
  display: none;
  flex-direction: column;
  gap: 20px;
  position: absolute;
  top: 60px;
  right: 0;
  width: 100vw; /* Full screen width for large dropdown background */
  background-color: #fff;
  padding: 30px 20px;    /* increased padding */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}


  .main-nav.active {
    display: flex; /* Show dropdown */
  }

  .nav-link {
    color: #192026;
    text-decoration: none;
    background-color: #fff;  /* white background for each item */
    border-radius: 4px;       /* optional: round corners */
    margin-bottom: 12px;      /* spacing between items */
  }

  .nav-link:hover {
    background-color: #b79e76;
  }

  .hamburger.active .bar {
    background-color: #192026;
  }
}

/*Project Page Content Styles*/
.project {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 30px;
  flex-grow: 1;
   position: relative; /* needed for absolute positioning of tags */
}

.project h1 {
  font-family: "Lora", serif;
  font-size: 30px;
  color: #9d7808; 
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.project h2 {
  font-family: "Lora", serif;
  font-size: 25px;
  color: #bf8897;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: left;
}

.project h2.project-overview-title {
  font-family: "Lora", serif;
  font-size: 25px;
  color: #bf8897;
  font-weight: 600;
  text-align: left;
  margin-top: 30px;
  margin-bottom: 15px;
}

.project p, ul, li {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  color: black;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: left;
}

.project img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 8px; /* optional, to look nicer */
  position: relative; /* optional, for layering */
}

/* CTA Button on Project Page */
.project .cta-container {
  font-family: "Inter", sans-serif;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}



/*Call to the action button*/
.cta-button, .view-site-button {
  display: inline-block;
  color: #192026;
  font-size: 24px;
  font-weight: 700;
  width: 270px;
  height: 42px;
  background-color: #b79e76;
  border: 1px solid #192026;
  text-decoration: none;
  text-align: center;
  line-height: 42px;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  transition: background-color 0.3s ease, transform 0.3s ease; /* Add transition for smooth effect */
}

.cta-button:hover,  .view-site-button:hover  {
  background-color: #b49d59;
  color: #192026; /* Change text color to white on hover */
  transform: scale(1.05); /* Slightly scale the button for visual effect */
}

.cta-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.animate-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

  
  
   /* Footer Contact Section Adjustments */
  .contact-section {
    background-color: rgba(191, 136, 151, 0.6);
    border: 1px solid rgba(191, 136, 151, 0.6);
    padding: 40px 196px; /*reduced padding for mobile view*/
    margin-top: 50px;
    text-align: center;
  }
  
  .contact-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .contact-title {
    color: #000;
    font-size: 28px;
    font-weight: 700;
    align-items: flex-start;
    white-space: nowrap;
    margin-bottom: 20px;
  }
  
  .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .contact-description {
    color: #000;
    font-size: 16px; /*Adjust font size*/
    font-weight: 400;
    max-width: 100%; /*Ensure text wraps properly*/
    margin-bottom: 20px; 
    padding: 0 10px; /*Add padding to ensure content isn't too close to edges*/;
  }
  
  .contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .contact-links a {
    display: inline-block;
    width: 33px;
    height: 33px;
  }
  
  .contact-links img {
    width: 100%;
    height: 100%;
  }
  
  .email {
    color: #000;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 20px;
  }
  
  .social-link img {
    width: 33px;
    height: 33px;
  }
  
  .cta-button {
    display: inline-block;
    color: #192026;
    font-size: 24px;
    font-weight: 700;
    width: 270px;
    height: 42px;
    background-color: #b79e76;
    border: 1px solid #192026;
    text-decoration: none;
    text-align: center;
    line-height: 42px;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
  }
    
  /* Media Queries */
  @media (max-width: 991px) {
    .main-header {
      padding: 0 40px;
    }
  
    .hero-section {
      padding: 40px;
    }
  
    .hero-content {
      flex-direction: column;
      gap: 40px;
    }
  
    .featured-section {
      padding: 50px 40px;
    }
  
    .projects-grid {
      flex-direction: column;
    }
  
    .contact-section {
      padding: 40px;
    }
  
    .contact-content {
      flex-direction: column;
      gap: 40px;
      align-items: center;
    }
  
    .contact-info {
      align-items: center;
    }
  }
  
  
  
  @media (max-width: 640px) {
  /*Show the navigation links when hamburger is clicked */
    .projects-grid {
      grid-template-columns: 1fr;
      padding: 0 20px;
    }
  
    .main-header {
      padding: 0 20px;
    }
  
    .main-nav {
      display: none;
    }
  
    .mobile-menu {
      display: block;
    }
  
   .main-nav.active {
      display: flex;
      position: absolute;
      top: 60px;
      right: 0;
      width: 100vw; /* full screen width */
      background-color: #fff;
      padding: 20px;
      flex-direction: column;
      gap:20px;
      z-index: 1000;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
  
    .nav-link {
      font-size: 30px; /* Increase font size for readability */
      padding: 20px;
      color: #192026;
      text-align: center;
      display: block; /* Ensure they stack properly */
      width: 100%;
    }
  
    .nav-link:hover {
       background-color: #b79e76;
      border-radius: 8px;
    }
  
    .hamburger {
      z-index: 10; /*Ensure hamburger is above other content*/
    }
  
    .hero-section {
      padding: 40px 20px;
    }
  
    .featured-section {
      padding: 50px 20px;
    }
  
    .contact-section {
      padding: 40px 20px;
    }
  
    .contact-content {
      flex-direction: column;
      gap: 40px;
      align-items: center;
    }
  
    .contact-info {
      align-items: center;
    }
  
    .contact-title {
      font-size: 24px; /* Adjust title size */
      text-align: center;
    }
  
    .contact-description {
      font-size: 14px; /* Adjust text size */
      text-align: center; /* Center the description */
      margin-bottom: 10px; /* Add some space between description and email */
    }
  }


  