/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  padding-top: 70px;
  min-height: 100vh;
  background: #f9f9f9;
}

/* Background image with low opacity */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("bg.jpg") no-repeat center center / cover;
  opacity: 0.15;
  z-index: -1;
}

/* Navbar */
header {
  width: 100%;
  background: #fff;
  color: #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  position: fixed;
  top: 0; left: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

header .logo img {
  height: 40px;
  width: auto;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

header nav ul li a {
  color: #222;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

header nav ul li a:hover {
  color: #ff6600;
}

/* Intro */
.intro {
  text-align: center;
  padding: 60px 20px 40px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  max-width: 900px;
  margin: 40px auto;
}

/* Container grid */
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px;
  max-width: 1200px;
  margin: auto;
}

/* Card */
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  overflow: hidden;
  position: relative;
  padding-bottom: 15px;
}

.card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  padding: 5px;
}

/* Overlay + View button */
.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: calc(100% - 40px);
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}

.card:hover .overlay {
  opacity: 1;
}

.view-btn {
  padding: 10px 20px;
  background: #ff6600;
  color: #fff;
  border-radius: 5px;
  font-size: 1rem;
  text-decoration: none;
}

.view-btn:hover {
  background: #e65500;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  overflow-y: auto;
  padding: 40px 20px;
  z-index: 2000;
}

.modal:target {
  display: block;
}

/* Image modal */
.modal img {
  max-width: 90%;
  border-radius: 10px;
  display: block;
  margin: auto;
}

/* Scrollable long image */
.scroll-img {
  max-width: 90%;
  max-height: 80vh;
  margin: auto;
  overflow-y: auto;
}

.scroll-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Text modal */
.modal-text {
  max-width: 800px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  color: #222;
  line-height: 1.6;
}

.modal-text h2 {
  margin-bottom: 15px;
  font-size: 1.6rem;
  color: #333;
}

.modal-text p b {
  display: block;
  margin-top: 15px;
  font-size: 1.2rem;
  color: #ff6600;
}

/* Close button */
.close {
  position: fixed;
  top: 20px; right: 30px;
  font-size: 2.5rem;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  z-index: 2100;
}

.close:hover {
  color: #ff6600;
}

/* Contact */
#contact {
  padding: 40px;
  text-align: center;
  background: #fff;
  margin-top: 40px;
  border-radius: 10px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Google Map container */
.map-container {
  width: 100%;
  max-width: 900px;
  height: 400px;
  margin: 20px auto 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


/* Footer */
footer {
  text-align: center;
  padding: 20px;
  margin-top: 20px;
  background: #fff;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.1);
}

/* Hamburger menu icon */
.hamburger {
  display: none; /* hidden on desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #222;
  border-radius: 2px;
}

/* Responsive Navbar */
@media (max-width: 768px) {
  header {
    padding: 10px 20px;
  }

  nav {
    position: fixed;
    top: 60px;
    left: -100%; /* hidden initially */
    width: 100%;
    background: #fff;
    transition: 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }

  nav ul {
    flex-direction: column;
    gap: 0;
  }

  nav ul li {
    border-bottom: 1px solid #eee;
  }

  nav ul li a {
    display: block;
    padding: 15px 20px;
    font-size: 1.2rem;
  }

  nav.show {
    left: 0; /* slide in when hamburger clicked */
  }

  .hamburger {
    display: flex; /* visible on mobile */
  }
}

