/* =====================================================================
   DEBORAH HEINLEN PHOTOGRAPHY: SHARED SITE STYLES
   Every page links to this file.  Change something here and it
   changes on every page at once.

   File location:  /css/site.css
   Each page links to it in the <head> with:
     <link rel="stylesheet" href="/css/site.css" />
   ===================================================================== */


/* =====================================================================
   1. CONTROL PANEL
   The settings you are most likely to change, all in one place.
   ===================================================================== */
:root {

  /* ── Page background ── */
  --bg:                #252330;   /* dark slate blue behind all content */
  --panel:             #2c2a38;   /* slightly lighter slate for cards and side panels */

  /* ── Text ── */
  --text:              #ffffff;   /* ALL text on the dark background: headings, paragraphs, labels, footer */

  /* ── Buttons ── */
  --button-color:      #ffffff;   /* button text and outline */
  --button-hover-bg:   #ffffff;   /* button fill when you hover over it */
  --button-hover-text: #252330;   /* button text when you hover over it */

  /* ── Accent color ── */
  --gold:              #F5A623;   /* review stars and review card borders */

  /* ── Lines between sections ── */
  --line-strong:       #4a4858;   /* most visible: trust bar, footer top */
  --line:              #353344;   /* medium: dividers inside sections */
  --line-faint:        #232130;   /* barely there: between sections */

  /* ── Light header and nav strip at the top ── */
  --header-bg:         #F0F0F3;
  --nav-bg:            #ECEDF0;
  --nav-hover-bg:      #E4E5EA;
  --nav-border:        #D8D9DE;
  --nav-text:          #6b5c4a;   /* nav links */
  --nav-text-hover:    #2e2419;   /* nav links on hover and the current page */
  --nav-arrow:         #9e8e7a;   /* small dropdown arrows and mobile menu labels */

  /* ── Fonts ── */
  --font-serif:  'Cormorant Garamond', serif;   /* headings and quotes */
  --font-sans:   'Jost', sans-serif;            /* paragraphs, labels, buttons, nav */

  /* ── Header heights (only change if the header itself changes) ── */
  --header-h:    90px;
  --nav-h:       44px;
  --total-nav:   116px;


  /* ── Older names ──
     Some pages still use these names.  They now point to the settings
     above, so those pages pick up the new colors without any edits.
     You don't need to touch these. */
  --slate-blue:    var(--bg);
  --white:         #ffffff;
  --black:         #000000;
  --silver:        #B8BCC4;
  --cream:         #f5f0e8;
  --text-white:    var(--text);
  --text-dark:     var(--nav-text-hover);
  --text-mid:      var(--nav-text);
  --text-light:    var(--nav-arrow);
  --body-text:     var(--text);
  --body-muted:    var(--text);
  --body-faint:    var(--text);
  --body-white:    var(--text);
  --footer-text:   var(--text);
  --footer-faint:  var(--text);
  --border-bright: var(--line-strong);
  --border-mid:    var(--line);
  --border-subtle: #2c2a38;
  --border-faint:  var(--line-faint);
  --border-hover:  #5a5870;
  --header-border: var(--nav-border);
}


/* =====================================================================
   2. PAGE BASICS
   ===================================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  overflow-x: hidden;
}


/* =====================================================================
   3. BUILDING BLOCKS FOR NEW SECTIONS
   Wrap a new section in <section class="section"> and everything
   inside it is formatted automatically:

     <span class="label">Small Label</span>   small spaced capitals above a heading
     <h2>Main Heading</h2>                    large section heading
     <h3>Smaller Heading</h3>                 smaller heading
     <p>Paragraph style 1</p>                 regular body text
     <p class="p2">Paragraph style 2</p>      larger italic serif, for a lead-in or quote

   To center everything in the section:
     <section class="section centered">

   Example:
     <section class="section centered">
       <span class="label">Why It Matters</span>
       <h2>Your headshot is your <em>first handshake.</em></h2>
       <p class="p2">People decide in a fraction of a second.</p>
       <p>Regular paragraph text goes here.</p>
       <a href="/contact-deborah-heinlen/" class="btn-primary">Get in Touch</a>
     </section>
   ===================================================================== */
.section {
  position: relative;
  z-index: 2;
  background: var(--bg);
  border-top: 1px solid var(--line-faint);
  padding: 6rem 8vw;
}

.section.centered { text-align: center; }
.section.centered p { margin-left: auto; margin-right: auto; }

/* Small spaced capitals */
.section .label {
  display: block;
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.2rem;
}

/* Main heading */
.section h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

/* Smaller heading */
.section h3 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 1.2rem;
}

