/* ==========================================================================
   UNIQUE CLICK BY SONAM SINGH — Editorial Fine Art Design System
   Complete CSS Foundation | Light Luxury Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&family=Style+Script&display=swap');

/* ==========================================================================
   1. DESIGN TOKENS (CSS Custom Properties)
   ========================================================================== */

:root {
  /* Backgrounds */
  --bg-primary: #FDFBF7;
  --bg-secondary: #F4EBE1;
  --bg-highlight: #EDE5DA;
  --bg-dark: #1A1A1A;

  /* Text */
  --text-primary: #2C2A29;
  --text-secondary: #4A4745;
  --text-muted: #7A7571;
  --text-light: #A39E99;

  /* Accents */
  --accent-gold: #C5A059;
  --accent-gold-hover: #B08A3E;
  --accent-gold-light: rgba(197, 160, 89, 0.12);
  --accent-taupe: #8C827A;

  /* Borders */
  --border-light: #E5E0D8;
  --border-medium: #D5CFC6;

  /* Utility */
  --white: #FFFFFF;
  --black: #1A1A1A;

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-script: 'Style Script', cursive;

  /* Spacing */
  --section-pad-y: clamp(60px, 8vw, 120px);
  --section-pad-x: clamp(20px, 4vw, 40px);
  --container-max: 1200px;
  --container-wide: 1400px;
  --container-narrow: 800px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.6s;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(44, 42, 41, 0.06);
  --shadow-md: 0 4px 20px rgba(44, 42, 41, 0.08);
  --shadow-lg: 0 12px 40px rgba(44, 42, 41, 0.1);
  --shadow-xl: 0 20px 60px rgba(44, 42, 41, 0.12);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
}

::selection {
  background-color: var(--accent-gold);
  color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   3. TYPOGRAPHY SYSTEM
   ========================================================================== */

/* Heading Hierarchy */
h1, .uc-heading-1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h2, .uc-heading-2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  color: var(--text-primary);
}

h3, .uc-heading-3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.8rem;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

h4, .uc-heading-4 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.25;
  color: var(--text-primary);
}

/* Body Text */
.uc-body, p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* Meta Labels */
.uc-meta {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

/* Script Accent */
.uc-script {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--accent-gold);
  font-style: normal;
}

/* Serif Inline */
.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }
.font-script { font-family: var(--font-script); }

/* Pull Quotes */
.uc-pullquote {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.5;
  color: var(--text-primary);
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.uc-pullquote cite {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-top: 16px;
}

/* ==========================================================================
   4. LAYOUT SYSTEM
   ========================================================================== */

/* Container */
.uc-container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--section-pad-x);
  padding-right: var(--section-pad-x);
}

.uc-container--wide {
  max-width: var(--container-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--section-pad-x);
  padding-right: var(--section-pad-x);
}

.uc-container--narrow {
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--section-pad-x);
  padding-right: var(--section-pad-x);
}

/* Section */
.uc-section {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  position: relative;
}

.uc-section--alt {
  background-color: var(--bg-secondary);
}

.uc-section--dark {
  background-color: var(--bg-dark);
  color: var(--bg-primary);
}

.uc-section--dark h1,
.uc-section--dark h2,
.uc-section--dark h4,
.uc-section--dark .uc-heading-1,
.uc-section--dark .uc-heading-2,
.uc-section--dark .uc-heading-4 {
  color: var(--bg-primary);
}

.uc-section--dark p,
.uc-section--dark .uc-body {
  color: #C8C4BE;
}

/* Divider */
.uc-divider {
  width: 40px;
  height: 1px;
  background-color: var(--accent-gold);
  display: block;
  margin: 24px 0;
}

.uc-divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* Section Header Pattern */
.uc-section-header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.uc-section-header .uc-meta {
  margin-bottom: 12px;
  display: block;
}

.uc-section-header .uc-heading-2 {
  margin-bottom: 16px;
}

.uc-section-header .uc-body {
  max-width: 540px;
  margin: 0 auto;
}

/* ==========================================================================
   5. NAVIGATION — Glassmorphism Sticky Nav
   ========================================================================== */

.uc-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background var(--duration-normal) var(--ease-smooth),
              box-shadow var(--duration-normal) var(--ease-smooth),
              backdrop-filter var(--duration-normal) var(--ease-smooth);
  background: transparent;
}

