/* ============================================
   MICHEL PHOTOGRAPHY — CSS VARIABLES & RESET
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  /* Colors */
  --clr-bg:        #0d0d0d;
  --clr-surface:   #141414;
  --clr-surface-2: #1c1c1c;
  --clr-border:    #2a2a2a;
  --clr-text:      #e8e2d9;
  --clr-muted:     #888880;
  --clr-accent:    #c9a96e;
  --clr-accent-2:  #8b6f47;
  --clr-white:     #f5f0ea;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', 'Helvetica Neue', sans-serif;

  --fs-xs:   0.7rem;
  --fs-sm:   0.85rem;
  --fs-base: 1rem;
  --fs-md:   1.15rem;
  --fs-lg:   1.4rem;
  --fs-xl:   2rem;
  --fs-2xl:  3rem;
  --fs-3xl:  4.5rem;
  --fs-hero: clamp(3rem, 8vw, 7rem);

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;
  --space-2xl: 11rem;

  /* Layout */
  --max-width: 1400px;
  --header-h:  72px;
  --radius:    2px;
  --radius-lg: 4px;

  /* Transitions */
  --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:  cubic-bezier(0.0, 0.0, 0.2, 1);
  --dur-fast:  200ms;
  --dur-mid:   400ms;
  --dur-slow:  700ms;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

.section--lg {
  padding: var(--space-2xl) 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 300;
  line-height: 1.15;
  color: var(--clr-white);
}

.section-title em {
  font-style: italic;
  color: var(--clr-accent);
}

.divider {
  width: 48px;
  height: 1px;
  background: var(--clr-accent);
  margin: var(--space-md) 0;
}

/* Fade-in animation for page load */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}

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

/* Stagger delays */
.fade-in:nth-child(2) { transition-delay: 100ms; }
.fade-in:nth-child(3) { transition-delay: 200ms; }
.fade-in:nth-child(4) { transition-delay: 300ms; }
.fade-in:nth-child(5) { transition-delay: 400ms; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all var(--dur-mid) var(--ease);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--clr-accent);
  color: var(--clr-bg);
}

.btn--primary:hover {
  background: var(--clr-white);
  color: var(--clr-bg);
}

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

.btn--outline:hover {
  background: var(--clr-accent);
  color: var(--clr-bg);
}

.btn--ghost {
  border: 1px solid var(--clr-border);
  color: var(--clr-muted);
}

.btn--ghost:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

/* ============================================
   RESPONSIVE HELPERS
   ============================================ */
@media (max-width: 768px) {
  :root {
    --space-xl: 4rem;
    --space-2xl: 6rem;
  }

  .section-title {
    font-size: var(--fs-xl);
  }
}
