/* ============================================
   BASE CSS - Reset, Variables, Typography
   ============================================ */

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

/* CSS Variables */
:root {
  /* Colors */
  --color-bg: #0a0a0a;
  --color-bg-secondary: #141414;
  --color-bg-tertiary: #1a1a1a;
  --color-gold: #c9a962;
  --color-gold-light: #e3d4a5;
  --color-gold-dark: #a68b4a;
  --color-white: #f5f5f5;
  --color-white-soft: rgba(245, 245, 245, 0.7);
  --color-white-muted: rgba(245, 245, 245, 0.5);
  --color-overlay: rgba(10, 10, 10, 0.85);
  --color-overlay-light: rgba(10, 10, 10, 0.6);

  /* Typography */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", -apple-system, sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --spacing-2xl: 10rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Border Radius */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

p {
  line-height: 1.7;
}

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

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

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

address {
  font-style: normal;
}

/* Utility Classes */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--transition-smooth),
              transform 0.8s var(--transition-smooth);
}

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

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: block;
}

/* Image Placeholders */
.image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-bg-secondary);
  border: 1px dashed rgba(201, 169, 98, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
}

/* Selection */
::selection {
  background: var(--color-gold);
  color: var(--color-bg);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-bg-tertiary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-dark);
}

/* Focus States */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

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

  .container {
    padding: 0 1.25rem;
  }
}
