/* ==========================================
   LUXURY AGENT - CORE STYLESHEET
   Design System & Responsive Foundation
   ========================================== */

/* Custom Font Definitions */
@font-face {
  font-family: 'Williwaw Book';
  src: local('Williwaw Book'),
    local('WilliwawBook'),
    local('Williwaw-Book'),
    url('../fonts/Williwaw-Book.otf') format('opentype'),
    url('./fonts/Williwaw-Book.otf') format('opentype'),
    url('/fonts/Williwaw-Book.otf') format('opentype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Design Tokens & CSS Variables */
:root {
  --main-gradient: linear-gradient(0deg,
      rgb(255, 245, 230),
      rgb(255, 240, 235) 26%,
      rgb(250, 250, 255) 50%,
      rgb(250, 250, 255) 75%,
      rgb(250, 250, 255));
  --bg-color: #f1f1f1;

  /* Color Palette - Elegant Light Theme */
  --bg-card: rgba(255, 255, 255, 0.7);

  --text-primary: #221616;
  --text-secondary: #4a4b57;
  --text-muted: #717280;

  --accent-gold: #b38b46;
  --accent-gold-hover: #967233;

  /* Fonts */
  --font-heading: 'Williwaw Book', 'Williwaw', 'Playfair Display', Georgia, serif;
  --font-geist: 'Geist', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'Geist Mono', monospace, sans-serif;
  --font-body: 'Geist', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* CSS Reset & General Setup */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Lenis Smooth Scroll Recommended CSS */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

html,
body {
  height: auto;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--text-primary);
  line-height: 1.6;
  position: relative;
  background: var(--main-gradient);
  background-attachment: fixed;
}

/* Fixed Background Container */
.bg-container {
  display: none;
}

/* Overlay layer reserved for future UI needs */
.bg-overlay {
  display: none;
}

/* Main Layout Wrapper */
.site-wrapper {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Fullscreen Hero & Section View */
.hero-view,
.section-view {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 1.5rem 6rem;
  position: relative;
  z-index: 1;
}

/* Container Utility */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  transform: translateY(-1.5rem);
}

/* Typography Foundation */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 6.8vw, 5.6rem);
  font-weight: 400;
  text-align: center;
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: var(--text-primary);
  margin: 0 auto;
  max-width: 1000px;
  position: relative;
  z-index: 2;
}

.hero-divider {
  width: 1px;
  height: 52px;
  margin: 2.25rem auto;
  background: linear-gradient(to bottom, rgba(34, 22, 22, 0.4), rgba(34, 22, 22, 0));
  position: relative;
  z-index: 2;
}

.section-view .hero-divider {
  height: 96px;
  margin: 2.5rem auto;
  background: linear-gradient(to bottom, rgba(34, 22, 22, 0.45), rgba(34, 22, 22, 0));
}

.hero-subtext {
  font-family: var(--font-geist);
  font-size: clamp(0.875rem, 1.3vw, 1.05rem);
  font-weight: 400;
  color: var(--text-secondary);
  text-align: center;
  margin: 0 auto;
  max-width: 540px;
  line-height: 1.5;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 2;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 4rem;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  border-radius: 9px;
  text-decoration: none;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Geist Mono', var(--font-mono), monospace;
  text-transform: uppercase;
  cursor: pointer;
}

.btn:hover {
  color: inherit;
}

.btn-capsule {
  border-radius: 9999px;
  padding: 0 2.5rem;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #111;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  transform: scale(0.9);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #111;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: scale(0.9);
}

.btn-light {
  background: rgba(255, 255, 255, 0.8);
  color: #111;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-light:hover {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #111;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.hero-btn {
  margin-top: 2.5rem;
  position: relative;
  z-index: 2;
}

/* Base Links & Buttons */
a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
}