* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: hsl(0, 0%, 93%);
  color: #333;
  line-height: 1.6;
  display: block;
  min-height: 100vh;
  overflow-x: hidden; /* Prevent horizontal scrolling anywhere */
}

header.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.overlay {
  color: white;
  padding: 2rem;
  text-align: center;
  animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #68d388;
}
/* Laptop / Desktop – Perfect auto-fit grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.grid img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  object-fit: cover;
  height: 230px;        /* FIX: same height for all images */
  transition: transform 0.3s ease;
}

.grid img:hover {
  transform: scale(1.05);
}


/* Mobile – Exactly 3 images per row */
@media (max-width: 600px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }

  .grid img {
    height: 120px;   /* Smaller height for mobile */
    object-fit: cover;
  }
}




form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input,
form textarea {
  padding: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 100%;
}

form button {
  background: #68d388;
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background: #004d40;
}

footer {
  background: linear-gradient(
    270deg,
    rgba(44, 89, 44, 1),
    rgba(59, 209, 91, 0.98),
    rgba(60, 117, 65, 1)
  );
  background-size: 600% 600%;
  animation: gradientShift 15s ease infinite;
  color: white;
  padding: 2rem 1rem;
  font-size: 1rem;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h2,
.footer-section h3 {
  margin-bottom: 1rem;
}

.footer-section p {
  margin: 0.5rem 0;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin: 0.5rem 0;
}

.footer-section a {
  color: #ffeb3b;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-section a:hover {
  color: #cddc39;
  transform: scale(1.05);
}


.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.3) rotate(10deg);
}

/* Created by text styling */
.created-by {
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .social-icons a {
    margin: 0 0.5rem;
  }
}

/* Navbar (same as before for PC) */
.navbar {
  background: linear-gradient(
    90deg,
    rgba(44, 89, 44, 1) 0%,
    rgba(59, 209, 91, 0.98) 50%,
    rgba(60, 117, 65, 1) 100%
  );
  padding: 0.3rem 1.5rem;
  color: white;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

/* 🔥 Hamburger (hidden in desktop) */
.hamburgers {
  display: none;
  justify-content: center;
  align-items: center;
}

.hamburger {
  cursor: pointer;
  position: relative;
}

.hamburger input {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
}

.bar {
  display: block;
  width: 30px;
  height: 3px;
  margin: 6px auto;
  border-radius: 40px;
  transition: all 0.3s cubic-bezier(0.37, -1.11, 0.79, 2.02);
  background-color: white;
}

.hamburger input:checked ~ .bar:nth-child(2) {
  transform: translateY(9.5px) rotate(45deg);
}

.hamburger input:checked ~ .bar:nth-child(3) {
  opacity: 0;
}

.hamburger input:checked ~ .bar:nth-child(4) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #1f1f1f;
}

/* 🔹 Mobile */
@media (max-width: 768px) {
  .hamburgers {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%) scaleY(0);
    background: #f1ffee;
    width: 90%;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    transform-origin: top center;
    z-index: 999;
  }

  .nav-links.show {
    transform: translateX(-50%) scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .nav-links li a {
    color: #379e1e;
    font-size: 1.1rem;
  }
}
.gallery-title {
  text-align: center;
  margin-top: 40px;
  font-size: 2rem;
}

/* NEW ARCH LAYOUT */
.gallery-showcase.arch-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
  overflow: visible; 
}

.arch-slider {
  position: relative;
  width: 100%;
  height: 380px; 
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 20px;
}

.arch-item {
  position: absolute;
  top: 20px;
  left: 50%;
  margin-left: -90px;
  width: 180px;
  height: 200px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  transform-origin: center 600px; 
  transform: rotate(calc(var(--i) * 16deg));
  transition: transform 0.5s ease, z-index 0.3s;
  cursor: pointer;
  background: white;
  padding: 6px; 
}

.arch-item img,
.arch-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  pointer-events: none;
}

/* Hover Effect */
.arch-item:hover {
  transform: rotate(calc(var(--i) * 16deg)) scale(1.15) translateY(-20px);
  z-index: 10;
  box-shadow: 0 25px 45px rgba(0,0,0,0.3);
}

/* Content Styling */
.arch-content {
  text-align: center;
  max-width: 800px;
  z-index: 5;
  position: relative;
  margin-top: 50px;
}

.arch-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: #1a1a1a;
  margin-bottom: 15px;
  line-height: 1.2;
}

.arch-content p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
  padding: 0 20px;
}

.arch-btn {
  display: inline-block;
  background: #1f2937;
  color: white;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.arch-btn:hover {
  background: #111827;
}

/* Features Columns Grid */
.arch-features {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  text-align: center;
  gap: 20px;
}

.feature {
  flex: 1;
}

.feature h4 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 8px;
  font-weight: 600;
}

.feature p {
  font-size: 0.9rem;
  color: #888;
  margin: 0;
  padding: 0;
}

/* Mobile Styling */
@media (max-width: 900px) {
  .arch-slider {
    height: 300px;
  }
  .arch-item {
    top: 30px;
    width: 140px;
    height: 160px;
    margin-left: -70px;
    transform-origin: center 480px; 
    transform: rotate(calc(var(--i) * 18deg));
  }
}

@media (max-width: 768px) {
  .gallery-showcase.arch-layout {
    margin: 20px auto;
  }
  .arch-slider {
    height: 350px; /* Fully contains the arch to avoid text bounding collision */
  }
  .arch-item {
    top: 20px;
    width: 100px;
    height: 120px;
    margin-left: -50px;
    transform-origin: center 360px; /* Proportionate to desktop */
    transform: rotate(calc(var(--i) * 16deg)); /* Shallow, elegant curve */
  }
  .arch-item img, .arch-item video {
    border-radius: 8px;
  }
  .arch-content {
    margin-top: 10px; 
    padding: 0 15px;
  }
  .arch-content h2 {
    font-size: 2rem;
  }
  .arch-features {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .gallery-title {
    margin-top: 10px; 
    margin-bottom: 20px;
  }
  .gallery-showcase.arch-layout {
    overflow: visible; 
    padding: 0;
    margin: 10px 0 30px 0;
    width: 100%;
  }
  .arch-slider {
    height: 220px; /* Safely clears the lowest rotating cards */
    margin-bottom: 0px;
    width: 100%; 
    position: relative;
    left: 0;
  }
  .arch-item {
    top: 0px;
    width: 60px;
    height: 80px;
    margin-left: -30px;
    transform-origin: center 210px; 
    transform: rotate(calc(var(--i) * 16deg)); /* Match shallow desktop rotation identical feel! */
    padding: 3px;
    border-radius: 12px;
  }
  .arch-item:hover {
    transform: rotate(calc(var(--i) * 16deg)) scale(1.15) translateY(-10px);
  }
  .arch-content {
    margin-top: 10px; /* Text starts purely below the images as intended */
    padding: 10px 20px;
  }
  .arch-content h2 {
    font-size: 1.6rem;
  }
  .arch-features {
    gap: 15px; 
  }
}

/* Lightbox styles */

/* Navigation buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 12px;
  margin-top: -22px;
  color: #fff;
  font-weight: bold;
  font-size: 2rem;
  border-radius: 50%;
  user-select: none;
  transition: 0.3s;
}

.prev { left: 15px; }
.next { right: 15px; }

/* Responsive */
@media (max-width: 768px) {
  .caption { font-size: 0.9rem; padding: 8px 12px; }
  .prev, .next { font-size: 1.5rem; padding: 10px; }
}
.slide {
  display: none;
  position: relative;
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.slide video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
