/* Lindsey Badillo - Premium Design System */
/* High-End Editorial Aesthetic */

/* ========== CSS VARIABLES ========== */
:root {
  /* Primary Colors */
  --color-midnight: #0A0A0A;
  --color-obsidian: #141414;
  --color-pure-white: #FFFFFF;
  --color-soft-cream: #F5F5F5;

  /* Accent Colors */
  --color-burgundy: #8B1538;
  --color-rose-gold: #B76E79;
  --color-champagne: #D4AF37;
  --color-blush: #E8C4C4;

  /* Functional */
  --color-overlay-dark: rgba(10, 10, 10, 0.7);
  --color-divider-subtle: rgba(255, 255, 255, 0.1);
  --color-divider-light: rgba(0, 0, 0, 0.1);
  --color-text-muted: rgba(255, 255, 255, 0.7);

  /* Typography */
  --font-headline: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: 120px;
  --section-padding-tablet: 80px;
  --section-padding-mobile: 60px;
  --container-max: 1400px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-pure-white);
  background-color: var(--color-midnight);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

/* ========== TYPOGRAPHY ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-pure-white);
}

h1 {
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(28px, 3vw, 48px);
}

h4 {
  font-size: clamp(24px, 2.5vw, 32px);
}

p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.text-large {
  font-size: 20px;
}

.text-small {
  font-size: 14px;
}

.text-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-rose-gold);
  margin-bottom: 1rem;
}

.text-accent {
  color: var(--color-burgundy);
}

/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
    /* Reduced from 24px */
  }
}

section {
  padding: var(--section-padding) 0;
}

@media (max-width: 1024px) {
  section {
    padding: var(--section-padding-tablet) 0;
  }
}

@media (max-width: 640px) {
  section {
    padding: var(--section-padding-mobile) 0;
  }

  /* Additional mobile optimizations */
  h1 {
    font-size: 42px;
    /* Prevent oversized headings */
    word-break: break-word;
    /* Ensure long words don't overflow */
  }

  h2 {
    font-size: 32px;
  }

  .container {
    padding: 0 16px;
    /* Even tighter padding for small screens */
  }
}

/* ========== BACKGROUNDS ========== */
.bg-midnight {
  background-color: var(--color-midnight);
}

.bg-obsidian {
  background-color: var(--color-obsidian);
}

.bg-cream {
  background-color: var(--color-soft-cream);
}

.bg-cream h1,
.bg-cream h2,
.bg-cream h3,
.bg-cream h4,
.bg-cream h5,
.bg-cream h6 {
  color: var(--color-midnight);
}

.bg-cream p {
  color: rgba(0, 0, 0, 0.7);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 0;
  transition: all var(--transition-medium);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--color-burgundy);
  color: var(--color-pure-white);
}

.btn-primary:hover {
  background-color: var(--color-rose-gold);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-pure-white);
  border: 1px solid var(--color-pure-white);
}

.btn-secondary:hover {
  background-color: var(--color-pure-white);
  color: var(--color-midnight);
}

.btn-outline-burgundy {
  background-color: transparent;
  color: var(--color-burgundy);
  border: 1px solid var(--color-burgundy);
}

.btn-outline-burgundy:hover {
  background-color: var(--color-burgundy);
  color: var(--color-pure-white);
}

/* ========== CARDS ========== */
.card {
  background-color: var(--color-obsidian);
  border: 1px solid var(--color-divider-subtle);
  padding: 40px;
  border-radius: 0;
  transition: all var(--transition-medium);
}

.card:hover {
  border-color: var(--color-rose-gold);
  box-shadow: 0 0 30px rgba(183, 110, 121, 0.2);
}

.card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--color-pure-white);
}

.card p {
  font-size: 16px;
  margin-bottom: 24px;
}

/* ========== NAVIGATION ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: all var(--transition-medium);
}

.navbar.scrolled {
  background-color: var(--color-midnight);
  padding: 16px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-pure-white);
  letter-spacing: 0.1em;
}

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

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-pure-white);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-rose-gold);
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--color-rose-gold);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  margin-left: 20px;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 28px;
  height: 2px;
  background-color: var(--color-pure-white);
  transition: all var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-midnight);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mobile-nav-links a {
  font-family: var(--font-headline);
  font-size: 32px;
  color: var(--color-pure-white);
  font-weight: 600;
}

.mobile-nav-links a:hover {
  color: var(--color-burgundy);
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-logo {
    font-size: 20px;
    /* Reduced from 24px */
  }
}

