/* Base reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #ef7b23;
  position: relative;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("images/real_tree.jpg") repeat;
  background-size: 150px auto;
  background-position: top left;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1500px;
  margin: 4rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  font-size: large;
}

.content-inner {
  max-width: 1700px;
  margin: 0 auto;
  padding: 2rem;
}

/* Header */
.site-header {
  --header-height: 88px;
  min-height: var(--header-height);
  position: relative;
  overflow: visible;
  background-color: #1f1f1f;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 220' preserveAspectRatio='none'%3E%3Cpath d='M0 150 L180 90 L320 130 L480 70 L650 120 L820 80 L1000 130 L1200 100 L1200 220 L0 220 Z' fill='%233a3a3a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 120%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.site-header,
.site-header a {
  color: #fff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.site-header h1 {
  font-weight: 600;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  line-height: 1.5rem;
}

/* Header layout */

.header-inner {
  min-height: var(--header-height);
  max-width: 1850px;
  margin: auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-wrap {
  position: absolute;
  right: 1rem;
  top: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.logo {
  display: block;
  max-height: 85px;
  width: auto;
  border-radius: 8px;
  pointer-events: auto;
}

/* Navigation */

.main-nav {
  position: relative;
  z-index: 40;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background .12s ease, transform .06s ease;
}

.main-nav a:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

/* Dropdown */

.main-nav li ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #2b2b2b;
  padding: 0.4rem 0;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: 0.15s;
}

.main-nav li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav li ul a {
  display: block;
  padding: 0.5rem 1rem;
  color: #ddd;
}

/* Hamburger */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero */

.hero {
  text-align: center;
  margin-bottom: 2rem;
}

.hero h2 {
  color: #8faab3;
  font-weight: 600;
  font-size: 1.4rem;
}

.hero h3 {
  font-size: 2.25rem;
  margin: 0.5rem 0;
}

.date {
  font-weight: 600;
  color: #555;
}

/* Images */

.image-section {
  display: flex;
  justify-content: center;
  margin: 2rem auto;
  max-width: 500px;
}

.image-section img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Footer */

.site-footer {
  background: #1f1f1f;
  color: #bbb;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}
.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Tablet layout */

@media (max-width:1024px){

  .logo{
    max-height:70px;
  }

  .header-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:1rem;
  }

}

/* Mobile navigation */

@media (max-width:768px){

  .content{
    margin:1rem auto;
    padding:1.5rem;
    padding-top:2rem;
  }

  .content-inner{
    padding:1.5rem;
    padding-top: 1rem;
  }

  .header-inner{
    min-height: auto;
  }

  .menu-toggle{
    display:block;
    padding-bottom: 15px;
    left:1rem;
    z-index:1001;
  }

  .main-nav{
    position:fixed;
    top:110px;
    left:0;
    width:100%;
    background:#1f1f1f;
    display:none;
    flex-direction:column;
    padding:1rem 0;
    z-index:1000;
    transform:translateY(-100%);
    transition:transform .25s ease;
  }

  .main-nav.active{
    display:flex;
    transform:translateY(0);
  }

  .main-nav ul{
    flex-direction:column;
    width:100%;
  }

  .main-nav a{
    display:block;
    padding:0.8rem 1.5rem;
    text-align:left;
  }

  .main-nav li ul{
    position:relative;
    display:none;
    background:#2b2b2b;
    padding-left:1rem;
  }

  .main-nav li.open > ul{
    display:block;
  }
  .site-header{
    padding-top:1rem;
    max-height: 80px;
    padding-bottom: 5rem;
  }

}
/* Gallery grid */
.gallery {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
  text-align: center;
}

.gallery h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.gallery p {
  color: #555;
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  justify-items: center;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

/* Lightbox overlay */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
}

.lightbox .prev,
.lightbox .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  font-size: 3rem;
  color: #fff;
  user-select: none;
  transform: translateY(-50%);
  padding: 0 10px;
}

.lightbox .prev { left: 10px; }
.lightbox .next { right: 10px; }

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .lightbox .close, .lightbox .prev, .lightbox .next {
    font-size: 2rem;
  }
}
