/* Benaiah Website Services - Main Styles */

:root {
  /* Brand Colors */
  --primary-gold: #a67c00;
  --primary-brown: #4a3410;
  --accent-red: #c41e3a;
  --text-dark: #1a1a1a;
  --bg-cream: #f5f1e8;
  --bg-light: #fefdfb;
  --bg-dark-brown: #2d1f0f;

  /* Accessibility Colors */
  --white: #ffffff;
  --black: #000000;
  --focus-outline: #0066cc;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Typography */
  --font-display: "Archivo Black", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.7; /* WCAG AAA: Minimum 1.5 for body text */
  overflow-x: hidden;
  text-align: left; /* WCAG AAA: Never use justify */
}

/* WCAG 2.1 AAA Typography Standards */
/* Max line length: 80 characters (65-75ch optimal) */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  max-width: 75ch; /* WCAG AAA: Lines under 80 characters */
  text-align: left; /* WCAG AAA: Left-aligned, not justified */
}

/* Ensure paragraphs have proper line height */
p {
  line-height: 1.7; /* WCAG AAA: Minimum 1.5 */
  margin-bottom: 1.5rem; /* Relative unit */
}

/* Heading line heights for readability */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3; /* Tighter for headings, but still readable */
  margin-bottom: 1rem;
}

/* Skip to main content - Accessibility */
.skip-link {
  position: absolute;
  top: -45px;
  left: 0;
  background: var(--text-dark);
  color: var(--white);
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 10000;
  font-weight: 700;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--focus-outline);
  outline-offset: 2px;
}

/* Focus styles for accessibility */
*:focus {
  outline: 3px solid var(--focus-outline);
  outline-offset: 2px;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: transform 0.3s ease;
}

nav {
  /* max-width: min(95vw, 1600px); */
  max-width: clamp(1400px, 90vw, 2000px);
  margin: 0 auto;
  padding: clamp(0.75rem, 1.5vw, 2rem) clamp(1.5rem, 3vw, 3rem);
  /* Scales padding with viewport */
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(1rem, 2vw, 3rem);
  /* Gap scales from 1rem to 3rem */
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
  text-decoration: none;
  position: relative;
}

/* Home Page Indicator - Logo Glow Effect (KEPT) */
body.home-page .logo-container .logo {
  animation: logoGlow 3s ease-in-out infinite;
  filter: drop-shadow(0 0 15px rgba(166, 124, 0, 0.5));
}

@keyframes logoGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 15px rgba(166, 124, 0, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 25px rgba(166, 124, 0, 0.8))
      drop-shadow(0 0 35px rgba(166, 124, 0, 0.4));
  }
}

/* Home Page Indicator - Crown Above Logo (ADDED) */
.logo-container::before {
  content: "👑";
  position: absolute;
  top: -20px;
  left: 13%;
  transform: translateX(-50%);
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

body.home-page .logo-container::before {
  animation:
    crownBounce 0.6s ease forwards,
    crownFloat 2s ease-in-out infinite 0.6s;
}

@keyframes crownBounce {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-30px);
  }
  60% {
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes crownFloat {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Logo Rotate on Hover - ALL PAGES (ADDED) */
.logo-container:hover .logo {
  animation: logoRotate 0.5s ease;
}

@keyframes logoRotate {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-5deg);
  }
  75% {
    transform: rotate(5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.logo {
  height: clamp(50px, 4.5vw, 110px);
  /* Small: 50px, Medium: scales, Large (2253px): ~101px */
  width: auto;
  padding: 0 clamp(0.25rem, 0.5vw, 0.75rem) 0 0;
  transition: filter 0.3s ease;
}

.site-title {
  color: var(--text-dark);
  padding: 0 0 0 clamp(0.5rem, 0.8vw, 1rem);
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.2vw, 1.8rem);
  /* Small: 0.85rem, Medium: scales, Large (2253px): 1.8rem */
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-left: 3px solid var(--primary-brown);
}

.site-title span {
  display: block;
}

/* Navigation wrapper to center menu */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: clamp(1rem, 2vw, 3rem);
  /* Scales from 1rem (small) to 3rem (large) */
  align-items: center;
  margin: 0;
  flex-wrap: nowrap;
  /* CRITICAL: Prevents menu items from wrapping to new lines */
}

.nav-menu li {
  position: relative;
  display: flex;
  white-space: nowrap;
  /* Extra protection: ensures list items don't wrap */
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 700;
  font-size: clamp(0.9rem, 1.2vw, 1.6rem);
  /* Small: 0.9rem, Large (2253px): 1.6rem */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: clamp(0.3rem, 0.5vw, 0.7rem);
  padding: 0.5rem 0;
  white-space: nowrap;
  /* CRITICAL: Prevents text wrapping */
}

.nav-menu a:hover {
  color: var(--primary-gold);
}

.nav-menu a.active {
  color: var(--primary-gold);
  border-bottom: 3px solid var(--primary-gold);
}

.nav-menu .icon {
  font-size: clamp(1rem, 1.3vw, 1.8rem);
  /* Small: 1rem, Large (2253px): 1.8rem */
}

/* Tooltip styles */
.tooltip {
  position: absolute;
  bottom: 70%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-dark);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  margin-bottom: 0.5rem;
  z-index: 1000;
  font-weight: 500;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: var(--text-dark) transparent transparent transparent;
}

