/* ==========================================================================
   PitureArt Luxury Editorial Design System
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-color: #040404;
  --bg-darker: #010101;
  --bg-lighter: #0d0d0d;
  --primary-color: #E5C469;   /* Champagne Gold */
  --secondary-color: #C8C8C8; /* Muted Editorial Grey */
  --accent-color: #B98A28;    /* Antique Gold */
  --border-color: rgba(229, 196, 105, 0.15);
  --border-hover: rgba(229, 196, 105, 0.45);
  --text-white: #ffffff;
  --text-dark: #666666;
  
  /* Fonts */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Layout */
  --container-width: 1440px;
  
  /* Spacing */
  --space-unit: 8px;
  --space-xs: 8px;
  --space-sm: 12px;          /* Reduced from 16px */
  --space-md: 20px;          /* Reduced from 24px */
  --space-lg: 28px;          /* Reduced from 32px */
  --space-xl: 36px;          /* Reduced from 48px */
  --space-xxl: 44px;         /* Reduced from 54px to compress overall section spacing */
  
  /* Custom Cursor Variables */
  --cursor-size: 8px;
  --cursor-ring-size: 40px;
}

/* ==========================================================================
   Base Reset & Document Settings
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--secondary-color);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-color);
  line-height: 1.7;
}

/* Subtle premium grain texture overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(rgba(225, 225, 225, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.8;
}

/* ==========================================================================
   Typography & Typography Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-white);
  font-weight: 300;
  line-height: 1.2;
}

p {
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.4s ease;
}

span.italic {
  font-family: var(--font-serif);
  font-style: italic;
}

/* Custom Selection */
::selection {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

/* Section Title Pattern */
.section-header {
  margin-bottom: var(--space-md); /* Reduced to bring headers closer to contents */
  text-align: center;
}

.section-tag {
  font-family: var(--font-sans);
  color: var(--primary-color);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: var(--space-xs); /* Reduced spacing above title */
  display: block;
}

.section-title {
  font-size: 2.8rem; /* Slightly smaller for cleaner look */
  font-weight: 300;
  letter-spacing: 0.02em;
}

.section-title span {
  font-style: italic;
  font-family: var(--font-serif);
}

.section-subtitle-text {
  max-width: 650px;
  margin: var(--space-sm) auto 0; /* Reduced top margin to 16px */
  font-weight: 200;
  font-size: 0.95rem;
  color: var(--secondary-color);
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* Decorative Gold Line Divider */
.gold-divider {
  width: 60px;
  height: 1px;
  background-color: var(--primary-color);
  margin: var(--space-sm) auto 0; /* Reduced top margin to 16px */
  opacity: 0.6;
}

/* ==========================================================================
   Custom Premium Cursor
   ========================================================================== */
.custom-cursor {
  width: var(--cursor-size);
  height: var(--cursor-size);
  background: var(--primary-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-ring {
  width: var(--cursor-ring-size);
  height: var(--cursor-ring-size);
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out, width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
}

/* Interactive hover classes for cursor */
.custom-cursor.hover {
  width: 14px;
  height: 14px;
  background-color: var(--accent-color);
}

.custom-cursor-ring.hover {
  width: 64px;
  height: 64px;
  border-color: var(--accent-color);
  background-color: rgba(185, 138, 40, 0.05);
}

.custom-cursor-ring.click {
  transform: translate(-50%, -50%) scale(0.8);
  background-color: rgba(229, 196, 105, 0.2);
}

@media (pointer: coarse) {
  .custom-cursor, .custom-cursor-ring {
    display: none; /* Hide cursor on touch devices */
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(4, 4, 4, 0.9);
  backdrop-filter: blur(8px);
  transition: padding 0.4s ease, background-color 0.4s ease;
}

.header.scrolled {
  padding: var(--space-sm) var(--space-lg);
  background-color: rgba(1, 1, 1, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  transition: height 0.4s ease;
}

.header.scrolled .logo-img {
  height: 38px;
}

.nav {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-link {
  font-size: 0.75rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--secondary-color);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), left 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

.nav-cta {
  font-size: 0.75rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: var(--space-xs) var(--space-md);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  transition: all 0.4s ease;
}

.nav-cta:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
  box-shadow: 0 0 15px rgba(229, 196, 105, 0.3);
}

/* Mobile Menu Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
  padding: var(--space-xs);
}

.mobile-nav-toggle .bar {
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--primary-color);
  margin: 6px auto;
  transition: all 0.3s ease-in-out;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 var(--space-xl);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 1.5s cubic-bezier(0.25, 1, 0.3, 1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    rgba(4, 4, 4, 0.95) 0%, 
    rgba(4, 4, 4, 0.8) 50%, 
    rgba(4, 4, 4, 0.4) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  text-align: left;
}

.hero-tag {
  color: var(--primary-color);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  display: inline-block;
}

.hero-headline {
  font-size: 4rem;
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: var(--space-md);
  color: var(--text-white);
}

.hero-headline span {
  font-style: italic;
  font-family: var(--font-serif);
}

.hero-subheadline {
  font-size: 1.1rem;
  font-weight: 200;
  color: var(--secondary-color);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
}

.btn {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid var(--primary-color);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-color);
  box-shadow: 0 0 20px rgba(229, 196, 105, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: 0 0 15px rgba(229, 196, 105, 0.15);
}

/* ==========================================================================
   Featured Collection
   ========================================================================== */
.featured {
  padding: var(--space-xxl) 0;
  background-color: var(--bg-darker);
  border-bottom: 1px solid var(--border-color);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.featured-card {
  background-color: var(--bg-lighter);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.featured-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
}

.featured-img-wrapper {
  position: relative;
  padding-bottom: 120%; /* Portrait 4:5 aspect ratio */
  overflow: hidden;
  background-color: #111;
}

.featured-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-sm); /* Prevents cropping by keeping padding around the artwork */
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.3, 1);
}

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

.featured-info {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.featured-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.featured-desc {
  font-size: 0.85rem;
  color: var(--secondary-color);
  margin-bottom: var(--space-md);
  line-height: 1.6;
  flex-grow: 1;
}

.featured-meta {
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.featured-price {
  color: var(--primary-color);
  font-weight: 500;
}

/* ==========================================================================
   About / Philosophy Section
   ========================================================================== */
.about {
  padding: var(--space-xxl) 0;
  border-bottom: 1px solid var(--border-color);
}

.about-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  align-items: center;
}

.about-content {
  text-align: left;
}

.about-tag {
  color: var(--primary-color);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: var(--space-sm);
  display: block;
}

.about-heading {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
}

.about-heading span {
  font-style: italic;
  font-family: var(--font-serif);
}

.about-desc {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: var(--space-md);
  font-weight: 200;
}

.about-signature {
  margin-top: var(--space-lg);
}

.about-signature-text {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--primary-color);
  font-style: italic;
}

.about-signature-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-dark);
}

.about-image-wrapper {
  position: relative;
  border: 1px solid var(--border-color);
  padding: var(--space-md);
}

.about-image-frame {
  position: relative;
  overflow: hidden;
  padding-bottom: 110%;
}

.about-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-image-wrapper:hover .about-img {
  transform: scale(1.03);
}

/* ==========================================================================
   Luxury Commission Process
   ========================================================================== */
.commission {
  padding: var(--space-xxl) 0;
  background-color: var(--bg-darker);
  border-bottom: 1px solid var(--border-color);
}

.commission-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-xl);
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  align-items: flex-start;
}

