/* Vibrant Concepts - Main Stylesheet */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #140B2D;
  background-color: var(--bg-primary, #140B2D);
  color: #F8F8FA;
  color: var(--text-primary, #F8F8FA);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.0625rem; /* 17px base for editorial reading comfort */
  line-height: 1.65;
  color: #F8F8FA;
  color: var(--text-primary, #F8F8FA);
  background-color: #140B2D;
  background-color: var(--bg-primary, #140B2D);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  font-weight: 300;
}

h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 300;
}

h3 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 400;
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 400;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  max-width: 72ch;
}

p.lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-primary);
  font-weight: 300;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

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

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

ul, ol {
  list-style: none;
}

/* Container & Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.container-narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  position: relative;
}

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

.section-border {
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  margin-bottom: var(--space-xl);
  max-width: 720px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header p {
  font-size: 1.125rem;
}

/* Grid Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

/* Button & Link Components - Premium Luxury Design System */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 58px;
  padding: 0.85rem 2.5rem; /* 40px horizontal padding */
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 16px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              color 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background-color: #D6B56D;
  color: #140B2D;
  border-color: #D6B56D;
  box-shadow: 0 4px 20px rgba(214, 181, 109, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: rotate(25deg);
  transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  pointer-events: none;
}

.btn-primary:hover {
  background-color: #E5C885;
  border-color: #E5C885;
  color: #140B2D;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(214, 181, 109, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-primary:hover::after {
  left: 125%;
  opacity: 1;
}

.btn-primary:focus-visible {
  outline: 2px solid #D6B56D;
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(214, 181, 109, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: #F8F8FA;
  border: 2px solid #D6B56D;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  background-color: #D6B56D;
  color: #140B2D;
  border-color: #D6B56D;
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(214, 181, 109, 0.35);
}

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

.btn-outline-gold:hover {
  background-color: #D6B56D;
  color: #140B2D;
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(214, 181, 109, 0.35);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
  transition: gap var(--transition-fast);
}

.link-arrow:hover {
  gap: 0.85rem;
  color: var(--gold-hover);
}

/* Animation Classes */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .btn {
    padding: 0.875rem 1.75rem;
    font-size: 0.8125rem;
  }
}
