/* =====================================================
   OPULENT DESIGN AND BUILD
   GLOBAL STYLES – BLACK & GOLD
   ===================================================== */

/* Brand variables + spacing tokens */
:root {
  /* ========== COLORS ========== */
  --black: #000000;
  --black-light: #050505;
  --black-lighter: #111111;
  --black-rgb: 0, 0, 0;
  
  --gold: #c9a24d;
  --gold-dark: #9f7e2e;
  --gold-bright: #d4af37;
  --gold-light: #f2d27b;
  
  /* ========== TEXT / FONT COLORS ========== */
  --text-main: #e8e8e8;
  --text-soft: #bfbfbf;
  --text-muted: #999999;
  --text-light: #f8f8f8;
  --text-white: #ffffff;
  --text-gold: #d6a852;
  --text-gold-bright: #f2d27b;
  --text-gold-dark: #d6b15a;
  --text-light-secondary: #ddd5c3;
  --text-secondary: #d0d0d0;
  --text-tertiary: #c5c5c5;
  --text-disabled: #999999;
  --text-inverted: #000000;
  --text-dark-bg: #050505;

  /* ========== SPACING ========== */
  --space-2xs: 0.5rem;   /*  8px */
  --space-xs:  0.75rem;  /* 12px */
  --space-sm:  1rem;     /* 16px */
  --space-md:  1.5rem;   /* 24px */
  --space-lg:  2rem;     /* 32px */
  --space-xl:  3rem;     /* 48px */
  --space-2xl: 4rem;     /* 64px */
  --space-3xl: 5rem;     /* 80px */

  /* ========== SECTION RHYTHM ========== */
  --section-y-default: 4rem;   /* 64px */
  --section-y-tight:   3rem;   /* 48px */
  --section-y-loose:   5rem;   /* 80px */
  --section-y-after-hero: 2.5rem; /* 40px */

  /* ========== TRANSITIONS ========== */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.22s ease;
  --transition-slow: 0.35s ease;
  --transition-smooth: 0.6s ease-out;

  /* ========== SHADOWS ========== */
  --shadow-sm: 0 10px 20px rgba(var(--black-rgb), 0.7);
  --shadow-md: 0 18px 40px rgba(var(--black-rgb), 0.85);
  --shadow-lg: 0 26px 55px rgba(var(--black-rgb), 0.9);
  --shadow-xl: 0 30px 70px rgba(var(--black-rgb), 0.95);
  
  --shadow-gold-ring-light: 0 0 0 1px rgba(201, 162, 77, 0.25);
  --shadow-gold-ring-medium: 0 0 0 1px rgba(201, 162, 77, 0.35);
  --shadow-gold-ring-dark: 0 0 0 1px rgba(201, 162, 77, 0.5);
  --shadow-gold-glow: 0 0 30px rgba(201, 162, 77, 0.35);

  /* ========== GRADIENTS ========== */
  --gradient-gold-horizontal: linear-gradient(to right, transparent, var(--gold), transparent);
  --gradient-dark-radial: radial-gradient(circle at top left, #222 0, var(--black-light) 55%, var(--black) 100%);
  --gradient-dark-radial-alt: radial-gradient(circle at bottom right, #1d1305 0, var(--black-light) 65%);

  /* ========== BORDERS ========== */
  --border-gold-light: 1px solid rgba(201, 162, 77, 0.08);
  --border-gold-medium: 1px solid rgba(201, 162, 77, 0.24);
  --border-gold-dark: 1px solid rgba(201, 162, 77, 0.35);
  --border-gold-heavy: 2px solid rgba(201, 162, 77, 0.45);

  /* ========== MOTION & TRANSITIONS ========== */
  --motion-fast: 0.15s;
  --motion-normal: 0.22s;
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);

}
.about-section,
.services-section,
.homepage-section {
  padding-block: var(--section-y-default);
}

/* Slightly tighter on small screens */
@media (max-width: 767.98px) {
  :root {
    --section-y-default: 3rem;       /* 48px */
    --section-y-tight:   2.25rem;    /* 36px */
    --section-y-loose:   4rem;       /* 64px */
    --section-y-after-hero: 1.75rem; /* 28px */
  }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Offset anchor scroll for fixed header */
#home-projects,
#portfolio-projects {
  scroll-margin-top: 120px; /* desktop header height */
}

/* Mobile adjustment */
@media (max-width: 768px) {
  .loader-percent,
  .loader-brand {
    font-size: 20px;
    letter-spacing: 0.28em;
  }

  #home-projects,
  #portfolio-projects {
    scroll-margin-top: 90px;
  }
}

/* -------------------------
   BASE / RESETS
   ------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--black);
  color: var(--text-main);
  font-family: 'Poppins', sans-serif;
  max-width: 100%;
  overflow-x: hidden;
}

a,
button,
input,
textarea,
select {
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
  cursor: pointer;
}


.expanded {
  max-width: 1320px;
  margin-inline: auto;
  width: 100%;
}

/* Optional: a bit of extra padding on tablets only */
@media (min-width: 768px) and (max-width: 991.98px) {
  .expanded {
    padding-inline: 7%;
  }
}

/* Images */
img {
  width: 100%;
  display: block;
}

/* Links */
a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--gold-dark);
}

/* Lists */
ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* Paragraphs */
p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-soft);
}

/* ====================================================
   GLOBAL SECTION RHYTHM
   ==================================================== */

/* Default spacing for all sections (single source) */
section {
  margin: 0;
  padding-block: var(--section-y-default);
}

/* Utility variants (if you want to use them later) */
.section--tight {
  padding-block: var(--section-y-tight);
}

.section--loose {
  padding-block: var(--section-y-loose);
}

/* Section immediately following hero/banner */
.main-banner + section {
  margin-top: 0;
  padding-top: var(--section-y-after-hero);
}

/************ 
LOADER
********** */

/* ==========================================================
   OPULENT PAGE TRANSITION – PREMIUM GOLD LOADER
   ========================================================== */

/* DEFAULT: visible on page load */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9000;

  background: radial-gradient(circle at center, #111 0%, #000 70%);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 1;
  visibility: visible;
  pointer-events: all;

  transition: opacity 0.45s ease, visibility 0s;
}

/* Hidden state */
.page-transition.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}




.page-transition::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(255,255,255,0.04),
    transparent 60%
  );
  pointer-events: none;
}


/* ==========================================================
   GOLD CONIC LOADER – OPULENT SIGNATURE
   ========================================================== */

.loader {
  width: 88px;
  aspect-ratio: 1;

  padding: 12px;
  border-radius: 50%;
  box-sizing: border-box;
  position: relative;

  /* Glassy depth */
  background: rgba(0, 0, 0, 0.45);

  /* Creates hollow ring */
  mask:
    conic-gradient(#000 0 0) content-box exclude,
    conic-gradient(#000 0 0);

  /* Subtle depth & glow */
  filter:
    blur(6px)
    drop-shadow(0 0 14px rgba(201, 162, 77, 0.28))
    drop-shadow(0 0 28px rgba(201, 162, 77, 0.18));
}

.loader::before {
  content: "";
  position: absolute;
  inset: 0;

  /* Architectural gold sweep */
  background:
    repeating-conic-gradient(
      from 0deg,
      transparent 0 10%,
      var(--gold) 12%,
      transparent 26% 52%
    );

  animation: opulent-spin 3.6s linear infinite;
}

/* Calm, confident rotation */
@keyframes opulent-spin {
  to { rotate: 1turn; }
}

/* ==========================================================
   MOBILE REFINEMENT
   ========================================================== */

@media (max-width: 768px) {
  .loader {
    width: 64px;
    padding: 10px;

    filter:
      blur(5px)
      drop-shadow(0 0 10px rgba(201, 162, 77, 0.24));
  }
}

/* ==========================================================
   ACCESSIBILITY
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
  .loader::before {
    animation: none;
  }
}


.page-transition.visible .loader {
  animation:
    loader-settle 0.7s cubic-bezier(0.2, 0.6, 0.2, 1) both,
    opulent-spin 3.6s linear infinite;
}

@keyframes loader-settle {
  from {
    transform: scale(1.05);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}



/* PAGE LOADER */
#page-loader {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, #111 0%, var(--black) 55%, var(--black) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  opacity: 1;
  transform: scale(1);
  visibility: visible;

  transition:
    opacity 0.65s ease,
    transform 0.65s ease,
    visibility 0s linear 0.65s;
}

/* Show cube loader only on home page */
body[data-page="home"] #page-loader {
  display: flex;
}

/* When JS adds .hidden → fade + tiny zoom */
#page-loader.hidden {
  opacity: 0;
  transform: scale(1.03);
  visibility: hidden;
  pointer-events: none;
}

/* Hide loader entirely on non-home pages */
body:not([data-page="home"]) #page-loader {
  display: none !important;
}

/* =========================
   CUBE LOADER – OPULENTDNB
   ========================= */

.cube-loader {
  display: inline-flex;
  gap: clamp(0.1rem, 1vw, 0.5rem);
  perspective: 1100px;
}

/* Base cube styling with stronger 3D look */
.cube {
  position: relative;

  width: clamp(34px, 8vw, 80px);
  height: clamp(34px, 8vw, 80px);

  border-radius: clamp(4px, 0.6vw, 8px);

  /* Bevel-style borders: lighter top/left, darker bottom/right */
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-top-color: rgba(255, 255, 255, 0.22);
  border-left-color: rgba(255, 255, 255, 0.14);
  border-bottom-color: rgba(0, 0, 0, 0.9);
  border-right-color: rgba(0, 0, 0, 0.85);

  /* Multi-layered background for 3D plating */
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.28), transparent 55%),
    radial-gradient(circle at 80% 110%, rgba(0, 0, 0, 0.9), #000),
    linear-gradient(145deg, #111 0%, #050505 45%, #000 100%);

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  font-size: clamp(1.6rem, 3.5vw, 3.15rem);

  letter-spacing: 0.06em;
  color: var(--text-light);
  text-transform: uppercase;
  overflow: hidden;

  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 215, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -8px 18px rgba(0, 0, 0, 0.95);

  transform-style: preserve-3d;
  transform-origin: center center;

  transition:
    transform 0.3s cubic-bezier(0.23, 0.82, 0.35, 1),
    box-shadow 0.3s ease,
    opacity 0.3s ease;

  will-change: transform, box-shadow, opacity;
}

.cube-gap {
  margin-right: clamp(8px, 2.5vw, 20px);
}

/* Subtle base glow on front face (inner glassy sheen) */
.cube::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.14),
      transparent 35%,
      transparent 70%,
      rgba(255, 215, 0, 0.14)
    );
  opacity: 0.9;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Golden highlight sweep (premium streak) */
