:root {
  --primary: #d95c14; /* Bear woods orange/amber */
  --primary-hover: #b84a0d;
  --dark: #233428; /* Bear woods green/dark */
  --darker: #152119;
  --bg: #f4f3ef; 
  --card-bg: #ffffff;
  --text: #2d2d2d;
  --gray: #6a6a6a;
  --border: #e2dfd8;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background-color: var(--bg);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  color: var(--darker);
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

nav {
  background: var(--darker);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 4px solid var(--primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.logo img {
  height: 40px;
  width: auto;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0.5rem;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links button:hover {
  color: var(--primary);
}

.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
  color: white;
}

.hero-banner-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0 auto 2rem auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  display: block;
}

.hero-logo-box {
  background: rgba(255, 255, 255, 0.95);
  display: inline-block;
  padding: 1.5rem 2.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-logo-box img {
  height: 80px;
  width: auto;
  display: block;
}

.hero h1 {
  color: white;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  line-height: 1.1;
}

.hero h2 {
  color: var(--primary);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 500;
  margin-bottom: 2rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
  text-transform: none;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.dates {
  font-size: 1rem;
  font-weight: 600;
  background: rgba(21, 33, 25, 0.85);
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.btn-large {
  display: inline-block;
  background: var(--primary);
  color: white;
  border: none;
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0.5rem;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
}

.btn-large:hover {
  background: var(--primary-hover);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px rgba(0,0,0,0.2);
}

.btn-large:disabled {
  background: #aaa;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  color: var(--darker);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.step-card {
  background: var(--card-bg);
  padding: 2.5rem 1.5rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  box-shadow: 4px 4px 0px rgba(0,0,0,0.05);
  position: relative;
  transition: transform 0.2s;
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--dark);
  color: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem auto;
  font-family: 'Oswald', sans-serif;
  box-shadow: 2px 2px 0px var(--primary);
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--darker);
}

.step-card p {
  font-size: 0.95rem;
  color: var(--gray);
  margin: 0;
}

.prizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.prize-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  box-shadow: 4px 4px 0px rgba(0,0,0,0.05);
}

.img-slot {
  width: 100%;
  aspect-ratio: 1;
  background: #f0f0f0;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-weight: 500;
  border: 2px dashed #ccc;
}

.runner-up-bundle {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  width: 100%;
  justify-content: center;
}

.runner-up-bundle img {
  border-radius: 4px;
}

.runner-up-bundle img:first-child {
  height: 55%;
  object-fit: contain;
}

.runner-up-bundle img:last-child {
  height: 35%;
  object-fit: contain;
}

.prize-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.prize-card p {
  font-size: 1.1rem;
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

/* Form Styles */
.form-card {
  background: var(--card-bg);
  border-radius: 4px;
  padding: 3rem;
  border: 1px solid var(--border);
  box-shadow: 8px 8px 0px rgba(0,0,0,0.05);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--darker);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

input[type="text"], input[type="email"], select, textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border);
  border-radius: 4px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  color: var(--text);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217, 92, 20, 0.1);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233d2b1f' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.file-upload-box {
  border: 2px dashed var(--border);
  border-radius: 4px;
  padding: 1.5rem;
  text-align: center;
  background: #fafafa;
  transition: border-color 0.2s, background 0.2s;
}

.file-upload-box:hover {
  border-color: var(--primary);
  background: #fff;
}

.file-upload-box input[type="file"] {
  width: 100%;
  font-size: 0.9rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.checkbox-group label {
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-transform: none;
  letter-spacing: normal;
}

.rules-box {
  background: #f8f9fa;
  border-left: 4px solid var(--primary);
  color: var(--darker);
  padding: 1.25rem 1.5rem;
  border-radius: 0 4px 4px 0;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: left;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.error-msg {
  background: #fff3f3;
  color: #d32f2f;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  text-align: left;
  font-weight: 500;
  border-left: 4px solid #d32f2f;
  border-top: 1px solid #ffcdd2;
  border-right: 1px solid #ffcdd2;
  border-bottom: 1px solid #ffcdd2;
}

/* Gallery Styles */
.gallery-header {
  text-align: center;
  margin-bottom: 2rem;
}
.gallery-header p {
  color: var(--gray);
  font-size: 1.1rem;
}

.gallery-filters {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.gallery-card {
  background: var(--card-bg);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 4px 4px 0px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px rgba(0,0,0,0.1);
}

.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: #eee;
  border-bottom: 1px solid var(--border);
}

.card-info {
  padding: 1.25rem;
  text-align: left;
}

.card-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'Oswald', sans-serif;
  color: var(--darker);
}

.card-info .author {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0;
}

.empty-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem;
  color: var(--gray);
  font-size: 1.1rem;
  background: #f8f9fa;
  border: 1px dashed var(--border);
  border-radius: 4px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(21, 33, 25, 0.95);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lb-content {
  background: var(--card-bg);
  border-radius: 4px;
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lb-images {
  background: #111;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.lb-img {
  max-width: 100%;
  max-height: 60vh;
  border-radius: 4px;
  object-fit: contain;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.wip-notice {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #f4f3ef;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.wip-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.wip-text strong {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.wip-text span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.lb-details {
  padding: 3rem;
  text-align: left;
}

.lb-details h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.lb-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.badge {
  background: var(--primary);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lb-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  white-space: pre-wrap;
}

.lb-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.9);
  color: var(--dark);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  font-size: 1.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  line-height: 1;
}

.lb-close:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

.hidden { display: none !important; }

#wbx-powered-by-slot {
  margin: 3rem auto;
  text-align: center;
  max-width: 1000px;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .hero {
    padding: 3rem 1rem;
  }
  
  .hero-logo-box {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-logo-box img {
    height: 50px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-card {
    padding: 2rem 1.5rem;
  }
  
  .lb-content {
    grid-template-columns: 1fr;
    max-height: 85vh;
  }
  
  .lb-images {
    padding: 1.5rem;
  }
  
  .lb-details {
    padding: 1.5rem;
  }
  
  .gallery-filters {
    justify-content: center;
  }
}


.shop-button { display: inline-block; text-decoration: none; margin-top: 0.75rem; }
.shop-callout { max-width: 900px; margin: 1.5rem auto 0; padding: 1rem 1.25rem; color: #26352b; background: #f5ead8; border-left: 4px solid var(--primary); border-radius: 6px; font-size: 1rem; line-height: 1.6; }

/* Responsive full-width contest banner */
#page-home .hero-banner {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  background: #fff;
  border-bottom: 4px solid var(--primary);
}
#page-home .hero-banner picture {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
}
#page-home .hero-banner-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: none;
  filter: none;
}
#page-home .hero-actions {
  background: var(--bg);
  padding: 1.25rem 1rem 1.5rem;
  text-align: center;
}
#page-home .hero-actions .dates {
  max-width: 100%;
  margin-bottom: 1rem;
}
#page-home .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
#page-home .hero-buttons .btn-large { margin: 0.25rem; }
#page-home .hero-actions .btn-outline {
  color: var(--dark);
  border-color: var(--dark);
}
@media (max-width: 767px) {
  #page-home .hero-banner-img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  #page-home .hero-actions { padding: 1rem 0.75rem 1.25rem; }
  #page-home .hero-actions .dates {
    display: block;
    margin: 0 auto 1rem;
    font-size: 0.9rem;
    line-height: 1.45;
  }
  #page-home .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    max-width: 22rem;
    margin: 0 auto;
    gap: 0.35rem;
  }
  #page-home .hero-buttons .btn-large { width: 100%; margin: 0; }
}
