/* Base display utilities */
[x-cloak] { 
    display: none !important; 
}

/* Menu Button */
.menu-button {
    position: fixed;
    top: 26px;
    left: 22px;
    width: 30px;
    height: 30px;
    z-index: 100;
    cursor: pointer;
}

.menu-button__line {
    display: block;
    width: 30px;
    height: 2px;
    background: currentColor;
    transition: transform 0.3s;
    position: absolute;
}

.menu-button__line:first-child {
    top: 10px;
}

.menu-button__line:last-child {
    top: 20px;
}

/* Menu Button States */
.menu-open .menu-button {
    color: white;
}

.menu-open .menu-button__line:first-child {
    transform: translateY(5px) rotate(45deg);
}

.menu-open .menu-button__line:last-child {
    transform: translateY(-5px) rotate(-45deg);
}

/* Menu Structure and Transitions */
.menu-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.menu-level {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease-in-out;
}

/* Menu Animation States */
/* Menu transition styles */
.menu-level {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease-in-out;
}

/* Main menu position states */
.menu-level.main {
    transform: translateX(0);
}

.menu-level.main.slide-left {
    transform: translateX(-100%);
}

/* Submenu position states */
.menu-level.submenu {
    transform: translateX(100%);
}

.menu-level.submenu.slide-right {
    transform: translateX(0);
}

/* Back Button Styling */
.back-button {
    display: inline-flex;
    align-items: center;
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.back-button:hover {
    transform: translateX(-5px);
}

/* Menu Link Styling */
.menu-link {
    position: relative;
    display: inline-block;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fbbf24;
    transition: width 0.3s ease;
}

.menu-link:hover::after {
    width: 100%;
}

/* Arrow Icon Animation */
.arrow-icon {
    display: inline-block;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.menu-link:hover .arrow-icon {
    transform: translateX(5px);
}

/* Header Styling */
.header {
    transition: all 0.3s ease;
}

.header.scrolled {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header.transparent {
    background: transparent;
}

.logo-icon,
.logo-text {
    transition: all 0.3s ease;
}

/* Dark Theme Overrides */
.dark-theme .menu-button {
    color: black;
}


/* swiper */

.swiper {
    width: 100%;
    height: 100%;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .autoplay-progress {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--swiper-theme-color);
  }

  .autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    stroke: var(--swiper-theme-color);
    fill: none;
    stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
  }