.cube::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 215, 0, 0.0) 20%,
    rgba(255, 215, 0, 0.95) 40%,
    rgba(255, 255, 255, 0.9) 52%,
    rgba(255, 215, 0, 0.95) 64%,
    transparent 80%
  );
  transform: translateX(-130%) skewX(-8deg);
  opacity: 0;
  pointer-events: none;
}

/* =========================
   ANIMATIONS (HOME ONLY)
   ========================= */

body[data-page="home"] .cube {
  animation:
    cubePop3D 0.75s cubic-bezier(0.19, 0.78, 0.29, 1.02) forwards,
    cubeFloat 2.4s ease-in-out 0.75s infinite alternate;
  animation-delay: var(--delay, 0s);
}

body[data-page="home"] #page-loader:not(.hidden) .cube::before {
  animation: cubeSweep 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
  animation-delay: calc(var(--delay, 0s) + 0.15s);
  opacity: 1;
}


/* Stagger timings per letter */
.cube-loader .cube:nth-child(1)  { --delay: 0s; }
.cube-loader .cube:nth-child(2)  { --delay: 0.04s; }
.cube-loader .cube:nth-child(3)  { --delay: 0.08s; }
.cube-loader .cube:nth-child(4)  { --delay: 0.12s; }
.cube-loader .cube:nth-child(5)  { --delay: 0.16s; }
.cube-loader .cube:nth-child(6)  { --delay: 0.20s; }
.cube-loader .cube:nth-child(7)  { --delay: 0.24s; }
.cube-loader .cube:nth-child(8)  { --delay: 0.28s; }
.cube-loader .cube:nth-child(9)  { --delay: 0.32s; }
.cube-loader .cube:nth-child(10) { --delay: 0.36s; }

/* Golden highlight sweep */
@keyframes cubeSweep {
  0% {
    transform: translateX(-140%) skewX(-8deg);
    opacity: 0;
  }
  15% {
    opacity: 0.85;
  }
  45% {
    opacity: 1;
  }
  70% {
    opacity: 0.85;
  }
  100% {
    transform: translateX(140%) skewX(-8deg);
    opacity: 0;
  }
}


/* 3D entrance + softer bounce */
@keyframes cubePop3D {
  0% {
    transform:
      translateY(18px)
      scale(0.82)
      rotateX(-26deg)
      rotateY(18deg);
    opacity: 0;
    box-shadow:
      0 26px 40px rgba(0, 0, 0, 0.95),
      0 0 0 1px rgba(255, 215, 0, 0.25),
      inset 0 2px 0 rgba(255, 255, 255, 0.16),
      inset 0 -10px 20px rgba(0, 0, 0, 1);
  }
  55% {
    transform:
      translateY(-6px)
      scale(1.06)
      rotateX(10deg)
      rotateY(-7deg);
    opacity: 1;
  }
  82% {
    transform:
      translateY(2px)
      scale(0.98)
      rotateX(-4deg)
      rotateY(3deg);
  }
  100% {
    transform:
      translateY(0)
      scale(1)
      rotateX(0deg)
      rotateY(0deg);
    opacity: 1;
  }
}

/* Gentle idle float */
@keyframes cubeFloat {
  0% {
    transform:
      translateY(0)
      scale(1)
      rotateX(0deg)
      rotateY(0deg);
    box-shadow:
      0 18px 32px rgba(0, 0, 0, 0.95),
      0 0 0 1px rgba(255, 215, 0, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.14),
      inset 0 -8px 18px rgba(0, 0, 0, 0.95);
  }
  50% {
    transform:
      translateY(-3px)
      scale(1.01)
      rotateX(5deg)
      rotateY(-3deg);
    box-shadow:
      0 22px 36px rgba(0, 0, 0, 1),
      0 0 0 1px rgba(255, 215, 0, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      inset 0 -10px 20px rgba(0, 0, 0, 1);
  }
  100% {
    transform:
      translateY(2px)
      scale(0.995)
      rotateX(-3deg)
      rotateY(2deg);
    box-shadow:
      0 16px 28px rgba(0, 0, 0, 0.9),
      0 0 0 1px rgba(255, 215, 0, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -7px 16px rgba(0, 0, 0, 0.95);
  }
}
/* =========================
   STOP ANIMATION WHEN LOADER HIDES
   ========================= */

#page-loader.hidden .cube {
  transform: translateY(-10px) scale(0.98);
}

/* When JS adds .hidden → directional luxury exit */
#page-loader.hidden {
  opacity: 0;
  transform: translateY(-18px) scale(1.03);
  visibility: hidden;
  pointer-events: none;
}



/* -------------------------
   SECTION HEADINGS
   ------------------------- */

.section-heading {
  margin-bottom: var(--space-md);
}
/* Right-aligned section heading (gold line + text) */
.section-heading--right {
  text-align: right;
}

/* Push heading to the right on desktop */
@media (min-width: 992px) {
  .section-heading--right {
    margin-left: auto;
  }
}

.section-heading h2 {
  font-size: 22px;
  font-weight: 700;
  text-transform: capitalize;
  color: var(--text-main);
  line-height: 1.45; /* unitless for better scaling */
}

@media (min-width: 576px) {
  .section-heading h2 {
    font-size: 34px;
    line-height: 1.4; /* ~48px at 34px font-size */
    text-transform: uppercase;
  }
}

.section-heading h2 em {
  color: var(--gold);
  font-style: normal;
  padding-left: 100px;
  position: relative;
}

.section-heading h2 em::before {
  width: 80px;
  height: 2px;
  background-color: var(--gold);
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
}

/* -------------------------
   BUTTONS – REFINED GOLD (MATCHES BROCHURE CTA)
------------------------- */

button.main-button,
.main-button,
.primary-button a,
.white-button a {
  /* Typography */
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.1em;

  /* Dark text for calmer contrast */
  color: var(--text-inverted);

  /* Brochure-style gold */
  background: linear-gradient(
    135deg,
    var(--gold-bright),
    var(--gold)
  );

  padding: 14px 38px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: none;
  outline: none;
  cursor: pointer;

  transition:
    color      var(--motion-fast) var(--ease-luxury),
    background var(--motion-fast) var(--ease-luxury),
    box-shadow var(--motion-fast) var(--ease-luxury),
    transform  var(--motion-fast) var(--ease-luxury);

  -webkit-tap-highlight-color: transparent;
}

/* -------------------------
   HOVER – DESKTOP ONLY
------------------------- */
@media (hover: hover) {
  button.main-button:hover,
  .main-button:hover,
  .primary-button a:hover,
  .white-button a:hover {
    background: var(--gold-light);
    color: var(--text-inverted);

    transform: translateY(-1px);

    box-shadow:
      0 6px 16px rgba(201, 162, 77, 0.35);
  }
}

/* -------------------------
   ACTIVE / TAP
------------------------- */
button.main-button:active,
.main-button:active,
.primary-button a:active,
.white-button a:active {
  transform: scale(0.97);
  box-shadow:
    0 3px 8px rgba(201, 162, 77, 0.25);
}

/* -------------------------
   FOCUS – ACCESSIBLE
------------------------- */
button.main-button:focus-visible,
.main-button:focus-visible,
.primary-button a:focus-visible,
.white-button a:focus-visible {
  box-shadow:
    0 0 0 2px rgba(201, 162, 77, 0.35),
    0 6px 16px rgba(201, 162, 77, 0.35);
}



/* -------------------------
   TYPOGRAPHY REFINEMENTS
   ------------------------- */

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: 1.1px;
}

h4,
h5,
h6 {
  font-weight: 500;
  letter-spacing: 0.8px;
}

small,
span {
  letter-spacing: 0.3px;
}

/* ====================================================
   UTILITY CLASSES – SPACING
   ==================================================== */

.mt-1 { margin-top: var(--space-2xs); }
.mt-2 { margin-top: var(--space-xs); }
.mt-3 { margin-top: var(--space-sm); }
.mb-1 { margin-bottom: var(--space-2xs); }
.mb-2 { margin-bottom: var(--space-md); }

/* ====================================================
   HEADER & NAVIGATION – FIXED OVER HERO
   ==================================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Base nav bar */
.main-navigation {
  position: relative;
  width: 100%;
  padding: 20px 0;
  position: relative;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0);
  -webkit-backdrop-filter: saturate(120%);
  backdrop-filter: saturate(120%);
  transition:
    background-color 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.main-navigation::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0)
  );
  z-index: -1;
  opacity: 1;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}


/* Gradient over hero when at top */
header.nav-scrolled .main-navigation::before {
  opacity: 0;
}


/* Solid when scrolled */
header.nav-scrolled .main-navigation {
  background-color: rgba(0, 0, 0, 0.92);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
  padding: 8px 0;
}


/* Brand / Logo */
.navbar-light {
  padding: 10px 0;
}

.navbar-brand img {
  max-height: none;
  width: auto;
  height: 100px;
  transform: scale(1);
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
header.nav-scrolled .navbar-light {
  padding: 0;
}

header.nav-scrolled .navbar-brand img {
  transform: scale(0.85) translateY(-2px);
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.6));
}

header:not(.nav-scrolled) .navbar-brand img {
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.4));
}

header.nav-scrolled .navbar .nav-link {
  padding-top: 8px;
  padding-bottom: 6px;
}



@media (min-width: 992px) {
  .navbar-light {
    padding: 0;
  }
}

.navbar-light .navbar-brand {
  padding: 0;
}

@media (min-width: 992px) {
  .navbar-light .navbar-brand {
    padding: 14px 0 0 0;
  }
}



/* Collapse alignment */
.navbar-expand-lg .navbar-collapse {
  justify-content: flex-end;
}

/* Nav items */
.navbar-light .navbar-nav .nav-item {
  margin-left: 0;
  text-align: center;
  border-bottom: 1px solid rgba(250, 250, 250, 0.08);
}

.navbar-light .navbar-nav .nav-item:last-child {
  border-bottom: none;
}

