/*
Theme Name: Cox-Simpson Creative
Theme URI: https://coxsimpsoncreative.com
Author: Allison Cox-Simpson
Author URI: https://allisoncoxsimpson.com
Description: Custom theme for Cox-Simpson Creative — Strategic Storytelling & Visibility
Version: 1.0.0
License: Private
Text Domain: cox-simpson-creative
*/

/* ══════════════════════════════════════════
   COX-SIMPSON CREATIVE — SHARED STYLESHEET
   Colors: Olive · Black · Light Blue
══════════════════════════════════════════ */

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

:root {
  /* Brand Palette */
  --olive:        #6a6e3a;
  --olive-light:  #8a9050;
  --olive-dark:   #4a4d29;
  --olive-muted:  #b5b98a;
  --black:        #0f0f0d;
  --off-black:    #1c1c18;
  --charcoal:     #2e2e28;
  --blue:         #8fbfd4;
  --blue-light:   #b8d8ea;
  --blue-pale:    #daedf5;
  --cream:        #f4f1ea;
  --warm-white:   #fdf9f3;
  --muted:        #807c6e;
  --border:       #ddd9cf;
  --border-dark:  rgba(255,255,255,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--black);
  font-weight: 300;
  font-size: 16px;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.1;
}

em { font-style: italic; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(253,249,243,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 4rem;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-logo .accent { color: var(--olive); }

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--olive); }

.nav-cta {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 1.4rem;
  background: var(--olive);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--olive-dark); }

/* ── LAYOUT UTILS ── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 4rem;
}

section { padding: 7rem 0; }

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  color: var(--black);
}

.section-heading em { color: var(--olive); }
.section-heading .blue { color: var(--blue); }

.section-intro {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 580px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.22s;
  cursor: pointer;
  border: none;
}

.btn-olive {
  background: var(--olive);
  color: #fff;
  padding: 0.85rem 2rem;
}

.btn-olive:hover { background: var(--olive-dark); }

.btn-outline {
  border: 1.5px solid var(--olive);
  color: var(--olive);
  padding: 0.8rem 2rem;
  background: transparent;
}

.btn-outline:hover {
  background: var(--olive);
  color: #fff;
}

.btn-blue {
  background: var(--blue);
  color: var(--off-black);
  padding: 0.85rem 2rem;
}

.btn-blue:hover { background: var(--blue-light); }

.btn-ghost-white {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding: 0.5rem 0;
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost-white:hover {
  border-color: var(--blue);
  color: var(--blue-light);
}

/* ── DARK SECTION ── */
.dark-section {
  background: var(--off-black);
  color: var(--cream);
}

.dark-section .section-heading { color: var(--cream); }
.dark-section .section-intro { color: #8a8770; }
.dark-section .section-label { color: var(--olive-muted); }

/* ── OLIVE SECTION ── */
.olive-section {
  background: var(--olive-dark);
  color: var(--cream);
}

/* ── FOOTER ── */
footer {
  background: var(--black);
  padding: 2.5rem 4rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream);
  text-decoration: none;
}

.footer-logo .accent { color: var(--blue); }

.footer-nav {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.footer-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5a5840;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--blue-light); }

.footer-copy {
  font-size: 0.75rem;
  color: #3a3828;
}

/* ── PHOTO GRID ── */
.photo-grid {
  display: grid;
  gap: 1rem;
}

.photo-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.photo-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.photo-slot {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border: 1.5px dashed var(--border);
}

.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.photo-slot:hover img { transform: scale(1.03); }

.photo-slot.tall { aspect-ratio: 3/4; }
.photo-slot.wide { aspect-ratio: 16/9; }
.photo-slot.square { aspect-ratio: 1; }

.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  aspect-ratio: 4/3;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 2rem;
}

.photo-placeholder svg {
  width: 36px;
  height: 36px;
  margin-bottom: 0.8rem;
  opacity: 0.4;
}

/* ── VIDEO EMBED ── */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: var(--off-black);
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--charcoal);
  border: 1.5px dashed rgba(255,255,255,0.15);
}

.video-placeholder-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
  text-align: center;
  gap: 0.8rem;
}

/* ── CARDS ── */
.card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: 2.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.06);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--off-black);
  padding: 10rem 0 5rem;
  text-align: center;
}

.page-hero .section-label { color: var(--olive-muted); }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 1.2rem;
}

.page-hero h1 em { color: var(--blue-light); font-style: italic; }
.page-hero p {
  font-size: 1rem;
  color: #7a7860;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.85;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 1.1rem 2rem; }
  .container { padding: 0 2rem; }
  footer { padding: 2rem; }
  .footer-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
  .nav-links { display: none; }
  .photo-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  section { padding: 5rem 0; }
  .photo-grid.cols-3,
  .photo-grid.cols-2 { grid-template-columns: 1fr; }
}
