* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.landing {
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.cta-button {
    background: #ffffff;
    color: #1e3c72;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
    width: 100%;
}

.feature {
    padding: 1rem;
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature h3 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: 0.8rem;
    opacity: 0.9;
}

.scroll-down {
    display: inline-block;
    color: white;
    text-decoration: none;
    margin-top: 2rem;
    font-size: 0.9rem;
}

.arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.map-container {
    height: 100vh;
    width: 100%;
}

#map {
    width: 100%;
    height: 100%;
}

.reviews-container {
    padding: 1rem;
    background: white;
    min-height: 100vh;
}

.reviews-container h2 {
    margin-bottom: 1rem;
    color: #1e3c72;
}

.leave-review-prompt {
    background: #f0f8ff;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: space-between;
}

.leave-review-prompt.show {
    display: flex;
}

.leave-review-prompt button {
    background: #1e3c72;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
}

.no-reviews {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.no-reviews i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #999;
}

.review-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.stars {
    color: #ffd700;
}

.review-date {
    font-size: 0.8rem;
    color: #6c757d;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    margin: 20% auto;
    padding: 1.5rem;
    border-radius: 15px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

textarea {
    height: 100px;
    resize: vertical;
}

.rating-input {
    font-size: 1.5rem;
    color: #ffd700;
}

button[type="submit"] {
    background: #1e3c72;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    width: 100%;
    cursor: pointer;
}

.mapboxgl-ctrl-geocoder {
    width: 100% !important;
    max-width: none !important;
    font-size: 0.9rem !important;
}

/* Review markers and popups */
.review-marker {
    width: 30px;
    height: 40px;
    background: #e74c3c;  /* Red color */
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: relative;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
}

.review-marker::after {
    content: '★';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    color: white;
    font-size: 16px;
}

.review-marker:hover {
    background: #c0392b;  /* Darker red on hover */
    transform: rotate(-45deg) scale(1.1);
    box-shadow: 0 3px 6px rgba(0,0,0,0.4);
}

.review-popup {
    padding: 12px;
    max-width: 300px;
    background: white;
}

.review-popup h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.review-popup .stars {
    color: #f1c40f;  /* Brighter yellow for better contrast */
    margin-bottom: 6px;
    font-size: 18px;
}

.review-popup .period {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ecf0f1;
}

.review-popup p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #34495e;
}

.review-popup .date {
    color: #95a5a6;
    font-size: 12px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #ecf0f1;
}

.mapboxgl-popup-content {
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
    border: none;
}

.mapboxgl-popup-close-button {
    font-size: 18px;
    color: #7f8c8d;
    padding: 8px;
    right: 4px;
    top: 4px;
    transition: color 0.2s ease;
}

.mapboxgl-popup-close-button:hover {
    color: #34495e;
    background: none;
}