@media (min-width: 992px) {
  .navbar-light .navbar-nav .nav-item {
    margin-left: 20px;
    border-bottom: none;
  }
}

/* Mobile nav background */
.navbar-nav {
  background-color: #111;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  border-radius: 7.5px;
  padding: 10px 20px;
  margin-top: 10px;
}

@media (max-width: 991px) {
  .navbar-nav {
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  }
}

@media (min-width: 992px) {
  .navbar-nav {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
  }
}

/* Nav links – size & underline */
.navbar .nav-link {
  position: relative;
  color: var(--text-white) !important;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 13.5px;
  font-weight: 500;
  padding: 12px 20px 8px;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: var(--gold);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 100%;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--gold) !important;
}

/* Tablet & mobile nav text size */
@media (max-width: 991px) {
  .navbar .nav-link {
    font-size: 14px;
    letter-spacing: 1.2px;
  }
}

@media (max-width: 767px) {
  .navbar .nav-link {
    font-size: 15px;
    letter-spacing: 0.8px;
  }
}

@media (max-width: 991px) {
  .navbar .nav-link::after {
    display: none;
  }
}

/* Toggler */

/* MICRO-BOUNCE ON MOBILE TOGGLER TAP */
.navbar-light .navbar-toggler {
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
  border: 2px solid var(--gold);
  border-radius: 8px;
}

.navbar-light .navbar-toggler:active {
  transform: scale(0.92);
}

/* Make hamburger lines gold */
.navbar-light .navbar-toggler-icon {
  filter: invert(58%) sepia(35%) saturate(380%)
          hue-rotate(6deg) brightness(95%) contrast(90%);
}

/* Slight glow ONLY when menu is expanded */
.navbar-light .navbar-toggler[aria-expanded="true"] {
  box-shadow: 0 0 10px rgba(201, 162, 77, 0.6);
}


/* ====================================================
   HERO / MAIN BANNER (PURE CSS – FINAL)
==================================================== */

.main-banner {
  position: relative;
  width: 100%;
  min-height: 60vh;              /* MOBILE BASE HEIGHT */
  margin: 0;
  padding: 0;
  background-color: #000;
  text-align: center;
  overflow: hidden;
}

/* =========================
   HERO CONTAINER
========================= */

.hero-css {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
}

/* =========================
   HERO SLIDES
========================= */

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

/* =========================
   HERO IMAGES
========================= */

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: scale(1.04);
  transition: transform 9s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-slide.is-active img {
  transform: scale(1.08);
}

/* =========================
   DARK OVERLAY
========================= */

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

/* =========================
   HERO SCROLL BUTTON
========================= */

button.hero-scroll {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(201, 162, 77, 0.85);

  cursor: pointer;
  padding: 0;
  margin: 0;

  appearance: none;
  -webkit-appearance: none;
}

button.hero-scroll .chevron {
  position: relative;
  z-index: 2;
}

button.hero-scroll:hover {
  box-shadow:
    0 0 0 6px rgba(201, 162, 77, 0.18),
    0 12px 30px rgba(0, 0, 0, 0.6);
}

/* =========================
   HERO ARROWS (DESKTOP)
========================= */

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;

  filter:
    drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 6px rgba(212, 175, 55, 0.35));

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 15;
}

.hero-arrow--prev { left: 32px; }
.hero-arrow--next { right: 32px; }

.main-banner:hover .hero-arrow {
  opacity: 1;
  pointer-events: auto;
}

.hero-arrow:hover {
  transform: translateY(-50%) scale(1.05);
}

/* Chevron */
.hero-arrow__chevron {
  display: block;
  width: 32px;
  height: 32px;
  border-width: 4px;
  border-style: solid;
  border-color: transparent;
}

.hero-arrow__chevron--right {
  border-top-color: var(--gold);
  border-right-color: var(--gold);
  transform: rotate(45deg);
}

.hero-arrow__chevron--left {
  border-top-color: var(--gold);
  border-left-color: var(--gold);
  transform: rotate(-45deg);
}

/* =========================
   RESPONSIVE HEIGHTS
========================= */

@media (max-width: 991.98px) {
  .main-banner { min-height: 68vh; }
  .hero-css { height: 68vh; }
  .hero-arrow { display: none; }
}

@media (min-width: 992px) {
  .main-banner { min-height: 100vh; }
  .hero-css {
    height: 100vh;
    max-height: 820px;
  }
}

/* =========================
   GPU / FLICKER SAFETY
========================= */

.hero-slide,
.hero-slide img,
.hero-slide::after {
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: opacity, transform;
}

/* ====================================================
   HERO INTRO SECTION (UNCHANGED)
==================================================== */

.hero-intro {
  margin-top: 0;
  padding: 24px 0 32px;
  background-color: var(--black);
}

@media (max-width: 767.98px) {
  .hero-intro {
    padding: 16px 0 24px;
  }
}

.hero-text-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-text-wrapper .header-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.1s ease-out 0.3s forwards;
}

.main-banner + .hero-intro .header-text h6 {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  color: var(--text-soft);
}

.main-banner + .hero-intro .header-text h2 {
  font-size: 36px;
  line-height: 1.3;
}

.header-text em {
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .main-banner + .hero-intro .header-text h2 {
    font-size: 28px;
  }
}

/* Hero intro buttons layout */
.hero-intro .white-button {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-intro .white-button a {
  margin: 0 !important;
}

@media (max-width: 575.98px) {
  .hero-intro .white-button {
    flex-direction: column;
    align-items: center;
  }

  .hero-intro .white-button a {
    min-width: 230px;
    text-align: center;
  }
}

/* ====================================================
   HOMEPAGE 
   ==================================================== */

/* =====================================================
   REVEAL-ON-SCROLL 
===================================================== */

.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity   var(--motion-normal) var(--ease-luxury),
    transform var(--motion-normal) var(--ease-luxury);
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Child stagger inside rows */
.reveal-on-scroll > .row > [class*="col-"] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity   var(--motion-fast) var(--ease-luxury),
    transform var(--motion-fast) var(--ease-luxury);
}

.reveal-on-scroll.in-view > .row > [class*="col-"] {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}



.reveal-on-scroll.revealed {
  pointer-events: auto;
  will-change: auto;
}

/* Extra GPU hint for Safari */
@supports (-webkit-touch-callout: none) {
  .reveal-on-scroll {
    transform-style: preserve-3d;
  }
}

/* =====================================================
   HOMEPAGE – FEATURED PROJECT CARDS (LUX TOUCH)

===================================================== */


.section-featured-projects .project-card-media img {
  height: 230px;   /* full hero height */
}

@media (max-width: 768px) {
  .section-featured-projects .project-card-media img {
    height: 180px;
  }
}

/* =========================================
   HOME – OUR EXPERIENCE PANEL
   ========================================= */

.section-experience {
  background: #000;
  padding-top: var(--section-y-tight);
  padding-bottom: var(--section-y-tight);
}

/* Reuse .portfolio-panel base, just refine a bit */
.experience-panel {
  border-radius: 24px;
  padding: 28px 26px 26px;
}

.experience-heading {
  text-align: center;
  color: var(--text-gold);
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 14px;
}

/* Thin gold line under heading */
.experience-heading::after {
  content: "";
  display: block;
  width: 80px;
  height: 1px;
  margin: 14px auto 0;
  background: linear-gradient(
    to right,
    transparent,
    #f2d27b,
    transparent
  );
  opacity: 0.85;
}

.experience-item {
  text-align: center;
  padding: 14px 8px;
  position: relative;
}

.experience-number {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-gold-bright);
  margin-bottom: 4px;
  transition: transform 0.25s ease, text-shadow 0.25s ease;
}

.experience-label {
  font-size: 0.92rem;
  color: var(--text-soft);
}

/* Vertical gold separators between items on desktop */
@media (min-width: 992px) {
  .experience-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18%;
    right: 0;
    width: 1px;
    height: 64%;
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(214, 177, 90, 0.9),
      transparent
    );
  }
}

/* Subtle hover lift – luxury micro-interaction */
.experience-item:hover .experience-number {
  transform: translateY(-2px);
  text-shadow: 0 0 16px rgba(242, 210, 123, 0.45);
}

/* =========================================
   HOME – "WHAT WE BUILD" PANEL
   ========================================= */

.section-what-we-build {
  background: #000;
  padding-top: var(--section-y-tight);
  padding-bottom: var(--section-y-tight);
}

.build-panel {
  border-radius: 24px;
  padding: 28px 26px 30px;
}

.build-heading {
  text-align: center;
  color: var(--text-gold);
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 18px;
}

.build-heading::after {
  content: "";
  display: block;
  width: 90px;
  height: 1px;
  margin: 16px auto 0;
  background: linear-gradient(
    to right,
    transparent,
    #f2d27b,
    transparent
  );
  opacity: 0.85;
}

.build-item {
  text-align: center;
  padding: 16px 10px 10px;
  position: relative;
  cursor: default;
}

.build-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, #f6e1a4 0, #c9a24d 45%, #8c6a29 100%);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(9, 9, 9, 0.8);
}

.build-icon i {
  font-size: 22px;
  color: var(--text-dark-bg);
}

.build-title {
  margin-top: 4px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-main);
}

.build-copy {
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--text-soft);
}

/* Subtle interactive feel */
.build-item:hover .build-icon {
  transform: translateY(-3px);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(242, 210, 123, 0.65);
  transition:
    transform 0.22s ease-out,
    box-shadow 0.22s ease-out;
}

.build-item:hover .build-title {
  color: var(--text-gold);
}

/* Slight vertical dividers on large screens */
@media (min-width: 992px) {
  .build-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18%;
    right: 0;
    width: 1px;
    height: 64%;
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(214, 177, 90, 0.9),
      transparent
    );
  }
}

/* =========================================
   HOME – DESIGN + BUILD ADVANTAGE (CARDS)
   ========================================= */

.section-design-build {
  background: #000;
}

/* Right-side heading alignment */
.section-design-build .section-heading--right {
  max-width: 420px;
}

@media (min-width: 992px) {
  .section-design-build .section-heading--right {
    margin-left: auto;
    text-align: right;
  }
}

