/* Basic styles */
body {
    margin: 0;
    font-family: sans-serif;
    overflow: hidden;
}

main {
    width: 100vw;
    height: 100vh;
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

main::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}

.panel {
    flex: 0 0 100vw;
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    scroll-snap-align: start;
    background-size: cover;
    background-position: center;
}

.content {
    position: absolute;
    bottom: 120px;
    left: 50px;
    right: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 20px;
    border-radius: 5px;
    z-index: 1;
}

.navigation {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.navButton {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

.bottomButtons {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.contactButton {
    background-color: rgba(23, 23, 23, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contactButton:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp:hover {
    background-color: #25D366;
}

.email:hover {
    background-color: #4285F4;
}

.mapLink:hover {
    background-color: #EA4335;
}

.icon {
    display: none; /* Hidden by default */
}

.icon svg {
    width: 24px;
    height: 24px;
}

.icon svg path {
    fill: white;
}

/* Preloader styles */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-text {
    color: white;
    font-size: 3rem;
    font-family: 'Times New Roman', Times, serif; /* A more elegant font */
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.loader-fade-out {
    animation: fadeOut 0.5s ease-in-out forwards;
}


@media (max-width: 768px) {
    .content {
        bottom: 80px;
        left: 20px;
        right: 80px;
        padding: 15px;
        font-size: 1.2rem;
        max-width: none;
    }

    .navigation {
        padding: 0 10px;
    }

    .navButton {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .bottomButtons {
        left: auto;
        right: 20px;
        transform: none;
        flex-direction: column;
    }

    .contactButton {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }

    .text {
        display: none; /* Hide text on mobile */
    }

    .icon {
        display: block; /* Show icon on mobile */
    }

    .loader-text {
        font-size: 2rem; /* Smaller font size for mobile */
    }
}