@charset "UTF-8";
/* --------------------
   Base layout
-------------------- */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

body {
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* ✅ Background image */
  background-image: url("/images/bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  font-size: 16px;
  position: relative;
}

/* ✅ Slightly lighter overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: -1;
}

/* --------------------
   App container
-------------------- */
.app-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* --------------------
   Navigation - Clean Green
-------------------- */
.main-nav {
  background: #2f5d3a;
  padding: 0.4rem 0;
  margin: 1rem auto 2.5rem auto;
  border-radius: 10px;
  max-width: 1100px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.main-nav li {
  display: flex;
  align-items: center;
}

.main-nav a {
  color: #f4f7f4;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.2rem 0;
  transition: opacity 0.2s ease;
}

.main-nav a:hover {
  opacity: 0.75;
}

.main-nav button {
  background: none;
  border: none;
  color: #f4f7f4;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  padding: 0.2rem 0;
}

.main-nav button:hover {
  opacity: 0.75;
}

/* --------------------
   Page content (Glass effect)
-------------------- */
.page-content {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

/* --------------------
   Forms (Login/Register)
-------------------- */
.form-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.form-row label {
  width: 160px;
  font-weight: 600;
  color: #333;
}

.form-row input {
  flex: 1;
  padding: 7px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
}

button {
  margin-top: 10px;
  padding: 7px 14px;
  background-color: #2f5d3a;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

button:hover {
  opacity: 0.9;
}

/* --------------------
   Blog
-------------------- */
.blog-form textarea {
  width: 100%;
  min-height: 110px;
  margin-top: 8px;
  margin-bottom: 8px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.blog-form h3 {
  margin-bottom: 6px;
}

.blog-posts {
  margin-top: 20px;
}

.blog-posts h3 {
  margin-bottom: 10px;
}

.post-item {
  background: rgba(244, 247, 244, 0.9);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  border-left: 4px solid #2f5d3a;
}

.button-row {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.post-item button {
  margin-left: 10px;
  padding: 4px 8px;
  font-size: 0.8rem;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

/* --------------------
   Home Page
-------------------- */
.home-banner {
  display: block;
  max-width: 650px;
  width: 100%;
  height: auto;
  margin: 0 auto 20px auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* --------------------
   Mobile tweaks
-------------------- */
@media (max-width: 600px) {
  .main-nav {
    padding: 0.3rem 0;
  }
  .main-nav ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
  }
  .main-nav a {
    font-size: 0.85rem;
    padding: 0.15rem 0;
  }
  .form-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-row label {
    width: 100%;
    margin-bottom: 4px;
  }
  .form-row input {
    width: 100%;
  }
}
/* IMPORTS */
/* gallery.scss */
.gallery {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
  text-align: center;
}
.gallery h1 {
  margin-bottom: 2rem;
  color: #2f2f2f;
}
.gallery ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.gallery ul li {
  list-style: none;
}
.gallery ul a {
  display: inline-block;
  padding: 0.45rem 1rem;
  min-width: 140px;
  background: linear-gradient(135deg, #2f5d3a, #3d7a4c);
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.gallery ul a:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #3d7a4c, #4c9660);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.gallery ul a:active {
  transform: translateY(0);
}

/* CATEGORY PAGE */
.photos-page {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
}
.photos-page h1 {
  text-align: center;
  margin-bottom: 2rem;
  text-transform: capitalize;
}

.back-link {
  margin-bottom: 1.5rem;
}
.back-link a {
  text-decoration: none;
  font-weight: bold;
  color: #2f5d3a;
}
.back-link a:hover {
  text-decoration: underline;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.photo-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.photo-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
  background: #f5f5f5;
  padding: 1rem;
}
.photo-card p {
  padding: 1rem;
  line-height: 1.5;
  color: #333;
  flex-grow: 1;
}

/* PRODUCTION PROCESS PAGE */
.production-gallery .photo-card img {
  height: 320px;
  object-fit: cover;
  padding: 0;
}
