/* =====================================
   ABOUT US PAGE STYLES
   Inspired by Land of Ride with ONCE branding
   ===================================== */

/* =====================================
   LEGAL PAGES SIDEBAR NAVIGATION STYLES
   ===================================== */

.legal-page-layout {
  display: flex;
  gap: var(--space-8);
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-4);
}

.legal-sidebar {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 120px;
  height: fit-content;
  background: var(--color-background);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: var(--space-6);
}

.legal-sidebar h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-5) 0;
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--color-primary);
}

.legal-nav {
  list-style: none;
  padding: var(--space-0);
  margin: var(--space-0);
}

.legal-nav li {
  margin-bottom: var(--space-1);
}

.legal-nav a {
  display: block;
  padding: var(--space-2) var(--space-3);
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: var(--weight-medium);
  font-size: var(--text-xs);
  transition: all var(--duration-fast) var(--ease-out);
  border-left: 3px solid transparent;
}

.legal-nav a:hover {
  background-color: var(--color-background-alt);
  color: var(--color-text-primary);
  border-left-color: var(--color-primary);
  transform: translateX(var(--translate-small));
}

.legal-nav a.active {
  background-color: var(--color-background-cream);
  color: var(--color-text-primary);
  border-left-color: var(--color-primary);
  font-weight: var(--weight-semibold);
}

.legal-nav .subsection {
  padding-left: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

.legal-nav .subsection a {
  padding: var(--space-2) var(--space-3);
  border-left-width: 2px;
}

.legal-content-area {
  flex: 1;
  min-width: 0;
  background: var(--color-background);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: var(--space-10);
}

.legal-content-area h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-4) 0;
  line-height: 1.2;
}

.legal-content-area h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin: var(--space-10) 0 var(--space-6) 0;
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--color-primary);
  scroll-margin-top: 140px;
}

.legal-content-area h3 {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text-secondary);
  margin: var(--space-8) 0 var(--space-4) 0;
  scroll-margin-top: 140px;
}

.legal-content-area h4 {
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-secondary);
  margin: var(--space-6) 0 var(--space-3) 0;
  scroll-margin-top: 140px;
}

.legal-content-area p {
  font-family: var(--font-primary);
  font-size: var(--text-xs);
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.legal-content-area ul {
  font-family: var(--font-primary);
  font-size: var(--text-xs);
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: var(--space-3) 0 var(--space-5) 0;
  padding-left: var(--space-5);
  list-style-type: disc;
  list-style-position: outside;
}

.legal-content-area li {
  margin-bottom: var(--space-2);
}

.legal-content-area li ul {
  margin: var(--space-1) 0;
}

.legal-content-area .lead {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}

.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  margin: 2.5rem 0;
}

.contact-info {
  background: #f8fafc;
  border-left: 4px solid #d4af37;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-info p:last-child {
  margin-bottom: 0;
}


/* Legal Pages Responsive Design */
@media (max-width: 1024px) {
  .legal-page-layout {
    flex-direction: column;
    gap: var(--space-6);
  }
  
  .legal-sidebar {
    width: 100%;
    position: static;
    order: 2;
  }
  
  .legal-content-area {
    order: 1;
  }
}

@media (max-width: 768px) {
  .legal-page-layout {
    padding: var(--space-4);
  }
  
  .legal-sidebar {
    padding: var(--space-4);
  }
  
  .legal-content-area {
    padding: var(--space-6);
  }
  
  .legal-content-area h1 {
    font-size: var(--text-4xl);
  }
  
  .legal-content-area h2 {
    font-size: var(--text-2xl);
  }
}

/* Legal Pages Print styles */
@media print {
  .legal-sidebar,
  .breadcrumb-nav {
    display: none !important;
  }
  
  .legal-page-layout {
    display: block;
  }
  
  .legal-content-area {
    box-shadow: none;
    border: none;
    padding: 0;
  }
}

/* Hero Section */
.about-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d1b2a 0%, #1e3a5f 100%);
}