/* Left-side cards container */
.design-build-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Pill card – inspired by your reference screenshot */
.design-build-card {
  border-radius: 40px;
  padding: 18px 24px 16px;
  background: #121212;
  border: 1px solid rgba(201, 162, 77, 0.24);
  color: var(--text-light);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.8),
    0 14px 32px rgba(0, 0, 0, 0.85);
}

.design-build-card h5 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  margin-bottom: 4px;
  color: var(--text-gold); /* gold tone */
}

.design-build-card p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 0;
  color: var(--text-secondary);
}

/* Hover subtle lift on desktop */
@media (hover: hover) {
  .design-build-card {
    transition:
      transform 0.22s ease-out,
      box-shadow 0.22s ease-out,
      border-color 0.22s ease-out,
      background 0.22s ease-out;
  }

  .design-build-card:hover {
    transform: translateY(-2px);
    box-shadow:
      0 0 0 1px rgba(201, 162, 77, 0.45),
      0 18px 40px rgba(0, 0, 0, 0.9);
    border-color: rgba(201, 162, 77, 0.55);
    background: #151515;
  }
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .section-design-build .section-heading--right {
    text-align: left;
    margin-left: 0;
    margin-top: 8px;
  }
}

/* =========================================
   HOME – FEATURED PROJECT CARDS
   ========================================= */

.section-featured-projects {
  background: radial-gradient(circle at top, #151515 0, #000 55%, #000 100%);
  position: relative;
}

.project-card--home {
  border-radius: 22px;
  padding: 0;
  background: transparent;
  transition:
    transform 0.22s ease-out,
    box-shadow 0.22s ease-out,
    border-color 0.22s ease-out;
  border: 1px solid rgba(201, 162, 77, 0.08);
}

/* Split layout grid for home featured projects */
.section-featured-projects .section-heading h2 {
  font-size: 30px; /* slightly larger heading for this section only */
  text-align: left;
}

/* Vertically center text in Recently Delivered section */
.section-featured-projects .col-lg-4,
.section-featured-projects .col-xl-5 {
  display: flex;
  align-items: center;   /* vertical center */
  padding-bottom: 24px;
}

.featured-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.featured-projects-item {
  height: 100%;
}

/* Ensure cards stretch nicely inside the grid */
.section-featured-projects .project-card.project-card--home {
  display: block;
  height: 100%;
}

.project-card--home .project-card-media img {
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: brightness(0.9);
}

.project-card--home .project-card-overlay {
  transition: background 0.35s ease, opacity 0.35s ease;
}

/* Hover state – subtle, premium */
.project-card--home:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(201, 162, 77, 0.35);
  border-color: rgba(201, 162, 77, 0.55);
}

.project-card--home:hover .project-card-media img {
  transform: scale(1.05);
  filter: brightness(1);
}

.project-card--home:hover .project-card-overlay {
  background: linear-gradient(
    140deg,
    rgba(0, 0, 0, 0.35),
    rgba(201, 162, 77, 0.75)
  );
}

/* ====================================================
   ABOUT PAGE – TOP HEADING
   ==================================================== */

.page-intro {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-intro .section-heading h2 {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.container.narrow {
  max-width: 900px;
}

.about-hero-block {
  padding-block: var(--section-y-loose); /* 80px desktop */
}


.signature-stats {
  padding: 2.5rem 0;
  background: #050505;
}

.stat-pill {
  border: 1px solid rgba(201,162,77,0.4);
  border-radius: 999px;
  padding: 1.1rem 1.6rem;
  display: inline-block;
  min-width: 220px;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 600;
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.8;
}



/* Cards */
.lux-card,
.value-card {
  border-radius: 20px;
  border: 1px solid rgba(201,162,77,0.35);
  padding: 1.4rem 1.5rem;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
}

.lux-card h5,
.value-card h5 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.5rem;
}

/* Homepage – Founder / Experience Strip */
.section-founder-strip {
  padding: 28px 0 8px;
}

.founder-strip {
  max-width: 720px;
  margin: 0 auto;
}

.founder-tagline {
  font-size: 25px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 6px;
}

.founder-copy {
  font-size: 15px;
  color: var(--text-soft);
  font-weight: 300;
  margin: 0;
  line-height: 1.7;
}



@media (max-width: 575.98px) {
  .founder-tagline {
    font-size: 13px;
    letter-spacing: 0.14em;
  }
  .founder-copy {
    font-size: 14px;
  }
}

/* ============================
   OUR PROCESS – STACKED CARDS
   ============================ */

.process-timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 2.4rem;
  margin-top: 3rem;
}

/* outer dark card (black + gold) */
.process-step {
  position: relative;
  width: 320px;
  max-width: 100%;
  padding: 2.4rem 2.1rem 2.3rem;
  border-radius: 28px;
  background: linear-gradient(135deg, #171717, #050505);
  border: 1px solid rgba(201, 162, 77, 0.65);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
  overflow: visible;
}

/* inner “white” card (very light on dark theme) */
.process-step::before {
  content: "";
  position: absolute;
  inset: 16px 16px 16px 16px;
  border-radius: 22px;
  background: #050505; /* almost black, can switch to #ffffff for true white */
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03);
  z-index: 0;
}

/* content sits above inner card */
.process-step > * {
  position: relative;
  z-index: 1;
}

/* STEP pill badge */
.step-index {
  position: absolute;
  top: 14px;
  right: 24px;
  transform: translateY(0);
  padding: 0.22rem 1.1rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--text-main);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* add "STEP" label before the number */
.step-index::before {
  content: "STEP ";
}

/* title */
.process-step h5 {
  margin: 2.2rem 0 0.5rem;   /* push down to clear badge */
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-light);
  text-align: left;
}

/* body copy */
.process-step p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-soft);
  text-align: left;
}

/* hover lift & subtle gold glow */
@media (hover: hover) {
  .process-step {
    transition:
      transform 0.22s ease-out,
      box-shadow 0.22s ease-out,
      border-color 0.22s ease-out,
      background 0.22s ease-out;
  }

  .process-step:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 162, 77, 0.95);
    box-shadow:
      0 26px 55px rgba(0, 0, 0, 1),
      0 0 0 1px rgba(201, 162, 77, 0.5);
    background: linear-gradient(135deg, #20160b, #050505);
  }
}

/* responsive tweaks */
@media (max-width: 992px) {
  .process-timeline {
    gap: 1.8rem 1.8rem;
  }
}

@media (max-width: 576px) {
  .process-step {
    width: 100%;
  }
}

/* =========================
   FOUNDER IMAGE
   ========================= */

.founder-portrait {
  max-width: 420px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}

.founder-portrait img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   FOUNDER IDENTITY BLOCK
   ========================= */

.founder-identity {
  margin-bottom: 8px;
}

.founder-identity .gold-line {
  display: block;
  width: 44px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 14px;
}

.founder-name {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.founder-role {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light-secondary);
  line-height: 1.6;
}

.founder-role span {
  color: var(--text-light-secondary);
}
.founder-quote {
  margin-top: 18px;
  padding-left: 26px;

  font-size: 14px;
  font-style: italic;
  letter-spacing: 0.08em;
  line-height: 1.6;

  color: var(--text-main); /* same as body text */
  opacity: 0.85;

  position: relative;
}

/* Gold diamond marker */
.founder-quote::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0.1em;

  font-size: 11px;
  color: var(--gold);
}

/* =========================
   CONTENT SPACING
   ========================= */

.founder-content p {
  margin-bottom: 14px;
  color: var(--text-light-secondary);
  line-height: 1.8;
  text-align: justify;
  text-align-last: left;
}

/* =========================
   ROUNDED IMAGE FRAME
   ========================= */

.framed-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

.framed-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}
/* ===============================
   CONTACT FORM – AJAX STATES
=============================== */

.form-status {
  margin-top: 18px;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.form-status.success {
  color: #bfa36a;
  opacity: 1;
  transform: translateY(0);
}

.form-status.error {
  color: #d9534f;
  opacity: 1;
  transform: translateY(0);
}

/* Spinner state */
.contact-submit.is-loading {
  pointer-events: none;
  opacity: 0.85;
}

.contact-submit.is-loading .btn-text {
  opacity: 0.3;
}

.contact-submit .btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: spin 0.8s linear infinite;
}

.contact-submit.is-loading .btn-spinner {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* =========================
   FORM SUCCESS ANIMATION
========================= */

.form-success {
  margin-top: 24px;
  text-align: center;

  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;

  pointer-events: none;
  height: 0;
  overflow: hidden;
}


.form-success.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  height: auto;
}

/* Smoothly hide the form after success */
#contact.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  height: 0;
  overflow: hidden;
}

/* =========================
   SUCCESS ICON
========================= */

.success-check svg {
  width: 72px;
  height: 72px;
}

/* Reset animation state by default */
.success-circle,
.success-checkmark {
  fill: none;
  stroke: var(--gold);
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
}

/* Play animations ONLY when visible */
.form-success.is-visible .success-circle {
  stroke-width: 2;
  animation: drawCircle 0.6s ease forwards;
}

.form-success.is-visible .success-checkmark {
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: drawCheck 0.35s ease forwards 0.55s;
}

/* =========================
   SUCCESS TEXT
========================= */

