/*
Theme Name: Coreter
Theme URI: https://coreter.com
Author: Coreter
Author URI: https://coreter.com
Description: Corporate one-page theme for Coreter Mining & Mineral Processing. A hands-on mining company supplying rare earth minerals, copper, silver, and gold.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: coreter
Tags: one-page, corporate, mining, custom-logo, custom-menu
*/

/* ── RESET & BASE ── */
:root {
  --black: #0a0a0a;
  --charcoal: #1a1a1a;
  --dark-gray: #2a2a2a;
  --mid-gray: #6b6b6b;
  --light-gray: #c8c8c8;
  --off-white: #e8e4df;
  --cream: #f5f2ed;
  --gold: #c9a84c;
  --gold-light: #dbc278;
  --gold-dark: #a88a35;
  --copper: #b87333;
  --silver: #c0c0c0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--black);
  color: var(--off-white);
  overflow-x: hidden;
}

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  transition: all 0.4s ease;
}

.site-nav .custom-logo {
  height: 52px;
  width: auto;
  display: block;
}

.nav-links { display: flex; gap: 36px; list-style: none; }

.nav-links a {
  color: var(--light-gray);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s;
}

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

/* WordPress menu classes */
.nav-links .menu { display: flex; gap: 36px; list-style: none; }
.nav-links .menu li a {
  color: var(--light-gray);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links .menu li a:hover { color: var(--gold); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 100px 80px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--black);
}

.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.6) 40%, rgba(10,10,10,0.82) 100%);
}

.hero-texture {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.008) 2px, rgba(255,255,255,0.008) 4px);
  pointer-events: none;
  z-index: 2;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 100%, black 30%, transparent 70%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
}

.hero-left { max-width: 700px; }

.hero-tag {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-tag::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--cream);
  margin-bottom: 32px;
  letter-spacing: -0.5px;
}

.hero h1 em { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--light-gray);
  max-width: 600px;
  font-weight: 300;
}

.hero-stats { display: flex; flex-direction: column; gap: 40px; }
.stat { text-align: right; }

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 2px;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-top: 4px;
}

.scroll-line {
  position: absolute;
  bottom: 0;
  left: 100px;
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2s ease-in-out infinite;
  z-index: 3;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── SECTIONS ── */
section { padding: 72px 100px; position: relative; }

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
}

.section-tag {
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
}

.section-heading {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 28px;
  max-width: 720px;
  letter-spacing: -0.3px;
}

/* ── LEADERSHIP ── */
.leadership { background: var(--black); }

.leader-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  margin-top: 32px;
  background: var(--charcoal);
  border: 1px solid rgba(201,168,76,0.08);
}

.leader-photo {
  background: var(--dark-gray);
  height: 100%;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.leader-info { padding: 56px 56px 56px 0; }

.leader-name {
  font-family: 'Source Serif 4', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}

.leader-title {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  font-weight: 500;
}

.leader-bio {
  font-size: 15px;
  line-height: 1.85;
  color: var(--light-gray);
  font-weight: 300;
}

.leader-bio p + p { margin-top: 16px; }

.leader-companies {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.leader-company {
  padding: 10px 20px;
  border: 1px solid rgba(201,168,76,0.2);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
}

/* ── ABOUT ── */
.about { background: var(--charcoal); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 24px;
}

.about-text {
  font-size: 16px;
  line-height: 1.85;
  color: var(--light-gray);
  font-weight: 300;
}

.about-text p + p { margin-top: 20px; }

.about-highlight {
  background: var(--dark-gray);
  padding: 48px;
  border-left: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-highlight blockquote {
  font-family: 'Source Serif 4', serif;
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-highlight cite {
  font-style: normal;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── CAPABILITIES ── */
.capabilities { background: var(--black); }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 36px;
  background: rgba(201,168,76,0.1);
}

.cap-card {
  background: var(--charcoal);
  padding: 40px 36px;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.cap-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.cap-card:hover::after { transform: scaleX(1); }
.cap-card:hover { background: var(--dark-gray); }

.cap-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--gold);
}

.cap-card h3 {
  font-family: 'Source Serif 4', serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 16px;
}

.cap-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--mid-gray);
  font-weight: 300;
}

/* ── OPERATIONS ── */
.operations {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.operations-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.operations-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.72) 50%, rgba(10,10,10,0.88) 100%);
}

.operations > .section-tag,
.operations > .section-heading,
.operations > .ops-layout {
  position: relative;
  z-index: 2;
}

.operations {
  padding-top: 140px;
}

