/*
Theme Name: Auric LLC
Theme URI: https://auric-mining.com/
Author: Auric LLC
Description: WordPress theme for Auric LLC's gold and resource development site.
Version: 1.0.0
*/

/* Auric LLC - Main Stylesheet */

/* CSS Variables - Color Palette */
:root {
  --ink-900: #0F1A1C;
  --ink-800: #162326;
  --gold-500: #C9A646;
  --gold-300: #b6a057;
  --sand-100: #F4EFE6;
  --clay-400: #8E6A4D;
  --forest-600: #2A4A43;
  --mist-50: #FBFAF7;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', 'Roboto', 'Raleway', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-800);
  background-color: var(--mist-50);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', 'Roboto', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink-900);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.5rem;
  margin-bottom: 0.875rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--gold-500);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold-300);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  background-color: var(--ink-900);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-500);
}

.logo a {
  color: inherit;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--sand-100);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active,
nav .current-menu-item > a,
nav .current_page_item > a,
nav .current-menu-ancestor > a,
nav .current_page_ancestor > a {
  color: var(--gold-300);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold-500);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--gold-500);
  color: var(--ink-900);
}

.btn-primary:hover {
  background-color: var(--gold-300);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 166, 70, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--gold-500);
  border: 2px solid var(--gold-500);
}

.btn-secondary:hover {
  background-color: var(--gold-500);
  color: var(--ink-900);
}

/* Hero Section */
.hero {
  background-color: var(--ink-900);
  color: var(--sand-100);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 26, 28, 0.95), rgba(42, 74, 67, 0.9));
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1 1 500px;
}

.hero h1 {
  color: var(--gold-300);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--sand-100);
  line-height: 1.8;
}

.hero-image {
  flex: 1 1 400px;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Ticker Section */
.ticker-section {
  background-color: var(--ink-800);
  padding: 2rem 0;
  border-bottom: 2px solid var(--gold-500);
}

.ticker-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.ticker-item {
  text-align: center;
  color: var(--sand-100);
  min-width: 200px;
}

.ticker-symbol {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--gold-300);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ticker-price {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--sand-100);
  margin-bottom: 0.25rem;
}

.ticker-change {
  font-size: 0.875rem;
  font-weight: 500;
}

.ticker-change.positive {
  color: #4CAF50;
}

.ticker-change.negative {
  color: #F44336;
}

.ticker-loading {
  font-size: 0.875rem;
  color: var(--gold-300);
  font-style: italic;
}

/* Section Styles */
section {
  padding: 80px 0;
}

section.dark {
  background-color: var(--ink-900);
  color: var(--sand-100);
}

section.dark h2,
section.dark h3 {
  color: var(--gold-300);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  color: var(--ink-900);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--ink-800);
  max-width: 800px;
  margin: 0 auto;
}

.dark .section-header h2 {
  color: var(--gold-300);
}

.dark .section-header p {
  color: var(--sand-100);
}

/* Card Grid */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.card {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  flex: 1 1 300px;
  max-width: 380px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--gold-500);
  margin-bottom: 1.5rem;
}

.card h3 {
  color: var(--ink-900);
  margin-bottom: 1rem;
}

.card p {
  flex-grow: 1;
  color: var(--ink-800);
}

.card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Trust Band */
.trust-band {
  background-color: var(--forest-600);
  padding: 3rem 0;
}

.trust-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-item {
  text-align: center;
  color: var(--sand-100);
}

.trust-item i {
  font-size: 2rem;
  color: var(--gold-300);
  margin-bottom: 1rem;
}

.trust-item h4 {
  color: var(--gold-300);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Location Section */
.location-section {
  background-color: var(--sand-100);
  padding: 80px 0;
}

.location-content {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.location-text {
  flex: 1 1 400px;
}

.location-map {
  flex: 1 1 400px;
  height: 450px;
  background-color: var(--ink-800);
  border-radius: 8px;
  overflow: hidden;
}

.location-map iframe {
  width: 100%;
  height: 450px;
  border: none;
}

/* Footer */
footer {
  background-color: var(--ink-900);
  color: var(--sand-100);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column {
  flex: 1 1 200px;
}

.footer-column h4 {
  color: var(--gold-300);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: var(--sand-100);
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--gold-300);
}

.footer-column p {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  font-size: 1.5rem;
  color: var(--gold-500);
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--gold-300);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--ink-800);
  color: var(--sand-100);
  font-size: 0.875rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(15, 26, 28, 0.8);
}

.modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  padding: 3rem;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--ink-800);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

.modal-close:hover {
  color: var(--gold-500);
}

.modal h2 {
  color: var(--ink-900);
  margin-bottom: 1.5rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--ink-900);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid #d0d0d0;
  border-radius: 4px;
  font-family: 'Open Sans', 'Roboto', sans-serif;
  font-size: 1rem;
  background-color: #ffffff;
  color: #1a1a1a;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 166, 70, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

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

.form-group.checkbox input {
  width: auto;
  margin-top: 0.25rem;
}

.form-group.checkbox label {
  margin-bottom: 0;
}

.form-error {
  color: #F44336;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
}

.form-error.active {
  display: block;
}

.form-success {
  background-color: #4CAF50;
  color: white;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  display: none;
}

.form-success.active {
  display: block;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--ink-900);
  color: var(--sand-100);
  padding: 1.5rem;
  z-index: 1500;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 400px;
}

.cookie-banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Cookie Settings Modal */
.cookie-settings-options {
  margin: 2rem 0;
}

.cookie-option {
  background-color: var(--sand-100);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.cookie-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-toggle-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cookie-option h3 {
  margin: 0;
  font-size: 1.125rem;
  color: var(--ink-900);
}

.cookie-option p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-800);
  line-height: 1.6;
}

.cookie-badge {
  background-color: var(--gold-500);
  color: var(--ink-900);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Toggle Switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  margin: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 26px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
  background-color: var(--gold-500);
}

.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(24px);
}

.cookie-switch input:disabled + .cookie-slider {
  background-color: var(--forest-600);
  cursor: not-allowed;
  opacity: 0.7;
}

.cookie-settings-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Content Pages */
.content-page {
  padding: 80px 0;
}

.content-page h1 {
  margin-bottom: 2rem;
  color: var(--ink-900);
}

.content-page h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--ink-900);
}

.content-page p,
.content-page ul {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.content-page ul {
  padding-left: 2rem;
}

.content-page li {
  margin-bottom: 0.5rem;
}

.last-updated {
  font-style: italic;
  color: var(--clay-400);
  margin-bottom: 2rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  section {
    padding: 48px 0;
  }

  .hero {
    padding: 64px 0;
  }

  .hero-container {
    gap: 2rem;
  }

  .hero-image {
    min-height: 300px;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--ink-900);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
  }

  nav ul.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .card-grid {
    gap: 1.5rem;
  }

  .card {
    max-width: 100%;
  }

  .ticker-container {
    gap: 1rem;
  }

  .ticker-item {
    min-width: 150px;
  }

  .modal-content {
    padding: 2rem;
  }

  .footer-content {
    gap: 2rem;
  }

  .cookie-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner-actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-banner-actions .btn {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
}