.uc-nav.scrolled {
  background: rgba(253, 251, 247, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border-light);
}

.uc-nav__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Nav Left Links */
.uc-nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.uc-nav__link {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--duration-fast) ease;
  position: relative;
}

.uc-nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: width var(--duration-normal) var(--ease-out);
}

.uc-nav__link:hover,
.uc-nav__link.active {
  color: var(--text-primary);
}

.uc-nav__link:hover::after,
.uc-nav__link.active::after {
  width: 100%;
}

/* Nav Center Logo */
.uc-nav__logo img {
  height: 38px;
  width: auto;
  transition: transform var(--duration-fast) ease;
}

.uc-nav__logo:hover img {
  transform: scale(1.03);
}

/* Nav CTA Button */
.uc-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--accent-gold);
  padding: 10px 22px;
  border-radius: 100px;
  transition: all var(--duration-fast) ease;
}

.uc-nav__cta:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.3);
}

/* Hamburger */
.uc-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.uc-nav__hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--duration-normal) var(--ease-out);
  transform-origin: center;
}

.uc-nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.uc-nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.uc-nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero-specific nav: start white text on dark video */
.uc-nav--hero .uc-nav__link {
  color: rgba(255, 255, 255, 0.7);
}

.uc-nav--hero .uc-nav__link:hover,
.uc-nav--hero .uc-nav__link.active {
  color: #FFFFFF;
}

.uc-nav--hero .uc-nav__hamburger span {
  background: #FFFFFF;
}

.uc-nav--hero.scrolled .uc-nav__link {
  color: var(--text-muted);
}

.uc-nav--hero.scrolled .uc-nav__link:hover,
.uc-nav--hero.scrolled .uc-nav__link.active {
  color: var(--text-primary);
}

.uc-nav--hero.scrolled .uc-nav__hamburger span {
  background: var(--text-primary);
}

/* ==========================================================================
   6. CURTAIN OVERLAY MENU (Full-screen)
   ========================================================================== */

#curtainOverlayMenu {
  position: fixed;
  inset: 0;
  background: rgba(253, 251, 247, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
}

#curtainOverlayMenu.active {
  opacity: 1;
  pointer-events: auto;
}

.curtain-close {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-size: 18px;
  transition: all var(--duration-fast) ease;
}

.curtain-close:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.curtain-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.curtain-link {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 300;
  color: var(--text-primary);
  transition: all var(--duration-normal) var(--ease-out);
  padding: 8px 0;
  position: relative;
}

.curtain-link:hover {
  color: var(--accent-gold);
  letter-spacing: 0.03em;
}

.curtain-contact {
  margin-top: 48px;
  text-align: center;
}

.curtain-contact p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.curtain-contact a {
  color: var(--accent-gold);
  font-weight: 500;
}

/* ==========================================================================
   7. HERO COMPONENTS
   ========================================================================== */

/* Full Video Hero */
.uc-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uc-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uc-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.25) 0%,
    rgba(26, 26, 26, 0.1) 40%,
    rgba(26, 26, 26, 0.35) 100%
  );
}

.uc-hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #FFFFFF;
  padding: 0 var(--section-pad-x);
  max-width: 800px;
}

.uc-hero__content h1 {
  color: #FFFFFF;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  margin-bottom: 16px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.2);
}

.uc-hero__content .uc-script {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  margin-bottom: 32px;
  display: block;
}

.uc-hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
}

.uc-hero__scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
}

.uc-hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Page Header (non-home pages) */
.uc-page-header {
  padding: clamp(100px, 12vw, 160px) 0 clamp(40px, 5vw, 72px);
  text-align: center;
}

.uc-page-header .uc-meta {
  margin-bottom: 12px;
  display: block;
}

.uc-page-header .uc-heading-1 {
  margin-bottom: 8px;
}

.uc-page-header .uc-script {
  display: block;
}

/* Breadcrumb */
.uc-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 20px;
}

.uc-breadcrumb a {
  color: var(--accent-gold);
  transition: color var(--duration-fast) ease;
}

.uc-breadcrumb a:hover {
  color: var(--accent-gold-hover);
}

.uc-breadcrumb span {
  color: var(--border-medium);
}

/* ==========================================================================
   8. BUTTONS
   ========================================================================== */