.success-text {
  margin-top: 14px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

/* =========================
   KEYFRAMES
========================= */

@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

/* =========================
   SUCCESS CTA BUTTON
========================= */

.success-cta {
  margin-top: 18px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 10px 26px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.success-cta:hover {
  background: var(--gold);
  color: #111;
}


/* ====================================================
   CONTACT PAGE – OPULENT STYLING
   ==================================================== */

.contact-us-page.section-padding {
  padding: 0;
  background-color: #050505;
}

/* Contact spacing via tokens: section after hero */
body[data-page="contact"] .contact-us-page.section-padding {
  padding-top: var(--section-y-after-hero);
  padding-bottom: var(--section-y-default);
}

.contact-heading h2 {
  color: var(--text-light);
  font-size: 32px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-heading .gold-heading {
  color: var(--gold);
  font-size: 32px;
  font-weight: 600;
}

.contact-heading p {
  max-width: 640px;
  margin: 12px auto 0;
  color: var(--text-tertiary);
}

/* Main card */
.contact-card {
  background: var(--gradient-dark-radial);
  border-radius: 24px;
  border: 1px solid #b4934c;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

/* Form side */
.contact-form-panel {
  height: 100%;
  padding: 32px 32px 36px;
  border-right: 1px solid rgba(180, 147, 76, 0.25);
  background: rgba(0, 0, 0, 0.6);
}

.contact-form-inner {
  height: 100%;
}

.contact-form-panel .form-title {
  color: var(--text-gold-dark);
  font-size: 22px;
  margin-bottom: 6px;
  text-align: center;
}

.contact-form-panel .form-subtitle {
  color: var(--text-light-secondary);
  font-size: 14px;
  margin-bottom: 24px;
}

/* Form fields */
.contact-form-panel .form-group {
  margin-bottom: 16px;
}

.contact-form-panel label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light-secondary);
  margin-bottom: 6px;
}
.field-error:empty {
  display: none;
}

/* Success pulse animation */
#contact.success-pulse {
  animation: successGlow 0.8s ease;
}

@keyframes successGlow {
  0% {
    box-shadow: 0 0 0 rgba(201, 162, 77, 0);
  }
  50% {
    box-shadow: 0 0 30px rgba(201, 162, 77, 0.45);
  }
  100% {
    box-shadow: 0 0 0 rgba(201, 162, 77, 0);
  }
}


.contact-form-panel input,
.contact-form-panel textarea {
  width: 100%;
  background: rgba(15, 15, 15, 0.95);
  border-radius: 20px;
  border: 1px solid rgba(180, 147, 76, 0.5);
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-light);
  outline: none;
  cursor: text;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form-panel textarea {
  border-radius: 20px;
  resize: vertical;
  min-height: 130px;
  padding-top: 12px;
}

.contact-form-panel input::placeholder,
.contact-form-panel textarea::placeholder {
  color: var(--text-light-secondary);
}

.contact-form-panel input:focus,
.contact-form-panel textarea:focus {
  border-color: var(--border-gold-light);
  box-shadow: 0 0 0 2px rgba(214, 177, 90, 0.3);
  background: rgba(15, 15, 15, 1);
}

/* Error state styling */
.contact-form-panel input.error,
.contact-form-panel textarea.error {
  border-color: #c62828 !important;
  border-width: 2px !important;
  background: rgba(198, 40, 40, 0.1) !important;
  box-shadow: inset 0 0 0 1px #c62828 !important;
}

.contact-form-panel input.error:focus,
.contact-form-panel textarea.error:focus {
  border-color: #c62828 !important;
  box-shadow: inset 0 0 0 2px #c62828, 0 0 0 3px rgba(198, 40, 40, 0.3) !important;
  background: rgba(198, 40, 40, 0.15) !important;
}

.field-error {
  font-size: 12px;
  color: #ff6b6b;
  margin-top: 4px;
  display: block;
  font-weight: 500;
}

/* Submit button */
.contact-submit.main-button {
  display: block;
  padding: 10px 26px;
  border-radius: 999px;
  border: 1px solid #d6b15a;
  background: linear-gradient(135deg, #f2d27b, #b7903c);
  color: var(--text-inverted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.contact-submit.main-button:hover {
  background: linear-gradient(135deg, #b7903c, #f2d27b);
  color: var(--text-main);
}

/* Right panel (contact info) */
.contact-info-panel {
  height: 100%;
  padding: 32px 32px 36px;
  background: var(--gradient-dark-radial-alt);
}

.contact-info-intro h3 {
  color: var(--text-gold-dark);
  font-size: 22px;
  margin-bottom: 6px;
  text-align: center;
}

.contact-info-intro p {
  color: var(--text-light-secondary);
  font-size: 14px;
  margin-bottom: 24px;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(180, 147, 76, 0.25);
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

/* Icons */
.contact-info-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #f5d47f 0, #b7903c 65%, #4a3513 100%);
  flex-shrink: 0;
}

.contact-info-item .icon svg {
  fill: #111;
  width: 20px;
  height: 20px;
}

/* Content */
.contact-info-item .content h6 {
  margin: 0 0 4px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
}

.contact-info-item .content p {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--text-light-secondary);
}

.contact-info-item .content a {
  font-size: 13px;
  color: var(--text-gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.contact-info-item .content a:hover {
  border-color: var(--text-gold);
}


/* Messages */
.contact-form-panel .alert {
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  border: 1px solid;
}

.contact-form-panel .alert.success,
.contact-form-panel .alert-success {
  background: rgba(30, 90, 60, 0.2);
  color: #cfead8;
  border-color: rgba(180, 233, 202, 0.6);
}

.contact-form-panel .alert.error,
.contact-form-panel .alert-error {
  background: rgba(198, 40, 40, 0.15);
  color: #ff8787;
  border-color: rgba(198, 40, 40, 0.5);
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .contact-card {
    border-radius: 18px;
  }

  .contact-form-panel,
  .contact-info-panel {
    border-right: none;
    border-bottom: 1px solid rgba(180, 147, 76, 0.25);
  }

  .contact-info-panel {
    border-bottom: none;
  }
}

@media (max-width: 767.98px) {
  body[data-page="contact"] .contact-us-page.section-padding {
    padding-top: var(--section-y-after-hero);
    padding-bottom: var(--section-y-default);
  }

  .contact-form-panel,
  .contact-info-panel {
    padding: 24px 20px 28px;
  }
}

/* AJAX status box */
.form-status {
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-size: 0.95rem;
  margin-bottom: 15px;
  padding: 10px 14px;
  border-radius: 4px;
  display: none;
}

.form-status.show {
  opacity: 1;
  transform: translateY(0);
  display: inline-block;
}

.form-status.success {
  background: #e6ffed;
  color: #0f5132;
  border: 1px solid #badbcc;
}

.form-status.error {
  background: #ffe6e6;
  color: #842029;
  border: 1px solid #f5c2c7;
}

/* Field error text – global */
.field-error {
  font-size: 0.8rem;
  color: #c62828;
  margin-top: 3px;
  min-height: 16px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.field-error.active {
  opacity: 1;
}

/* Button spinner */
#form-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#form-submit .btn-spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: var(--text-white);
  animation: spin 0.7s linear infinite;
  display: none;
}

#form-submit.is-loading .btn-spinner {
  display: inline-block;
}

#form-submit.is-loading .btn-text {
  opacity: 0.9;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ====================================================
   SERVICES PAGE – PANEL + SPACING
   ==================================================== */

/* Slightly tighter sections used in services page */
section.service-portfolio,
section.page-heading-section,
section.services-section {
  margin-top: 0;
  padding-top: var(--section-y-tight);
}

/* Areas of Excellence panel */
.service-portfolio {
  background: #000;
  padding: 32px 0 18px;
  margin-bottom: 8px;
}

.portfolio-panel {
  background: #111;
  border-radius: 20px;
  border: 1px solid rgba(214, 168, 82, 0.18);
  padding: 26px 24px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.portfolio-heading {
  color: var(--text-gold);
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  margin: 0;
}

.portfolio-item i {
  font-size: 48px;
  color: var(--text-gold);
  margin-bottom: 12px;
}

.portfolio-item p {
  color: var(--text-white);
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}

/* Page heading "Our Services" */
.page-heading-section {
  padding: 40px 0 10px;
}

.page-heading-section .gold-heading {
  color: var(--gold);
  font-size: 32px;
  font-weight: 600;
}

.page-heading-section .page-subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-soft);
  font-weight: 300;
  font-size: 15px;
}

/* Services cards section */
.services-section {
  padding-bottom: 60px;
}

/* ====================================================
   FAQ ACCORDION – REFINED LUXURY
   Aligned with ABOUT-PAGE SPACING SYSTEM
==================================================== */

/* Wrapper */
.faq-accordion {
  max-width: 900px;
  margin: 44px auto 0;
}

/* Individual FAQ Item */
.faq-item {
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    border-color 0.35s ease;
}

/* Staggered reveal */
.faq-accordion.is-visible .faq-item {
  opacity: 1;
  transform: translateY(0);
}

.faq-accordion.is-visible .faq-item:nth-child(1) { transition-delay: 0.05s; }
.faq-accordion.is-visible .faq-item:nth-child(2) { transition-delay: 0.10s; }
.faq-accordion.is-visible .faq-item:nth-child(3) { transition-delay: 0.15s; }
.faq-accordion.is-visible .faq-item:nth-child(4) { transition-delay: 0.20s; }
.faq-accordion.is-visible .faq-item:nth-child(5) { transition-delay: 0.25s; }
.faq-accordion.is-visible .faq-item:nth-child(6) { transition-delay: 0.30s; }
.faq-accordion.is-visible .faq-item:nth-child(7) { transition-delay: 0.35s; }
.faq-accordion.is-visible .faq-item:nth-child(8) { transition-delay: 0.40s; }
.faq-accordion.is-visible .faq-item:nth-child(9) { transition-delay: 0.45s; }

/* Question Button */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;

  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;

  cursor: pointer;
  text-align: left;

  font-family: inherit;
  font-size: 1.04rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.4;
  color: var(--gold);

  transition: color 0.35s ease;

  /* Mobile tap refinement */
  -webkit-tap-highlight-color: transparent;
}

/* Hover (desktop only) */
@media (hover: hover) {
  .faq-question:hover {
    color: var(--gold-light);
  }
}

/* Mobile tap feedback */
@media (hover: none) {
  .faq-question:active {
    color: var(--gold-light);
    opacity: 0.85;
  }
}

/* Plus / Icon */
.faq-icon {
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--gold);

  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.35s ease;
}

/* Answer Wrapper */
.faq-answer {
  max-height: 0;
  overflow: hidden;

  transition:
    max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Answer Text */
.faq-answer p {
  margin: 0;
  padding: 0 0 26px;

  font-size: 0.95rem;
  line-height: 1.8;
  letter-spacing: 0.015em;
  color: var(--text-secondary);
}

/* Active State */
.faq-item.active .faq-answer {
  max-height: 360px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--gold-light);
}

.faq-item.active .faq-question {
  color: var(--gold-light);
}

/* Subtle divider emphasis */
.faq-item:hover {
  border-bottom-color: rgba(212, 175, 55, 0.35);
}

/* ====================================================
   RESPONSIVE REFINEMENT
==================================================== */

@media (max-width: 768px) {
  .faq-accordion {
    margin-top: 34px;
  }

  .faq-question {
    padding: 20px 0;
    font-size: 1rem;
    letter-spacing: 0.025em;
  }

  .faq-answer p {
    font-size: 0.92rem;
    line-height: 1.75;
  }
}

/* ====================================================
   ACCESSIBILITY – REDUCED MOTION
==================================================== */

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-answer,
  .faq-icon {
    transition: none !important;
    transform: none !important;
  }
}



/* =========================================
   LUXURY SERVICE CARDS + ICON
   ========================================= */

.service-card {
  position: relative;
  background:
  radial-gradient(circle at top left, rgba(214, 168, 82, 0.10), transparent 60%),
  radial-gradient(circle at bottom right, rgba(214, 168, 82, 0.04), #060606 72%);
  border-radius: 24px;
  padding: 26px 24px 22px;
  height: 100%;
  border: 1px solid rgba(214, 168, 82, 0.10);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.01); /* crisp edge */
  transition:
  transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
  box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
  border-color 0.35s ease;
  overflow: hidden;
}

/* Top accent line – thin gold bar */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg,
      rgba(214, 168, 82, 0.0) 0%,
      rgba(214, 168, 82, 0.55) 40%,
      rgba(214, 168, 82, 0.0) 100%);
  opacity: 0.25;
  height: 2px;
  top: 0;
  pointer-events: none;
}

