body {
  margin: 0;
  font-family: 'Mulish', sans-serif;
  color: white;
}

a {
  overflow-wrap: anywhere;
}

.page-container {
  margin: 60px;
  border: 3px solid var(--border-color);
  border-radius: 20px;
  min-height: calc(100vh - 120px);
  color: white;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.vas-header,
.about-header,
.contact-header,
.dashboard-header,
.additions-header,
.twin-header {
  height: 100px;
  background-color: rgba(0, 0, 0, 0.7);
}

.vas-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 30px;
  border-bottom: 3px solid var(--border-color);
}

.nav-left,
.nav-right {
  display: flex;
  gap: 16px;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 170px;
  height: 46px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  border-radius: 10px;
  transition: transform 0.2s ease;
}

.nav-btn:hover {
  transform: scale(1.03);
}

.nav-btn.outlined {
  width: 150px;
  height: 42px;
  border: 3px solid var(--border-color);
  background-color: transparent;
  color: white;
}

.nav-btn.filled {
  background-color: var(--border-color);
  color: var(--filled-text-color);
}

.logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.vas-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
  margin-bottom: 100px;
}

.vas-logo {
  height: 360px;
  width: auto;
  margin-bottom: 40px;
}

.vas-text-block {
  width: 1100px;
  border-radius: 10px;
  background-color: #322e3f;
  font-size: 16px;
  font-weight: normal;
  padding: 35px 50px;
  text-align: justify;
  display: block;
  line-height: 2;
  font-family: 'Mulish', sans-serif;
}

.site-footer {
  height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 0 30px;
  font-size: 14px;
  color: white;
  /* Default, but can be overridden */
  border-top: 3px solid var(--border-color);
}

.footer-left {
  font-family: 'Mulish', sans-serif;
}

.footer-right {
  display: flex;
  gap: 20px;
}

.footer-link {
  color: inherit;
  /* Inherits text color, so you can change it per page */
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.7;
}

.page-content {
  flex: 1;
}

@media (max-width: 1710px) {
  .page-container {
    margin: 20px;
    border-width: 2px;
    border-radius: 10px;
  }

  .vas-header,
  .about-header,
  .contact-header,
  .dashboard-header,
  .additions-header,
  .twin-header {
    background-color: rgba(0, 0, 0, 0);
    height: auto;
  }

  .vas-content {
    margin: 10px 0;
  }

  .vas-logo {
    margin-bottom: 0;
  }

  .vas-products {
    --bs-gutter-x: 2.5rem !important;
  }

  .vas-arcana-singular-wrapper img,
  .additions-body,
  .page-content img {
    object-fit:contain !important;
    height:auto !important;
  }

  .lang-filter-btn {
    width:300px !important;
  }

  .vas-arcana-singular-wrapper h2,
  .vas-arcana-singular-wrapper h1,
  .additions-body h2,
  .additions-body h1 {
    font-size: 18px !important;
  }

  .vas-arcana-singular-wrapper .singular-wrapper,
  .additions-body .singular-wrapper {
    padding: 10px !important;
  }

  .vas-arcana-singular-wrapper .tab-content,
  .additions-body .tab-content {
    padding: 10px 10px 10px !important;
  }

  .vas-arcana-singular-wrapper #content,
  .vas-arcana-singular-wrapper #info,
  .additions-body #content,
  .additions-body #info {
    padding: 20px 10px 10px !important;
  }

  .about-wrapper {
    padding: 20px 10px !important;
  }

  .contact-wrapper {
    padding: 40px 20px !important;
  }

  .twin-flames-body .page-content img {
    width: 100%;
  }

  .coaching-wrapper {
    padding-top: 20px !important;
  }

  .coaching-wrapper h2 {
    margin-top: 0 !important;
  }

  .nav-btn.outlined {
    width: 100%;
  }

  .twin-flames-text-block {
    width: auto !important;
  }

  .twin-flames-body .vas-content {
    padding: 0;
  }

  .carousel-indicators {
    bottom: -10px !important;
  }

  .twin-link-item img {
    margin-left: 0 !important;
    margin-bottom: 20px !important;
  }

  .logo {
    width: 60px;
    height: auto;
    object-fit: contain;
  }

  .vas-nav {
    display: none !important;
  }

  .nav-left,
  .nav-right {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .nav-center {
    position: static;
    transform: none;
    flex-direction: column;
    gap: 10px;
  }

  .nav-btn {
    width: 100%;
    max-width: 200px;
    height: 40px;
    font-size: 16px;
  }

  .vas-logo {
    height: 200px;
  }

  .vas-text-block {
    width: 90%;
    padding: 20px;
    font-size: 15px;
    line-height: 1.7;
  }

  .site-footer {
    flex-direction: column;
    height: auto;
    padding: 10px 20px;
    text-align: center;
    gap: 10px;
  }

  .footer-right {
    flex-direction: column;
    gap: 10px;
  }
  .product-description {
    font-size:14px !important;
    text-align:left !important;
    line-height:1.8 !important;
  }
  .page-content p {
    font-size:14px !important;
    text-align:left !important;
    line-height:1.8 !important;
  }
}

/* Mobile Header */
.mobile-header {
  background-color: rgba(0, 0, 0, 0.7);
  height: 70px;
  border-bottom: 2px solid var(--border-color);
  z-index: 999;
}

/* Hamburger Button */
.hamburger-btn {
  font-size: 32px;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
}

/* Slide-In Modal */
.mobile-nav-modal {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background-color: #1e1e1e;
  transition: right 0.3s ease-in-out;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
}

.mobile-nav-modal.show {
  right: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 60px;
}

/* Ensure mobile nav buttons always have proper contrast */
.mobile-nav-links .nav-btn.filled {
  background-color: #ee3ec9;
  color: #ffffff !important;
}

.mobile-nav-links .nav-btn.outlined {
  border-color: #ffffff;
  color: #ffffff !important;
}

.close-btn {
  font-size: 28px;
  align-self: flex-end;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Custom responsive classes to override Bootstrap at 1710px */
@media (min-width: 1711px) {
  .custom-desktop-only {
    display: flex !important;
  }
  .custom-mobile-only {
    display: none !important;
  }
}

@media (max-width: 1710px) {
  .custom-desktop-only {
    display: none !important;
  }
  .custom-mobile-only {
    display: flex !important;
  }
}
