/* Institute for Nothing - Academic Website Styles */

:root {
  /* Color variables */
  --primary: #003366;
  --primary-dark: #002244;
  --secondary: #8a1538;
  --secondary-dark: #6a1028;
  --accent: #f8c300;
  --text-dark: #333333;
  --text-medium: #555555;
  --text-light: #777777;
  --background-light: #ffffff;
  --background-off-white: #f7f7f7;
  --background-light-gray: #eeeeee;
  --border-light: #dddddd;
  
  /* Typography */
  --font-serif: 'Merriweather', Georgia, serif;
  --font-sans: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  
  /* Layout */
  --container-width: 1200px;
  --header-height: 50px;
  --section-padding: 60px 0;
}

/* Base Styles */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--background-light);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  margin-top: 0;
  line-height: 1.3;
  font-weight: 700;
  color: var(--primary);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 0.875rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary);
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-heading {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
  text-align: center;
}

.section-heading:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--secondary);
}

/* Button Styles */
.button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-sans);
}

.button.primary {
  background: var(--primary);
  color: white;
  border: 2px solid var(--primary);
}

.button.primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.button.secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.button.secondary:hover {
  background: rgba(0, 51, 102, 0.1);
}

/* Header Styles */
.header-top {
  background: var(--primary-dark);
  padding: 8px 0;
}

.utility-links {
  display: flex;
  justify-content: flex-end;
}

.utility-links a {
  color: white;
  font-size: 14px;
  margin-left: 20px;
  opacity: 0.9;
}

.utility-links a:hover {
  opacity: 1;
}

.donate-link {
  font-weight: 600;
}

.header-main {
  background: var(--primary);
  padding: 20px 0;
}

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

.logo a {
  display: block;
}

.header-tagline {
  color: white;
  font-style: italic;
  font-family: var(--font-serif);
}

.header-tagline p {
  margin: 0;
  font-size: 16px;
  opacity: 0.9;
}

.header-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-nav {
  display: flex;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  margin: 0;
}

.main-nav a {
  display: block;
  padding: 15px 20px;
  color: var(--text-dark);
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

.main-nav a:hover:after,
.main-nav a.active:after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-dark);
  margin: 5px 0;
  transition: transform 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 60px 0;
  background: var(--background-off-white);
  border-bottom: 1px solid var(--border-light);
}

.hero-slider {
  position: relative;
}

.hero-slide {
  display: flex;
  align-items: center;
}

.hero-content {
  flex: 1;
  padding-right: 40px;
}

.hero-content h1 {
  font-size: 42px;
  margin-bottom: 20px;
  color: var(--primary);
}

.hero-content p {
  font-size: 18px;
  color: var(--text-medium);
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  flex: 1;
  max-width: 50%;
}

/* Quick Links Section */
.quick-links {
  padding: 30px 0;
  background: white;
  border-bottom: 1px solid var(--border-light);
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.quick-link {
  display: block;
  padding: 20px;
  text-align: center;
  background: var(--background-off-white);
  border-radius: 5px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-dark);
}

.quick-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.quick-link-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.quick-link h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--primary);
}

.quick-link p {
  margin: 0;
  font-size: 14px;
  color: var(--text-medium);
}

/* Featured Research Section */
.featured-research {
  padding: var(--section-padding);
  background: white;
}

