/*
===============================================================================
File: /styles/site.css
Created: 2025-07-10
Last Modified: 2025-07-10
Purpose: Public-facing site styling
Upgrades:
  - Gallery layout
  - Navbar and content boxes
  - Mobile responsive tweaks
===============================================================================
*/

/* Navbar overrides */
.navbar {
  background-color: #145214;
}

.navbar-brand,
.navbar-nav .nav-link {
  color: #fff !important;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.gallery-item {
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

/* Content boxes */
.content-box {
  background: url('/images/669.png') repeat;
  border: 2px solid #789904;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

body {
  background: url('/images/669.png') repeat;
}

.gallery-rotator img {
  display: none;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.gallery-rotator img.active {
  display: block;
}

.content-box h2 {
  color: #145214;
  text-align: center;
  margin-bottom: 1rem;
}

.festival-heading {
  color: #145214;
}

.inventory-table th {
  background-color: #789904;
  color: #fff;
}

.alert-warning {
  background-color: #fff3cd;
  border-color: #ffeeba;
  color: #856404;
}

.festival-intro {
  font-size: 1.75rem; /* same as h2 */
  font-weight: bold;
  color: #145214; /* your site green */
  text-align: center;
  margin-bottom: 2rem;
}

.content-box form .form-label {
  color: #145214;
}

.content-box form .btn-success {
  background-color: #145214;
  border-color: #145214;
}

.content-box form .btn-success:hover {
  background-color: #0e3d0e;
  border-color: #0e3d0e;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

.site-navbar {
  background: url('/images/669.png') repeat;
}

.header-banner {
  background: url('/images/669.png') repeat;
  text-align: center;
  padding: 20px 15px;
}

.header-banner img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

.iframe-wrapper {
  background: url('/images/669.png') repeat;
  border: 2px solid #789904;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  margin-bottom: 20px;
  padding: 5px;
}

.iframe-wrapper iframe {
  width: 100%;
  height: 80vh;
  border: none;
  border-radius: 6px;
  background-color: #fff;
}

/* Responsive height tweaks */
@media (max-width: 768px) {
  .iframe-wrapper iframe {
    height: 60vh;
  }
}

.header-banner {
  background: url('/images/669.png') repeat;
  padding: 20px 0;
}

.nav-wrapper {
  text-align: center;
  margin-bottom: 10px;
}

.site-navbar {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.site-navbar a {
  color: darkblue;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.site-navbar a:hover {
  background-color: #ddd;
  color: black;
}

.site-navbar a.active {
  background-color: #145214;
  color: white;
}

.banner-wrapper {
  text-align: center;
}

.banner-logo {
  max-height: 120px;
  width: auto;
  display: block;
  margin: 0 auto;
}