.nav-menu li:hover .tooltip,
.nav-cta:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

/* Special positioning for CTA tooltip to avoid color clash */
.nav-cta .tooltip {
  background: var(--text-dark);
  border: 2px solid var(--white);
}

.nav-cta .tooltip::after {
  border-color: var(--text-dark) transparent transparent transparent;
}

/* CTA Button in Navigation */
.nav-cta {
  position: relative;
}

.nav-cta .btn {
  padding: clamp(0.6rem, 1vw, 1rem) clamp(1.2rem, 2vw, 2.5rem);
  /* Vertical: 0.6rem to 1rem, Horizontal: 1.2rem to 2.5rem */
  font-size: clamp(0.95rem, 1.2vw, 1.6rem);
  /* Small: 0.95rem, Large (2253px): 1.6rem */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Animated Hamburger Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1001;
}

.hamburger {
  position: relative;
  width: 30px;
  height: 20px;
  margin: 0 auto;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
  bottom: 0;
}

/* Animated X when menu is open */
.menu-toggle.active .hamburger span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Main content */
main {
  margin-top: 92px;
}

section {
  min-height: 100vh;
  padding: var(--spacing-xl) var(--spacing-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* ==========================================
   LEGAL PAGES OVERRIDE
   ========================================== */

.legal-hero {
  min-height: 65vh;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.legal-content {
  min-height: auto;
  padding: 0 2rem;
}

/* CTA sections on legal pages */
.legal-page section[style*="text-align: center"] {
  padding: 3rem 2rem;
}

.container {
  /* max-width: min(90vw, 1400px); */
  max-width: clamp(1200px, 85vw, 1800px);
  margin: 0 auto;
  width: 100%;
  padding: 0 clamp(1rem, 3vw, 3rem);
  /* Side padding scales */
}

/* Background patterns */
.pattern-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 35px,
      var(--primary-brown) 35px,
      var(--primary-brown) 36px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 35px,
      var(--primary-brown) 35px,
      var(--primary-brown) 36px
    );
}

.noise-texture {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.02;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Hero Section */
#home {
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
  position: relative;
}

.hero-content {
  text-align: center;
  animation: fadeInUp 1s ease;
}

.hero-tagline {
  font-size: clamp(2rem, 5vw + 1rem, 4rem);
  /* Small (400px): 2rem, Medium (1400px): ~6rem, Large (2253px): 8rem */
  color: var(--text-dark);
  text-align: center;
  margin-bottom: clamp(0.75rem, 1.5vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.3rem, 2vw + 0.5rem, 3rem);
  /* Small: 1.3rem, Medium: ~2.2rem, Large (2253px): 3rem */
  color: var(--primary-gold);
  text-align: center;
  margin-bottom: clamp(1.5rem, 2vw, 3rem);
  font-weight: 600;
}

.hero-video-container {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.hero-video-placeholder {
  background: var(--bg-cream);
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  border: 3px dashed var(--primary-brown);
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-video-placeholder .icon {
  font-size: 5rem;
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.hero-video-placeholder p {
  font-size: 1.3rem;
  color: var(--primary-brown);
  font-weight: 600;
}

.hero-description {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin: 0 auto 4rem;
  line-height: 1.8; /* WCAG AAA: Above 1.5 minimum */
  max-width: 70ch; /* WCAG AAA: Optimal line length */
  text-align: left; /* WCAG AAA: Left-aligned */
}

/* Z-Pattern Content Sections */
.z-pattern-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
  margin-left: auto;
  margin-right: auto;
}

.z-pattern-section.reverse {
  direction: rtl;
}

.z-pattern-section.reverse > * {
  direction: ltr;
}

.z-pattern-video {
  background: var(--bg-cream);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 3px dashed var(--primary-brown);
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.z-pattern-video .icon {
  font-size: 4rem;
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.z-pattern-video p {
  font-size: 1.1rem;
  color: var(--primary-brown);
  font-weight: 600;
}

.z-pattern-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 3.5rem);
  /* Small: 1.5rem, Large (2253px): 3.5rem */
  color: var(--text-dark);
  margin-bottom: clamp(0.75rem, 1.5vw, 2rem);
  text-transform: uppercase;
}

.z-pattern-text p {
  font-size: clamp(1rem, 1.3vw, 1.6rem);
  /* Small: 1rem, Large (2253px): 1.6rem */
  color: var(--primary-brown);
  line-height: clamp(1.6, 1.8, 2); /* WCAG AAA: Above 1.5 minimum */
  max-width: 70ch; /* WCAG AAA: Optimal line length */
  text-align: left; /* WCAG AAA: Left-aligned */
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: clamp(0.8rem, 1.2vw, 1.3rem) clamp(2rem, 3vw, 3.5rem);
  /* Vertical: 0.8rem to 1.3rem, Horizontal: 2rem to 3.5rem */
  font-size: clamp(1rem, 1.2vw, 1.5rem);
  /* Small: 1rem, Large (2253px): 1.5rem */
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-block;
  border: 3px solid transparent;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--primary-gold);
  color: var(--white);
  border-color: var(--primary-gold);
}

.btn-primary:hover {
  background: var(--primary-brown);
  border-color: var(--primary-brown);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.btn-secondary:hover {
  background: var(--text-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text-dark);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-subtitle {
  font-size: 2.5rem;
  color: var(--primary-gold);
  text-align: center;
  font-weight: 500;
}

/* About Section */
#about {
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  font-size: 1.2rem;
  line-height: 1.9; /* WCAG AAA: Above 1.5 minimum */
  max-width: 70ch; /* WCAG AAA: Optimal line length */
  text-align: left; /* WCAG AAA: Left-aligned */
}

.about-text p {
  margin-bottom: 1.5rem;
  max-width: 70ch; /* WCAG AAA: Optimal line length */
  text-align: left; /* WCAG AAA: Left-aligned */
}

.about-text strong {
  color: var(--primary-gold);
  font-weight: 700;
}

.about-video-placeholder {
  background: var(--white);
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  border: 3px dashed var(--primary-brown);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-video-placeholder .icon {
  font-size: 4rem;
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.about-video-placeholder p {
  font-size: 1.2rem;
  color: var(--primary-brown);
  font-weight: 600;
}

/* What Makes Us Different Box */
.different-box {
  background: linear-gradient(
    135deg,
    var(--primary-gold) 0%,
    var(--primary-brown) 100%
  );
  color: var(--white);
  padding: 3rem;
  border-radius: 12px;
  margin-top: 4rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.different-box h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.different-box p {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 95ch;
  margin-left: auto;
  margin-right: auto;
}

/* Services Section */
#services {
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
  position: relative;
}

.services-intro {
  text-align: left;
  margin: 0 auto 4rem;
  font-size: 2rem;
  color: var(--primary-brown);
}

#web-design {
  /* Adjust the px value to match the height of your header */
  scroll-margin-top: 160px;
}

#redesign {
  scroll-margin-top: 200px;
}

#seo {
  scroll-margin-top: 230px;
}

#accessibility {
  scroll-margin-top: 260px;
}

#maintenance {
  scroll-margin-top: 300px;
}

