/* Base styling */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #fefaf4;
  color: #333;
}

html {
  scroll-behavior: smooth;
}

/* Header */
header {
  background: #222;
  color: #fff;
  padding: 20px;
  text-align: center;
  position: relative;
}

header h1 {
  margin: 0;
  font-size: 2em;
  letter-spacing: 1px;
}

/* Navigation */
.nav-toggle {
  display: none;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

nav a.active {
  background-color: #ff6600;
  color: #fff;
  font-weight: bold;
}

/* Responsive nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    background: #ff6600;
    color: white;
    border: none;
    font-size: 28px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background-color: #222;
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
  }

  nav ul.show {
    display: flex;
  }

  nav a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }
}

/* Main content */
main {
  padding: 30px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

h2 {
  color: #333;
  font-size: 1.8em;
  margin-bottom: 10px;
}

p {
  line-height: 1.6;
}

/* Responsive image (general use) */
.responsive-img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 300px;
  object-fit: cover;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px #000;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
  margin: 20px auto;
}

input, textarea, button, select {
  padding: 10px;
  font-size: 1em;
  border-radius: 5px;
  border: 1px solid #ccc;
}

button {
  background: #336633;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background: #2a4f29;
}

/* Split layout (image + text side-by-side) */
.image-text-split {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  margin: 40px auto;
  max-width: 1000px;
  padding: 0 20px;
}

.image-text-split.reverse {
  flex-direction: row-reverse;
}

.split-image {
  flex: 1 1 45%;
  text-align: center;
}

.split-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.split-text {
  flex: 1 1 50%;
}

.split-text h2 {
  font-size: 1.8em;
  color: #333;
  margin-bottom: 10px;
}

.split-text p {
  font-size: 1.1em;
  line-height: 1.6;
}

/* Stack on mobile */
@media (max-width: 768px) {
  .image-text-split {
    flex-direction: column;
    text-align: center;
  }

  .split-text {
    text-align: left;
  }
}

/* Footer */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
  font-size: 0.9em;
}