.about-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.about-hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(13, 27, 42, 0.7) 0%,
    rgba(30, 58, 95, 0.5) 50%,
    rgba(13, 27, 42, 0.8) 100%
  );
  z-index: 2;
}

.about-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 2rem;
}

.about-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #ffffff, #d4af37, #ffffff);
  background-size: 200% 200%;
  animation: gradientShift 4s ease-in-out infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-hero-subtitle {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 2rem;
}

.about-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #d4af37, #b8941f);
  color: #111;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.about-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  color: #111;
  text-decoration: none;
}

/* Story Section */
.about-story {
  padding: 6rem 0;
  background: #ffffff;
}

.story-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.story-intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #0d1b2a;
  margin-bottom: 1rem;
}

.story-intro p {
  font-size: 1.3rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.story-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #0d1b2a;
  margin-bottom: 1.5rem;
}

.story-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1.5rem;
}

.story-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.story-image:hover {
  transform: translateY(-5px);
}

.story-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Values Section */
.about-values {
  padding: 5rem 0;
}

.values-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.values-intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #0d1b2a;
  margin-bottom: 1rem;
}

.values-intro p {
  font-size: 1.3rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.value-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-color: #d4af37;
}

.value-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #d4af37, #b8941f);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.value-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #0d1b2a;
  margin-bottom: 1rem;
}

.value-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #666;
}

/* Team Section */
.about-team {
  padding: 6rem 0;
  background: #ffffff;
}

.team-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.team-intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #0d1b2a;
  margin-bottom: 1rem;
}

.team-intro p {
  font-size: 1.3rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.team-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.team-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 2rem;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
  transition: transform 0.3s ease;
}

.team-image:hover {
  transform: scale(1.05);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 2rem;
}

.team-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: #d4af37;
  margin-bottom: 1rem;
  position: relative;
}

.team-quote::before,
.team-quote::after {
  content: '"';
  font-size: 2rem;
  color: #d4af37;
}


/* Mission & Purpose Section */
.about-mission {
  padding: 8rem 0;
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.15), rgba(13, 27, 42, 0.19)), 
              url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
}

.mission-content {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.mission-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 2rem;
  color: white;
}

.mission-statement {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mission-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.mission-pillar {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
}

.mission-pillar h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #d4af37;
}

.mission-pillar p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

/* Expertise Section */
.about-expertise {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.expertise-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.expertise-intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #0d1b2a;
  margin-bottom: 1rem;
}

.expertise-intro p {
  font-size: 1.3rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.expertise-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.expertise-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.expertise-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.expertise-card-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.7), rgba(212, 175, 55, 0.3));
}

.expertise-card-content {
  padding: 2rem;
  position: relative;
}

.expertise-icon {
  position: absolute;
  top: -30px;
  left: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #d4af37, #b8941f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.expertise-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: #0d1b2a;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.expertise-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #666;
}

/* Sustainable Travel Section */
.sustainable-travel {
  padding: 6rem 0;
  background: #ffffff;
}

.sustainable-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.sustainable-intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #0d1b2a;
  margin-bottom: 1rem;
}

.sustainable-intro p {
  font-size: 1.3rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.sustainable-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.sustainable-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 2rem;
}

.sustainable-commitments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.commitment-item {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
  text-align: left;
  transition: all 0.3s ease;
}

.commitment-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.commitment-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #0d1b2a;
  margin-bottom: 1rem;
}

.commitment-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

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

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

