/* --------------------------------------------------
   GLOBAL RESET + BASE
-------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #0A0F1F;
  color: #F5F5F7;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Canela", serif;
  font-weight: 300;
  letter-spacing: -0.5px;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --------------------------------------------------
   COLOR TOKENS
-------------------------------------------------- */
:root {
  --midnight: #0A0F1F;
  --graphite: #2C2F36;
  --porcelain: #F5F5F7;
  --pearl: #E6E7EB;
  --gold: #D7C49E;
  --teal: #00D0C6;
}

/* --------------------------------------------------
   SECTIONS
-------------------------------------------------- */
.light-section {
  background: var(--porcelain);
  color: var(--midnight);
  padding: 120px 8%;
}

.dark-section {
  background: var(--midnight);
  color: var(--porcelain);
  padding: 120px 8%;
}

/* --------------------------------------------------
   HEADER + NAVIGATION
-------------------------------------------------- */
.site-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  background: rgba(10, 15, 31, 0.55);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand a {
  font-family: "Spectral", serif;
  font-size: 1.6rem;
  letter-spacing: -0.5px;
  color: var(--porcelain);
}

.brand-light { color: var(--porcelain); }
.brand-dark { color: var(--gold); }

.main-nav {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: var(--porcelain);
  position: relative;
  padding-bottom: 4px;
  transition: 0.3s ease;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.highlight {
  border: 1px solid var(--gold);
  padding: 6px 14px;
  border-radius: 4px;
}

.nav-link.highlight:hover {
  background: var(--gold);
  color: var(--midnight);
}

/* --------------------------------------------------
   HERO SECTION (FULLSCREEN WATER BACKGROUND)
-------------------------------------------------- */

.hero {
  display: block;
  width: 100%;
  position: relative;
}

.fullscreen-hero {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 8%;
  text-align: center;
  position: relative;
  color: var(--porcelain);
  overflow: hidden;
}

.hero-water-only {
  background: url('/hero-bkground.png') center center / cover no-repeat;
  position: relative;
}

/* Gradient overlay */
.hero-water-only .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 15, 31, 0.75) 0%,
    rgba(10, 15, 31, 0.55) 40%,
    rgba(10, 15, 31, 0.85) 100%
  );
  z-index: 1;
}

/* Noise texture */
.hero-water-only::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/noise.png');
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

/* Gold shimmer */
.hero-water-only::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--cursor-x, 50%) var(--cursor-y, 50%),
    rgba(215, 196, 158, 0.18) 0%,
    rgba(215, 196, 158, 0.10) 12%,
    rgba(215, 196, 158, 0.04) 26%,
    rgba(215, 196, 158, 0.00) 60%
  );
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0.55;
  animation: shimmer-drift 18s linear infinite;
  z-index: 0;
}

@keyframes shimmer-drift {
  0% { transform: translate(-10%, -10%) scale(1.1); }
  50% { transform: translate(10%, 10%) scale(1.15); }
  100% { transform: translate(-10%, -10%) scale(1.1); }
}

.hero-content {
  max-width: 900px;
  z-index: 2;
  position: relative;
}

.hero-content h1 {
  font-family: "Spectral", serif;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.85;
  margin-bottom: 30px;
}

.hero-content .cta {
  padding: 14px 32px;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: 0.3s ease;
}

.hero-content .cta:hover {
  background: var(--gold);
  color: var(--midnight);
}

/* --------------------------------------------------
   SERVICES GRID
-------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.service-item h3 {
  color: var(--midnight);
  margin-bottom: 10px;
}

/* --------------------------------------------------
   QUOTE SECTION
-------------------------------------------------- */
.gradient-threshold {
  padding: 160px 8%;
  background: linear-gradient(
    to bottom,
    var(--porcelain) 0%,
    var(--pearl) 25%,
    var(--graphite) 60%,
    var(--midnight) 100%
  );
  color: var(--porcelain);
  text-align: center;
  position: relative;
}

.gradient-threshold blockquote p {
  font-size: 2rem;
  max-width: 900px;
  margin: 0 auto 20px;
  line-height: 1.4;
}

.gradient-threshold .author {
  font-size: 1rem;
  opacity: 0.8;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}

/* --------------------------------------------------
   PORTFOLIO GRID
-------------------------------------------------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.project-card {
  background: var(--graphite);
  padding: 60px 30px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s ease;
}

.project-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
.site-footer {
  background: var(--midnight);
  padding: 80px 8%;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-brand h3 {
  font-family: "Spectral", serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.footer-brand p {
  max-width: 500px;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-links a {
  color: var(--porcelain);
  opacity: 0.8;
  transition: 0.3s ease;
}

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

.footer-copy {
  opacity: 0.6;
  font-size: 0.9rem;
}