/* ===============================
   ADD THIS TO THE TOP OF wstyles.css
   WORK PAGE HEADER OVERRIDE
   =============================== */

@font-face {
  font-family: 'Termina Test';
  src: url('/fonts/TerminaTest-Demi.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-termina: 'Termina Test', sans-serif;
  --accent: #e6cfa3;
}

/* Force black background for work page */
body {
  background: #000000 !important;
}

.wbgimage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.3;
}

/* Override header styles for work page */
.site-header {
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(25px) saturate(200%) contrast(110%);
  -webkit-backdrop-filter: blur(25px) saturate(200%) contrast(110%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
}

/* Ensure logo is visible */
.signature-logo {
  filter: invert(0) !important;
  width: 200px;
  height: 100px;
}

/* Hamburger menu styling */
.hamburger span {
  background-color: #ffffff !important;
}

/* Nav overlay background */
.nav-overlay {
  background-color: rgba(0, 0, 0, 0.95) !important;
}

/* Nav menu links */
.nav-menu a {
  color: #ffffff !important;
}

/* ===============================
   REST OF YOUR EXISTING STYLES
   =============================== */

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

:root {
  --bg-dark: #000000;
  --text-primary: #ffffff;
  --text-secondary: #888888;
  --border-color: #333333;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  margin-bottom: 0;
  position: relative;
  margin-top: 80px; /* ADD THIS - Account for fixed header */
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  gap: 4rem;
}

.hero-left h1 {
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 0.9;
  color: var(--accent);
}

.hero-right {
  max-width: 800px;
  padding-top: 2rem;
}

.signature {
  font-family: 'Brush Script MT', cursive;
  font-size: 4rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  font-family: var(--font-termina);
  margin-top: 20px;
  text-transform: uppercase;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1;
  margin-bottom: 3rem;
  font-family: var(--font-termina);
}

.featured-section {
  text-align: center;
  margin-top: 3rem;
}

.divider {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.divider::before,
.divider::after {
  content: '//';
  color: var(--text-secondary);
  font-size: 1.5rem;
}

.divider span {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  flex: 1;
}

/* Work Card Section */
.work-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1rem;
}

.work-card {
  margin-bottom: 6rem;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover {
  transform: translateY(-8px);
}

.work-card-image {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  background: #111;
  margin-bottom: 2rem;
}

.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-card-image img {
  transform: scale(1.05);
}

.work-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

.work-card-left h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.work-card-tags {
  display: flex;
  gap: 0.2rem;
  flex-wrap: wrap;
}

.tag {
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  font-weight: 500;
  font-family: 'Termina Test', var(--font-sans);
}

.tag:hover {
  border-color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.work-card-arrow {
  width: 64px;
  height: 64px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.work-card:hover .work-card-arrow {
  background: var(--text-primary);
  border-color: var(--text-primary);
  transform: rotate(45deg);
}

.work-card-arrow svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-primary);
  transition: stroke 0.3s ease;
}

.work-card:hover .work-card-arrow svg {
  stroke: var(--bg-dark);
}

/* FAQ Section */
.faq-section {
  max-width: 900px;
  margin: 0.5rem auto;
  padding: 0 2rem;
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.faq-divider::before,
.faq-divider::after {
  content: '//';
  color: var(--text-secondary);
  font-size: 1.5rem;
}

.faq-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item:hover {
  padding-left: 1rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-termina);
}

.faq-number {
  font-size: 1rem;
  color: var(--text-secondary);
  min-width: 20px;
}

.faq-question-text {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.faq-toggle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  color: var(--text-secondary);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 40px;
  font-family: var(--font-termina);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-top: 1rem;
}

/* CTA Section */
.cta-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  text-align: center;
}

.cta-signature {
  font-family: 'Brush Script MT', cursive;
  font-size: 3rem;
  margin-bottom: 3rem;
}

.cta-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 100;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
  max-width: 1000px;
  color: var(--accent);
}

.cta-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  font-family: var(--font-termina);
}

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

.btn {
  padding: 1rem 2.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--text-primary);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-dark);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    gap: 3rem;
  }

  .hero-right {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    margin-top: 60px;
  }

  .hero-left h1 {
    font-size: 5rem;
    margin-top: 4rem;
  }

  .signature {
    font-size: 2.5rem;
  }

  .hero-title {
    font-size: 1.2rem;
  }

  .work-card {
    margin-bottom: 2rem;
  }

  .work-card-footer {
    flex-direction: row;
    align-items: flex-start;
  }

  .work-card-arrow {
    align-self: flex-end;
    width: 50px;
    height: 50px;
    display: flex;
  }

  .work-card-tags {
    width: fit-content;
  }

  .tag {
    font-size: 8px;
  }

  .faq-section {
    margin-bottom: 0rem;
  }

  .faq-question-text {
    font-size: 0.9rem;
  }

  .cta-section {
    min-height: 70vh;
  }

  .cta-title {
    font-size: 2.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #444;
}