﻿@import url('https://fonts.googleapis.com/css2?family=Russo+One&family=Inter:wght@300;400;500;600;700&display=swap');

html, body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  padding-top: 80px;
  font-family: 'Russo One', sans-serif;
  color: #393939;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  margin-bottom: 0;
}

p {
  font-family: 'Inter', sans-serif;
  line-height: 1.75;
}

/* ===================================================
   VEGA UNIFIED BUTTON SYSTEM
   Primary: Orange (#f89939) | Secondary: Teal (#64c6c2)
   Standard: 6px radius | 15px 36px padding | Russo One
=================================================== */
.btn-vega-primary,
.btn-vega-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Russo One', sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 15px 36px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn-vega-primary {
  color: #fff;
  background: #f89939;
  box-shadow: 0 10px 30px rgba(248, 153, 57, 0.25);
}

.btn-vega-primary:hover {
  background: #e8851f;
  transform: translateY(-3px);
  box-shadow: 0 16px 42px rgba(248, 153, 57, 0.4);
}

.btn-vega-secondary {
  color: #fff;
  background: #64c6c2;
  box-shadow: 0 10px 30px rgba(100, 198, 194, 0.25);
}

.btn-vega-secondary:hover {
  background: #52b8b4;
  transform: translateY(-3px);
  box-shadow: 0 16px 42px rgba(100, 198, 194, 0.4);
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 80px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(5px);
  box-shadow: 0 2px 5px rgba(100, 198, 194, 0.18);
  z-index: 999;
  pointer-events: none;
  will-change: transform;
}

.custom-logo {
  position: fixed;
  top: 16px;
  left: 30px;
  height: 48px;
  width: auto;
  z-index: 1000;
  display: block;
}

.mobile-hamburger {
  display: none;
  position: fixed;
  top: 20px; right: 20px;
  z-index: 1001;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: transparent;
  border: none;
}

.mobile-hamburger span {
  width: 25px;
  height: 3px;
  background: #393939;
  border-radius: 2px;
  transition: all 0.3s ease;
}

#menu ul {
  position: fixed;
  top: 0; right: 30px;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 35px;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 1000;
}

#menu ul li {
  margin: 0;
}

#menu ul a {
  font-family: 'Russo One', sans-serif;
  color: #393939;
  font-size: 1.15rem;
  font-weight: 300;
  text-decoration: none;
  letter-spacing: 0.125rem;
  padding: 10px 0;
  position: relative;
  transition: color 0.3s ease;
}

#menu ul a::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 3px;
  background: #f89939;
  transition: width 0.4s ease;
}

#menu ul a:hover,
#menu ul a:focus {
  color: #f89939;
}

#menu ul a:hover::before {
  width: 100%;
}

#menu ul a:focus {
  outline: 2px solid #f89939;
  outline-offset: 2px;
}

/* ---------------------------------------------------
   SHRINKING HEADER (Updated & Fixed)
--------------------------------------------------- */
body::before,
.custom-logo,
#menu ul,
#menu ul a {
  transition: all 0.25s ease;
  will-change: height, transform, font-size;
}

body.header-shrink::before {
  height: 55px;
}

body.header-shrink .custom-logo {
  transform: scale(0.70) translateY(-4px);
  transform-origin: top left;
}

body.header-shrink #menu ul {
  height: 55px;
}

body.header-shrink #menu ul a {
  font-size: 0.95rem;
  letter-spacing: 0.09rem;
  padding-top: 4px;
}
/* --------------------------------------------------- */