.research-highlight {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  padding: 30px;
  background: var(--background-off-white);
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.research-highlight.reverse {
  flex-direction: row-reverse;
}

.research-content {
  flex: 3;
  padding-right: 30px;
}

.research-highlight.reverse .research-content {
  padding-right: 0;
  padding-left: 30px;
}

.research-area {
  display: inline-block;
  font-size: 14px;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.research-content h3 {
  margin-bottom: 15px;
  font-size: 24px;
}

.research-content p {
  margin-bottom: 20px;
  color: var(--text-medium);
}

.read-more {
  display: inline-block;
  font-weight: 600;
  color: var(--primary);
  position: relative;
}

.read-more:after {
  content: '→';
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.read-more:hover:after {
  transform: translateX(5px);
}

.research-image {
  flex: 2;
  text-align: center;
}

/* News & Events Section */
.news-events {
  padding: var(--section-padding);
  background: var(--background-off-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.news-events .container {
  display: flex;
  gap: 30px;
}

.news-section, .events-section {
  flex: 1;
}

.news-grid {
  display: grid;
  gap: 20px;
}

.news-item {
  background: white;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

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

.news-date {
  display: block;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.news-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.news-item p {
  font-size: 14px;
  color: var(--text-medium);
  margin-bottom: 15px;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-item {
  display: flex;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.event-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px;
  min-width: 80px;
  background: var(--primary);
  color: white;
  text-align: center;
}

.event-month {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.event-day {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.event-details {
  padding: 15px;
  flex: 1;
}

.event-details h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.event-meta {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.event-description {
  font-size: 14px;
  color: var(--text-medium);
  margin: 0;
}

.events-cta {
  margin-top: 30px;
  text-align: center;
}

/* Testimonials Section */
.testimonials {
  padding: var(--section-padding);
  background: white;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slide {
  text-align: center;
}

blockquote {
  margin: 0;
  padding: 0;
  font-style: italic;
}

blockquote p {
  font-size: 20px;
  font-family: var(--font-serif);
  color: var(--text-medium);
  margin-bottom: 20px;
}

blockquote cite {
  font-style: normal;
  font-size: 16px;
  color: var(--primary);
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  padding: var(--section-padding);
  background: var(--primary);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  color: white;
  margin-bottom: 20px;
}

.cta-section p {
  margin-bottom: 30px;
  font-size: 18px;
  opacity: 0.9;
}

.cta-section .button.primary {
  background: white;
  color: var(--primary);
  border-color: white;
}

.cta-section .button.primary:hover {
  background: var(--background-off-white);
}

/* Footer Styles */
.footer-main {
  background: var(--primary-dark);
  color: white;
  padding: 60px 0 40px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-address {
  font-style: normal;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 14px;
  opacity: 0.9;
}

.footer-address a {
  color: white;
  text-decoration: underline;
}

.footer-column h3 {
  color: white;
  font-size: 18px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

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

.footer-column a {
  color: white;
  opacity: 0.9;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.footer-column a:hover {
  opacity: 1;
}

.footer-bottom {
  background: var(--primary);
  padding: 20px 0;
  color: white;
  font-size: 14px;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal p {
  margin: 0 0 5px;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: white;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

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

.footer-social {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.3);
}

.footer-disclaimer {
  background: var(--primary-dark);
  padding: 10px 0;
  text-align: center;
}

.disclaimer-text {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 800px;
  margin: 0 auto;
}

/* Content Pages Styles */
.page-header {
  background: var(--primary);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
}

.page-header h1 {
  color: white;
  margin: 0 0 20px;
}

.page-description {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  opacity: 0.9;
}

.breadcrumbs {
  background: var(--background-off-white);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.breadcrumbs-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs-item {
  display: flex;
  align-items: center;
}

.breadcrumbs-item:not(:last-child):after {
  content: '/';
  margin: 0 10px;
  color: var(--text-light);
}

.breadcrumbs-link {
  color: var(--text-medium);
}

.page-content {
  padding: 60px 0;
}

.page-content .container {
  max-width: 80%;
  width: 80%;
  margin: 0 auto;
}

.page-content h1, 
.page-content h2, 
.page-content h3, 
.page-content h4, 
.page-content h5, 
.page-content h6 {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.page-content a:hover {
  color: var(--secondary);
}

.page-content blockquote {
  border-left: 4px solid var(--secondary);
  padding: 1rem 1rem 1rem 2rem;
  margin-left: 0;
  color: var(--text-medium);
  background: var(--background-off-white);
  border-radius: 0 4px 4px 0;
}

.page-content pre {
  background: var(--background-light-gray);
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
}

.page-content code {
  background: var(--background-light-gray);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9em;
  color: var(--primary-dark);
}

/* Table of Contents */
.research-toc {
  background: var(--background-off-white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.research-toc h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--primary);
  text-align: center;
  font-family: var(--font-serif);
}

.research-toc ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 0;
}

.research-toc ul ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.research-toc li {
  margin-bottom: 0.75rem;
}

.research-toc a {
  display: inline-block;
  padding: 2px 0;
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.research-toc a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Taxonomy Terms */
.taxonomy-terms {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.taxonomy-label {
  font-weight: 600;
  margin-right: 0.5rem;
  color: var(--text-medium);
}

.taxonomy-list {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.taxonomy-item {
  margin: 0;
  display: inline-block;
}

.taxonomy-link {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  background: var(--background-light-gray);
  color: var(--primary);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.taxonomy-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Content Page */
.content-title {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  color: var(--primary);
}

.content-meta {
  margin-bottom: 2rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.content-body {
  margin-bottom: 2rem;
}

/* Researchers Page Styles */
.researchers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.researcher-card {
  background: var(--background-off-white);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-light);
}

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

.researcher-image {
  height: 200px;
  overflow: hidden;
}

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

.researcher-info {
  padding: 20px;
}

.researcher-name {
  margin-bottom: 5px;
  font-size: 18px;
}

.researcher-title {
  color: var(--secondary);
  font-size: 14px;
  margin-bottom: 15px;
  font-weight: 600;
}

.researcher-bio {
  font-size: 14px;
  color: var(--text-medium);
  margin-bottom: 15px;
}

.researcher-links {
  display: flex;
  gap: 15px;
}

.researcher-link {
  font-size: 14px;
  font-weight: 600;
}

/* Publications Page Styles */
.publications-list {
  margin-top: 40px;
}

.publication-item {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 20px;
  border-radius: 8px;
}

.publication-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: var(--background-off-white);
}

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

.publication-date {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.publication-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.publication-authors {
  font-style: italic;
  color: var(--text-medium);
  margin-bottom: 15px;
}

.publication-abstract {
  margin-bottom: 15px;
}

.publication-links {
  display: flex;
  gap: 15px;
}

.publication-link {
  font-size: 14px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--background-light);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.publication-link:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Events Page Styles */
.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.event-card {
  display: flex;
  background: var(--background-off-white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.event-card-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  min-width: 100px;
  background: var(--primary);
  color: white;
  text-align: center;
}

.event-card-month {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

.event-card-day {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.event-card-content {
  padding: 20px;
  flex: 1;
}

.event-card-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.event-card-meta {
  margin-bottom: 15px;
  color: var(--text-medium);
  font-size: 14px;
}

.event-card-description {
  margin-bottom: 15px;
}

.event-card-link {
  font-weight: 600;
}

/* Join Us Page Styles */
.opportunities-section {
  margin-top: 60px;
}

.opportunity-card {
  background: var(--background-off-white);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.opportunity-title {
  font-size: 20px;
  margin-bottom: 15px;
}

.opportunity-description {
  margin-bottom: 20px;
}

.opportunity-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 14px;
}

.opportunity-detail {
  display: flex;
  align-items: center;
}

.opportunity-detail-label {
  font-weight: 600;
  margin-right: 5px;
}

/* Contact Page Styles */
.contact-info {
  background: var(--background-off-white);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 40px;
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.contact-item {
  display: flex;
  flex-direction: column;
}

.contact-item-label {
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  font-family: var(--font-sans);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .news-events .container {
    flex-direction: column;
  }
  
  .research-highlight,
  .research-highlight.reverse {
    flex-direction: column;
  }
  
  .research-content,
  .research-highlight.reverse .research-content {
    padding: 0;
    margin-bottom: 20px;
  }
  
  .research-image {
    order: -1;
    margin-bottom: 20px;
  }
  
  .hero-slide {
    flex-direction: column;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 30px;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
  }
  
  .footer-bottom .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .event-card {
    flex-direction: column;
  }
  
  .event-card-date {
    padding: 10px;
    flex-direction: row;
    min-width: auto;
  }
  
  .event-card-month {
    margin-right: 5px;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .header-nav .container {
    display: flex;
    justify-content: flex-end;
  }
  
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .main-nav ul {
    flex-direction: column;
    width: 100%;
  }
  
  .main-nav li {
    width: 100%;
  }
  
  .main-nav a {
    padding: 15px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    min-height: 50px;
    line-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}