/* Soft outer glow wrapper */
.service-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(214, 168, 82, 0.0);
  box-shadow: 0 0 40px rgba(214, 168, 82, 0.0);
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  pointer-events: none;
}

/* Heading */
.service-card h4 {
  position: relative;
  z-index: 1;
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Small underline under heading */
.service-card h4::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin: 10px auto 0;
  background: linear-gradient(
    90deg,
    rgba(214, 168, 82, 0.15),
    rgba(214, 168, 82, 0.85),
    rgba(214, 168, 82, 0.15)
  );
  border-radius: 999px;
  box-shadow:
    0 0 6px rgba(214, 168, 82, 0.35);
}

/* Body copy */
.service-card p {
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
  max-width: 34rem; /* tighter, more premium block */
}

/* Hover state – lift, glow, emphasis */
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 168, 82, 0.4);
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.7);
}
.service-card:hover::before {
  opacity: 0.65;
}
.service-card:hover::after {
  border-color: rgba(214, 168, 82, 0.35);
  box-shadow: 0 0 48px rgba(214, 168, 82, 0.3);
}

/* Icon accent on hover */
.service-card:hover .service-card-icon {
  border-color: rgba(214, 168, 82, 0.75);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.85),
    0 0 28px rgba(214, 168, 82, 0.55);
}

/* Heading glow on hover */
.service-card:hover h4,
.service-card:hover h3 {
  text-shadow:
    0 0 10px rgba(201, 162, 77, 0.7),
    0 0 22px rgba(201, 162, 77, 0.35);
}

/* Slight static glow on mobile as there's no hover */
@media (max-width: 575.98px) {
  .service-card {
    padding: 22px 18px 20px;
    border-radius: 20px;
  }

  .service-card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
  }

  .service-card h4 {
    font-size: 18px;
    letter-spacing: 0.12em;
  }

  .service-card p {
    font-size: 13px;
    line-height: 1.7;
  }

  .service-card h4,
  .service-card h3 {
    text-shadow: 0 0 4px rgba(201, 162, 77, 0.3);
  }
  .service-card::after {
  box-shadow: none;
}

}

/* Home – single column grid on very small screens */
@media (max-width: 575.98px) {
  .featured-projects-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ====================================================
   CALL TO ACTION
   ==================================================== */

section.call-to-action {
  margin-top: 0;
  padding-block: var(--section-y-tight);
}

/* ====================================================
   FOOTER
   ==================================================== */

footer {
  margin-top: 0 !important;
  padding-top: 0;
  text-align: center;           /* mobile-first: overall centered */
  opacity: 0;
  transform: translateY(25px);
  animation: footerFadeIn 0.9s ease forwards;
}
.footer-info-row a {
  text-align: left;
  line-height: 1.6;
}

@keyframes footerFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MAIN LAYOUT */
.footer-main-row {
  align-items: flex-start;
  margin-bottom: 16px;
}

/* Left side: logo + brochure button */
.footer-left {
  text-align: center;           /* mobile-first: center */
}

.footer-logo {
  max-width: 220px;
  display: block;
  margin: 0 auto 24px;          /* mobile-first: centered logo */
}

.footer-brochure-btn {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 11px 28px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
}
@media (min-width: 992px) {
  .footer-brochure-btn {
    transform: translateX(-40px);
  }
}

.footer-brochure-btn:hover {
  background: var(--gold);
  color: var(--text-inverted);
}
/* MOBILE – REFINED BROCHURE CTA */
@media (max-width: 767.98px) {
  .footer-brochure-btn {
    display: inline-block;
    margin-top: 16px;
    margin-bottom: 22px;
    background: linear-gradient(135deg, #d4af37, #c9a24d);
    color: var(--text-inverted);
    box-shadow: 0 6px 16px rgba(201, 162, 77, 0.35);
  }

  .footer-brochure-btn:hover {
    background: #f2d27b;
    color: var(--text-inverted);
  }

  .footer-left {
    padding-bottom: 8px;
  }
}


/* Right side: intro text + info + go-top */
.footer-right {
  text-align: left;
}

.footer-intro {
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main);
}

/* Headings in gold, body text white */
footer h4 {
  font-size: 18px;
  font-weight: 700;
  text-transform: capitalize;
  color: var(--gold);
  margin-bottom: 16px;
}

footer p,
footer a {
  color: var(--text-main);
}

/* Info columns under text */
.footer-info-row {
  margin-bottom: 12px;
}
.footer-info-row p:last-child {
  margin-bottom: 16px;
}

.footer-info-row h4:not(:first-child) {
  margin-top: 20px;
}


.footer-info-row p {
  margin-bottom: 0;
}

/* =========================
   FOOTER ICON ALIGNMENT FIX
========================= */

.footer-info-row p a,
.footer-info-row .footer-contact,
.footer-info-row .footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;              /* consistent icon–text spacing */
  line-height: 1.6;
}

/* Normalize icon size & optical weight */
.footer-info-row i {
  font-size: 15px;
  min-width: 18px;        /* aligns text vertically */
  text-align: center;
}


.footer-info-row a:hover {
  color: var(--gold);
}

.footer-contact {
  text-decoration: none;
  color: var(--text-main);
  transition: color 0.25s ease;
  transform: none !important;
}

.footer-contact:hover {
  color: var(--gold);
}

/* Instagram link */
.footer-instagram {
  text-decoration: none;
}

.footer-instagram:hover {
  color: var(--gold);
}

/* Go to Top – opposite brochure on desktop */
.footer-go-top-wrap {
  margin-top: 18px;
}

.footer-go-top {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}

.footer-go-top:hover {
  color: var(--text-white);
  text-shadow: 0 0 6px rgba(201, 162, 77, 0.8);
}

/* Sub-footer: centred copyright + gold divider */
.sub-footer {
  margin-top: 6px;
  padding: 12px 0 16px;
  border-top: 1px solid rgba(201, 162, 77, 0.25);
  text-align: center;
}

.sub-footer p {
  margin: 0;
  font-size: 13px;
}

/* SCROLL TO TOP */
.scroll-to-top {
  color: var(--gold) !important;
  letter-spacing: 0.8px;
  font-size: 12px;
}

/* ========== RESPONSIVE FOOTER (NO DUPLICATES) ========== */

/* Desktop / large screens: align with header logo */
@media (min-width: 992px) {
  footer {
    text-align: left;
  }

  .footer-left {
    text-align: left;          /* logo column left-aligned */
  }

  .footer-logo {
    margin: 0 0 24px 0;        /* remove auto-centering */
  }

  .footer-main-row {
    text-align: left;
  }

  .footer-right {
    text-align: left;
  }

  .footer-go-top-wrap {
    text-align: right;         /* opposite brochure button on large screens */
    margin-top: 18px;
  }
}

/* Small / tablet screens: keep everything centered & stacked */
@media (max-width: 991.98px) {
  .footer-main-row {
    text-align: center;
    align-items: center;
  }

  .footer-right {
    text-align: center;
  }

  .footer-intro {
    margin-top: 18px;
  }

  .footer-go-top-wrap {
    text-align: center;
    margin-top: 16px;
  }
  .footer-left {
    position: relative;
    z-index: 2;
  }
  .footer-brochure-btn {
  margin-bottom: 22px;
}
  .footer-info-row p a {
    justify-content: center;
  }

/* ====================================================
   FOOTER – FINAL MOBILE REFINEMENT (AUTHORITATIVE)
==================================================== */

@media (max-width: 767.98px) {

  /* Overall footer tone */
  footer {
    padding-top: 12px;
    text-align: center;
  }

  /* Left column: logo + brochure */
  .footer-left {
    text-align: center;
    margin-bottom: 26px;
  }

  .footer-logo {
    max-width: 190px;
    margin: 0 auto 18px;
  }

  .footer-brochure-btn {
    display: inline-block;
    padding: 12px 36px;
    font-size: 12px;
    letter-spacing: 0.22em;
    margin-bottom: 34px;
  }

  /* Right column becomes a centered editorial block */
  .footer-right {
    max-width: 340px;
    margin: 0 auto;
    text-align: left;
  }

  /* Intro paragraph */
  .footer-intro {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 34px;
    opacity: 0.95;
  }

  /* Section headings */
  footer h4 {
    font-size: 15px;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
  }

  /* Info blocks spacing */
  .footer-info-row .col-md-4 {
    margin-bottom: 34px;
  }

  /* Icon + text alignment (luxury spine) */
  .footer-info-row p a,
  .footer-contact,
  .footer-instagram {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14.5px;
    line-height: 1.6;
  }

  /* Icon normalization */
  .footer-info-row i {
    min-width: 20px;
    font-size: 16px;
    opacity: 0.85;
  }

  /* Location icon optical correction */
  .fa-map-marker-alt {
    transform: translateY(-1px);
  }

  /* Follow us link */
  .footer-instagram {
    margin-top: 6px;
  }

  /* Go to top */
  .footer-go-top-wrap {
    text-align: center;
    margin-top: 8px;
  }

  .footer-go-top {
    font-size: 11px;
    letter-spacing: 0.2em;
    opacity: 0.75;
  }

  /* Sub-footer */
  .sub-footer {
    margin-top: 12px;
    padding-top: 14px;
  }

  .sub-footer p {
    font-size: 12.5px;
    opacity: 0.85;
  }
}

}

