@import "https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap";

:root {
  --brand-950: #0a1f14;
  --champagne-500: #d4af37;
  --platinum-100: #f1f3f5;
}

/* =====================
   GLOBAL
===================== */
body {
  font-family: Manrope, sans-serif;
  background-color: var(--brand-950);
  color: var(--platinum-100);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Noise overlay */
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  z-index: 9999;
}

/* =====================
   TYPOGRAPHY
===================== */
.font-editorial {
  font-family: "Cormorant Garamond", serif;
}

.text-balance {
  text-wrap: balance;
}

.text-stroke-white {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
  color: transparent;
}

/* =====================
   UI EFFECTS
===================== */
.glass-panel {
  background: #ffffff08;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.clip-text-image {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(
    to right,
    #d4af37,
    #f5f0e1,
    #d4af37
  );
  background-size: 200% auto;
  animation: shine 5s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* =====================
   HERO BACKGROUND FIX
===================== */

/* Remove React Unsplash image */
#hero img {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Remove absolute overlay div */
#hero > div.absolute {
  display: none !important;
}

/* Custom Hero Background */
#hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  z-index: 0;

  background-image:
    linear-gradient(rgba(10, 31, 20, 0.65), rgba(10, 31, 20, 0.65)),
    url("https://github.com/hasibulhhasib/images/blob/main/home.jpg?raw=true");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* =====================
   SCROLLBAR
===================== */
html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--brand-950);
}

::-webkit-scrollbar-thumb {
  background: #ffffff1a;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--champagne-500);
}

/* =====================
   MOBILE FIX
===================== */
@media (max-width: 768px) {
  #hero {
    background-attachment: scroll;
  }
}
