/* =========================================
   GLOBAL STYLES & RESET
   ========================================= */
/* Apply Playfair Display to your Hero and Headings */
h1, h2, h3, .brand {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Apply Lato to your body paragraphs and navigation */
body, p, .nav-links a {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
  --primary:#2F2F2F;
  --secondary:#A89F94;
  --neutral-light:#F5F3EF;
  --neutral-dark:#7A7268;
  --accent:#6F7B63;
}

body {
    font-family:'Lato', sans-serif;
    line-height: 1.6;
    background:var(--neutral-light);
    color:var(--primary);
    overflow-x: hidden;
}

/* =========================================
   NAVIGATION (Flexbox System)
   ========================================= */
.navbar {
    padding: 1.5rem 5%;
    background: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 5.5%;
}

.brand {
    font-weight: bold;
    font-size: 1.4rem;
    letter-spacing: 2px;
    white-space: nowrap;
}

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

/* Desktop Pipe Separator */
.brand::after {
    content: "|";
    margin: 0 20px;
    color: #ccc;
    font-weight: 300;
}

.nav-links a {
    margin-right: 25px;
    text-decoration: none;
    color: #444;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.hamburger {
    display: none; /* Hidden on desktop */
    font-size: 1.8rem;
    cursor: pointer;
    margin-right: 15px;
}

/* --- Responsive Nav Breakpoints --- */

/* Tablet: Wrap below name */
@media (max-width: 992px) {
    .nav-container { flex-wrap: wrap; }
    .brand::after { display: none; } /* Remove pipe when wrapping */
    .nav-links { width: 100%; margin-top: 15px; }
}

/* Flagship Mobile: Hamburger Left of Name */
@media (max-width: 540px) {
    .nav-container { flex-wrap: nowrap; justify-content: flex-start; }
    .hamburger { display: block; order: 1; }
    .brand { order: 2; font-size: 1.1rem; }
    .brand::after { display: none; }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .nav-links a { margin: 10px 0; }
}

/* =========================================
   HERO SECTION (Fluid Typography & Fade)
   ========================================= */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5.5%;
    position: relative;
    color: white;
    background: #222; /* Fallback */
    overflow: hidden;
}

/* Cross-fade Background Logic */
.hero::before {
    content: "";
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: crossFade 20s infinite;
    opacity: 0.4; /* Darkens image for text readability */
}

@keyframes crossFade {
    0%, 100% { background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1600&q=80'); }
    33% { background-image: url('https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=1600&q=80'); }
    66% { background-image: url('https://images.unsplash.com/photo-1605276373954-0c4a0dac5b12?auto=format&fit=crop&w=1600&q=80'); }
}

.hero-content { position: relative; z-index: 2; width: 100%; }

/* Fluid H1: Scales perfectly to 100% width without overflow */
.hero h1 {
    font-size: clamp(1.8rem, 8vw, 5rem);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    line-height: 1.1;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: clamp(1rem, 3vw, 1.8rem);
    font-weight: 300;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.hero p {
    position: relative;
    max-width: 700px;
    z-index: 2;
}

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
section { padding: 80px 10%; scroll-margin-top: 20px;}
.section-alt { background: #f9f9f9; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.button {
  display:inline-block;
  margin-top:35px;
  padding:14px 30px;
  background:var(--accent);
  color:white;
  text-decoration:none;
  border-radius:4px;
  font-size:.95rem;
  position: relative;
  z-index: 2;
}
.button:hover { background: #555; }
img { max-width: 100%; height: auto; }
footer { padding: 60px 10%; background: #111; color: #ccc; font-size: 0.85rem; }
.disclaimer { margin-top: 30px; border-top: 1px solid #333; padding-top: 20px; font-style: italic; color: #888; }

.grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:50px;
}

.card {
  background:white;
  padding:45px;
  border-radius:10px;
  box-shadow:0 20px 40px rgba(0,0,0,.06);
}

.process-step {
  border-left:4px solid var(--accent);
  padding-left:22px;
  margin-bottom:32px;
}

footer {
  background:var(--primary);
  color:white;
  padding:70px 10%;
  font-size:.95rem;
}

footer h3 {
  margin-top:0;
}

.disclaimer {
  margin-top:35px;
  padding-top:25px;
  border-top:1px solid rgba(255,255,255,.25);
  font-size:.8rem;
  line-height:1.6;
  opacity:.9;
}