/* ==================== RESET & TOKENS ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-sand: #faf8f5;
  --bg-dark: #121316;
  --text-dark: #141518;
  --text-muted: #5c5952;
  --gold-accent: #c5a880;
  --gold-hover: #af926a;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", sans-serif;
  --footer-dark: #121211;
  --footer-subtext: #8e8d87;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-sand);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.gold-dot {
  color: var(--gold-accent);
}

/* ==================== HEADER (TRANSPARENT OVERLAY) ==================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 100;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 120px;
  width: auto;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
  filter: contrast(1.15) brightness(0.95);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.brand-logo-wrap:hover .brand-logo-img {
  opacity: 0.85;
  transform: translateY(-2px);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff !important;
  text-decoration: none;
  transition: color 0.25s ease;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-accent) !important;
}

/* ==================== 1. CONTINUOUS VIDEO HERO ==================== */
.video-hero-section {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
}

.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(18, 19, 22, 0.45) 0%,
    rgba(18, 19, 22, 0.85) 100%
  );
  z-index: 2;
}

.video-hero-content {
  position: relative;
  z-index: 10;
  max-width: 860px;
  margin-top: 3rem;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 1.25rem;
}

.hero-main-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6.2vw, 5.2rem);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 1.35rem;
}

.hero-subtext {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 0 auto 2.5rem auto;
  font-weight: 300;
}

.scroll-down-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transition: all 0.35s ease;
}

.scroll-down-btn:hover {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
  transform: translateY(3px);
}

/* ==================== 2. BALANCED CONTINUOUS MARQUEE REEL ==================== */
.ticker-section {
  width: 100%;
  padding: 5rem 0 5.5rem 0;
  background-color: #faf8f5;
  overflow: hidden;
  border-bottom: 1px solid rgba(20, 21, 24, 0.08);
}

.ticker-header {
  text-align: center;
  margin-bottom: 2.75rem;
  padding: 0 1.5rem;
}

.ticker-tag {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-accent);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.ticker-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 500;
  color: var(--text-dark);
}

.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  display: flex;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  width: max-content;
  animation: scrollMarquee 40s linear infinite;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-card {
  position: relative;
  height: 380px;
  width: auto;
  max-width: 520px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(20, 21, 24, 0.08);
  border: 1px solid rgba(20, 21, 24, 0.06);
  background-color: #ebe7e0;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease;
}

.marquee-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(197, 168, 128, 0.22);
}

.marquee-card img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.marquee-card:hover img {
  transform: scale(1.04);
}

.marquee-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.25rem 0.85rem 1.25rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(20, 21, 24, 0.85) 100%
  );
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

/* ==================== INSTAGRAM REELS HORIZONTAL SHOWCASE ==================== */
.reels-showcase-section {
  width: 100%;
  padding: 6.5rem 0 7.5rem 0;
  background-color: #121316;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.reels-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3.5rem auto;
  padding: 0 2rem;
}

.reels-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 0.75rem;
}

.reels-main-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.reels-wrapper {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 3.5rem;
}

.reels-scroll-container {
  width: 100%;
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 1rem 0.5rem 2rem 0.5rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.reels-scroll-container::-webkit-scrollbar {
  display: none;
}

.reel-card {
  flex: 0 0 300px;
  height: 535px;
  background-color: #1a1b1f;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(197, 168, 128, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease;
}

.reel-card:hover {
  transform: translateY(-6px);
  border-color: rgba(197, 168, 128, 0.6);
}

.reel-video {
  width: 100%;
  height: 450px;
  object-fit: cover;
  background-color: #000000;
  display: block;
}

.reel-caption {
  padding: 1rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: #e2dfdb;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: #1a1b1f;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  z-index: 10;
  width: 48px;
  height: 48px;
  background-color: rgba(26, 27, 31, 0.9);
  border: 1px solid rgba(197, 168, 128, 0.4);
  color: var(--gold-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.reel-prev-btn {
  left: 0.5rem;
}

.reel-next-btn {
  right: 0.5rem;
}

.reel-nav-btn:hover {
  background-color: var(--gold-accent);
  color: #121316;
  border-color: var(--gold-accent);
  transform: translateY(-60%) scale(1.08);
}

/* ==================== 3. PORTFOLIO SHOWCASE GRID ==================== */
.portfolio-section {
  width: 100%;
  padding: 7rem 2.5rem 8.5rem 2.5rem;
  background-color: #faf8f5;
}

.portfolio-container {
  max-width: 1360px;
  margin: 0 auto;
}

.portfolio-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 4.5rem;
}

.filter-tab {
  background: transparent;
  border: 1px solid rgba(20, 21, 24, 0.15);
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--text-dark);
  color: #ffffff;
  border-color: var(--text-dark);
}

.projects-masonry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem 2.5rem;
}