.commission-steps-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.process-step-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  opacity: 0.85;
  transition: opacity 0.4s ease;
}

.process-step-item:hover {
  opacity: 1;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  flex-shrink: 0;
  background-color: var(--bg-darker);
  box-shadow: 0 0 15px rgba(4, 4, 4, 1);
  transition: all 0.4s ease;
}

.process-step-item:hover .step-number {
  background-color: var(--primary-color);
  color: var(--bg-color);
  box-shadow: 0 0 15px rgba(229, 196, 105, 0.4);
}

.step-content {
  text-align: left;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--text-white);
  margin-bottom: var(--space-xs);
}

.step-desc {
  font-size: 0.85rem;
  color: var(--secondary-color);
  line-height: 1.6;
  max-width: 550px;
}

.commission-video-wrapper {
  position: sticky;
  top: 150px;
  border: 1px solid var(--border-color);
  padding: var(--space-sm);
  background-color: var(--bg-lighter);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.commission-video-wrapper:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 30px rgba(229, 196, 105, 0.15);
}

.commission-video {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 520px;
  display: block;
  object-fit: cover;
}

/* ==========================================================================
   Why Choose PitureArt (Features)
   ========================================================================== */
.features {
  padding: var(--space-xxl) 0;
  border-bottom: 1px solid var(--border-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.feature-card {
  padding: var(--space-lg) var(--space-md);
  background-color: var(--bg-lighter);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.4s ease;
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto var(--space-md) auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  fill: var(--primary-color);
  width: 32px;
  height: 32px;
}

.feature-title {
  font-size: 1.3rem;
  color: var(--text-white);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--secondary-color);
  line-height: 1.6;
}

/* ==========================================================================
   Art Gallery
   ========================================================================== */
.gallery {
  padding: var(--space-xxl) 0;
  background-color: var(--bg-darker);
  border-bottom: 1px solid var(--border-color);
}

/* Luxury Masonry Grid Layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: var(--space-md);
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Masonry spans */
.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--bg-darker); /* Dark backdrop */
  cursor: pointer;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.gallery-item:hover {
  border-color: rgba(229, 196, 105, 0.35);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

/* Grid layout rules for dynamic editorial spacing */
.gallery-item.span-2h {
  grid-column: span 2;
}

.gallery-item.span-2v {
  grid-row: span 2;
}

.gallery-item.span-3 {
  grid-column: span 1;
  grid-row: span 2;
}

.gallery-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(95%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05); /* Subtle canvas border */
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.3, 1), filter 0.8s ease, border-color 0.8s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.03);
  filter: brightness(100%);
  border-color: var(--primary-color); /* Highlight frame in gold on hover */
}

