/* Navigation styles for Leeds Dance Centre */

/* Info Banner */
.info-banner {
  background-color: #FFFBF7;
  padding: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.banner-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.banner-left,
.banner-right {
  flex: 1;
  min-width: 0;
}

.banner-left {
  text-align: left;
}

.banner-right {
  text-align: right;
}

.banner-center {
  flex: 0 0 auto;
  padding: 0 1.5rem;
}

.banner-divider {
  width: 1px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.banner-title,
.banner-location {
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.banner-subtitle {
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  opacity: 0.7;
  margin: 0;
  line-height: 1.4;
}

.banner-social-icons {
  display: inline-flex;
  gap: 0.75rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.banner-social-icons a {
  color: var(--color-text);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.banner-social-icons a:hover {
  opacity: 1;
}

.banner-social-icons i {
  font-size: 1.25rem;
}

.banner-center h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--color-orange);
  letter-spacing: 0.02em;
  margin: 0;
  white-space: nowrap;
}

/* Responsive Design for Info Banner */
@media (max-width: 1024px) {
  .banner-container {
    gap: 1.5rem;
  }

  .banner-center h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .banner-container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .banner-left,
  .banner-right {
    text-align: center;
  }

  .banner-divider {
    width: 60px;
    height: 1px;
  }
}

/* Main Navigation */
.main-nav {
  background-color: #FFFBF7;
  padding: 1rem 2rem;
  position: sticky;
  position: -webkit-sticky; /* Safari */
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

/* Mobile Logo */
.mobile-logo {
  display: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--color-orange);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: all 0.3s ease;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
}

.nav-links li a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links li a:hover {
  color: var(--color-orange);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-orange);
  transition: width 0.3s ease;
}

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

/* Dropdown indicator */
.nav-links li.has-dropdown > a::before {
  content: '▼';
  font-size: 0.6rem;
  order: 1;
  transition: transform 0.3s ease;
}

.nav-links li.has-dropdown:hover > a::before {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background-color: white;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  min-width: 200px;
  margin-top: 0.5rem;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Hen Parties Dropdown - Single scrollable column */
.hen-parties-dropdown,
.classes-dropdown {
  min-width: 250px;
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.5rem 0;
}

/* Custom scrollbar for dropdown */
.hen-parties-dropdown::-webkit-scrollbar,
.classes-dropdown::-webkit-scrollbar {
  width: 8px;
}

.hen-parties-dropdown::-webkit-scrollbar-track,
.classes-dropdown::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.hen-parties-dropdown::-webkit-scrollbar-thumb,
.classes-dropdown::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.hen-parties-dropdown::-webkit-scrollbar-thumb:hover,
.classes-dropdown::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.5rem;
  color: var(--color-text);
  font-size: 0.875rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  color: var(--color-orange);
  background-color: #FAFAFA;
}

.hen-parties-dropdown a:first-child,
.classes-dropdown a:first-child {
  font-weight: 600;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 0.25rem;
  padding-bottom: 0.75rem;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-icons a {
  color: var(--color-text);
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons a:hover {
  color: var(--color-orange);
  transform: translateY(-2px);
}

.social-icons i {
  font-size: 18px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .nav-links {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  /* Hide info banner on mobile */
  .info-banner {
    display: none;
  }

  .nav-container {
    justify-content: space-between;
  }

  .mobile-menu-toggle {
    display: flex;
    z-index: 1001;
    position: relative;
  }

  .mobile-logo {
    display: block;
    flex: 1;
    text-align: center;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100vw;
    height: 100vh;
    background-color: #FFFBF7;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 4rem 2rem 2rem;
    transition: left 0.4s ease;
    z-index: 999;
    overflow-y: auto;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links > li {
    width: 100%;
    margin: 0;
  }

  .nav-links > li > a {
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    display: block;
    text-align: left;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.05em;
  }

  /* Remove desktop hover effects */
  .nav-links li a:hover::after {
    width: 0;
  }

  /* Disable ALL desktop dropdown behaviors on mobile */
  .has-dropdown:hover .dropdown-menu {
    display: none !important;
  }

  .has-dropdown .dropdown-menu {
    display: none !important;
  }

  /* Dropdown arrow for mobile */
  .nav-links li.has-dropdown > a::after {
    display: none;
  }

  .nav-links li.has-dropdown > a::before {
    content: '▼';
    font-size: 0.5rem;
    float: right;
    transition: transform 0.3s ease;
    opacity: 0.5;
  }

  .nav-links li.has-dropdown.active > a::before {
    transform: rotate(180deg);
  }

  /* Mobile Dropdown Menu - Override desktop styles */
  .dropdown-menu {
    display: none !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100%;
    background: rgba(0, 0, 0, 0.02);
    margin: 0;
    padding: 0.5rem 0;
    box-shadow: none !important;
    border: none !important;
    min-width: unset !important;
    margin-top: 0 !important;
  }

  /* Only show dropdown when parent is actively clicked */
  .has-dropdown.active .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .dropdown-menu a {
    display: block !important;
    padding: 0.5rem 2rem;
    font-size: 0.95rem;
    text-align: left;
    color: #000000 !important;
    opacity: 0.8 !important;
    text-transform: capitalize;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    white-space: normal;
    overflow: visible;
    visibility: visible !important;
    transition: all 0.2s ease;
    position: relative;
  }

  /* Highlight effect on items */
  .dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-orange);
    transform: scaleY(0);
    transition: transform 0.2s ease;
  }

  .dropdown-menu a:hover::before,
  .dropdown-menu a:focus::before {
    transform: scaleY(1);
  }

  .dropdown-menu a:last-child {
    border-bottom: none;
  }

  .dropdown-menu a:hover,
  .dropdown-menu a:focus,
  .dropdown-menu a:active {
    opacity: 1;
    background: rgba(247, 122, 54, 0.15);
    color: var(--color-orange) !important;
    padding-left: 2.5rem;
    transition: all 0.2s ease;
  }

  .hen-parties-dropdown,
  .classes-dropdown {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    min-width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
    scroll-behavior: smooth;
  }

  /* Gradient overlays for scroll indication */
  .hen-parties-dropdown::before,
  .classes-dropdown::before {
    content: '';
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, #FFFBF7 0%, transparent 100%);
    pointer-events: none;
    z-index: 10;
    display: block;
  }

  .hen-parties-dropdown::after,
  .classes-dropdown::after {
    content: '';
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to top, #FFFBF7 0%, transparent 100%);
    pointer-events: none;
    z-index: 10;
    display: block;
  }

  /* Visible scrollbar with custom styling */
  .hen-parties-dropdown::-webkit-scrollbar,
  .classes-dropdown::-webkit-scrollbar {
    width: 3px;
  }

  .hen-parties-dropdown::-webkit-scrollbar-track,
  .classes-dropdown::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
  }

  .hen-parties-dropdown::-webkit-scrollbar-thumb,
  .classes-dropdown::-webkit-scrollbar-thumb {
    background: var(--color-orange);
    opacity: 0.5;
    border-radius: 3px;
  }

  .hen-parties-dropdown::-webkit-scrollbar-thumb:hover,
  .classes-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--color-orange);
    opacity: 1;
  }

  /* Show all dropdown items including first one */
  .dropdown-menu a:first-child {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    opacity: 1 !important;
    color: #000000 !important;
    display: block !important;
  }

  .social-icons {
    margin-right: 1rem;
  }
}

/* Footer */
.main-footer {
  background-color: var(--color-light-cream);
  padding: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Footer Header Section */
.footer-header {
  padding: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-header-left,
.footer-header-right {
  flex: 1;
}

.footer-header-left p,
.footer-header-right p {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  opacity: 0.6;
  line-height: 1.4;
  margin: 0;
}

.footer-header-left {
  text-align: left;
}

.footer-header-right {
  text-align: right;
}

.footer-header-center {
  flex: 0 0 auto;
  padding: 0 2rem;
}

.footer-header-logo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--color-orange);
  letter-spacing: 0.1em;
  margin: 0;
  white-space: nowrap;
}

/* Responsive for Footer Header */
@media (max-width: 1024px) {
  .footer-header-left p,
  .footer-header-right p {
    font-size: 0.55rem;
  }

  .footer-header-logo {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
  }
}

@media (max-width: 768px) {
  .footer-header {
    display: none;
  }
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-column:first-child {
  padding-right: 2rem;
}

.footer-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-text {
  color: var(--color-text);
  opacity: 0.7;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-contact p {
  color: var(--color-text);
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--color-text);
  opacity: 0.7;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-orange);
  opacity: 1;
}

/* Footer Bottom */
.footer-bottom {
  padding: 2rem 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  color: var(--color-text);
  opacity: 0.6;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.footer-copyright a:hover {
  color: var(--color-orange);
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  color: var(--color-text);
  opacity: 0.6;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: var(--color-orange);
  opacity: 1;
  transform: translateY(-2px);
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

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

  .footer-column:first-child {
    padding-right: 0;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-copyright {
    font-size: 0.7rem;
  }
}