.site-footer {
  margin-top: 60px;
  font-family: 'Russo One', sans-serif;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.footer-top-strip {
  width: 100%;
  height: 70px;
  background: #dff1f0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.footer-main {
  background: #fff;
  padding: 0 0 2.5rem 0;
  border-top: none;
}

.footer-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

/* Bigger footer logo */
.footer-logo {
  max-width: 240px; /* Adjust if needed */
  height: auto;
  margin: 2rem 0 1.25rem 0;
  display: block;
}

.footer-column h4 {
  color: #393939;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03125rem;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 0.5rem;
}

.footer-menu a {
  color: #393939;
  text-decoration: none;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-menu a:hover,
.footer-menu a:focus {
  color: #f89939;
  transform: translateX(5px);
}

.footer-menu a:focus {
  outline: 2px solid #f89939;
  outline-offset: 2px;
}

.footer-social {
  margin-top: 10px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  color: #393939;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.social-icon:hover,
.social-icon:focus {
  color: #f89939;
  transform: scale(1.1);
}

.social-icon:focus {
  outline: 2px solid #f89939;
  outline-offset: 2px;
}

.social-icon svg {
  margin-right: 8px;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.social-text {
  font-size: 0.9375rem;
}

/* Thinner copyright strip */
.footer-bottom {
  background: #f89939;
  padding: 1px 0; /* was 3px */
  border-top: 1px solid #e0e0e0;
  margin-bottom: 0;
  min-height: 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: center;
}

.copyright {
  font-family: 'Inter', sans-serif;
  color: #393939;
  font-size: 0.95rem;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.0270rem;
  padding: 2px 0;
}

.footer-tagline-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin-top: 1.25rem;
  font-style: italic;
  font-weight: 300;
}

@media screen and (min-width: 1024px) {
  .footer-content {
    align-items: flex-start;
    gap: 0;
  }

  .footer-company {
    flex: 0 0 370px;
    padding-right: 40px;
  }

  .footer-menus-group {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    align-items: flex-start;
  }

  .footer-menus-group .footer-column {
    flex: none;
    min-width: 0;
  }
}

@media screen and (max-width: 1023px) {
  .custom-logo {
    left: 20px;
    height: 32px;
    top: 24px;
  }

  #menu ul {
    right: 20px;
    gap: 22px;
  }

  #menu ul a {
    font-size: 0.8125rem;
    letter-spacing: 0.09375rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.875rem;
    text-align: center;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .footer-column {
    min-width: auto;
    width: 100%;
    text-align: center;
  }

  .footer-logo {
    max-width: 200px; /* keep smaller on mobile */
    margin: 0 auto 1.25rem auto;
    display: block;
  }

  .footer-menu a:hover {
    transform: translateX(0) scale(1.05);
  }

  .footer-menus-group {
    display: flex;
    flex-direction: column;
    gap: 1.875rem;
    text-align: center;
    width: 100%;
  }

  .footer-menus-group .footer-column {
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }
}

@media screen and (max-width: 480px) {
  body::before {
    height: 70px;
  }

  body {
    padding-top: 70px;
  }

  .custom-logo {
    top: 21px;
    left: 15px;
    height: 28px;
  }

  .mobile-hamburger {
    display: flex;
  }

  #menu ul {
    display: none;
  }

  body.mobile-menu-open body::before,
  body.mobile-menu-open .custom-logo {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  body.mobile-menu-open .mobile-hamburger {
    z-index: 9999;
  }

  body.mobile-menu-open #menu ul {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 9998;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.875rem;
    margin: 0;
    padding: 0;
  }

  body.mobile-menu-open #menu ul a {
    font-family: 'Russo One', sans-serif;
    font-size: 1.875rem;
    padding: 1.125rem 1.25rem;
    color: #393939;
    text-decoration: none;
    text-align: center;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 400;
    white-space: nowrap;
  }

  body.mobile-menu-open #menu ul a:hover {
    background: rgba(248, 153, 57, 0.1);
    color: #f89939;
    transform: scale(1.05);
  }

  body.mobile-menu-open #menu ul a::before {
    display: none;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }
}

/* Shared Portfolio Hero System */
.portfolio-hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  padding: 48px 6%;
  text-align: center;
}

.portfolio-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.portfolio-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 980px;
  text-align: center;
}

.portfolio-hero__badge {
  display: inline-block;
  font-family: 'Russo One', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 40px;
  margin-bottom: 26px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 12px 38px rgba(100, 198, 194, 0.3);
  backdrop-filter: blur(12px);
}

.portfolio-hero__title {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  letter-spacing: 0.09em;
  line-height: 1.1;
  margin: 0 0 16px;
  text-transform: uppercase;
  font-weight: 400;
  text-shadow: 0 4px 22px rgba(100, 198, 194, 0.24);
}

.portfolio-hero__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.7;
  margin: 0 auto 34px;
  max-width: 880px;
  color: rgba(255, 255, 255, 0.92);
}

.portfolio-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.portfolio-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Russo One', sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 36px;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  background: #f89939;
  box-shadow: 0 12px 36px rgba(248, 153, 57, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(248, 153, 57, 0.42);
}

.portfolio-hero__stats {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

/* Minerals-style hero reveal effects */
@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: heroFadeInUp 0.8s ease-out both;
}

.fade-in-delay-1 {
  animation: heroFadeInUp 0.8s ease-out 0.2s both;
}

.fade-in-delay-2 {
  animation: heroFadeInUp 0.8s ease-out 0.4s both;
}

.fade-in-delay-3 {
  animation: heroFadeInUp 0.8s ease-out 0.6s both;
}

@media (max-width: 1023px) {
  .portfolio-hero {
    min-height: 74vh;
    padding: 110px 5% 90px;
  }
}

@media (max-width: 600px) {
  .portfolio-hero {
    min-height: 68vh;
    padding: 96px 5% 72px;
  }

  .portfolio-hero__badge {
    padding: 8px 18px;
    letter-spacing: 0.18em;
  }
}

