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

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

.menu {
  position: fixed;
  display: flex;
  z-index: 1000;
  align-items: center;
  top: 0;
  width: 100%;
  padding: 10px 20px;
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease-in-out;
}

.menu-left {
  display: flex;
  gap: 15px;
}

.menu-right {
  display: flex;
  gap: 10px; 
  margin-left: auto;
  margin-right: 20px;
}

.menuOptions {
  font-size: 110%;
  text-decoration: none;
  color: black;
  text-align: center;
  margin: 0 10px;
  padding: 5px 10px;
  cursor: pointer;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.menuOptions:hover {
  color: white;
  background-color: rgba(0, 0, 0, 0.8);
}


.scrolling-active .menu {
  width: 100%;
  background-color: rgba(249, 249, 249, 0.9);
}
.scrolling-active .menuOptions:hover {
  color: whitesmoke;
  background-color: black;
}


.logo {
  text-decoration: none;
}

.logo-image {
  height: 30px;
  width: auto;
  transition: transform 0.3s ease-in-out; 
}

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

.nav{
  display: none;
}

.footer-bottom{
  position: relative;
  bottom: 0px;
  width: 100%;
  height: auto;
  background-color: transparent;
  color: black;
  text-align: center;
  padding: 0%;
  font-size: 100%;
  font-style: italic;
}

.footer-social {
  margin: auto;
  margin-bottom: .5%;
  padding: auto;
  font-size: 32px;
  text-align: center;
}

.fa {
  text-align: center;
  color: whitesmoke;
  text-decoration: none;
  width: 50px;
  height: 30px;
  padding: 10px;
  border-radius: 15px;
}

#instagram:hover {
  background: linear-gradient(to top right, orange, red, purple);
  margin-top: .5px;
  transition: ease-in-out .5s;
}

.openMenuMobile {
  margin-top: 13px;
  margin-right: 20px;
  position: fixed;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  overflow-x: hidden;
  transition: width 0.4s var(--ease-out-expo, cubic-bezier(0.19, 1, 0.22, 1));
  padding-top: 60px;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
}

.sidenav a {
  padding: 14px 24px 14px 24px;
  text-decoration: none;
  font-size: 17px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  border-left: 3px solid transparent;
  transition: all 0.25s var(--ease-out-expo, cubic-bezier(0.19, 1, 0.22, 1));
}

.sidenav a:hover,
.sidenav a.active {
  background: rgba(103, 0, 0, 0.4);
  border-left-color: var(--color-maroon, #670000);
  padding-left: 28px;
}

.sidenav a:active {
  background: rgba(103, 0, 0, 0.6);
}

/* Sidenav Overlay Backdrop */
.sidenav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.sidenav .closebtn,
.sidenav .closebtnMobile {
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: all 0.25s var(--ease-out-expo, cubic-bezier(0.19, 1, 0.22, 1));
}

.sidenav .closebtn:hover,
.sidenav .closebtnMobile:hover {
  background: rgba(103, 0, 0, 0.6);
  transform: scale(1.05);
}

.sidenav .closebtn:active,
.sidenav .closebtnMobile:active {
  transform: scale(0.95);
}

.sidenav .closebtn:focus,
.sidenav .closebtnMobile:focus {
  outline: 2px solid var(--color-gold, #D4AF37);
  outline-offset: 2px;
}

@media screen and (max-height: 450px) {
  .sidenav {
      padding-top: 15px;
  }
  .sidenav a {
      font-size: 18px;
  }
}


@media only screen and (min-width: 200px) and (max-width: 900px){

  .nav {
    display: flex;
  }
  #mySidenav {
    display: block;
  }
  .closebtnMobile {
      display: block;
  }
  .sidenav {
      display: block;
  }
  .openMenuMobile {
      display: block;
  }
  .menu {
      display: none;
  }
}

main {
    flex: 1;
    padding: 5rem 2rem 2rem 2rem;
    text-align: center;
}

.error-image {
  max-width: 100%;
  height: auto;
  border: 5px solid #ff6b6b;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  padding: 10px;
  background-color: #fff;
}

@media (max-width: 600px) {
  .error-image {
    border: 3px solid #ff6b6b;
    padding: 5px;
  }
}

.slide_container{
  width: 100%;
  max-width: 800px;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.25rem;
  transition: transform 400ms ease, opacity 400ms ease;
}

.image_card{
  flex: 1;
  height: 100%;
  transition: flex 400ms ease, filter 400ms ease;
  cursor: pointer;
}

.image_card:nth-child(odd){
  translate: 0 -20px;
}
.image_card:nth-child(even){
  translate: 0 20px;
}
.slide_container:hover > 
.image_card: not(:hover){
  filter: grayscale(100%);
}
.image_card:hover{
  flex: 3;
}

/* ===== DROPDOWN NAVIGATION ===== */

/* Dropdown Container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Button */
.dropdown-toggle {
    font-size: 110%;
    text-decoration: none;
    color: black;
    text-align: center;
    margin: 0 10px;
    padding: 5px 10px;
    cursor: pointer;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
    background: none;
    border: none;
    display: inline-block;
    font-family: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.dropdown-toggle::after {
    content: ' ▾';
    font-size: 0.8em;
}

.dropdown-toggle:hover {
    color: white;
    background-color: rgba(0, 0, 0, 0.8);
}

/* Dropdown Content */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    z-index: 1001;
    padding: 8px 0;
    margin-top: 2px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.dropdown-content a {
    color: #333;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
    color: #670000;
}

/* Show dropdown on hover (desktop only) */
@media only screen and (min-width: 901px) {
    .dropdown:hover .dropdown-content {
        display: block;
        visibility: visible;
        opacity: 1;
    }
}

/* Active state for scrolling menu */
.scrolling-active .dropdown-toggle:hover {
    color: whitesmoke;
    background-color: black;
}

.scrolling-active .dropdown-content {
    background-color: rgba(249, 249, 249, 0.98);
}

/* ===== MOBILE NAVIGATION ENHANCEMENTS ===== */

.mobile-nav-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 12px 16px;
}

.mobile-nav-label {
    padding: 8px 32px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ===== RESPONSIVE DROPDOWN BEHAVIOR ===== */

/* Hide dropdowns on mobile (they're already hidden via .menu display:none) */
@media only screen and (max-width: 900px) {
    .dropdown {
        display: none;
    }
}

/* Ensure dropdowns work properly on desktop */
@media only screen and (min-width: 901px) {
    .dropdown {
        display: inline-block;
    }

    .mobile-nav-divider,
    .mobile-nav-label {
        display: none;
    }
}