/* Services Z-Pattern Layout */
.service-z-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 5rem;
  max-width: 1105px;
  margin-left: auto;
  margin-right: auto;
}

.service-content.reverse {
  direction: rtl;
}

.service-content.reverse > * {
  direction: rtl;
}

/* Header section with service number, h2, and icon */
.service-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.service-number {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gold);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /* text-align: center; */
  /* line-height: 40px; */
  font-weight: 700;
  font-size: 1.5rem;
  flex-shrink: 0; /* Prevent shrinking */
  margin-bottom: 1rem;
}

/* Service heading - centered */
.service-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--text-dark);
  margin: 0; /* Remove default margin */
  text-align: center;
}

.service-header i {
  font-size: clamp(2rem, 3vw, 3rem);
  flex-shrink: 0;
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.service-video {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 3px dashed var(--primary-brown);
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-video:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-video .icon {
  font-size: 4rem;
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.service-video p {
  font-size: 1.1rem;
  color: var(--primary-brown);
  font-weight: 600;
  max-width: 100%; /* Override 70ch for this */
  text-align: center;
  margin: 0;
}

.service-text p {
  font-size: 1.15rem;
  color: var(--primary-brown);
  line-height: 1.8; /* WCAG AAA: Above 1.5 minimum */
  margin-bottom: 1rem;
  max-width: 70ch; /* WCAG AAA: Optimal line length */
  text-align: left; /* WCAG AAA: Left-aligned */
}

.service-text ul {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.service-text ul li {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  padding-left: 1.8rem;
  position: relative;
  line-height: 1.6;
}

.service-text ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-gold);
  font-weight: bold;
  font-size: 1.2rem;
}

.start-project-text {
  font-size: 2rem;
  text-align: center;
  color: var(--primary-brown);
  margin-bottom: 2rem;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

/* Legacy service cards (keeping for backward compatibility) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border-top: 5px solid var(--primary-gold);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.service-card .icon {
  font-size: 3.5rem;
  color: var(--primary-gold);
  margin-bottom: 1.5rem;
  display: block;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-card p {
  color: var(--primary-brown);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Portfolio Section */
#portfolio {
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
  position: relative;
}

.portfolio-intro {
  margin: 0 auto 3rem;
  font-size: 2rem;
  color: var(--primary-brown);
}

.coming-soon {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--white);
  border-radius: 12px;
  border: 3px dashed var(--primary-brown);
}

.coming-soon h2 {
  text-align: center;
}

.coming-soon h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.coming-soon p {
  font-size: 1.2rem;
  color: var(--primary-brown);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.coming-soon a {
  color: var(--primary-gold);
  font-weight: 700;
}

/* Vlog Section */
#vlog {
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
  color: var(--text-dark);
  position: relative;
}

#vlog .section-title {
  color: var(--text-dark);
}