/* Fine-art editorial metadata overlay */
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top, 
    rgba(4, 4, 4, 0.95) 0%, 
    rgba(4, 4, 4, 0.4) 50%, 
    transparent 100%
  );
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  z-index: 2;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.3, 1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-meta-tag {
  color: var(--primary-color);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 4px;
}

.gallery-art-title {
  font-size: 1.4rem;
  color: var(--text-white);
  line-height: 1.2;
}

.gallery-art-desc {
  font-size: 0.8rem;
  color: var(--secondary-color);
  margin-top: 4px;
  font-weight: 200;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
  padding: var(--space-xxl) 0;
  border-bottom: 1px solid var(--border-color);
}

.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.3, 1);
}

.testimonial-slide {
  min-width: 100%;
  text-align: center;
  padding: 0 var(--space-md);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.testimonial-slide.active {
  opacity: 1;
}

.testimonial-quote-icon {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 0.1;
  color: var(--primary-color);
  opacity: 0.2;
  margin-bottom: var(--space-md);
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  line-height: 1.6;
  color: var(--text-white);
  font-style: italic;
  font-weight: 300;
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  font-family: var(--font-sans);
}

.testimonial-name {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-color);
  font-weight: 500;
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--text-dark);
  margin-top: 4px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Slider Navigation Controls */
.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  align-items: center;
}

.control-btn {
  background: none;
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  transition: all 0.4s ease;
}

.control-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.control-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 6px;
  height: 6px;
  background-color: var(--border-color);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s ease;
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.3);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq {
  padding: var(--space-xxl) 0;
  background-color: var(--bg-darker);
  border-bottom: 1px solid var(--border-color);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-md) 0;
  transition: border-color 0.4s ease;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: var(--space-sm) 0;
}

.faq-question-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-white);
  transition: color 0.3s ease;
}

.faq-item:hover .faq-question-title {
  color: var(--primary-color);
}

.faq-icon {
  position: relative;
  width: 14px;
  height: 14px;
}

.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background-color: var(--primary-color);
  transition: transform 0.4s ease;
}

/* Horizontal bar */
.faq-icon::before {
  top: 6px;
  left: 0;
  width: 14px;
  height: 1px;
}

/* Vertical bar */
.faq-icon::after {
  top: 0;
  left: 6px;
  width: 1px;
  height: 14px;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item.active .faq-icon::before {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.3, 1), padding 0.4s ease;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--secondary-color);
}

.faq-item.active .faq-answer {
  padding-bottom: var(--space-md);
}

/* ==========================================================================
   Bespoke CTA & Contact Form
   ========================================================================== */