/* ====================================================
   PAGE → FOOTER DIVIDER
   ==================================================== */

.page-footer-divider {
  border-top: 1px solid rgba(201, 162, 77, 0.25);
  margin: 40px 0 !important;
}

/* Remove big gap above footer */
section:last-of-type {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ====================================================
   GOLD TITLES / ABOUT
   ==================================================== */

.section-gold-title,
.about-section h4 {
  color: var(--gold, #c9a24d);
  font-weight: 500;
  letter-spacing: 0.03em;
}
.about-section {
  padding-block: var(--section-y-default);
 
}
.about-section .row {
  --bs-gutter-y: 1.5rem; /* instead of large default */
}

/* Statement Section */
/* ================================
   OPULENT STATEMENT – FINAL FIX
================================ */

.opulent-statement {
  position: relative;
  box-sizing: border-box;
}

/* Desktop: account for vertical bar WITHOUT breaking centering */
@media (min-width: 1200px) {
  .opulent-statement {
    padding-left: 120px;          /* space for vertical bar */
    padding-right: 40px;          /* balance the layout */
  }
}

/* Laptop */
@media (max-width: 1199.98px) {
  .opulent-statement {
    padding-left: 80px;
    padding-right: 24px;
  }
}

/* Tablet & mobile */
@media (max-width: 768px) {
  .opulent-statement {
    padding-left: 0;
    padding-right: 0;
  }
}


/* Gold text */
.opulent-text {
  color: var(--text-gold);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin: 18px 0;
  white-space: nowrap;
}

/* =========================================
   GOLD DIVIDERS – CONSISTENT VERTICAL RHYTHM
========================================= */

/* Full-width divider (used in hero / statements) */
.gold-divider {
  width: 100%;
  height: 2px;
  background: var(--gradient-gold-horizontal);
  margin-top: var(--space-md);     /* 24px top only */
  margin-bottom: 0; 
}

/* Centered section breaker */
.gold-breaker {
  width: 300px;
  height: 2px;
  background: var(--gradient-gold-horizontal);
  margin-top: var(--space-md);     /* 24px top only */
  margin-bottom: 0; 
  margin-inline: auto;
}

.gold-breaker-wrap {
  display: flex;
  justify-content: center;
  padding: 12px 0;
}

/* Full-width divider (used in hero / statements) */
.gold-divider-text {
  width: 100%;
  height: 2px;
   background: linear-gradient(
    to right,
    transparent 0%,
    #d6b15a 12%,
    #f2d27b 50%,
    #d6b15a 88%,
    transparent 100%
  );
  margin-block: var(--space-md);
}

/* Centered section breaker */
.gold-breaker-text {
  width: 300px;
  height: 2px;
  background: var(--gradient-gold-horizontal);
  margin-block: var(--space-md);
  margin-inline: auto;
}

.gold-breaker-text-wrap {
  display: flex;
  justify-content: center;
  padding: 12px 0;
}

/* =========================================
   GOLD DIVIDER – BELOW NAVBAR
========================================= */
.gold-divider-navbar {
  width: 100%;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent 0%,
    #d6b15a 12%,
    #f2d27b 50%,
    #d6b15a 88%,
    transparent 100%
  );
  margin-block: var(--space-md);
}

/* Mobile refinement */
@media (max-width: 768px) {
  .gold-divider-navbar {
    margin-top: var(--space-2xl);   /* 24px */
    margin-bottom: var(--space-sm);/* 16px */
  }
}




@media (max-width: 1200px) {
  .opulent-text {
    white-space: normal;
    font-size: 26px;
    text-align: center;
  }
}

/* ====================================================
   PROJECTS / PORTFOLIO CARDS (REFINED)
   ==================================================== */

.portfolio-grid-section {
  margin-top: 0;
  padding-top: var(--space-lg);       /* ~32px from intro */
  padding-bottom: var(--section-y-default);
}

.portfolio-grid .portfolio-card-col {
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
}



/* ====================================================
   PROJECT CARD – FINAL (WORKS WITH CURRENT HTML)
==================================================== */

/* -------------------------
   BASE CARD (SHARED)
------------------------- */

.project-card {
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: hidden;
}

.project-card-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #111111;
}

/* Image always fills media box */
.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition: transform 0.35s ease, filter 0.35s ease;
}

/* Overlay */
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  text-align: center;
  transition: background 0.35s ease;
}

/* Text */
.project-card-text {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.project-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-white);
  margin-bottom: 6px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.project-card-location {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
}

/* Hover */
.project-card:hover .project-card-media img {
  transform: scale(1.05);
  filter: brightness(0.95);
}

.project-card:hover .project-card-overlay {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.25),
    rgba(201, 162, 77, 0.55)
  );
}

/* -------------------------
   PORTFOLIO PAGES ONLY
   (Company + Professional)
------------------------- */

.portfolio-grid-section .project-card-media {
  height: 100px; /* DESKTOP HEIGHT */
}

/* Mobile */
@media (max-width: 768px) {
  .portfolio-grid-section .project-card-media {
    height: 80px;
  }

  .project-card-title {
    font-size: 1.25rem;
    letter-spacing: 0.14em;
    margin-bottom: 4px;
  }

  .project-card-location {
    font-size: 1rem;
    letter-spacing: 0.1em;
  }
}

/* -------------------------
   TYPO REFINEMENT (DESKTOP)
------------------------- */

@media (min-width: 992px) {
  .project-card-location {
    font-size: 0.95rem;
  }
}

/* -------------------------
   GOLD VERTICAL SEPARATORS
   (DESKTOP ONLY)
------------------------- */

@media (min-width: 992px) {
  .portfolio-grid .portfolio-card-col:not(:nth-child(3n))::after {
    content: "";
    position: absolute;
    top: 10%;
    right: -8px;
    width: 1px;
    height: 80%;
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(214, 177, 90, 0.9),
      transparent
    );
  }
}

/* =========================================
   PORTFOLIO – DETAILED PROJECT GOLD FRAME
   (Single frame, perfect alignment)
========================================= */

a.project-card {
  position: relative;
  display: block;
  border-radius: 22px; /* MUST match image radius */
  overflow: hidden;   /* clips frame cleanly */
}

/* =========================================
   PROJECT CARD – GOLD FRAME (ALL CARDS)
========================================= */

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2.5px solid rgba(201, 162, 77, 0.45);
  pointer-events: none;
  z-index: 4;
}


/* Hover refinement */
@media (hover: hover) {
  a.project-card:hover::after {
    border-color: rgba(201, 162, 77, 0.9);
    box-shadow:
      0 0 0 1px rgba(201, 162, 77, 0.45),
      0 0 30px rgba(201, 162, 77, 0.35);
  }
}


/* =========================================
   PROJECT DETAIL PAGE
   ========================================= */

.project-detail-page {
  background-color: var(--black);
  color: var(--text-main);
}

/* match other inner pages top spacing under fixed header */
.project-detail-page.section-padding {
  padding-top: 120px;
  padding-bottom: 120px;
}

@media (max-width: 991.98px) {
  .project-detail-page.section-padding {
    padding-top: 72px;
    padding-bottom: 64px;
  }
}

/* Header area */
.project-header-row {
  margin-bottom: 0;
}

.project-header {
  padding-right: 24px;
  padding-left: 24px;
}

.project-title {
  font-size: 40px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.project-location {
  font-size: 16px;
  color: var(--text-soft);
  margin-bottom: 0;
}

.back-to-portfolio-link {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-decoration: none;
}

.back-to-portfolio-link:hover {
  color: var(--gold);
}

/* =========================================
   MAIN SECTION: IMAGE + OVERVIEW
   ========================================= */

.project-main-row {
  align-items: flex-start;
  gap: 24px 0;
}

.project-main-image-wrapper {
  height: 320px;
  border-radius: 26px;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-main-image {
  max-width: 100%;
  max-height: 100%;
  min-height: 60%;
  width: auto;
  height: auto;
  object-fit: contain; /* ensures NO cropping */
  border-radius: 32px;
}

/* ==================================
   PROJECT DETAIL – SLIDER VIEWER
================================== */

body[data-page="project-detail"] .image-viewer {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: none;
}

body[data-page="project-detail"] .image-viewer.active {
  display: block;
}

body[data-page="project-detail"] .project-viewer-swiper {
  width: 100%;
  height: 100%;
}

body[data-page="project-detail"] .project-viewer-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

body[data-page="project-detail"] .project-viewer-swiper img {
  max-width: 92%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 14px;
}

/* Close button */
body[data-page="project-detail"] .viewer-close {
  position: fixed;
  top: 18px;
  right: 22px;
  font-size: 34px;
  color: var(--text-gold);
  cursor: pointer;
  z-index: 10000;
}

/* Swiper controls */
body[data-page="project-detail"] .swiper-button-next,
body[data-page="project-detail"] .swiper-button-prev {
  color: var(--text-gold);
}

body[data-page="project-detail"] .swiper-pagination-bullet {
  background: #caa85a;
  opacity: 0.4;
}

body[data-page="project-detail"] .swiper-pagination-bullet-active {
  opacity: 1;
}

/* Mobile tuning */
@media (max-width: 768px) {
  body[data-page="project-detail"] .project-viewer-swiper img {
    max-width: 96%;
    max-height: 82vh;
  }

  body[data-page="project-detail"] .viewer-close {
    font-size: 30px;
    top: 14px;
    right: 16px;
  }
}

/* ==================================
   MAGNIFIER CURSOR
================================== */

body[data-page="project-detail"] .project-gallery-image,
body[data-page="project-detail"] .project-viewer-trigger {
  cursor: zoom-in;
}

body[data-page="project-detail"] .project-main-image,
body[data-page="project-detail"] .project-gallery-image {
  pointer-events: auto;
}

/* Lock background when viewer open */
body.viewer-open {
  overflow: hidden;
  touch-action: none;
}

/* =========================================
   OVERVIEW TEXT
========================================= */

.project-description-block {
  padding-left: 40px;
}

@media (max-width: 991.98px) {
  .project-description-block {
    padding-left: 0;
    margin-top: 32px;
  }
}

.project-overview-heading {
  font-size: 18px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .project-overview-heading {
    font-size: 15px;
    letter-spacing: 0.24em;
  }
}



.project-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-main);
}

