html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.bottom-25 {
    bottom: 15% !important
}
body, html {
    height: 100%;
    margin: 0;
}

.background-gradient {
    background: #931632;
}

.start-6 {
    left: 6%
}

.card-icon {
    font-size: 3.5rem;
    line-height: 1;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.75rem;
}


body {
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

#container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    overflow: hidden;
}

#backgroundImage {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.page {
    position: absolute;
    width: 100%;
    height: 100%;
    /* Enhanced transition with better easing */
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    /* GPU acceleration optimizations */
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Improve text rendering during animation */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#mainPage {
    transform: translate3d(0, 0, 0);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    /* Ensure main page is fully visible initially */
    opacity: 1;
    visibility: visible;
}

#fullMenu {
    transform: translate3d(100%, 0, 0); /* Starts off-screen to the right */
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding-top: 10%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    /* Initially hidden off-screen */
    opacity: 0;
    visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.320, 1), opacity 0.6s cubic-bezier(0.23, 1, 0.320, 1), visibility 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

#happyHourPage {
    transform: translate3d(-100%, 0, 0); /* Starts off-screen to the left */
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding-top: 10%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    /* Initially hidden off-screen */
    opacity: 0;
    visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.320, 1), opacity 0.6s cubic-bezier(0.23, 1, 0.320, 1), visibility 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

#cocktailsPage {
    transform: translate3d(-100%, 0, 0); /* Starts off-screen to the left */
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding-top: 10%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    /* Initially hidden off-screen */
    opacity: 0;
    visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.320, 1), opacity 0.6s cubic-bezier(0.23, 1, 0.320, 1), visibility 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

#otherPage {
    transform: translate3d(-100%, 0, 0); /* Starts off-screen to the left */
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding-top: 10%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    /* Initially hidden off-screen */
    opacity: 0;
    visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.320, 1), opacity 0.6s cubic-bezier(0.23, 1, 0.320, 1), visibility 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.slide-left {
    transform: translate3d(-100%, 0, 0) !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.slide-right {
    transform: translate3d(100%, 0, 0) !important; /* Main page slides right for Happy Hour */
    opacity: 0 !important;
    visibility: hidden !important;
}

.show-left {
    transform: translate3d(0, 0, 0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.show-right {
    transform: translate3d(0, 0, 0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Enhanced glassmorphism cards */

/* Accordion optimizations */
.custom-accordion-item .accordion-item {
    border: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    /* Optimize accordion animations */
    will-change: height;
}

.custom-accordion-item .accordion-button {
    border: none;
    box-shadow: none;
    color: white;
    border-radius: 15px !important;
    background: transparent;
    /* Smooth button transitions */
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    will-change: background-color;
}

    .custom-accordion-item .accordion-button:not(.collapsed) {
        background-color: rgba(255, 255, 255, 0.2);
        box-shadow: none;
    }

    .custom-accordion-item .accordion-button:hover {
        background-color: rgba(255, 255, 255, 0.15);
    }

    .custom-accordion-item .accordion-button:focus {
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
        outline: none;
    }

.custom-accordion-item .accordion-body {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffc107 !important;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    /* Smooth content reveal */
    transition: all 0.3s ease;
}

.custom-accordion-item small {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Enhanced back button */
#backButton {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* Enhanced button transitions */
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    will-change: transform, background-color;
}

    #backButton:hover {
        background-color: rgba(255, 255, 255, 0.3);
        transform: scale(1.1) translate3d(0, 0, 0);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    }

    #backButton:active {
        transform: scale(0.95) translate3d(0, 0, 0);
        transition-duration: 0.1s;
    }

#rightButton {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* Enhanced button transitions */
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    will-change: transform, background-color;
}

    #rightButton:hover {
        background-color: rgba(255, 255, 255, 0.3);
        transform: scale(1.1) translate3d(0, 0, 0);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    }

    #rightButton:active {
        transform: scale(0.95) translate3d(0, 0, 0);
        transition-duration: 0.1s;
    }

#backButton {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* Enhanced button transitions */
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    will-change: transform, background-color;
}

    #backButton:hover {
        background-color: rgba(255, 255, 255, 0.3);
        transform: scale(1.1) translate3d(0, 0, 0);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    }

    #backButton:active {
        transform: scale(0.95) translate3d(0, 0, 0);
        transition-duration: 0.1s;
    }

#rightButton {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* Enhanced button transitions */
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    will-change: transform, background-color;
}

    #rightButton:hover {
        background-color: rgba(255, 255, 255, 0.3);
        transform: scale(1.1) translate3d(0, 0, 0);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    }

    #rightButton:active {
        transform: scale(0.95) translate3d(0, 0, 0);
        transition-duration: 0.1s;
    }


#upButton {
    position: absolute;
    top: 20px;
    left: 43%;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* Enhanced button transitions */
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    will-change: transform, background-color;
}

#upButton:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) translate3d(0, 0, 0);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

    #upButton:active {
        transform: scale(0.95) translate3d(0, 0, 0);
        transition-duration: 0.1s;
    }

#downButton {
    position: absolute;
    top: 20px;
    left: 43%;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* Enhanced button transitions */
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    will-change: transform, background-color;
}

#downButton:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) translate3d(0, 0, 0);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

    #downButton:active {
        transform: scale(0.95) translate3d(0, 0, 0);
        transition-duration: 0.1s;
    }
@media (min-width: 768px) {
    #fullMenu .row > *,
    #happyHourPage .row > *,
    #cocktailsPage .row > *,
    #otherPage .row > * {
        flex: 0 0 auto;
        width: 33.333333%;
    }
}

@media (max-width: 767px) {
    #fullMenu .row > *,
    #happyHourPage .row > *,
    #cocktailsPage .row > *,
    #otherPage .row > * {
        flex: 0 0 auto;
        width: 100%;
    }

    #fullMenu .accordion,
    #cocktailsPage .accordion,
    #otherPage .accordion,
    #happyHourPage .accordion {
        margin-bottom: 1rem;
    }
    /* Optimize mobile performance */
    .page {
        transition-duration: 0.4s;
    }

    .glass-card:hover {
        transform: none; /* Disable hover effects on mobile */
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .page, .glass-card, .custom-accordion-item .accordion-button, #backButton {
        transition-duration: 0.2s;
    }
}

/* Performance optimizations for older devices */
@media screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 1) {
    .glass-card, #fullMenu, #happyHourPage, #cocktailsPage, #otherPage, .custom-accordion-item .accordion-item {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}


.oregano-regular {
    font-family: "Oregano", cursive;
    font-weight: 400;
    font-size:large;
    font-style: normal;
}
