/* Variables & Resets */
:root {
  --primary: #9b6a38;     /* Warm Gold / Bronze */
  --primary-dark: #7a5128;
  --secondary: #2c2c2c;   /* Charcoal */
  --accent: #d4a373;      /* Sand */
  --bg-color: #faf9f6;    /* Off white / paper */
  --surface: #ffffff;
  --text-main: #333333;
  --text-muted: #666666;
  --border: rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.hidden { display: none !important; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--secondary);
  line-height: 1.2;
}

h1 { font-size: 3.5rem; font-weight: 700; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; font-weight: 600; margin-bottom: 1.25rem; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; }
p { margin-bottom: 1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 99px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(155, 106, 56, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(155, 106, 56, 0.4);
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: #000;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-block {
  width: 100%;
  display: block;
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
  letter-spacing: 2px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-header nav a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
}

.site-header nav a:hover {
  color: var(--accent);
}

.site-header nav .btn-outline {
  padding: 10px 24px;
  color: white;
  border-color: rgba(255,255,255,0.4);
}
.site-header nav .btn-outline:hover {
  background: white;
  color: var(--secondary);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background-color: var(--secondary);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://offertabs.s3.amazonaws.com/offer/atp35k/site/media/6a86fd9f672cd8.12981080.png');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(44,44,44,0.9) 100%);
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  color: #fff;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 99px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.subtitle {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 650px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* About Section */
.about-section {
  padding: 100px 0;
  background: var(--bg-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.quote-block {
  margin-top: 32px;
  padding-left: 24px;
  border-left: 4px solid var(--primary);
}

.quote-block p {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--secondary);
  margin-bottom: 0;
}

.about-image figure {
  margin: 0;
}

.about-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.about-image figcaption {
  text-align: center;
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}


/* Categories Section */
.categories-section {
  padding: 100px 0;
  background: var(--surface);
}

.section-header {
  max-width: 600px;
  margin: 0 auto 60px;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.category-card {
  background: var(--bg-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.category-img {
  height: 220px;
  overflow: hidden;
}

.category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.category-card:hover .category-img img {
  transform: scale(1.05);
}

.category-content {
  padding: 32px 24px;
  flex-grow: 1;
}

.category-content h3 {
  color: var(--primary);
  margin-bottom: 16px;
}

.category-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* Details Section */
.details-section {
  padding: 100px 0;
  background: var(--bg-color);
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.details-card {
  background: var(--surface);
  padding: 48px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.details-card h3 {
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.dates-list {
  list-style: none;
}

.dates-list li {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.date-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.date-value {
  font-size: 1.25rem;
  color: var(--secondary);
}

.date-note {
  font-size: 0.9rem;
  color: var(--primary);
  margin-top: 4px;
  font-style: italic;
}

.criteria-list {
  list-style: none;
  margin-top: 24px;
}

.criteria-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-main);
}

.criteria-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Submit Section */
.submit-section {
  padding: 100px 0;
  background: linear-gradient(to bottom, var(--surface) 0%, var(--bg-color) 100%);
}

.submit-container {
  max-width: 800px;
}

.submit-header {
  margin-bottom: 48px;
}

.form-wrapper {
  background: var(--surface);
  padding: 48px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--secondary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--bg-color);
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(155, 106, 56, 0.15);
}

.form-group 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='%23333' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.file-group {
  padding: 24px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  text-align: center;
  background: var(--bg-color);
}

.file-group input[type="file"] {
  display: block;
  margin: 0 auto 12px;
}

.file-note {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.checkbox-label input[type="checkbox"] {
  margin-top: 4px;
}

.error-message {
  padding: 16px;
  background: #fee2e2;
  color: #b91c1c;
  border-radius: 8px;
  margin-bottom: 24px;
  text-align: center;
  font-weight: 500;
}

/* Result Section */
.result-section {
  padding: 120px 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--bg-color);
}

.result-container {
  max-width: 600px;
  background: var(--surface);
  padding: 60px 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #d1fae5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.share-panel {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.share-input-group {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.share-input-group input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-color);
  font-family: monospace;
}

/* Status Banner */
.status-banner {
  padding: 60px 20px;
  background: var(--secondary);
  color: white;
}
.status-banner h2 { color: white; margin-bottom: 12px; }

/* Footer */
.site-footer {
  background: #111;
  color: rgba(255,255,255,0.6);
  padding: 40px 0;
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid, .categories-grid, .details-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 { font-size: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .site-header nav { display: none; } /* Simplified for mobile */
}

/* Powered By */
#wbx-powered-by-slot {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
