* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  
}
body {
  font-family: 'Lucida Grande', Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}
/*
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
*/
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #333;
  color: white;
  padding: 1rem 2rem;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: block;
}

.nav-links a:hover {
  color: #ffff33;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.section-wrapper {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.section {
  min-height: calc(100vh - 66px);
  display: block;
  padding: 2rem; /* top, right, bottom, left */
  padding-top: 80px;
  

}

#home {
  background: url('../assets/images/hero_background.jpg') no-repeat center center / cover;
  color: white;
  padding: 0;
  display: flex;
  justify-content: start;
  align-items: flex-end;
  min-height: 100vh;
}


#home .weather-container {
  background-color: rgba(0, 0, 0, 0.5);
  justify-self: flex-start;
  align-items: flex-start;
  padding: 1.5rem;
  width: 100%;
}

.weather-card {
  max-width: 1200px;
  margin: auto;
}

#weather-heading {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}




#about {
  background-color: #eef;
}



.about-wrapper p   {
  margin-bottom: 1.5rem;
}

#about h2,
#contact h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

#about p {
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  font-family: 'Myriad Pro', 'Calibri', Helvetica, Arial, sans-serif;
}


#contact {
  background-color: #ddd;
}

form {
  max-width: 500px;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input,
form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

form button {
  padding: 0.75rem;
  font-size: 1rem;
  background: #333;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

form button:hover {
  background: #555;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 2.5em 2em;
  border-radius: 5px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.modal-content p {
  font-size: 1.1rem;
  margin-bottom: 2em;
  color: #333;
}

.modal-content button {
  padding: 0.75em 1.5em;
  font-size: 1rem;
  background-color: #007BFF;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal-content button:hover {
  background-color: #0056b3;
}

.footer {
  background-color: #333;
  color: white;
  text-align: center;
  font-size: .75rem;
  padding: 1rem;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #333;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
  }

  .nav-links.open {
    max-height: 300px;
  }

  .nav-links a {
    padding: 1rem 2rem;
    width: 100%;
    border-top: 1px solid #444;
  }

  .hamburger {
    display: flex;
  }
}