#vlog .section-subtitle {
  color: var(--primary-gold);
}

.vlog-intro {
  /* text-align: center; */
  margin: 0 auto 3rem;
  font-size: 2rem;
  color: var(--primary-brown);
}

.vlog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.vlog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 2px solid var(--bg-cream);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.vlog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.vlog-video-placeholder {
  width: 100%;
  height: 250px;
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  font-size: 4rem;
}

.vlog-content {
  padding: 2rem;
}

.vlog-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.vlog-content p {
  color: var(--primary-brown);
  font-size: 1.05rem;
  line-height: 1.7;
}

.vlog-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--primary-gold);
}

/* Vlog page */
.suggest-text {
  font-size: 2rem;
  text-align: center;
}

.privacy-section,
.terms-section {
  min-height: 40vh;
  background: var(--bg-cream);
  text-align: center;
  padding: 4rem 2rem;
}

.center-h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* FOR PRIVACY & TERMS PAGES */
.push-down {
  margin-left: 2.5rem;
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 3rem 2rem 2rem;
}

.footer-content {
  max-width: clamp(1400px, 90vw, 2000px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr !important;
  gap: 2rem;
  text-align: left;
  margin-bottom: 2rem;
}

/* ALL FOOTER H3 HEADINGS */
.footer-section h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-gold);
  letter-spacing: 1px;
}

