/* Loader styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 70px;
}

.slot-item {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--dark-color);
    opacity: 0;
}

/* Horizontal line to show the "selection" point */
.loader-letter:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 0, 0, 0.3);
    z-index: 2;
}

/* Header & Navigation */
.top-bar {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-wrapper {
    position: sticky;
    top: 0;
    background-color: var(--light-color);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.nav-wrapper.scrolled {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    width: 80%;
    margin: 0 auto;
    border-radius: 30px;
    padding: 0.5rem 0;
    border: 1px solid var(--dark-color);
    top: 10px;
}

/* nav-wrapper.scrolled with glass effect */
/* .nav-wrapper.scrolled {
    background-color: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    border: 1px solid var(--dark-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    padding: 0.5rem 0;
    width: 80%;
    margin: 0 auto;
    top: 10px;
    transition: all 0.5s ease;
} */

.nav-wrapper.scrolled .main-nav {
    padding: 0.2rem 0;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {

    display: flex;
    align-items: center;
    justify-content: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo a:hover span {
    transition: all 0.3s ease;
    cursor: pointer;
    border-bottom: 1px solid var(--dark-color);
}

.logo img {
    height: 35px;
    margin-right: 10px;
}

.logo span {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--dark-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links a {
    color: var(--dark-color);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.nav-links a img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.nav-links a:hover {
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--dark-color);
}

.nav-icons {
    display: flex;
    align-items: center;
}

.nav-icon {
    margin-left: 1.5rem;
    font-size: 1.2rem;
}

.dropdown-trigger {
    position: relative;
}

.dropdown-content {
    display: none;
    flex-direction: column;
    position: absolute;
    min-width: 180px;
    width: 350px;
    background-color: var(--light-color);
    color: var(--light-color);
    border: 1px solid var(--dark-color);
    border-radius: 25px;
    padding: 12px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    top: 160%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    transition: opacity 0.2s ease;
}

.dropdown-content:before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--light-color);
    z-index: 1001;
}

.dropdown-content a {
    padding: 8px 20px;
    text-decoration: none;
    color: var(--dark-color);
    transition: background-color 0.2s ease;
    text-align: center;
}

.dropdown-content a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Mobile menu button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.contact-points {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.contact-button {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-color: white;
    border: 1px solid var(--dark-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-button:hover {
    transform: scale(1.1);
}

.contact-button img {
    width: 30px;
    height: 30px;
}


.float-shop-btn {
    position: fixed;
    width: 250px;

    text-align: center;
    bottom: 30px;
    right: 50%;
    transform: translateX(50%);
    z-index: 1000;
    background-color: var(--light-color);
    color: var(--dark-color);
    border: 1px solid var(--dark-color);
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
}

.float-shop-btn:hover {
    background-color: var(--dark-color);
    color: var(--light-color);
}

@media (max-width: 768px) {
    .float-shop-btn {
        width: 95%;
        bottom: 20px;
    }

    .logo img {
        height: 30px;
    }

    .float-slogan {
        width: 95%;
        /* bottom: 20px; */
    }

    .logo span {
        font-size: 1.5rem;
    }
}

.float-slogan {
    position: fixed;
    top: 75px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background-color: var(--light-color);
    /* border-radius: 30px; */
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    border: 1px solid var(--dark-color);
    padding: 10px;
    min-width: 30%;
    text-align: center;
}

.float-slogan p {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark-color);
    margin: 0;
}

/* Mobile responsive styles */
@media (max-width: 992px) {
    .nav-wrapper.scrolled {
        width: 95%;
        border-radius: 10px;
        padding: 0.5rem 1rem;
    }

    .main-nav {
        padding: 1rem;
    }

    .nav-links {
        position: fixed;
        top: 75px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        border-radius: 10px;
        border: 1px solid var(--dark-color);
        flex-direction: column;
        background-color: var(--light-color);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 10px 20px 30px;
        transition: right 0.3s ease;
        z-index: 1001;
        overflow-y: scroll;
        max-height: 80vh;
    }

    .nav-links.active {
        right: 10px;
    }

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

    .nav-links a {
        font-size: 1.2rem;
        padding: 10px 0;
    }

    .nav-icons {
        margin-right: 40px;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1002;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Mobile dropdown styling */
    .dropdown-trigger {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        min-width: unset;
        box-shadow: none;
        border: none;
        border-radius: 0;
        margin: 10px 0;
        padding: 0 0 0 20px;
        transform: none;
        display: none;
        left: 0;
    }

    .dropdown-content:before {
        display: none;
    }

    .dropdown-content a {
        text-align: left;
        padding: 10px 15px;
    }

    /* Top bar for mobile */
    .top-bar {
        display: none;
    }

    .top-bar .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-contact,
    .top-info {
        width: 100%;
        margin-bottom: 5px;
    }
}

/* Small devices */
@media (max-width: 576px) {
    .logo {
        font-size: 1.6rem;
    }

    .nav-icons {
        display: none;
    }

    .nav-wrapper.scrolled {
        padding: 0.3rem 0.5rem;
    }

    .contact-points {
        bottom: 80px;
        left: 10px;
    }

    .contact-button {
        width: 50px;
        height: 50px;
    }

    .contact-button img {
        width: 25px;
        height: 25px;
    }

    .contact-popup {
        bottom: 60px;
        left: 0;
        min-width: 180px;
    }

    .contact-button {
        width: 50px;
        height: 50px;
        border-radius: 10px;
        background-color: white;
        border: 1px solid var(--dark-color);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

}

/* Body styles for mobile menu open */
body.menu-open {
    overflow: hidden;
}

/* Overlay when mobile menu is open */
body.menu-open:before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* Contact Points Button */
.contact-popup {
    position: absolute;
    bottom: 65px;
    left: 0;
    display: none;
    background-color: var(--light-color);
    border-radius: 10px;
    border: 1px solid var(--dark-color);
    padding: 10px;
    min-width: 200px;
    z-index: 101;
}

.contact-popup.active {
    display: block;
    animation: slideUp 0.3s ease;
}

.contact-popup-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    width: 100%;
    text-align: left;
}

.contact-option:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.contact-option img {
    width: 24px;
    height: 24px;
}

.contact-option span {
    color: var(--dark-color);
    font-size: 1rem;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Language Float Button */
.lang-float {
    position: fixed;
    bottom: 100px;
    left: 30px;
    z-index: 100;
}

.lang-button {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-color: white;
    border: 1px solid var(--dark-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lang-button:hover {
    transform: scale(1.1);
}

.lang-button span {
    font-size: 1.2rem;
    font-weight: 500;
}

.lang-popup {
    position: absolute;
    bottom: 70px;
    right: -88px;
    display: none;
    background-color: var(--light-color);
    border-radius: 10px;
    border: 1px solid var(--dark-color);
    padding: 10px;
    min-width: 150px;
}

.lang-popup.active {
    display: block;
    animation: slideUp 0.3s ease;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    width: 100%;
    text-align: center;
    justify-content: center;
}

.lang-option:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.lang-option span {
    color: var(--dark-color);
    font-size: 1rem;
}

@media (max-width: 576px) {
    .lang-float {
        bottom: 140px;
        left: 10px;
    }

    .lang-button {
        width: 50px;
        height: 50px;
    }

    .lang-button span {
        font-size: 1rem;
    }

    .lang-popup {
        bottom: 60px;
        left: 0;
        min-width: 120px;
    }
}