:root {
  --accent-color: #ec7c04;
}

html, body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f9f9f9;
  overflow-x: hidden;
  width: 100%;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(1, 1, 1, 1);
  z-index: 1000;
  height: 65px;
}

.header-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  position: absolute;
  left: 20px;
}
.logo img {
  width: 120px;
  transition: width 0.5s ease;
}

/* Navigation */
.nav-links {
  flex: 2;
  text-align: center;
}
.nav-links ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0;
  margin: 0;
}
.nav-links a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-color);
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  object-fit: cover;
}
.hero-text {
  position: relative;
  color: white;
  text-align: center;
  max-width: 60%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}
.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.hero-text p {
  font-size: 1.5rem;
  font-weight: 400;
}

/* Section Headers */
h2 {
  font-size: 2rem;
  color: rgb(0, 0, 0);
  margin-bottom: 15px;
  text-align: center;
}

/* Contact Section */
.contact-section {
  position: relative;
  width: 100%;
  padding: 80px 10%;
  box-sizing: border-box;
  background: url('background.webp') center/cover no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15); /* dark overlay for contrast */
  z-index: 0;
}


.contact-details {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-box {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 8px;
  margin: 10px;
  text-align: center;
}
.contact-box h3 {
  color: #0a6d36;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* Google Maps */
iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 8px;
  margin-top: 10px;
}

/* Social Links */
.contact-social a {
  text-decoration: none;
  color: #0a6d36;
  font-weight: 600;
  margin: 0 10px;
  transition: color 0.3s;
}
.contact-social a:hover {
  color: var(--accent-color);
}

/* Call to Action */
.cta {
  text-align: center;
  padding: 10px;
  background: #717a71;
  color: white;
}
.cta h2 {
  color: white;
}
.cta p {
  font-size: 1.2rem;
}

/* Footer */
.footer {
  text-align: center;
  background: black;
  color: white;
  padding: 20px;
}

/* Contact Form */
.contact-container {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.85); /* semi-transparent white */
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 90%;
  backdrop-filter: blur(3px); /* optional soft blur */
}

.contact-container form input,
.contact-container form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 31px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
}
.contact-container form button {
  width: 100%;
  background-color: #007BFF;
  color: white;
  padding: 14px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.contact-container form button:hover {
  background-color: #0056b3;
}

/* Sign-In Button */
.sign-in-button {
  display: inline-block;
  padding: 8px 15px;
  background-color: #000;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
}
.sign-in-button:hover {
  background-color: #fa8c14;
}

/* ===== Mobile Styles ===== */
@media (max-width: 768px) {
  .hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    padding: 15px;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text p {
    font-size: 1rem;
  }

  .contact-section {
    padding-top: 80px; /* ensures it's pushed below the fixed header */
    text-align: center;
  }

  .contact-container{
  box-sizing: border-box;


  }
  .contact-details {
    flex-direction: column;
    align-items: center;
  } 

  .contact-box,
  iframe {
    width: 90%;
    max-width: 400px;
    margin: 10px auto;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 65px;
    right: 0;
    width: 80vw;
    max-width: 300px;
    background: #d7d7d7;
    flex-direction: column;
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    text-align: center;
  }
  .nav-links.active {
    display: flex;
    transform: translateX(0);
  }

  .nav-links ul {
    flex-direction: column;
    width: 100%;
  }

  .nav-links ul li {
    padding: 10px 0;
  }

  .menu-toggle {
    display: block;
    position: fixed;
    right: 20px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: rgb(0, 0, 0);
  }

  .sign-in {
    display: none;
  }

  .footer {
    padding: 15px;
    font-size: 0.9rem;
  }
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 600;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-contact p {
  margin: 4px 0;
  color: #ccc;
  font-size: 0.95rem;
}

.footer-contact a {
  color: #ccc;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--accent-color);
}

.footer-copy {
  margin-top: 10px;
  color: #999;
  font-size: 0.85rem;
}


/* ===== Desktop-only Styles ===== */
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }

  .mobile-sign-in {
    display: none;
  }

  .sign-in {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    margin-left: auto;
  }
}