@media (min-width: 768px) {
  .projects-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .projects-masonry {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-item {
  display: flex;
  flex-direction: column;
  transition: opacity 0.3s ease;
}

.project-thumb-box {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1.35rem;
  background-color: #e8e5dd;
}

.project-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 21, 24, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.project-enquire-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--gold-accent);
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  background: rgba(197, 168, 128, 0.2);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.project-enquire-link:hover {
  background: var(--gold-accent);
}

.project-item:hover .project-thumb-box img {
  transform: scale(1.08);
}

.project-item:hover .project-hover-overlay {
  opacity: 1;
}

.project-details {
  display: flex;
  flex-direction: column;
}

.project-type {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-accent);
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.project-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.project-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ==================== EXPERIENCE LUXURY ASYMMETRIC GALLERY ==================== */
.experience-luxury-section {
  width: 100%;
  padding: 6.5rem 2.5rem;
  background-color: #121316;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.luxury-gallery-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 4rem auto;
}

.gallery-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 0.75rem;
}

.gallery-main-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.luxury-collage-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.row-type-a {
  display: grid;
  grid-template-columns: 0.7fr 1.6fr;
  gap: 1.25rem;
  align-items: stretch;
}

.row-type-b {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr;
  gap: 1.25rem;
  align-items: stretch;
}

.vertical-item {
  height: 720px;
}

.horizontal-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 720px;
}

.horizontal-item {
  height: 348.75px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(197, 168, 128, 0.35);
  background-color: #1a1b1f;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.5s ease;
  filter: brightness(0.96) contrast(1.04);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1) contrast(1.08);
}

/* ==================== PROJECT BOTTOM CTA SECTION ==================== */
.project-bottom-cta-section {
  width: 100%;
  padding: 8rem 2.5rem;
  background-color: #dddedf;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.project-cta-container {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .project-cta-container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6.5rem;
  }
}

.project-cta-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-cta-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 1rem;
}

.project-cta-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4.2vw, 3.8rem);
  font-weight: 500;
  line-height: 1.12;
  color: #0a0909;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}

.project-cta-desc {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  line-height: 1.85;
  color: rgba(8, 8, 8, 0.75);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.project-btn-wrap {
  display: inline-block;
}

.project-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #121316;
  background-color: var(--gold-accent);
  padding: 1rem 2.25rem;
  border-radius: 2px;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-cta-btn:hover {
  background-color: #bb8939;
  transform: translateY(-2px);
}

.project-cta-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-arch-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 540px;
}

.project-arch-shape-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 82%;
  height: 100%;
  background-color: #a5a4a3;
  border-top-left-radius: 240px;
  border-top-right-radius: 240px;
  z-index: 1;
}

.project-arch-photo-box {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 88%;
  height: 88%;
  overflow: hidden;
  border-top-right-radius: 200px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
  z-index: 2;
  background-color: #545861;
}

.project-arch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-arch-wrap:hover .project-arch-img {
  transform: scale(1.06);
}

/* ==================== FOOTER ==================== */
.site-footer {
  background-color: #121211 !important;
  color: #edece8 !important;
  padding: 4.5rem 2rem 2.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer-logo-wrap {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 1.2rem;
}

.footer-logo-img {
  height: 110px;
  width: auto;
  object-fit: contain;
  display: block;
  mix-blend-mode: screen;
  filter: brightness(1.1);
}

.footer-tagline {
  color: #8e8d87;
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 420px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-column h4 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: #c58e42;
  margin-bottom: 1rem;
}

.footer-column a,
.footer-column p {
  display: block;
  font-size: 0.84rem;
  color: #8e8d87;
  text-decoration: none;
  line-height: 1.8;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #6c6a64;
}

.footer-legal {
  display: flex;
  gap: 0.5rem;
}

.footer-legal a {
  color: #6c6a64;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #edece8;
}

/* ===================================================
   CRITICAL UNIVERSAL MOBILE & TABLET OVERRIDES (PROJECTS)
=================================================== */
@media (max-width: 900px) {
  .nav-container {
    padding: 1.05rem 1.25rem !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }

  .nav-menu {
    gap: 0.85rem !important;
  }

  .nav-link {
    font-size: 0.62rem !important;
    letter-spacing: 0.04em !important;
  }

  .brand-logo-img {
    height: 95px !important;
  }

  .video-hero-section {
    height: 75vh !important;
    min-height: 480px !important;
  }

  .hero-main-title {
    font-size: 2.3rem !important;
  }

  .ticker-section,
  .reels-showcase-section,
  .portfolio-section,
  .experience-luxury-section,
  .project-bottom-cta-section {
    padding: 3.5rem 1.25rem !important;
  }

  .row-type-a,
  .row-type-b {
    grid-template-columns: 1fr !important;
    height: auto !important;
    gap: 1.25rem !important;
  }

  .vertical-item {
    height: 380px !important;
  }

  .horizontal-stack {
    height: auto !important;
    gap: 1.25rem !important;
  }

  .horizontal-item {
    height: 260px !important;
  }

  .project-arch-wrap {
    max-width: 100% !important;
    height: 360px !important;
    margin: 0 auto !important;
  }

  .reel-card {
    flex: 0 0 240px !important;
    height: 420px !important;
  }

  .reel-video {
    height: 340px !important;
  }

  .site-footer {
    padding: 3.5rem 1.5rem 2rem 1.5rem !important;
  }

  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .footer-brand {
    align-items: center !important;
    text-align: center !important;
  }

  .footer-tagline {
    text-align: center !important;
    margin: 0 auto;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
    text-align: left !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 1rem !important;
    text-align: center !important;
  }
}
