@charset "utf-8";
/* Vale Mining theme stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&family=Work+Sans:wght@500;600;700&display=swap');

:root {
  --color-accent: #d4a53f;      /* gold from logo */
  --color-accent-2: #0b7c7f;    /* teal from logo */
  --color-accent-3: #1f1f1f;    /* dark anchor */
  --color-bg: #f6f8fb;
  --color-surface: #ffffff;
  --color-muted: #5f6b7a;
  --color-ink: #12202f;
  --color-border: #e0e6ef;
  --shadow-soft: 0 20px 60px rgba(12, 30, 51, 0.12);
  --radius-lg: 18px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--color-ink);
  background: radial-gradient(circle at 20% 20%, rgba(11,124,127,0.05), transparent 32%),
              radial-gradient(circle at 80% 0%, rgba(212,165,63,0.08), transparent 30%),
              var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--color-accent-2); text-decoration: none; }
a:hover { color: var(--color-accent); }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

header.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent-2) 0%, var(--color-accent) 50%, var(--color-accent-2) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: 0.5px;
}

.logo img { width: 170px; height: auto; object-fit: contain; }

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  font-weight: 500;
}

nav a {
  padding: 10px 12px;
  border-radius: 10px;
  transition: all 0.2s ease;
  display: block;
  text-decoration: none;
}

nav a.active,
nav a:hover {
  background: rgba(221,68,84,0.12);
  color: var(--color-accent);
}

/* Dropdown Menu Styles */
.nav-item {
  position: relative;
}

.nav-item.dropdown {
  position: relative;
}

.dropdown-toggle::after {
  content: '▼';
  font-size: 10px;
  margin-left: 6px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.dropdown.open .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  min-width: 220px;
  box-shadow: 0 10px 35px rgba(15, 27, 45, 0.1);
  list-style: none;
  margin: 8px 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 10;
}

.dropdown-menu.show,
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  display: flex;
  flex-direction: column;
}

.dropdown-menu li {
  margin: 0;
  display: flex;
  width: 100%;
}

.dropdown-menu a {
  padding: 12px 20px;
  display: block;
  color: var(--color-ink);
  border-radius: 0;
  transition: all 0.15s ease;
  width: 100%;
  text-align: left;
}

.dropdown-menu a:hover {
  background: rgba(221, 68, 84, 0.08);
  color: var(--color-accent);
  padding-left: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(212, 165, 63, 0.25); }

.btn:active { transform: translateY(0); }

.btn.primary {
  background: linear-gradient(120deg, var(--color-accent) 0%, var(--color-accent-3) 50%, var(--color-accent) 100%);
  color: #fff;
  background-size: 200% auto;
  box-shadow: 0 8px 20px rgba(212, 165, 63, 0.30);
}

.btn.primary:hover { 
  background-position: right center;
  box-shadow: 0 12px 30px rgba(212, 165, 63, 0.40);
}

.btn.ghost {
  border-color: var(--color-accent-2);
  color: var(--color-accent-2);
  background: transparent;
}

.btn.ghost:hover {
  background: rgba(11, 124, 127, 0.08);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn[type="submit"] {
  min-width: 120px;
  font-weight: 600;
}

.btn[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section.filled { background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.92)); }

.section .section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.section .eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 12px;
  color: var(--color-accent);
  font-weight: 700;
}

.section h2 {
  font-family: 'Work Sans', sans-serif;
  margin: 8px 0 14px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
}

.muted { color: var(--color-muted); }

.grid {
  display: grid;
  gap: 24px;
}

.what-we-deliver-cards { margin-top: 24px; }

.grid.columns-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.columns-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.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; }

.card {
  background: var(--color-surface);
  border: 1px solid rgba(11,124,127,0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 12px 45px rgba(18, 32, 47, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: rise-in 0.65s ease forwards;
}

.card::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212,165,63,0.14), transparent);
  transition: top 0.3s ease;
  z-index: 0;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 70px rgba(17, 31, 46, 0.14);
}

.card:hover::before { top: 0; }

.card > * { position: relative; z-index: 1; }

.card h3 { margin: 0 0 10px; font-size: 20px; color: var(--color-ink); }

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(9, 68, 90, 0.08);
  color: var(--color-accent-2);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.4px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
  background: radial-gradient(circle at 12% 18%, rgba(212,165,63,0.18), transparent 36%),
              radial-gradient(circle at 88% 14%, rgba(11,124,127,0.20), transparent 32%),
              linear-gradient(135deg, #0f1f2e 0%, #10404a 50%, #0f1f2e 100%);
  color: #fff;
}

