/* Customizing Tailwind's default theme to match the brand's aesthetic */
/* This script tag is required for Tailwind JIT to work with custom colors defined in the style.css file, but must be inlined in the HTML file */

body {
    font-family: 'Inter', sans-serif;
    background-color: #fdfcf7;
    color: #333333;
}

.container {
    max-width: 1200px;
}

/* Custom modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    max-width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Carousel styles */
.carousel-container {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overflow-x: scroll;
    scrollbar-width: none;
    display: flex;
    gap: 1.5rem;
}

.carousel-item {
    flex: 0 0 90%;
    scroll-snap-align: center;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .carousel-item {
        flex: 0 0 45%;
    }
}

@media (min-width: 1024px) {
    .carousel-item {
        flex: 0 0 30%;
    }
}

/* Floating Price Bubble styles */
.floating-bubble {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 50;
    padding: 1rem 1.5rem;
    background-color: rgba(245, 224, 224, 0.9);
    color: #333333;
    border-radius: 9999px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.floating-bubble:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .floating-bubble {
        bottom: 1rem;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: column;
        padding: 0.75rem 1.5rem;
    }

    .floating-bubble:hover {
        transform: translateX(-50%) scale(1.05);
    }
}

.text-shadow {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Watermark style */
.watermark {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/tomea-luxury-logo.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50%;
    opacity: 0.1;
    z-index: -1;
}
.centered-label {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