/* ========== HERO SECTION ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--color-midnight);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('../images/hero-magazine.png');
  background-size: cover;
  background-position: center top;
  opacity: 1;
  mask-image: linear-gradient(to left, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  margin-bottom: 24px;
  line-height: 1;
}

.hero p {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-form {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.hero-form input {
  flex: 1;
  padding: 20px;
  background-color: var(--color-obsidian);
  border: 1px solid var(--color-divider-subtle);
  color: var(--color-pure-white);
  font-size: 16px;
  border-radius: 0;
  transition: border-color var(--transition-fast);
}

.hero-form input:focus {
  outline: none;
  border-color: var(--color-burgundy);
}

.hero-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.hero-form .btn {
  white-space: nowrap;
}

.hero-small-text {
  font-size: 14px;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .hero-form {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 48px;
    max-width: 100%;
    /* Ensure full width */
  }

  .hero p {
    max-width: 100%;
    /* Ensure full width */
  }

  .hero-content {
    max-width: 100%;
    /* Ensure full width */
  }

  /* Stack the hero image on mobile if needed, or adjust cover */
  .hero::before {
    width: 100%;
    height: 100%;
    opacity: 0.3;
    /* Lower opacity to make text readable over image */
    mask-image: none;
    /* Remove mask to show full image */
    -webkit-mask-image: none;
    background-position: center;
  }
}

/* ========== SOCIAL PROOF BAR ========== */
.social-proof {
  padding: 40px 0;
  background-color: var(--color-obsidian);
  border-top: 1px solid var(--color-divider-subtle);
  border-bottom: 1px solid var(--color-divider-subtle);
}

.social-proof-label {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.logo-item {
  font-family: var(--font-headline);
  font-size: 20px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}

.logo-item:hover {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .logos-row {
    gap: 30px;
  }

  .logo-item {
    font-size: 16px;
  }
}

/* ========== VALUE PROP SECTION ========== */
.value-prop {
  text-align: center;
}

.value-prop h2 {
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.value-item {
  text-align: left;
  padding: 40px;
}

.value-item::before {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--color-burgundy);
  margin-bottom: 24px;
}

.faq-item h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-pure-white);
}

.faq-item p {
  font-size: 15px;
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.value-item h3 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  color: var(--color-midnight);
}

.value-item p {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.7);
}

@media (max-width: 1024px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== OFFERINGS SECTION ========== */
.offerings-header {
  text-align: center;
  margin-bottom: 60px;
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 1024px) {
  .offerings-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== QUOTE SECTION ========== */
.quote-section {
  padding: 160px 0;
  background: linear-gradient(var(--color-overlay-dark), var(--color-overlay-dark)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><rect fill="%23141414" width="1440" height="320"/></svg>');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
}

.quote-mark {
  font-family: var(--font-headline);
  font-size: 120px;
  color: var(--color-burgundy);
  line-height: 1;
  margin-bottom: -40px;
  opacity: 0.5;
}

.quote-text {
  font-family: var(--font-headline);
  font-size: clamp(28px, 4vw, 48px);
  font-style: italic;
  font-weight: 500;
  color: var(--color-pure-white);
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.3;
}

.quote-attribution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.quote-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-obsidian);
  border: 2px solid var(--color-rose-gold);
  overflow: hidden;
}

.quote-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-author {
  text-align: left;
}

.quote-author-name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-pure-white);
  margin-bottom: 4px;
}

.quote-author-title {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ========== RESOURCES SECTION ========== */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.resource-card {
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-divider-light);
  padding: 40px;
  transition: all var(--transition-medium);
}

.resource-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.resource-card h3 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-midnight);
  margin-bottom: 12px;
}

.resource-card p {
  font-size: 15px;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .resources-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== CTA SECTION ========== */
.cta-section {
  text-align: center;
  background: linear-gradient(180deg, var(--color-midnight) 0%, var(--color-obsidian) 100%);
}

.cta-section h2 {
  margin-bottom: 24px;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== FOOTER ========== */
.footer {
  background-color: var(--color-obsidian);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.footer-tagline {
  font-size: 15px;
  color: var(--color-text-muted);
}

.footer-column h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  color: var(--color-pure-white);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  font-size: 15px;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--color-rose-gold);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid var(--color-divider-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-size: 14px;
  color: var(--color-text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 14px;
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ========== UTILITY CLASSES ========== */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}

.hidden {
  display: none;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-midnight);
}

::-webkit-scrollbar-thumb {
  background: var(--color-obsidian);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-burgundy);
}