/* Half-Screen Footer Image Section */
.about-footer-image {
  height: 50vh;
  background-image: url('https://imagedelivery.net/0sco4at_zHjljk_KVSX6Pg/968d8d03-debd-4c26-bf5a-95801ef95c00/q=100');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-footer-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 27, 42, 0.3);
  z-index: 1;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .about-hero-title {
    font-size: 3rem;
  }
  
  .about-hero-subtitle {
    font-size: 1.2rem;
  }
  
  .story-grid,
  .founding-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .story-content h3,
  .founding-content h3 {
    font-size: 1.8rem;
  }
  
  .values-intro h2,
  .team-intro h2,
  .gallery-intro h2,
  .about-cta h2,
  .mission-content h2,
  .founding-intro h2,
  .expertise-intro h2,
  .sustainable-intro h2 {
    font-size: 2.2rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .value-card {
    padding: 2rem 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  
  .expertise-card-image {
    height: 150px;
  }
  
  .mission-pillars {
    grid-template-columns: 1fr;
  }
  
  .mission-statement {
    font-size: 1.2rem;
    padding: 1.5rem;
  }
  
  .founding-quote {
    font-size: 1.2rem;
    padding: 2rem 1.5rem;
  }
  
  .founding-quote::before,
  .founding-quote::after {
    font-size: 2rem;
  }
  
  .sustainable-commitments {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .about-hero-title {
    font-size: 2.5rem;
  }
  
  .about-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .story-intro h2,
  .values-intro h2,
  .team-intro h2,
  .gallery-intro h2,
  .about-cta h2 {
    font-size: 2rem;
  }
  
  .story-content h3 {
    font-size: 1.6rem;
  }
  
  .value-card h3 {
    font-size: 1.5rem;
  }
  
  .team-image {
    width: 150px;
    height: 150px;
  }
  
  .gallery-item {
    height: 200px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .about-hero-title {
    animation: none;
  }
  
  .fade-in-up {
    animation: none;
  }
  
  * {
    transition: none !important;
  }
}

/* Focus states for accessibility */
.about-hero-cta:focus,
.cta-btn:focus {
  outline: 3px solid #d4af37;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .value-card {
    border: 2px solid #000;
  }
  
  .gallery-overlay {
    background: rgba(0, 0, 0, 0.9);
  }
}

/* =====================================
   BRAND PAGE STYLES
   Moved from inline CSS in brand.html
   ===================================== */

/* Brand Story Sections */
.brand-story-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.brand-story-content {
  z-index: 2;
  position: relative;
  animation: fadeInUp 1s ease-out;
}

.brand-story-bg {
  position: absolute;
  top: 0;
  right: -10%;
  width: 60%;
  height: 100%;
  opacity: 0.2;
  z-index: 1;
  animation: float 10s ease-in-out infinite;
}

.brand-story-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Hero Logo Section */
.hero-logo-section {
  padding: 10rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-logo-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  animation: pulse 4s ease-in-out infinite;
}

.hero-logo {
  max-width: 80%;
  margin-bottom: 8rem;
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.2rem;
  opacity: 0.9;
  margin-top: 2rem;
}

/* Color Palette Section */
.color-story-section {
  background: linear-gradient(45deg, #e0e1dd 0%, #f8f9fa 100%);
  padding: 8rem 0;
}

.color-palette-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.color-card-modern {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.color-card-modern:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.color-swatch-modern {
  cursor: pointer;
  transition: all 0.3s ease;
  height: 200px;
  position: relative;
}

.color-swatch-modern:hover {
  transform: scale(1.05);
}

.color-info-modern {
  padding: 2rem;
}

.color-info-modern h4 {
  color: #0d1b2a !important;
  font-weight: 700;
}

.color-info-modern p {
  color: #415a77 !important;
}

.color-info-modern .small {
  color: #778da9 !important;
}

.color-primary { background: linear-gradient(135deg, #D4AF37, #f4d03f); }
.color-gradient { background: linear-gradient(135deg, #D4AF37, #f4d03f, #D4AF37); }
.color-black { background: #000000; }
.color-platinum { background: #E5E4E2; }
.color-dark { background: linear-gradient(135deg, #0d1b2a, #1b263b); }
.color-navy { background: linear-gradient(135deg, #1b263b, #415a77); }
.color-blue { background: linear-gradient(135deg, #415a77, #778da9); }

/* Typography Section */
.typography-story {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
  color: white;
  padding: 10rem 0;
  position: relative;
  overflow: hidden;
}

.typography-story::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="100" fill="%23D4AF37" opacity="0.03">ONCE</text></svg>') repeat;
  background-size: 300px 300px;
  animation: textPattern 30s linear infinite;
}

.typography-showcase {
  text-align: center;
  margin: 4rem 0;
  position: relative;
  z-index: 2;
}

.font-display {
  font-family: 'Playfair Display', serif;
  font-size: 15rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.typography-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin: 4rem 0;
  align-items: center;
}

.font-sample-modern {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
}

.font-sample-modern:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
}

.playfair-sample {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #D4AF37;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.jakarta-sample {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

/* Logo Gallery */
.logo-gallery {
  background: linear-gradient(45deg, #f8f9fa 0%, #e0e1dd 100%);
  padding: 10rem 0;
  position: relative;
}

.logo-gallery::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin: 4rem 0;
}

.logo-card {
  background: white;
  border-radius: 25px;
  padding: 4rem 3rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.logo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  transition: left 0.5s ease;
}

.logo-card:hover::before {
  left: 100%;
}

.logo-card:hover {
  border-color: #D4AF37;
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(212, 175, 55, 0.25);
}

.logo-card img {
  max-width: 220px;
  max-height: 140px;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.logo-card:hover img {
  transform: scale(1.1);
}

.logo-card h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #0d1b2a;
  margin-bottom: 1rem;
}

.logo-card.dark-bg {
  background: #0d1b2a;
  color: white;
}

/* Enhanced Scroll Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Brand Page Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(1deg); }
  66% { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

@keyframes logoGlow {
  0% { filter: drop-shadow(0 15px 40px rgba(212, 175, 55, 0.4)); }
  100% { filter: drop-shadow(0 20px 50px rgba(212, 175, 55, 0.6)); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes textPattern {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(-100px) translateY(-100px); }
}

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

/* Brand Page Responsive Design */
@media (max-width: 768px) {
  .brand-story-bg {
    display: none;
  }
  
  .font-display {
    font-size: 8rem;
  }
  
  .hero-logo {
    max-width: 320px;
  }
  
  .typography-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-logo-section {
    padding: 6rem 0;
  }
  
  .typography-story {
    padding: 6rem 0;
  }
}

/* Design System Section */
.design-system-section {
  background: white;
  padding: 10rem 0;
  color: #0d1b2a;
  position: relative;
  overflow: hidden;
}

.design-system-section .lead {
  color: rgba(13, 27, 42, 0.7);
}

.design-system-section h3 {
  color: #D4AF37;
}

.design-system-section .mb-4 {
  color: rgba(13, 27, 42, 0.8);
}

.system-card {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.system-card h5 {
  color: #D4AF37;
  margin-bottom: 1.5rem;
}

.color-system-item .color-flex {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.color-swatch-small {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.color-swatch-primary { background: #d4af37; }
.color-swatch-primary-light { background: #f4e4a6; }
.color-swatch-primary-dark { background: #b8941f; }

.color-system-item .color-name {
  font-weight: 600;
  color: #0d1b2a;
}

.color-system-item .color-value {
  font-size: 0.9rem;
  color: rgba(13, 27, 42, 0.7);
}

.scale-item {
  border-bottom: 1px solid rgba(13, 27, 42, 0.1);
  padding-bottom: 1rem;
}

.scale-item:last-child {
  border-bottom: none;
}

.scale-item .scale-text {
  color: #0d1b2a;
  margin-bottom: 0.5rem;
}

.scale-item .scale-heading {
  font-size: 2rem;
  font-weight: 700;
}

.scale-item .scale-body-large {
  font-size: 1.25rem;
  font-weight: 600;
}

.scale-item .scale-body {
  font-size: 1rem;
}

.scale-item .scale-label {
  color: rgba(13, 27, 42, 0.7);
  font-size: 0.9rem;
}

.spacing-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.spacing-bar {
  height: 20px;
  background: #D4AF37;
  border-radius: 2px;
}

.spacing-bar-4 { width: 16px; }
.spacing-bar-8 { width: 32px; }
.spacing-bar-20 { width: 80px; }

.spacing-item .spacing-name {
  color: #0d1b2a;
  font-weight: 600;
}

.spacing-item .spacing-value {
  color: rgba(13, 27, 42, 0.7);
  font-size: 0.9rem;
}

.typography-story .typography-showcase h4 {
  color: rgba(255,255,255,0.8);
}

.font-sample-modern h5 {
  color: #D4AF37;
  margin-bottom: 1rem;
}

.font-sample-modern p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
}

.legal-hero-image {
  object-fit: cover;
}

.typography-signature {
  color: rgba(255,255,255,0.8);
}

/* Brand Voice Section */
.brand-voice-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e0e1dd 100%);
  padding: 8rem 0;
}

.voice-card {
  border-radius: 20px;
  padding: 3rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.voice-card.light {
  background: white;
}

.voice-card.dark {
  background: #0d1b2a;
}

.voice-card h4 {
  color: #D4AF37;
  margin-bottom: 2rem;
}

.voice-list {
  list-style: none;
  padding: 0;
}

.voice-list li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
}

.voice-list .check-icon {
  position: absolute;
  left: 0;
  color: #D4AF37;
}

.voice-list .cross-icon {
  position: absolute;
  left: 0;
  color: #D4AF37;
}

.voice-list .dark-text {
  color: rgba(255,255,255,0.8);
}

/* Card Examples */
.card-examples {
  margin-top: 1.5rem;
}

.example-card {
  padding: 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.example-card.elevated {
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: none;
}

.example-card.outlined {
  background: white;
  border: 2px solid rgba(13, 27, 42, 0.1);
  box-shadow: none;
}

.example-card.filled {
  background: #f8f9fa;
  border: none;
  box-shadow: none;
}

.example-card h6 {
  color: #0d1b2a;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.example-card .small {
  color: rgba(13, 27, 42, 0.7);
  font-size: 0.875rem;
  margin: 0;
}

/* Border Examples */
.border-examples {
  margin-top: 1.5rem;
}

.border-demo {
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
}

.border-demo.subtle {
  border: 1px solid rgba(13, 27, 42, 0.1);
}

.border-demo.medium {
  border: 2px solid rgba(13, 27, 42, 0.2);
}

.border-demo.accent {
  border: 2px solid #D4AF37;
}

.border-label {
  font-weight: 600;
  color: #0d1b2a;
}

.border-value {
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 0.8rem;
  color: rgba(13, 27, 42, 0.7);
  background: rgba(13, 27, 42, 0.05);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

/* Accessibility Items */
.accessibility-items {
  margin-top: 1.5rem;
}

.a11y-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.a11y-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.a11y-title {
  font-weight: 600;
  color: #0d1b2a;
  margin-bottom: 0.25rem;
}

.a11y-desc {
  color: rgba(13, 27, 42, 0.7);
  font-size: 0.9rem;
}

/* Emotion Items */
.emotion-items {
  margin-top: 1.5rem;
}

.emotion-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.emotion-color {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.emotion-color.warmth {
  background: linear-gradient(135deg, #D4AF37, #f4d03f);
}

.emotion-color.trust {
  background: linear-gradient(135deg, #0d1b2a, #1b263b);
}

.emotion-color.calm {
  background: linear-gradient(135deg, #e0e1dd, #f8f9fa);
}

.emotion-title {
  font-weight: 600;
  color: #0d1b2a;
  margin-bottom: 0.25rem;
}

.emotion-desc {
  color: rgba(13, 27, 42, 0.7);
  font-size: 0.9rem;
}

/* =====================================
   LEGAL PAGES STYLES
   Moved from custom.css for terms.html and privacy-policy.html
   ===================================== */

/* Legal Pages Hero Section */
.legal-hero {
  position: relative;
  height: 60vh;
  min-height: 500px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 2rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.legal-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.legal-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(17, 17, 17, 0.4) 30%,
    rgba(212, 175, 55, 0.2) 70%,
    rgba(245, 232, 200, 0.1) 100%
  );
  backdrop-filter: blur(1px);
  z-index: 2;
}

.legal-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.legal-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #ffffff, #f5e8c8, #d4af37, #ffffff);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroTextShimmer 4s ease-in-out infinite;
  letter-spacing: -0.02em;
}

.legal-hero-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.98;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  line-height: 1.7;
  margin-bottom: 0;
  letter-spacing: 0.01em;
}

@keyframes heroTextShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Privacy Policy Page Styles */
.privacy-policy-page {
  padding-top: 3rem;
  padding-bottom: 6rem;
  background: linear-gradient(135deg, #fafbfc 0%, #f8f9fa 50%, #ffffff 100%);
  min-height: 100vh;
  position: relative;
}

.privacy-policy-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

.privacy-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.privacy-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  margin-bottom: 4rem;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 4px 16px rgba(212, 175, 55, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.1);
  position: relative;
  overflow: hidden;
}

.privacy-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.05), transparent);
  animation: headerShimmer 3s ease-in-out infinite;
}

.privacy-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.privacy-header .lead {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 1rem;
}

.privacy-section {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.06),
    0 2px 8px rgba(212, 175, 55, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.privacy-section:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 4px 16px rgba(212, 175, 55, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.privacy-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, transparent, #d4af37);
  opacity: 0.6;
}

.privacy-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #0d1b2a;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(212, 175, 55, 0.2);
  position: relative;
}

.privacy-section h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: #d4af37;
}

.subsection-title {
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  margin: var(--space-5) 0 var(--space-3) 0;
}

.privacy-section p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1rem;
}

.privacy-list {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: var(--space-6);
  margin: var(--space-4) 0;
}


.section-divider {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  margin: var(--space-8) 0;
  opacity: 0.3;
}

.contact-info {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border-left: 4px solid #d4af37;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

@keyframes headerShimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Mobile Responsiveness for Legal Pages */
@media (max-width: 768px) {
  
  .legal-hero {
    height: 50vh;
    min-height: 400px;
    border-radius: 0 0 1.5rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  .legal-hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .legal-hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.4;
    max-width: 90%;
    margin: 0 auto;
  }
  
  .legal-hero-content {
    padding: 2rem 1.5rem;
    text-align: center;
  }
  
  .privacy-policy-page {
    padding-top: 1rem;
    padding-bottom: 3rem;
  }
  
  .privacy-content {
    padding: 0 0.5rem;
  }
  
  .privacy-section {
    padding: 1.5rem 1.2rem;
    margin-bottom: 1.5rem;
    border-radius: 1rem;
  }
  
  .privacy-header {
    padding: 1.5rem 1.2rem;
    margin-bottom: 2rem;
  }
  
  .privacy-section h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  
  .privacy-section p,
  .privacy-list li {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .privacy-list {
    padding-left: 1.2rem;
  }
  
  .section-divider {
    margin: 2rem 0;
  }
  
  .contact-info {
    padding: 1.2rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .legal-hero {
    height: 45vh;
    min-height: 320px;
    border-radius: 0 0 1.5rem 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .legal-hero-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.8rem;
  }
  
  .legal-hero-subtitle {
    font-size: 1rem;
    line-height: 1.4;
    max-width: 95%;
    margin: 0 auto;
  }
  
  .legal-hero-content {
    padding: 1.5rem 1rem;
  }
  
  .privacy-policy-page {
    padding-top: 0.5rem;
    padding-bottom: 2rem;
  }
  
  .privacy-content {
    padding: 0 0.8rem;
  }
  
  .privacy-section {
    padding: 1.2rem 1rem;
    margin-bottom: 1.2rem;
    border-radius: 1rem;
  }
  
  .privacy-section h2 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
  }
  
  .privacy-section p,
  .privacy-list li {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
  }
  
  .privacy-list {
    padding-left: 1rem;
  }
  
  .section-divider {
    margin: 1.5rem 0;
  }
  
  .contact-info {
    padding: 1rem;
    font-size: 0.875rem;
  }
}