/* Paragraph style 1: regular body text */
.section p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--text);
  max-width: 680px;
  margin-bottom: 1.5rem;
}

/* Paragraph style 2: larger italic serif */
.section p.p2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* =====================================================================
   SECTION LABEL
   Small spaced capitals above a heading, on any page:
     <span class="section-label">The Work</span>
   ===================================================================== */
.section-label {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 1.5rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text);
  display: block;
  margin-bottom: 1.2rem;
}

/* =====================================================================
   4. HEADER
   ===================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--nav-border);
}

.header-logo {
  height: 40px;
  width: auto;
  display: block;
}

.header-title {
  font-family: "lindsey-signature", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 3rem;
  color: var(--bg);
  text-decoration: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.header-cta {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  text-decoration: none;
  border: 1px solid var(--bg);
  padding: 0.55rem 1.5rem;
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}
.header-cta:hover {
  background: var(--bg);
  color: var(--white);
}


/* =====================================================================
   5. NAV STRIP AND DROPDOWNS
   ===================================================================== */
.site-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  z-index: 199;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nav-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--nav-border);
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: stretch;
  height: 100%;
  border-left: 1px solid var(--nav-border);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--nav-border);
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nav-text);
  text-decoration: none;
  padding: 0 1.4rem;
  height: 100%;
  display: flex;
  align-items: center;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  background: var(--nav-hover-bg);
  color: var(--nav-text-hover);
}

.nav-link.has-dropdown::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid var(--nav-arrow);
  margin-left: 0.45rem;
  transition: transform 0.2s;
}
.nav-item:hover .nav-link.has-dropdown::after {
  transform: rotate(180deg);
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--nav-bg);
  border: 1px solid var(--nav-border);
  border-top: none;
  z-index: 300;
  list-style: none;
  padding: 0.4rem 0;
}
.nav-item:hover .dropdown { display: block; }

.dropdown li a {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nav-text);
  text-decoration: none;
  padding: 0.75rem 1.4rem;
  transition: background 0.15s, color 0.15s;
}
.dropdown li a:hover {
  background: var(--nav-hover-bg);
  color: var(--nav-text-hover);
}


/* =====================================================================
   6. MOBILE MENU
   ===================================================================== */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--nav-text);
  transition: all 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: var(--nav-bg);
  z-index: 198;
  overflow-y: auto;
  padding: 2rem 2rem 4rem;
}
.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nav-text);
  text-decoration: none;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--nav-border);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--nav-text-hover); }

/* "Services" and "Portfolio" labels in the phone menu */
.mobile-section-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--nav-arrow);
  margin-top: 1.2rem;
  padding: 0.5rem 0 0.3rem;
  display: block;
}


/* =====================================================================
   7. BUTTONS
   ===================================================================== */

/* Outlined button: "Schedule Your Headshot", "Get a Team Quote", etc. */
.btn-primary {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--button-color);
  text-decoration: none;
  border: 1px solid var(--button-color);
  padding: 0.85rem 2rem;
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
  background: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--button-hover-bg);
  color: var(--button-hover-text);
}

/* Text link with arrow: "Learn More →" */
.btn-text {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-text:hover { opacity: 0.7; }


/* =====================================================================
   8. FOOTER
   ===================================================================== */
.site-footer {
  position: relative;
  z-index: 2;
  background: var(--bg);
  border-top: 1px solid var(--line-strong);
  padding: 4rem 3rem 3rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 120px;
  width: auto;
  display: block;
  margin-bottom: 1.2rem;
}

.footer-brand p {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  line-height: 1.8;
  color: var(--text);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }

.footer-col ul li a {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-col ul li a:hover { opacity: 0.7; }

.footer-contact-item {
  display: block;
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 0.6rem;
  transition: opacity 0.2s;
}
.footer-contact-item:hover { opacity: 0.7; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--text);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-bottom-links a:hover { opacity: 0.7; }

.footer-badge {
  height: 38px;
  width: auto;
  opacity: 0.5;
  margin-top: 1.2rem;
  display: block;
  transition: opacity 0.2s;
}
.footer-badge:hover { opacity: 0.85; }


/* =====================================================================
   9. TABLETS AND PHONES (shared parts only)
   Each page keeps its own phone rules for its own sections.
   ===================================================================== */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .header-title { display: none; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  .site-header { padding: 0 1.25rem; }

  .section { padding: 4rem 1.5rem; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}


/* =====================================================================
   10. IMAGE PROTECTION -- DO NOT REMOVE
   ===================================================================== */
img {
  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
  -webkit-user-drag: none; -webkit-touch-callout: none; pointer-events: none;
}
a, button { pointer-events: auto; }


