/**
 * Base Styles
 * CSS variables, resets, typography, and global styles
 */

/* CSS Variables */
:root {
    --accent-gold: rgb(173, 138, 84);
    --accent-gold-rgb: 173, 138, 84;
    --accent-orange: #D97706;
    --accent-green: #4CAF50;
    --accent-brown: #b45309;
}

/* Custom Fonts */
@font-face {
    font-family: "Trajan Pro 3";
    src: url("../fonts/trajan-pro-3-semi-bold/trajan-pro-3-semi-bold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gotham Book";
    src: url("../fonts/Gotham%20Book/Gotham%20Book.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Reset & Global Styles */
html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: "Montserrat", "Helvetica Neue", sans-serif;
    color: #2a2a2a;
    background-color: #fafafa;
    line-height: 1.6;
}

body {
    padding-top: calc(107px + env(safe-area-inset-top, 0px));
}

@media (max-width: 1360px) {
    body {
        padding-top: calc(76px + env(safe-area-inset-top, 0px));
    }
}

/* Solid white backing behind the iOS status bar / notch area so it never
   shows scrolled page content through the system's translucent material. */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: env(safe-area-inset-top, 0px);
    background: #fff;
    z-index: 2000;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: "Montserrat", "Helvetica Neue", sans-serif;
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1.25rem;
}

a {
    text-decoration: none;
}

/* Utility Classes */
.grey {
    background-color: #f2f2f2;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section {
    padding: 4rem 1rem;
}

.section p {
    line-height: 1.6;
    margin: 0;
}

.full-bleed {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #000;
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    will-change: opacity, transform;
}

.scroll-reveal.ae-scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-zoom {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.scroll-reveal-zoom.ae-scroll-visible {
    opacity: 1;
    transform: scale(1);
}

/* Screen reader only - visually hidden but accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip navigation link */
.skip-link {
  position: fixed;
  top: -3rem;
  left: 1rem;
  background: #2a2a2a;
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 0;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