/* ==========================================
   COLUMN 1: COMPANY INFO
   ========================================== */
.footer-tagline {
  font-size: 1.2rem;
  color: var(--bg-cream);
  text-align: left; /* center? */
  font-weight: 500;
  line-height: 1.8; /* WCAG AAA: Above 1.5 minimum */
  margin-bottom: 0.5rem;
  max-width: 70ch; /* WCAG AAA: Optimal line length */
}

.footer-subtagline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  font-style: italic;
  line-height: 1.6;
  max-width: 70ch;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem; /* 1.5rem ? */
  justify-content: center !important;
}

.social-link {
  width: 50px;
  height: 50px;
  background: var(--primary-gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.5rem;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
  font-weight: bold;
}

.social-link:hover {
  background: var(--primary-brown);
  transform: scale(1.1);
}

/* ==========================================
   COLUMN 2: SERVICES LIST
   ========================================== */
.services-list {
  list-style: none;
  width: 70%;
  padding-left: 75px;
  margin: 0 auto;
}

.services-list li {
  margin-bottom: 0.8rem;
}

.services-list a {
  color: var(--bg-cream);
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 1.5rem;
}

/* Arrow icon before service links */
.services-list a::before {
  content: "▸";
  position: absolute;
  left: 0;
  bottom: -3px;
  color: var(--primary-gold);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.services-list a:hover {
  color: var(--primary-gold);
  transform: translateX(5px);
}

.services-list a:hover::before {
  transform: translateX(3px);
}

/* ==========================================
   COLUMN 3: NEWSLETTER + CONTACT
   ========================================== */
.newsletter-desc {
  font-size: 1.2rem;
  color: var(--bg-cream);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

/* Newsletter form layout */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.5rem 0 2rem 0;
  width: 100%;
}

/* Style both input fields */
.newsletter-input,
.newsletter-form input[type="text"],
.newsletter-form input[type="email"],
.newsletter-form input[name="fields[first_name]"],
.newsletter-form input[name="email_address"] {
  padding: 0.8rem 1rem;
  border: 2px solid #a67c00; /* Gold border */
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--bg-cream);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.newsletter-fields {
  display: grid;
  grid-template-columns: 1fr 2fr !important;
  gap: 0.8rem;
}

/* Placeholder text */
.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Focus state */
.newsletter-form input:focus {
  outline: none;
  border-color: #a67c00; /* Keep gold on focus */
  background: rgba(255, 255, 255, 0.15);
}

/* Submit button */
.newsletter-form .btn-subscribe,
.newsletter-form button[type="submit"] {
  padding: 0.5rem 1rem;
  background: var(--primary-gold);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-display);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  white-space: nowrap;
  max-width: 100%;
  margin: 0.2rem auto 0 auto;
  display: block;
}

/* Button hover */
.newsletter-form button:hover {
  background: #4a3410; /* Brown */
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Button active */
.newsletter-form button:active {
  transform: translateY(0);
}

/* Contact section spacing */
.footer-contact {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 0.5rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-email {
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-contact h4,
.footer-email {
  color: var(--bg-cream);
  margin: 0;
}

.footer-email:hover {
  color: var(--primary-brown) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: var(--bg-cream);
}

.footer-bottom p {
  text-align: center !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

a.link-color {
  color: #a67d03;
}

a.link-color:hover {
  color: var(--primary-brown);
  transition: color 0.3s ease;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease;
}