.hero .navbar a { color: #dfe7f3; }
.hero .navbar a.active, .hero .navbar a:hover { color: #fff; background: rgba(255,255,255,0.1); }

.hero-inner {
  padding: 30px 0 70px;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.slide-track {
  display: flex;
  transition: transform 0.7s ease;
}

.slide {
  min-width: 100%;
  position: relative;
  color: #fff;
}

.slide img { 
  width: 100%; 
  height: 420px; 
  object-fit: cover; 
  filter: brightness(0.65);
  transform: scale(1.1);
  transition: transform 0.5s ease-out;
}

.slide.active img {
  animation: parallax-zoom 20s ease-out forwards;
}

@keyframes parallax-zoom {
  0% { transform: scale(1.1); }
  100% { transform: scale(1.05); }
}

.slide .copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
  gap: 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 100%);
}

.slide h1 { font-family: 'Work Sans', sans-serif; font-size: clamp(32px, 4vw, 44px); margin: 0; }

.dots {
  position: absolute;
  bottom: 18px;
  right: 20px;
  display: flex;
  gap: 8px;
}

.dots button {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}

.dots button.active { background: #fff; }

.list-inline { display: flex; gap: 12px; flex-wrap: wrap; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}

.stat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid rgba(11,124,127,0.12);
  box-shadow: 0 12px 32px rgba(18, 32, 47, 0.08);
  animation: rise-in 0.65s ease forwards;
}

.stat-card strong { font-size: 28px; display: block; color: var(--color-accent-2); }

.timeline {
  border-left: 2px solid var(--color-border);
  padding-left: 18px;
  display: grid;
  gap: 16px;
}

.timeline .item { position: relative; }

.timeline .item::before {
  content: '';
  position: absolute;
  left: -27px;
  top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 6px rgba(221,68,84,0.15);
}

footer.site-footer {
  background: #0f1b2d;
  color: #dfe7f3;
  padding: 70px 0 50px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

footer a { color: #dfe7f3; }
footer a:hover { color: #fff; }

.footer-bottom { margin-top: 30px; color: #9fb0c9; font-size: 14px; }

.hero-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.section.accent {
  background: linear-gradient(135deg, rgba(11,124,127,0.05), rgba(212,165,63,0.08));
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.form-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

input, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  background: #fdfefe;
}

textarea { min-height: 140px; resize: vertical; }

input:focus, textarea:focus { outline: 2px solid rgba(11,124,127,0.35); }

.table-list { width: 100%; border-collapse: collapse; }
.table-list th, .table-list td { padding: 12px 10px; text-align: left; }
.table-list tr { border-bottom: 1px solid var(--color-border); }
.table-list th { font-family: 'Work Sans', sans-serif; font-size: 15px; }

.hero .navbar .btn.primary { border: none; }

@media (max-width: 900px) {
  nav ul { gap: 10px; }
  .navbar { flex-wrap: wrap; gap: 14px; }
  header.site-header { position: sticky; }
  .dropdown-menu { min-width: 180px; }
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .navbar { flex-wrap: wrap; }
  nav ul { gap: 12px; }
  .section { padding: 60px 0; }
}

/* Portfolio & Gallery Sections */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  cursor: pointer;
  box-shadow: 0 10px 35px rgba(15, 27, 45, 0.06);
  animation: rise-in 0.7s ease forwards;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  will-change: transform;
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-item:hover img { transform: scale(1.08); }

.portfolio-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,165,63,0.82), rgba(11,124,127,0.82));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 20px;
  font-weight: 600;
}

.portfolio-item:hover .overlay { opacity: 1; }

/* Testimonial/Quote Sections */
.testimonial {
  background: linear-gradient(135deg, rgba(11,124,127,0.10), rgba(212,165,63,0.12));
  padding: 32px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-accent);
  font-style: italic;
  color: var(--color-ink);
}

.testimonial .author { font-style: normal; font-weight: 600; color: var(--color-accent-2); margin-top: 16px; }

/* Feature List */
.feature-list {
  display: grid;
  gap: 16px;
}

.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature-item::before {
  content: '✓';
  font-weight: 700;
  color: var(--color-accent);
  font-size: 20px;
  flex-shrink: 0;
}

/* Animated Counter */
.counter-box {
  text-align: center;
  padding: 20px;
  animation: rise-in 0.65s ease forwards;
}

.counter-box .number {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: var(--color-accent-2);
  display: block;
}

.counter-box .label { color: var(--color-muted); font-weight: 500; }

/* Video/Media Section */
.media-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: var(--shadow-soft);
}

.media-hero img { width: 100%; height: 100%; object-fit: cover; }

.media-hero .play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  margin: auto;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.media-hero:hover .play-btn { background: rgba(0,0,0,0.5); transform: scale(1.1); }

/* Gradient Text */
.gradient-text {
  background: linear-gradient(120deg, var(--color-accent), var(--color-accent-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Smooth Scroll Behavior */
html { scroll-behavior: smooth; }

/* Form Enhancements */
form { display: flex; flex-direction: column; gap: 16px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

input[type="email"]:invalid,
input[type="tel"]:invalid,
textarea:invalid {
  border-color: #dc3545;
}

input[type="email"]:valid,
input[type="tel"]:valid,
textarea:valid {
  border-color: #28a745;
}

.form-error {
  color: #dc3545;
  font-size: 12px;
  display: none;
}

.form-group input:invalid + .form-error,
.form-group textarea:invalid + .form-error {
  display: block;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Image Lazy Loading */
img[loading="lazy"] {
  background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%, transparent 75%, #f0f0f0 75%, #f0f0f0);
  background-size: 20px 20px;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { background-position: -40px 0; }
  100% { background-position: calc(200% + 40px) 0; }
}

/* Breadcrumb Navigation */
.breadcrumb {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--color-muted);
}

.breadcrumb a {
  color: var(--color-accent-2);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .separator {
  color: var(--color-border);
}

/* Skip to Content Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Accessibility Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Better Mobile Tap Targets */
a, button { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; }

/* Reduced Motion Respect */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .navbar { flex-wrap: wrap; }
  nav ul { gap: 12px; }
  .section { padding: 60px 0; }
}

@media (max-width: 768px) {
  .slide img { height: 360px; }
  .hero-inner { padding: 20px 0 50px; }
  .section .section-head { flex-direction: column; }
  .portfolio-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .grid.columns-3 { grid-template-columns: 1fr; }
  .grid.columns-2 { grid-template-columns: 1fr; }
  nav ul { flex-direction: column; gap: 8px; }
  .navbar { padding: 12px 0; }
  .logo span { display: none; }
}

@media (max-width: 640px) {
  .slide img { height: 300px; }
  .hero-inner { padding-bottom: 30px; }
  .section { padding: 40px 0; }
  .slide .copy { padding: 24px; }
  .slide h1 { font-size: 24px; }
  .section h2 { font-size: 24px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
  .container { width: 95vw; }
}
