/* ============================================
   ROB PATRACA PHOTOGRAPHY — THEME CSS
   Dark Luxury / Editorial Minimalista
   ============================================ */

/* ─── 1. CSS Variables ─── */
:root {
  --black:        #2b2b2b;
  --white:        #fafaf8;
  --gray-100:     #f4f4f2;
  --gray-200:     #e8e8e5;
  --gray-300:     #d0d0cc;
  --gray-400:     #a8a8a3;
  --gray-500:     #787872;
  --gray-600:     #4a4a45;
  --gray-700:     #2e2e2a;
  --gray-800:     #1a1a16;
  --accent:       #c8a96e;
  --accent-light: #e8d4a8;

  --font-display: 'Cormorant Garamond', serif;
  --font-heading: 'Playfair Display', serif;
  --font-body:    'Montserrat', sans-serif;

  --transition:       0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast:  0.2s ease;
}

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

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

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

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

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

ul, ol {
  list-style: none;
}

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

/* ─── 3. Typography ─── */
.display-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--white);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--white);
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.body-text {
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 300;
  line-height: 1.85;
  color: var(--gray-400);
}

.caption-text {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
}

/* ─── 4. Buttons ─── */
.btn-theme {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border: 1px solid;
  transition: all var(--transition);
  background: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  cursor: pointer;
}

.btn-light { border-color: var(--white); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--black); }

.btn-dark { border-color: var(--black); color: var(--black); }
.btn-dark:hover { background: var(--black); color: var(--white); }

.btn-accent { border-color: var(--accent); color: var(--accent); }
.btn-accent:hover { background: var(--accent); color: var(--black); }

/* ─── 5. Dividers ─── */
.divider-line {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin-top: 1rem;
}

.divider-horizontal {
  width: 100%;
  height: 1px;
  background: var(--gray-700);
}

/* ─── 6. Container ─── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── 7. Section Spacing ─── */
.section-padding {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.section-padding-lg {
  padding: clamp(5rem, 9vw, 9rem) 0;
}

/* ─── 8. Watermark ─── */
.watermark {
  position: absolute;
  font-family: var(--font-display);
  font-size: 18vw;
  font-weight: 300;
  color: rgba(255,255,255,0.02);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
}

/* ─── 9. Scroll Reveal Base ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── 10. Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ─── 11. Focus Styles ─── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ─── 12. Selection ─── */
::selection {
  background: var(--accent);
  color: var(--black);
}