.uc-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--accent-gold);
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.uc-btn-primary:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.3);
  color: var(--white);
}

.uc-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: transparent;
  padding: 13px 32px;
  border-radius: 100px;
  border: 1px solid var(--border-medium);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.uc-btn-secondary:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-1px);
}

/* Button on dark backgrounds */
.uc-section--dark .uc-btn-secondary {
  color: var(--bg-primary);
  border-color: rgba(253, 251, 247, 0.3);
}

.uc-section--dark .uc-btn-secondary:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* Link Arrow */
.uc-link-arrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--duration-fast) ease;
}

.uc-link-arrow:hover {
  gap: 14px;
  color: var(--accent-gold-hover);
}

.uc-link-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

/* ==========================================================================
   9. CARDS
   ========================================================================== */

.uc-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.uc-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.uc-card__image {
  width: 100%;
  overflow: hidden;
}

.uc-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.uc-card:hover .uc-card__image img {
  transform: scale(1.04);
}

.uc-card__body {
  padding: 24px;
}

/* Portfolio Card */
.uc-portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.uc-portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.uc-portfolio-card:hover img {
  transform: scale(1.05);
}

.uc-portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.uc-portfolio-card:hover .uc-portfolio-card__overlay {
  opacity: 1;
}

.uc-portfolio-card__overlay h4 {
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
}

.uc-portfolio-card__overlay span {
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ==========================================================================
   10. GLASSMORPHISM
   ========================================================================== */

.uc-glass {
  background: rgba(253, 251, 247, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(229, 224, 216, 0.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.uc-glass--dark {
  background: rgba(26, 26, 26, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   11. FORMS
   ========================================================================== */

.uc-form-group {
  position: relative;
  margin-bottom: 20px;
}

.uc-form-label {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.uc-form-input,
.uc-form-select,
.uc-form-textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
  outline: none;
}

.uc-form-input:focus,
.uc-form-select:focus,
.uc-form-textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-light);
}

.uc-form-textarea {
  resize: vertical;
  min-height: 120px;
}

.uc-form-input::placeholder,
.uc-form-textarea::placeholder {
  color: var(--text-light);
  font-weight: 300;
}

/* Floating Label Pattern */
.uc-float-group {
  position: relative;
}

.uc-float-group .uc-form-input,
.uc-float-group .uc-form-textarea {
  padding-top: 20px;
}

.uc-float-group .uc-float-label {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
  pointer-events: none;
  transition: all var(--duration-fast) ease;
  font-weight: 300;
}

.uc-float-group .uc-form-input:focus ~ .uc-float-label,
.uc-float-group .uc-form-input:not(:placeholder-shown) ~ .uc-float-label,
.uc-float-group .uc-form-textarea:focus ~ .uc-float-label,
.uc-float-group .uc-form-textarea:not(:placeholder-shown) ~ .uc-float-label {
  top: 4px;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 500;
}

/* ==========================================================================
   12. PORTFOLIO FILTERS
   ========================================================================== */

.uc-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.uc-filter-btn {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: none;
  padding: 8px 0;
  cursor: pointer;
  position: relative;
  transition: color var(--duration-fast) ease;
}

.uc-filter-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: width var(--duration-normal) var(--ease-out);
}

.uc-filter-btn:hover,
.uc-filter-btn.active {
  color: var(--text-primary);
}

.uc-filter-btn.active::after,
.uc-filter-btn:hover::after {
  width: 100%;
}

/* ==========================================================================
   13. MASONRY / GRID LAYOUTS
   ========================================================================== */

.uc-masonry {
  columns: 3;
  column-gap: 20px;
}

.uc-masonry > * {
  break-inside: avoid;
  margin-bottom: 20px;
}

.uc-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.uc-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.uc-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Alternating Service Rows */
.uc-alternate-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.uc-alternate-row:nth-child(even) > :first-child {
  order: 2;
}

.uc-alternate-row:nth-child(even) > :last-child {
  order: 1;
}

/* ==========================================================================
   14. LIGHTBOX
   ========================================================================== */

.uc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) ease;
}

.uc-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.uc-lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.uc-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--duration-fast) ease;
  cursor: pointer;
  background: none;
}

.uc-lightbox__close:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.uc-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--duration-fast) ease;
  cursor: pointer;
  background: none;
}

