/* ========================================
   CLEAN VIBEZ VIP - GLOBAL STYLES
   
   This file contains ONLY:
   - CSS Reset
   - Base Typography
   - Global Layout Utilities
   - Button Styles
   
   Section-specific styles are in:
   sections/[section-name]/[section-name].css
   
   Shared components in:
   assets/css/booking-widget.css
   ======================================== */

/* ========== CSS RESET ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Old Edge */
  font-size: 16px;
  overflow-x: hidden;
}

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

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar {
  display: none;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0a0500;
  color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

/* ========== TYPOGRAPHY ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

h1 {
  font-size: clamp(3rem, 6vw, 88.7px);
  line-height: 1.32;
  /* ~117px line height proportional */
  letter-spacing: 0;
  text-align: center;
}

h2 {
  font-size: clamp(1.8rem, 4.5vmin, 3rem);
}

h3 {
  font-size: clamp(1.2rem, 3.5vmin, 1.5rem);
}

p {
  color: #d9d9d9;
  margin-bottom: 2vh;
}

.eyebrow {
  display: inline-block;
  color: #747474;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

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

/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: 90vw;
  margin: 0 auto;
  padding: 0 1.5vw;
}

.section {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6vh 0;
  overflow: hidden;
  position: relative;
}

@media (max-width: 1023px) {
  .section {
    margin: 5vh 20px;
    border-radius: 30px;
    min-height: 80vh;
    padding: 6vh 5vw;
    background: #100c07;
    position: relative;
    overflow: hidden;
    width: auto;
    /* Allow margin to work without pushing past 100vw */
    max-width: 100%;
  }

  .section.booking-cta,
  .section.vibe-section {
    background: transparent;
    /* These sections have their own bg image/video cards */
  }

  .section.vibe-section {
    min-height: auto;
    padding: 0;
    margin: 20px auto;
    border-radius: 0;
    width: calc(100% - 40px);
    max-width: 100%;
  }

  body {
    background: #0a0500;
  }
}

.section-spacing {
  padding: 8vh 0;
}

.section-dark {
  background: #100c07;
}

.section-alt {
  background: #0d0805;
}

.section-accent {
  background: linear-gradient(180deg, #1a1510 0%, #0a0500 100%);
}

/* Two Column Layout */
.two-column {
  display: grid;
  gap: 3vh;
}

@media (min-width: 768px) {
  .two-column {
    grid-template-columns: 1fr 1fr;
    gap: 5vh;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .two-column {
    gap: 8vh;
  }
}

.no-top-gap {
  padding-top: 0 !important;
}

.two-column-reverse .column:first-child {
  order: 2;
}

.two-column-reverse .column:last-child {
  order: 1;
}

@media (max-width: 767px) {
  .two-column-reverse .column:first-child {
    order: 1;
  }

  .two-column-reverse .column:last-child {
    order: 2;
  }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* gap: 0.5rem; */
  font-size: 1rem;
  font-weight: 600;
  border-radius: 150px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(90deg, #e0b973 0%, #ae8741 100%);
  color: #0a0500;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(224, 185, 115, 0.3);
}

.btn-outline {
  background: transparent;
  color: #e0b973;
  border: 2px solid #e0b973;
}

.btn-outline:hover {
  background: #e0b973;
  color: #0a0500;
}

.btn-icon {
  width: 1rem;
  height: 1rem;
}

/* ========== BLUR-UP IMAGE OPTIMIZATION ========== */
.blur-load {
  position: relative;
  overflow: hidden;
}

/* Ensure blur-load doesn't override absolute positioning if already set */
.hero-bg.blur-load,
.cs-hero-bg.blur-load,
.mp-hero-bg.blur-load,
.hero-bg-overlay.blur-load {
  position: absolute;
}

.blur-load::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(26, 21, 16, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 5;
  /* Sit above the hidden image but below content */
  transition: opacity 1s ease-in-out;
}

.blur-load.loaded::before {
  opacity: 0;
  pointer-events: none;
}

.blur-load img {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.blur-load.loaded img {
  opacity: 1;
}