:root {
  --primary-gold: #d4af37;
  --primary-gold-rgb: 212, 175, 55;
  --deep-black: #0a0a0a;
  --charcoal: #1a1a1a;
  --pure-white: #ffffff;
  --off-white: #f5f5f5;
  --accent-gold: #ffdf00;
  --text-grey: #a0a0a0;
  
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-bg: rgba(26, 26, 26, 0.8);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--deep-black);
  color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-gold);
  margin: 1rem auto 0;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
  transition: var(--transition-smooth);
}

nav.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 1rem 5%;
}

.logo {
  height: 50px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--off-white);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

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

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 10%;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../assets/hero-mining.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 1.5rem;
  max-width: 800px;
  margin-bottom: 2rem;
  color: var(--pure-white);
  animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-logo {
  max-width: 300px;
  margin-bottom: 2rem;
  animation: scaleIn 1s ease-out;
}

/* Sections */
section {
  padding: 100px 10%;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Services / Minerals Grid */
.minerals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.mineral-card {
  background: var(--charcoal);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
  border: 1px solid rgba(212, 175, 55, 0.1);
  position: relative;
}

.mineral-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-gold);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.mineral-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  filter: grayscale(0.5);
  transition: var(--transition-smooth);
}

.mineral-card:hover .mineral-img {
  filter: grayscale(0);
}

.mineral-info {
  padding: 1.5rem;
}

/* Form */
.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  background: var(--charcoal);
  padding: 3rem;
  border-radius: 15px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: span 2;
}

.contact-form label {
  margin-bottom: 0.5rem;
  color: var(--primary-gold);
  font-weight: 500;
}

.contact-form input, 
.contact-form textarea {
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  padding: 1rem;
  color: white;
  border-radius: 5px;
  transition: var(--transition-smooth);
}

.contact-form input:focus, 
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-gold);
}

.btn-submit {
  grid-column: span 2;
  background: var(--primary-gold);
  color: var(--deep-black);
  padding: 1.2rem;
  border: none;
  border-radius: 5px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-submit:hover {
  background: var(--accent-gold);
  transform: scale(1.02);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
  .about-content { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .btn-submit { grid-column: span 1; }
  .hero h1 { font-size: 2.5rem; }
}