.ops-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30%;
  margin-top: 32px;
}

.ops-list { list-style: none; display: flex; flex-direction: column; }

.ops-item {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
  transition: all 0.3s ease;
}

.ops-item:hover { padding-left: 12px; }

.ops-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
}

.ops-item h4 {
  font-family: 'Source Serif 4', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 6px;
}

.ops-item p {
  font-size: 14px;
  color: var(--mid-gray);
  line-height: 1.65;
  font-weight: 300;
}

.ops-map-box {
  background: rgba(42,42,42,0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201,168,76,0.12);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  max-width: 420px;
  align-self: start;
  margin-top: 78px;
}

.ops-map-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 60%, rgba(184,115,51,0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(201,168,76,0.04) 0%, transparent 50%);
}

.ops-map-label {
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px; position: relative;
}

.ops-map-title {
  font-family: 'Source Serif 4', serif; font-size: 22px; font-weight: 600;
  color: var(--cream); margin-bottom: 12px; position: relative;
}

.ops-map-desc {
  font-size: 13px; line-height: 1.65; color: var(--light-gray);
  font-weight: 300; position: relative;
}

.ops-map-dots { display: flex; gap: 12px; margin-top: 20px; position: relative; }

.ops-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid var(--gold);
}

.ops-dot.active {
  background: var(--gold);
  box-shadow: 0 0 12px rgba(201,168,76,0.4);
}

/* ── ADVANTAGE ── */
.advantage { background: var(--charcoal); position: relative; overflow: hidden; }

.advantage::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 36px;
}

.adv-item {
  padding: 44px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  transition: all 0.4s ease;
}

.adv-item:hover {
  border-color: rgba(201,168,76,0.2);
  background: rgba(201,168,76,0.03);
}

.adv-item h3 {
  font-family: 'Source Serif 4', serif;
  font-size: 20px; font-weight: 600; color: var(--cream);
  margin-bottom: 14px; display: flex; align-items: center; gap: 14px;
}

.adv-item h3::before {
  content: ''; width: 8px; height: 8px;
  background: var(--gold); flex-shrink: 0;
}

.adv-item p {
  font-size: 14px; line-height: 1.75; color: var(--mid-gray);
  font-weight: 300; padding-left: 22px;
}

/* ── CTA ── */
.cta {
  background: var(--black); text-align: center;
  padding: 80px 100px; position: relative;
}

.cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(201,168,76,0.06) 0%, transparent 60%);
}

.cta-content { position: relative; z-index: 2; }

.cta h2 {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(32px, 4vw, 48px); font-weight: 600;
  color: var(--cream); margin-bottom: 20px; letter-spacing: -0.3px;
}

.cta p {
  font-size: 16px; color: var(--mid-gray); max-width: 520px;
  margin: 0 auto 44px; line-height: 1.7; font-weight: 300;
}

.cta-btn {
  display: inline-block; padding: 18px 52px;
  background: var(--gold); color: var(--black);
  text-decoration: none; font-size: 12px;
  letter-spacing: 4px; text-transform: uppercase;
  font-weight: 600; transition: all 0.4s ease;
}

.cta-btn:hover {
  background: var(--gold-light); transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.3);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--black); padding: 64px 100px 40px;
  border-top: 1px solid rgba(201,168,76,0.15);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-about .footer-logo {
  height: 44px;
  width: auto;
  display: block;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--mid-gray);
  font-weight: 300;
  margin-top: 16px;
}

.footer-col h4 {
  font-family: 'Source Serif 4', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--mid-gray);
  text-decoration: none;
  transition: color 0.3s;
  letter-spacing: 0.5px;
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-col p {
  font-size: 13px;
  color: var(--mid-gray);
  line-height: 1.75;
  font-weight: 300;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
}

.footer-copyright {
  font-size: 12px;
  color: var(--mid-gray);
  letter-spacing: 1px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 11px;
  color: var(--mid-gray);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.footer-bottom-links a:hover { color: var(--gold); }

.footer-cta-link {
  color: var(--gold);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .site-nav { padding: 16px 32px; }
  section { padding: 56px 32px; }
  .hero { padding: 100px 32px 60px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .ops-layout { grid-template-columns: 1fr; gap: 48px; }
  .leader-card { grid-template-columns: 1fr; }
  .leader-photo { min-height: 240px; }
  .leader-info { padding: 40px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { flex-direction: row; gap: 48px; }
  .stat { text-align: left; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .cap-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .leader-companies { flex-direction: column; gap: 12px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
}
