/*
Theme Name: Jessica O'Donnell
Theme URI: https://jessicaodonnell.com.au
Author: Jessica O'Donnell
Description: Custom classic theme for Jessica O'Donnell executive coaching and advisory.
Version: 1.0
*/

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
img { display: block; }
ul { list-style: none; }

/* ─── PAGE BACKGROUND ─── */
html, body {
  min-height: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  color: #1a1f25;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background: linear-gradient(160deg, #f4f3ef 0%, #edf2f5 35%, #f4f3ef 55%, #f4edf1 75%, #edf2f5 100%);
  background-attachment: fixed;
  background-color: #f4f3ef;
}

/* ─── NOISE TEXTURE OVERLAY ─── */
body::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(244,243,239,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0 0 15px 15px;
  padding: 0 40px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #1a1f25;
  text-transform: uppercase;
}

.nav-logo img {
  height: 150px;
  width: auto;
  display: block;
}

.nav-logo-fallback {
  display: none;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1a1f25;
  text-decoration: none;
  transition: color 0.18s;
}

.nav-links a:hover { color: #1f3c45; }

/* hamburger — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #1a1f25;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 160px;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(244,243,239,0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0 0 15px 15px;
  padding: 12px 40px 24px;
}

.mobile-nav.open { display: block; }

.mobile-nav ul { list-style: none; }

.mobile-nav ul li a {
  display: block;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1a1f25;
  padding: 13px 0;
  border-bottom: 1px solid rgba(26,31,37,0.07);
  transition: color 0.18s;
}

.mobile-nav ul li:last-child a { border-bottom: none; }
.mobile-nav ul li a:hover { color: #1f3c45; }

/* ─── SECTION BASE ─── */
.section {
  padding: 96px 40px;
  position: relative;
  z-index: 1;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1a1f25;
  opacity: 0.35;
  display: block;
  margin-bottom: 14px;
}

.section-heading {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.12;
  color: #1a1f25;
  margin-bottom: 52px;
}

/* ─── GLASS CARD BASE ─── */
.glass-card {
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(26,31,37,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 1;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26,31,37,0.10);
}

.card-num {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1a1f25;
  opacity: 0.22;
  margin-bottom: 20px;
}

.card-title {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1a1f25;
  line-height: 1.4;
  margin-bottom: 16px;
}

.card-body {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: #3d4550;
  flex: 1;
}

.card-link {
  display: inline-block;
  margin-top: 20px;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1f3c45;
  border-bottom: 1px solid #1f3c45;
  text-decoration: none;
  transition: opacity 0.18s;
}

.card-link:hover { opacity: 0.55; }

/* ─── FOOTER ─── */
footer {
  background: linear-gradient(180deg, transparent 0%, rgba(237,242,245,0.8) 30%, #edf2f5 100%);
  padding: 100px 40px 40px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-banner {
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(26,31,37,0.1);
  margin-bottom: 56px;
}

.footer-journey-label {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1a1f25;
  opacity: 0.35;
  display: block;
  margin-bottom: 16px;
}

.footer-banner h2 {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #1a1f25;
  margin-bottom: 32px;
}

.btn-footer {
  display: inline-block;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1a1f25;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #1a1f25;
  padding-bottom: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.18s;
}

.btn-footer:hover { opacity: 0.5; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.footer-col-label {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1a1f25;
  opacity: 0.35;
  display: block;
  margin-bottom: 20px;
}

.footer-email {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #1a1f25;
  opacity: 0.65;
  margin-bottom: 20px;
  transition: opacity 0.18s;
  word-break: break-all;
}

.footer-email:hover { opacity: 1; }

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
  transition: opacity 0.18s;
}

.footer-socials a:hover { opacity: 0.85; }

.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: #1a1f25;
}

.footer-hours {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: #1a1f25;
  opacity: 0.4;
  line-height: 1.65;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links ul li a {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #1a1f25;
  opacity: 0.55;
  transition: opacity 0.18s;
}

.footer-links ul li a:hover { opacity: 1; }

.footer-newsletter p {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: #1a1f25;
  opacity: 0.6;
  margin-bottom: 24px;
}

.footer-newsletter .newsletter-name {
  font-weight: 600;
  font-size: 14px;
  opacity: 0.75;
  display: block;
  margin-bottom: 8px;
}

.footer-bar {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid rgba(26,31,37,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bar p {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: #1a1f25;
  opacity: 0.35;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-newsletter { grid-column: span 2; }
  .footer-banner h2 { font-size: 40px; }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { padding: 12px 20px 24px; }

  .section { padding: 64px 20px; }
  .section-heading { font-size: 26px; }

  footer { padding: 72px 20px 40px; }
  .footer-banner h2 { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-newsletter { grid-column: span 1; }
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 480px) {
  .glass-card { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  body { animation: none; }
}

:focus-visible {
  outline: 2px solid rgba(31,60,69,0.5);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ensure all content sits above the noise layer */
.mobile-nav, .section, footer {
  position: relative;
  z-index: 1;
}
