@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Sora:wght@400;500;600;700&display=swap');

:root {
  /* Colors */
  --c-charcoal: #111827;
  --c-charcoal-light: #1f2937;
  --c-white: #FAFAF8;
  --c-gold: #C9A227;
  --c-gold-hover: #b08d22;
  --c-navy: #1B2A41;
  --c-gray-100: #f3f4f6;
  --c-gray-300: #d1d5db;
  --c-gray-600: #4b5563;
  --c-gray-800: #1f2937;

  /* Typography */
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-gold: 0 4px 20px -2px rgba(201, 162, 39, 0.4);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--c-charcoal);
  background-color: var(--c-white);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  position: relative;
  max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--c-charcoal);
  font-weight: 600;
}

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

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-24) 0;
}

.section-dark {
  background-color: var(--c-charcoal);
  color: var(--c-white);
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--c-white);
}

.text-gold {
  color: var(--c-gold);
}

.bg-gold {
  background-color: var(--c-gold);
}

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

.grid {
  display: grid;
}

.flex {
  display: flex;
}

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

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.gap-12 { gap: var(--space-12); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4) var(--space-8);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background-color: var(--c-gold);
  color: var(--c-charcoal);
}

.btn-primary:hover {
  background-color: var(--c-gold-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--c-white);
  color: var(--c-white);
}

.btn-outline:hover {
  background-color: var(--c-white);
  color: var(--c-charcoal);
  transform: translateY(-2px);
}

.btn-outline-dark {
  border: 1px solid var(--c-charcoal);
  color: var(--c-charcoal);
}

.btn-outline-dark:hover {
  background-color: var(--c-charcoal);
  color: var(--c-white);
  transform: translateY(-2px);
}

/* Texture for dark sections */
.grain-overlay {
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox=%220 0 200 200%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22noiseFilter%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.85%22 numOctaves=%223%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23noiseFilter)%22 opacity=%220.05%22/%3E%3C/svg%3E');
  pointer-events: none;
  z-index: 1;
}

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.glass-dark {
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.92) 0%, rgba(17, 24, 39, 0.4) 80%, transparent 100%);
  color: var(--c-white);
  padding: var(--space-6) var(--space-4) var(--space-4);
}

.gallery-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
  margin: 0 0 var(--space-1);
  line-height: 1.2;
}

.gallery-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
  line-height: 1.4;
}

/* Cards */
.card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid var(--c-gray-100);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--c-gold);
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-12) 0;
  }
}