.project-description.placeholder {
  opacity: 0.6;
}

/* =========================================
   GALLERY
========================================= */

.project-gallery-section {
  margin-top: 64px;
  text-align: center;
  color: var(--gold);
}

.project-gallery-row {
  margin-top: 8px;
}

.project-gallery-item {
  background: #050505;
  border-radius: 24px;
  overflow: hidden;
  padding: 8px;
}

.project-gallery-image-wrapper {
  border-radius: 20px;
  overflow: hidden;
}

.project-gallery-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.project-gallery-caption {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 8px;
}
@media (max-width: 768px) {
  .project-main-image-wrapper {
    height: 240px;
  }
}
/* ================================
   BACK BUTTON – RESPONSIVE LAYOUT
================================ */

/* Mobile layout: below location, right aligned */
@media (max-width: 768px) {
  .project-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-header {
    padding-right: 0;
    padding-left: 0;
  }

  .project-header-row .col-lg-4 {
    width: 100%;
    text-align: right;
    margin-top: 12px;
  }

  .back-to-portfolio-link {
    font-size: 12px;
    letter-spacing: 0.16em;
  }
}

/* ================================
   BACK BUTTON – STYLE & ANIMATION
================================ */

.back-to-portfolio-link {
  color: var(--gold);
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease, transform 0.25s ease;
}

/* Golden underline animation */
.back-to-portfolio-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gradient-gold-horizontal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

/* Desktop hover */
@media (hover: hover) {
  .back-to-portfolio-link:hover {
    color: var(--text-gold-bright); /* slightly brighter gold */
    transform: translateX(-4px);
  }

  .back-to-portfolio-link:hover::after {
    transform: scaleX(1);
  }
}

/* Mobile tap feedback */
@media (hover: none) {
  .back-to-portfolio-link:active {
    transform: scale(0.96);
    color: var(--text-gold-bright);
  }
}




/* =========================================
   PHILOSOPHY-STYLE HEADING (REUSABLE)
========================================= */

.section-heading.philosophy-style {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.section-heading.philosophy-style .heading-line {
  width: 60px;
  height: 2px;
  background-color: var(--gold);
  opacity: 0.9;
}

.section-heading.philosophy-style h2 {
  margin: 0;
  color: var(--gold);
  letter-spacing: 0.08em;
  font-weight: 600;
  text-transform: uppercase;
}


.section-heading.philosophy-style--cta h2 {
  letter-spacing: 0.1em;   /* slightly stronger presence */
  font-weight: 600;        /* same weight, no jump */
}



/* ====================================================
   PORTFOLIO INTRO SECTION (BETWEEN BANNER & CARDS)
   ==================================================== */

.portfolio-intro-section {
  padding: 0;
  margin-top: 0;
  background-color: #000;
}

body[data-page="portfolio"] .portfolio-intro-section {
  padding-top: var(--section-y-after-hero);
  padding-bottom: var(--space-md); /* 24px to cards */
}

.portfolio-intro-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

/* Main intro text */
.portfolio-intro-text {
  font-family: "Playfair Display", "Georgia", serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-light-secondary);
  letter-spacing: 0.02em;
  margin: 12px 0;
}


/* =========================================
   INNER HERO – MATCH HOME BANNER SIZE
========================================= */

.inner-hero {
  position: relative;
  padding: 0;
  margin: 0;
  background-color: var(--black);
  text-align: center;
}

.inner-hero-bg {
  position: relative;
  width: 100%;
  /* mobile/tablet: natural height, good cropping via cover */
  min-height: 60vh;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* overlay stays full-area */
.inner-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.75)
  );
}

.inner-hero-content {
  position: relative;
  z-index: 1;
  color: var(--text-white);
  padding: 5rem 1.5rem 4rem;
}

/* INNER HERO – LUXURY TITLE */
.inner-hero-title {
  color: var(--text-gold);
  font-weight: 400;                 /* elegant, not bold */
  text-transform: uppercase;
  letter-spacing: 0.32em;           /* luxury spacing */
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.25;
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
  text-shadow: 0 0 8px rgba(201, 162, 77, 0.18);
}

/* gold underline accent */
.inner-hero-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  background-color: var(--gold);
  margin: 1.4rem auto 0;
  opacity: 0.85;
}

@keyframes luxuryFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.inner-hero-title {
  animation: luxuryFadeUp 1.2s ease-out both;
}

.inner-hero-subtitle {
  animation: luxuryFadeUp 1.2s ease-out both;
  animation-delay: 0.15s;
}

.inner-hero-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  font-weight: 300;
  max-width: 720px;
  margin: 0 auto;
}

/* Tablet: match hero banner height */
@media (max-width: 991.98px) {
  .inner-hero-bg {
    min-height: 68vh;
  }
}

/* Desktop: exactly like the banner – full height with max 820px */
@media (min-width: 992px) {
  .inner-hero-bg {
    height: 100vh;
    max-height: 820px;
    min-height: 0;      /* override 60vh on desktop */
  }
}

@media (max-width: 575px) {
  .inner-hero-title {
    letter-spacing: 0.18em;
  }

  .inner-hero-subtitle {
    letter-spacing: 0.08em;
  }
}

/* =================================
   INNER HERO BACKGROUNDS
================================= */

.inner-hero-bg.bg-whoweare {
  background-image: url("../images/pages/whoweare.147b62841c3f.webp");
}

.inner-hero-bg.bg-whatwedo {
  background-image: url("../images/pages/whatwedo.94e53f819d9b.webp");
}

.inner-hero-bg.bg-portfolio {
  background-image: url("../images/pages/portfolio.86da540bf815.webp");
}

.inner-hero-bg.bg-contact {
  background-image: url("../images/pages/contact.706636dd5f1a.webp");
}

/* =========================================
   HERO SCROLL — DOUBLE CHEVRON (PREMIUM)
========================================= */

.hero-scroll--chevron {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;

  background: rgba(var(--black-rgb), 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;

  border: 2px solid rgba(201, 162, 77, 0.6);
  text-decoration: none;
  z-index: 10;
}

/* Chevron lines */
.hero-scroll--chevron .chevron {
  width: 18px;
  height: 18px;
  border-right: 3px solid var(--gold-bright);
  border-bottom: 3px solid var(--gold-bright);
  transform: rotate(45deg);
  opacity: 0.95;
}

/* Animation – elegant downward flow */
.hero-scroll--chevron .chevron:first-child {
  animation: chevronMove 1.6s infinite ease-in-out;
}

.hero-scroll--chevron .chevron:last-child {
  animation: chevronMove 1.6s infinite ease-in-out;
  animation-delay: 0.2s;
}

/* Animation keyframes */
@keyframes chevronMove {
  0% {
    opacity: 0;
    transform: translateY(-6px) rotate(45deg);
  }
  40% {
    opacity: 1;
    transform: translateY(0) rotate(45deg);
  }
  100% {
    opacity: 0;
    transform: translateY(8px) rotate(45deg);
  }
}

/* Hover — subtle premium response */
.hero-scroll--chevron:hover {
  border-color: rgba(201, 162, 77, 0.9);
}

/* Responsive */
@media (max-width: 480px) {
  .hero-scroll--chevron {
    width: 52px;
    height: 52px;
    bottom: 24px;
  }

  .hero-scroll--chevron .chevron {
    width: 16px;
    height: 16px;
  }
}

/* FORCE HIDE HERO SCROLL ON MOBILE */
@media (max-width: 768px) {
  .hero-scroll,
  .hero-scroll--chevron {
    display: none !important;
  }
}

#opulent-heading {
  scroll-margin-top: 100px;  /* tweak 80–120px to match your header height */
}

/* ================================
   LEFT VERTICAL ACTION BAR
================================ */

.vertical-action-bar {
  position: fixed;
  left: 15px; 
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
}

/* Hide vertical bar while hero banner is visible */
body.banner-visible .vertical-action-bar {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(-12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.vertical-action-bar a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(201, 162, 77, 0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.vertical-action-bar a i {
  font-size: 16px;
}

/* hover – quiet luxury glow */
.vertical-action-bar a:hover {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(201, 162, 77, 0.35);
  transform: translateX(3px);
}

/* mobile: hide or move */
@media (max-width: 768px) {
  .vertical-action-bar {
    display: none;
  }
}

.vertical-action-bar a::after {
  content: attr(aria-label);
  position: absolute;
  left: 50px;
  background: #000;
  color: var(--text-white);
  padding: 6px 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.25s ease;
  pointer-events: none;
}

.vertical-action-bar a:hover::after {
  opacity: 1;
  transform: translateX(0);
}



/* STATIC PROJECT CARD — NO CLICK, NO GLOW */
.project-card-static {
  cursor: default;
}

.project-card-static:hover {
  transform: none;
  box-shadow: none;
}

.project-card-static .project-card-overlay,
.project-card-static:hover .project-card-overlay {
  opacity: 1;
  background: rgba(0,0,0,0.45);
}

.project-card-static img {
  transform: none !important;
}


.section-final-cta h2 {
  color: var(--gold); /* gold example */
}

.text-justify {
  text-align: justify;
  text-align-last: left;
  word-spacing: -0.02em;
}

/* ====================================================
   PROJECT DETAIL – GALLERY UNIFORM IMAGE GRID (FINAL)
   ==================================================== */

/* Gallery image wrapper – fixed height */
.project-gallery-image-wrapper {
  position: relative;
  width: 100%;
  height: 260px;          /* 🔒 LOCKED HEIGHT */
  overflow: hidden;
  border-radius: 18px;
  background: #0c0c0c;
}

/* Image fills tile uniformly */
.project-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* KEY: fixes portrait vs landscape */
  object-position: center center;
  transition: transform 0.45s ease;
}

/* Portrait-aware smart crop (face / subject bias) */
.project-gallery-image.is-portrait {
  object-position: center 22%;
}

/* Subtle luxury hover */
@media (hover: hover) {
  .project-gallery-item:hover .project-gallery-image {
    transform: scale(1.04);
  }
}

/* Mobile refinement */
@media (max-width: 767.98px) {
  .project-gallery-image-wrapper {
    height: 220px;
    border-radius: 14px;
  }
}
