:root {
    --primary-color: #ff385c;
    --bg-color: #f7f7f7;
    --card-bg: rgba(255, 255, 255, 0.95);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
}

#map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

#ui-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    pointer-events: none;
    /* Allows interactions with map except on UI elements */
    padding-bottom: 20px;
}

#carousel-container {
    width: 100%;
    overflow-x: auto;
    display: flex;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    pointer-events: auto;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

#carousel-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

#carousel {
    display: flex;
    padding-left: 20px;
    padding-right: 20px;
}

.card {
    min-width: 280px;
    max-width: 280px;
    background: var(--card-bg);
    border-radius: 16px;
    margin-right: 15px;
    box-shadow: var(--shadow);
    scroll-snap-align: center;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card-content {
    padding: 15px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.card-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.card-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

#report-btn {
    position: absolute;
    top: -60px;
    right: 20px;
    background: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    font-weight: 600;
    pointer-events: auto;
    cursor: pointer;
}

#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.hidden {
    display: none !important;
}

#modal {
    background: white;
    width: 90%;
    max-width: 400px;
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

#modal h3 {
    margin-top: 0;
    color: var(--primary-color);
}

#modal form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#modal input,
#modal textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

#modal textarea {
    height: 100px;
    resize: none;
}

.modal-btns {
    display: flex;
    gap: 10px;
}

.submit-btn {
    flex: 1;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

#close-modal {
    flex: 1;
    background: #eee;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}