:root {
  --color-bg: #0f1115;
  --color-bg-alt: #1a1d23;
  --color-text: #e5e7eb;
  --color-text-muted: #9ca3af;
  --color-accent: #FF0000;
  --color-accent-hover: #cc0000;
  --color-border: #2d3139;
  --color-gray-500: #6b7280;
  --color-gray-400: #9ca3af;
  
  --font-main: system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --header-height: 90px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: var(--color-bg);
  background-image: url('assets/images/background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--color-text);
  font-family: var(--font-main);
  line-height: 1.6;
}

/* Overlay to ensure text readability over background */
.site-wrapper {
  background-color: rgba(15, 17, 21, 0.85);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 340px; /* Compensation for fixed header */
}

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* Header */
.site-header {
  background-color: rgba(15, 17, 21, 0.95); /* Increased opacity for better visibility when fixed */
  border-bottom: 1px solid rgba(45, 49, 57, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.site-header-branding {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  width: 100%;
}

.site-logo {
  max-height: 210px;
  width: auto;
}

.site-nav {
  width: 100%;
  display: flex;
  justify-content: center;
}

.primary-nav {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.primary-nav a {
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95rem;
  transition: color 0.2s;
  letter-spacing: 0.5px;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  color: var(--color-accent);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle-icon::before {
  content: "☰";
}

/* Hero */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 0, 0, 0.1);
  color: var(--color-accent);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 0, 0, 0.2);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
}

.hero-heading {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-highlight {
  color: var(--color-accent);
}

.hero-text {
  font-size: 1.25rem;
  color: #ddd;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.hero-meta {
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-card {
  background-color: var(--color-bg-alt);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.hero-card-heading {
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.hero-card-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-card-text {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.hero-card-meta {
  color: var(--color-text);
  font-weight: 500;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

/* Grid Section */
.grid-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.grid-section-heading {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1rem;
  text-align: center;
}

.grid-section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto 4rem;
  font-size: 1.1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.info-card {
  background-color: var(--color-bg-alt);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  transition: transform 0.2s, border-color 0.2s;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
}

.info-card-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  border: 1px solid rgba(255, 0, 0, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.info-card-title {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

.info-card-body {
  color: var(--color-text-muted);
}

/* Why Section */
.why-section {
  max-width: var(--max-width);
  margin: 4rem auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.why-heading {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.why-text {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.why-bullets {
  display: grid;
  gap: 2rem;
}

.why-bullet-label {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.why-bullet-label::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
}

.why-bullet-text {
  color: var(--color-text-muted);
  padding-left: 1.25rem;
}


/* Buttons */
.button-primary, .button-ghost {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid var(--color-accent);
  cursor: pointer;
}

.button-primary {
  background-color: var(--color-accent);
  color: #fff;
}
.button-primary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  text-decoration: none;
}

.button-ghost {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}
.button-ghost:hover {
  background-color: #fff;
  color: #000;
  text-decoration: none;
}

/* Page Container (Generic) */
.page-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
  flex: 1;
}

.section-heading {
  font-size: 2rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
  padding-bottom: 0.5rem;
  color: #fff;
}

/* Transfers Page */
.transfers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.fees-table {
  width: 100%;
  border-collapse: collapse;
}

.fees-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.fee-price {
  text-align: right;
  font-weight: bold;
  color: var(--color-accent);
  font-size: 1.1rem;
}

.fee-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
  font-style: italic;
}

.transfer-steps {
  counter-reset: step;
  list-style: none;
}

.transfer-steps li {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 2rem;
}

.transfer-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--color-accent);
  color: #fff;
  text-align: center;
  line-height: 2.5rem;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.2rem;
}

.transfers-policies {
  background-color: var(--color-bg-alt);
  padding: 2rem;
  border-radius: 8px;
}

.buyer-beware {
  margin-top: 2rem;
  border: 2px solid var(--color-accent);
  padding: 1.5rem;
  border-radius: 4px;
  background-color: rgba(255, 0, 0, 0.05);
}

.buyer-beware h3 {
  color: var(--color-accent);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* Contact Page Styles */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
}

.info-block {
  margin-bottom: 4rem;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.hours-table td {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.hours-table .hours-time {
  text-align: right;
  color: #fff;
}

.map-embed-large {
  margin-top: 1.5rem;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.map-embed-large iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Front Page Contact Section */
.contact-section {
  background-color: #000;
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--color-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-column {
  display: flex;
  flex-direction: column;
}

.contact-heading {
  color: var(--color-accent);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.contact-text {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-text a {
  color: #fff;
  font-weight: 600;
  transition: color 0.2s;
}

.contact-text a:hover {
  color: var(--color-accent);
}

.map-embed {
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  height: 200px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Forms */
.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 500;
  color: #fff;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  background-color: #000;
  border: 1px solid var(--color-border);
  color: #fff;
  border-radius: 4px;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.2);
}

/* Age Verification Modal */
.age-verification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.age-verification-content {
    background-color: var(--color-bg-alt);
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    border: 1px solid var(--color-border);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.age-verification-content h2 {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.age-verification-content p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.age-verification-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
.site-footer {
  background-color: var(--color-bg-alt);
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--color-border);
  margin-top: auto; /* Push to bottom */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-right {
  display: flex;
  flex-direction: column;
  text-align: right;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-separator {
  margin: 0 0.75rem;
  color: var(--color-gray-500);
}

.footer-link {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Policies Page */
.policies-section {
  margin-bottom: 3rem;
  background-color: var(--color-bg-alt);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.policies-section .section-heading {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
  border-bottom: none;
  padding-bottom: 0;
}

.policies-section p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Builds Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.gallery-image-placeholder {
    width: 100%;
    height: 250px;
    background-color: #2d3139;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 1.2rem;
}

.gallery-caption {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: #fff;
    border-top: 1px solid var(--color-border);
}

/* Responsive */
@media (max-width: 768px) {
  .site-header {
      padding: 0 1rem;
      height: 70px;
      flex-direction: row;
      justify-content: space-between;
  }

  .site-wrapper {
      padding-top: 70px;
  }

  .site-header-branding {
      margin-bottom: 0;
      width: auto;
      justify-content: flex-start;
  }

  .site-logo {
      max-height: 50px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  }

  .site-nav.is-open {
    display: block;
    animation: fadeIn 0.3s ease-out;
  }

  .primary-nav {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 4rem 1.5rem;
    gap: 3rem;
  }
  
  .hero-actions {
      justify-content: center;
  }

  .hero-heading {
    font-size: 2.5rem;
  }
  
  .why-section {
      grid-template-columns: 1fr;
      gap: 3rem;
      padding: 2rem 1.5rem;
  }
  
  .transfers-grid,
  .contact-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
  
  .site-footer {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-right {
    text-align: center;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