.uc-lightbox__nav:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.uc-lightbox__nav--prev { left: 20px; }
.uc-lightbox__nav--next { right: 20px; }

/* ==========================================================================
   15. FOOTER
   ========================================================================== */

.uc-footer {
  background: var(--bg-dark);
  color: rgba(253, 251, 247, 0.7);
  position: relative;
  overflow: hidden;
}

.uc-footer__cta {
  text-align: center;
  padding: clamp(60px, 8vw, 100px) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.uc-footer__cta h2 {
  color: var(--bg-primary);
  margin-bottom: 8px;
}

.uc-footer__cta .uc-script {
  margin-bottom: 32px;
  display: block;
}

.uc-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0;
}

.uc-footer__heading {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.uc-footer__links {
  list-style: none;
}

.uc-footer__links li {
  margin-bottom: 10px;
}

.uc-footer__links a {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(253, 251, 247, 0.55);
  transition: color var(--duration-fast) ease;
}

.uc-footer__links a:hover {
  color: var(--bg-primary);
}

.uc-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.uc-footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(253, 251, 247, 0.5);
  transition: all var(--duration-fast) ease;
}

.uc-footer__social a:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.uc-footer__social svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.uc-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.72rem;
  color: rgba(253, 251, 247, 0.35);
}

.uc-footer__bottom a {
  color: rgba(253, 251, 247, 0.35);
}

.uc-footer__bottom a:hover {
  color: var(--accent-gold);
}

.uc-footer__legal {
  display: flex;
  gap: 24px;
}

/* Footer Background Watermark */
.uc-footer__watermark {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 300;
  color: rgba(255,255,255,0.025);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* ==========================================================================
   16. BEFORE / AFTER SLIDER
   ========================================================================== */

.before-after-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  user-select: none;
  touch-action: none;
}

.before-after-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after-overlay-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  will-change: clip-path;
}

.before-after-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--accent-gold);
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 20;
}

.before-after-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: var(--white);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.4);
  font-size: 12px;
}

/* ==========================================================================
   17. WHATSAPP FAB
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50%;
  text-align: center;
  font-size: 24px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   18. SCROLL ANIMATIONS
   ========================================================================== */

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-animate="fade-up"].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-left"] {
  transform: translateX(-30px);
}

[data-animate="fade-left"].animated {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="fade-right"] {
  transform: translateX(30px);
}

[data-animate="fade-right"].animated {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="scale-in"] {
  transform: scale(0.95);
}

[data-animate="scale-in"].animated {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }

/* Image Reveal (mask wipe) */
.uc-img-reveal {
  position: relative;
  overflow: hidden;
}

.uc-img-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-primary);
  transform-origin: right;
  transition: transform 1s var(--ease-out);
}

.uc-img-reveal.revealed::after {
  transform: scaleX(0);
}

/* Stats Counter Animation */
.uc-stat {
  text-align: center;
}

.uc-stat__number {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--text-primary);
  line-height: 1;
}

.uc-stat__label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ==========================================================================
   19. TIMELINE
   ========================================================================== */

.uc-timeline {
  position: relative;
  padding-left: 40px;
}

.uc-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border-light);
}

.uc-timeline__item {
  position: relative;
  padding-bottom: 48px;
}

.uc-timeline__item::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
}

.uc-timeline__year {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.uc-timeline__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

/* ==========================================================================
   20. TEAM GRID
   ========================================================================== */

.uc-team-card {
  text-align: center;
}

.uc-team-card__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  transition: transform var(--duration-slow) var(--ease-out);
}

.uc-team-card:hover .uc-team-card__photo {
  transform: scale(1.02);
}

.uc-team-card__name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.uc-team-card__role {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==========================================================================
   21. MOBILE STICKY CTA
   ========================================================================== */

.uc-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: 12px 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}

.uc-mobile-cta .uc-btn-primary {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   22. RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1200px) {
  .uc-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .uc-masonry { columns: 2; }
}