.cta-section {
  padding: var(--space-xxl) 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.cta-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: var(--space-xl);
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  align-items: flex-start;
}

.cta-text-side {
  position: sticky;
  top: 150px;
}

.cta-headline {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
  line-height: 1.15;
}

.cta-headline span {
  font-style: italic;
  font-family: var(--font-serif);
}

.cta-subtext {
  font-size: 1rem;
  font-weight: 200;
  color: var(--secondary-color);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.cta-contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-md);
}

.contact-detail {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.contact-detail span {
  color: var(--primary-color);
  font-weight: 500;
}

/* Luxury Consultation Form */
.cta-form-side {
  background-color: var(--bg-lighter);
  border: 1px solid var(--border-color);
  padding: var(--space-lg);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
}

.form-input {
  width: 100%;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-white);
  padding: var(--space-sm) 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.4s ease;
}

.form-input:focus {
  border-bottom-color: var(--primary-color);
}

textarea.form-input {
  min-height: 100px;
  resize: vertical;
}

/* Premium custom style selectors */
.style-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}

.style-option {
  border: 1px solid var(--border-color);
  padding: var(--space-sm) var(--space-xs);
  text-align: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.4s ease;
}

.style-option.selected, .style-option:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: rgba(229, 196, 105, 0.03);
}

.form-submit-btn {
  width: 100%;
  margin-top: var(--space-md);
  border: 1px solid var(--primary-color);
}

/* Success Message Popup */
.form-success-message {
  display: none;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.form-success-icon {
  color: var(--primary-color);
  font-size: 3rem;
  margin-bottom: var(--space-sm);
}

.form-success-title {
  font-size: 2rem;
  margin-bottom: var(--space-xs);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: var(--space-xl) 0 var(--space-md) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: var(--space-xl);
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  margin-bottom: var(--space-xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-logo {
  height: 40px;
  width: auto;
  align-self: flex-start;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--text-white);
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.7;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-col-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary-color);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: 0.85rem;
}

.footer-link:hover {
  color: var(--primary-color);
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.newsletter-form {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--space-xs);
}

.newsletter-input {
  flex-grow: 1;
  background: none;
  border: none;
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  outline: none;
}

.newsletter-submit {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: color 0.3s ease;
}

.newsletter-submit:hover {
  color: var(--text-white);
}

.footer-socials {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.social-link {
  color: var(--secondary-color);
  font-size: 0.9rem;
}

.social-link:hover {
  color: var(--primary-color);
}

/* Footer Bottom Copyright & Legal */
.footer-bottom {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg) 0;
  border-top: 1px solid rgba(229, 196, 105, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-dark);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-md);
}

/* ==========================================================================
   Responsive Adaptation Breakpoints
   ========================================================================== */

/* Tablet Portrait Breakpoint */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2.5rem;
  }
  
  .hero {
    padding: 0 var(--space-lg);
  }
  
  .hero-headline {
    font-size: 3rem;
  }
  
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  
  .featured-card:last-child {
    grid-column: span 2;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .about-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }
  
  .gallery-item.span-3 {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .cta-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .cta-text-side {
    position: static;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
  :root {
    --space-xl: 64px;
    --space-xxl: 80px;
  }
  
  .header {
    padding: var(--space-sm) var(--space-md);
  }
  
  .header.scrolled {
    padding: var(--space-sm) var(--space-md);
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-darker);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-lg);
    transition: right 0.5s cubic-bezier(0.25, 1, 0.3, 1);
    z-index: 1001;
  }
  
  .nav.active {
    right: 0;
  }
  
  /* Mobile menu overlay when active */
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
  }
  
  .mobile-menu-overlay.active {
    display: block;
  }
  
  /* Menu icon active animation */
  .mobile-nav-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .mobile-nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .hero-headline {
    font-size: 2.2rem;
  }
  
  .hero-subheadline {
    font-size: 0.95rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .featured-card:last-child {
    grid-column: span 1;
  }
  
  .commission-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .commission-video-wrapper {
    position: static;
    max-width: 100%;
    margin-top: var(--space-md);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }
  
  .gallery-item {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
  
  .testimonial-text {
    font-size: 1.4rem;
  }
  
  .faq-question-title {
    font-size: 1.15rem;
  }
  
  .cta-headline {
    font-size: 2.2rem;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .style-options {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}
