/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #f9fafb;
}

/* Navbar Styles */
.navbar {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f97316;
}

.logo span {
    font-size: 1.25rem;
    font-weight: bold;
    color: #111827;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    color: #4b5563;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.nav-btn:hover {
    background-color: #f3f4f6;
    color: #111827;
}

.nav-btn.active {
    background-color: #f97316;
    color: white;
}

/* Main Content Styles */
.main-content {
    max-width: 80rem;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.section {
    display: none;
}

.section.active {
    display: block;
}

h2 {
    font-size: 1.875rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 2rem;
}

/* City Grid Styles */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.city-card {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.city-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.city-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.city-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.city-card h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Tourist Spots Styles */
.spots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.spot-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.spot-card:hover {
    transform: translateY(-4px);
}

.spot-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.spot-info {
    padding: 1.5rem;
}

.spot-info h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.75rem;
}

/* Packages Grid Styles */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.package-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.package-info {
    padding: 1.5rem;
}

.package-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.5rem;
}

.package-duration {
    color: #6b7280;
    margin-bottom: 1rem;
}

.package-highlights {
    margin-bottom: 1rem;
}

.package-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #f97316;
}

/* Feedback Styles */
.feedback-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #f97316;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6b7280;
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.feedback-user {
    font-weight: 500;
}

.feedback-city {
    color: #6b7280;
}

.feedback-text {
    color: #4b5563;
    margin-bottom: 1rem;
}

.feedback-date {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Rating Styles */
.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    display: flex;
    gap: 0.125rem;
}

.star {
    color: #fbbf24;
    font-size: 1.25rem;
}

.star.empty {
    color: #d1d5db;
}

.star.half {
    position: relative;
    display: inline-block;
}

.star.half:after {
    content: '☆';
    position: absolute;
    left: 0;
    color: #d1d5db;
}

.rating-value {
    font-weight: 600;
    color: #111827;
}

/* Utility Classes */
.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .city-grid,
    .spots-grid,
    .packages-grid {
        gap: 1rem;
    }

    .spot-card,
    .package-card {
        border-radius: 0.75rem;
    }
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feedback-card {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.feedback-card h3 {
    margin: 0;
    color: #333;
}

.feedback-card p {
    margin: 5px 0;
    color: #555;
}

.feedback-card small {
    color: #777;
    font-size: 12px;
}