@media (max-width: 1024px) {
  .uc-nav__links { display: none; }
  .uc-nav__hamburger { display: flex; }
  .uc-nav__cta { display: none; }

  .uc-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .uc-alternate-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .uc-alternate-row:nth-child(even) > :first-child,
  .uc-alternate-row:nth-child(even) > :last-child {
    order: unset;
  }

  .uc-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .uc-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --section-pad-y: 48px;
    --section-pad-x: 20px;
  }

  .uc-hero__content h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .uc-mobile-cta { display: block; }

  .whatsapp-float {
    bottom: 80px;
  }

  .uc-masonry { columns: 1; }
  .uc-grid-2 { grid-template-columns: 1fr; }
  .uc-grid-3 { grid-template-columns: 1fr; }
  .uc-grid-4 { grid-template-columns: repeat(2, 1fr); }

  .uc-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .uc-footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .uc-footer__legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .uc-lightbox__nav { display: none; }
}

@media (max-width: 480px) {
  .uc-grid-4 { grid-template-columns: 1fr; }

  .uc-filters {
    gap: 16px;
  }

  .uc-hero__scroll { display: none; }

  .uc-nav__inner { height: 64px; }
  .uc-nav__logo img { height: 30px; }
}

/* ==========================================================================
   23. PRINT STYLES
   ========================================================================== */

@media print {
  .uc-nav, .uc-footer, .whatsapp-float, .uc-mobile-cta,
  #curtainOverlayMenu, .uc-lightbox {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }
}

/* ==========================================================================
   24. SCROLLBAR CONCEALER & LUXURY FILTER CAPSULES
   ========================================================================== */

/* Universal Scrollbar Concealer */
.no-scrollbar {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}
.no-scrollbar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Luxury Segmented Filter Capsule */
.uc-filter-capsule {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 222, 215, 0.9);
  padding: 4px 6px;
  border-radius: 9999px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  box-sizing: border-box;
}
.uc-filter-capsule::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Luxury Filter Pill Item */
.uc-filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 9999px;
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid transparent;
  color: #64748b;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
.uc-filter-pill:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}
.uc-filter-pill.active {
  background: #1A181C !important;
  color: #C5A059 !important;
  border-color: #1A181C !important;
  box-shadow: 0 4px 14px rgba(26, 24, 28, 0.25);
  transform: translateY(-1px);
}
.uc-filter-pill .badge-count {
  font-size: 9px;
  font-family: monospace;
  font-weight: 700;
  padding: 1px 5.5px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.06);
  color: #64748b;
  transition: all 0.25s ease;
}
.uc-filter-pill.active .badge-count {
  background: rgba(197, 160, 89, 0.22);
  color: #E2C17D;
}

@media (max-width: 640px) {
  .uc-filter-capsule {
    padding: 3px 4px;
    gap: 3px;
  }
  .uc-filter-pill {
    padding: 4.5px 8.5px;
    font-size: 9.5px;
    gap: 3.5px;
  }
  .uc-filter-pill .badge-count {
    font-size: 8px;
    padding: 0.5px 4px;
  }
}

/* Floating WhatsApp FAB - Site-wide disabled */
.whatsapp-float {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* iOS Safari date input overflow fix */
input[type="date"],
input[type="date"].luxury-input {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  -webkit-appearance: none;
  appearance: none;
  overflow: hidden !important;
}
@media (max-width: 640px) {
  input[type="date"],
  input[type="date"].luxury-input {
    font-size: 11px !important;
    padding-left: 8px !important;
    padding-right: 4px !important;
  }
}

/* 25. LUXURY JOURNAL & BLOG ARTICLE TYPOGRAPHY */
.prose h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.3;
  margin-top: 2.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}
.prose h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.35;
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
}
.prose p {
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 1.4rem;
}
.prose blockquote {
  border-left: 4px solid var(--accent-gold);
  background: rgba(197, 160, 89, 0.08);
  padding: 1.25rem 1.5rem;
  border-radius: 0 1rem 1rem 0;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-primary);
}
.prose ul, .prose ol {
  padding-left: 1.5rem;
  margin: 1.25rem 0;
  color: var(--text-secondary);
  line-height: 1.8;
}
.prose li {
  margin-bottom: 0.5rem;
}
.prose figure {
  margin: 2.5rem 0;
  border-radius: 1.25rem;
  overflow: hidden;
}
.prose figure img {
  width: 100%;
  height: auto;
  border-radius: 1rem 1rem 0 0;
  display: block;
}
.prose figcaption {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
  padding: 0.75rem 1rem;
  background: #FAF8F5;
  border-top: 1px solid var(--border-light);
}

