/**
 * Homepage Styles
 * Final Premium Atmospheric Implementation
 * Luxury Hospitality Consultancy
 */

/* ========================================
   GLOBAL CONTINUOUS BACKGROUND SYSTEM
   ======================================== */

/* Rich charcoal base background */
html,
body {
  background-color: #0C0C0F;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#main-content {
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

.atmosphere-wrapper {
  overflow-x: clip;
}

/* Extremely subtle page depth gradient */
body::before {
  content: '';
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, 
    #0E0E12 0%, 
    #0C0C0F 50%, 
    #0B0B0E 100%
  );
  opacity: 0.6;
}

/* Viewport clipped atmosphere container */
.atmosphere-wrapper {
  position: fixed;
  inset: 0;
  overflow: clip;
  pointer-events: none;
  z-index: 0;
}

.home-atmosphere {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ========================================
   ATMOSPHERIC DECORATIVE IMAGERY
   ======================================== */

.atmosphere-left-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.atmosphere-left {
  position: absolute;
  left: -6%;
  top: 0;
  height: 100%;
  max-height: 80vh;
  width: auto;
  object-fit: contain;
  object-position: center top;
  opacity: 0.62;
  pointer-events: none;
  filter: contrast(1.08) saturate(1.15) brightness(0.88);
  
  mask-image: 
    linear-gradient(to right, black 35%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: 
    linear-gradient(to right, black 35%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.atmosphere-left-wrapper::after {
  content: '';
  position: absolute;
  left: -10%;
  top: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse at 25% 50%, rgba(55, 60, 70, 0.07) 0%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
}

.atmosphere-right-wrapper {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.atmosphere-right {
  position: absolute;
  right: -6%;
  top: 65vh;
  height: auto;
  max-height: 70vh;
  width: auto;
  object-fit: contain;
  object-position: center top;
  opacity: 0.62;
  pointer-events: none;
  filter: contrast(1.08) saturate(1.15) brightness(0.88);
  
  mask-image: 
    linear-gradient(to left, black 35%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: 
    linear-gradient(to left, black 35%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.atmosphere-right-wrapper::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse at 75% 50%, rgba(55, 60, 70, 0.07) 0%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
}

/* ========================================
   SECTION STYLES
   ======================================== */

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: transparent;
  overflow: visible;
  padding-top: 12vh;
  padding-bottom: 14vh;
  z-index: 2;
}

/* Hero Content */
.section-1 .container {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  text-align: center;
  display: block;
  width: 100%;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: var(--space-xl);
  opacity: 0.8;
}

.section-1 h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
  line-height: 1.15;
}

.section-1 .lead {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.8;
  line-height: 1.7;
}

/* All Narrative Sections */
.narrative-section {
  background: transparent;
  position: relative;
  z-index: 2;
  padding: var(--space-xl) 0;
}

.section-2 {
  padding: var(--space-lg) 0 var(--space-xl) 0;
}

.section-2 .credibility-intro {
  text-align: center;
}

.section-2 .lead-large {
  line-height: 1.7;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-xl);
}

.section-2 p {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-md);
  line-height: 1.8;
  opacity: 0.85;
}

.intro-section {
  padding: var(--space-xl) 0 var(--space-2xl) 0;
}

.intro-section p {
  margin-bottom: var(--space-lg);
  line-height: 1.8;
  opacity: 0.85;
}

.intro-section .lead-medium {
  opacity: 0.9;
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: var(--space-xl);
}

.services-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.summary-item {
  padding: var(--space-md);
  text-align: center;
  opacity: 0.8;
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .services-summary {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(-1 * var(--space-lg));
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(120, 125, 140, 0.4), transparent);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.value-card:last-child {
  grid-column: 2 / 3;
}

@media (max-width: 992px) {
  .value-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .value-card:last-child {
    grid-column: auto;
  }
}

.value-card {
  text-align: center;
  padding: var(--space-lg);
  position: relative;
}

.value-card h3 {
  text-align: center;
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.value-card p {
  text-align: center;
  opacity: 0.8;
  line-height: 1.7;
  margin: 0;
}

.about-intro {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xl);
  align-items: center;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.about-intro h2 {
  text-align: left;
  margin-bottom: var(--space-sm);
}

.about-intro .lead {
  text-align: left;
  opacity: 0.7;
  margin-bottom: var(--space-lg);
}

.about-intro p {
  text-align: left;
  margin-bottom: var(--space-md);
  line-height: 1.8;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }
  
  .about-intro h2,
  .about-intro .lead,
  .about-intro p {
    text-align: center;
  }
}

/* Standard Content Section */
.standard-section {
  background: transparent;
  position: relative;
  z-index: 3;
  padding: 10vh 0 12vh 0;
}

/* ========================================
   COMPONENTS
   ======================================== */

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.service-card {
  background-color: #16161B;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: transform 0.3s var(--ease-out-expo), background-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  background-color: #1B1B22;
}

.service-card h3 {
  margin-bottom: var(--space-sm);
  font-weight: 600;
  text-align: center;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  text-align: center;
  opacity: 0.8;
}

/* Footer */
#site-footer {
  padding: 8vh 0;
  background: transparent;
  border-top: 1px solid rgba(120, 125, 140, 0.12);
  position: relative;
  z-index: 3;
}

.footer-content {
  text-align: center;
}

.footer-brand {
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

#site-footer p {
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
  color: var(--color-muted);
}