/* Basic styles */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Main content area */
.main-content {
    width: 50%;
    padding: 80px 60px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

/* Gradient overlay */
.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.9) 40%,
        rgba(0, 0, 0, 0.8) 60%,
        rgba(0, 0, 0, 0.6) 80%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: -1;
    backdrop-filter: blur(5px);
}

.main-content h1 {
    font-size: 5.5rem;
    font-weight: 900;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 40px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.main-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Search box styles */
.search-container {
    position: relative;
    margin-top: 60px;
    width: 100%;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.search-button,
.region-select-button {
    padding: 15px 30px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.search-button:hover,
.region-select-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.search-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.search-input {
    flex: 1;
    padding: 18px 30px;
    font-size: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Slideshow styles */
.slideshow {
    position: fixed;
    right: 0;
    top: 0;
    width: 50%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-content {
        width: 100%;
        padding: 30px;
    }
    
    .main-content h1 {
        font-size: 3rem;
    }
    
    .slideshow {
        width: 100%;
        height: 100vh;
        position: fixed;
        z-index: -2;
    }
    
    .search-container {
        bottom: 30px;
        left: 30px;
        width: calc(100% - 60px);
    }
}

/* Attraction information styles */
.attraction-info {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s, transform 0.5s;
    padding: 20px;
    background-color: #fff;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.attraction-info h2 {
    margin-top: 0;
}

.attraction-info.visible {
    opacity: 1;
    transform: translateY(0);
}

.attraction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.attraction-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.attraction-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.attraction-card img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background-color: #f8f9fa;
    padding: 10px;
}

.attraction-card h3 {
    padding: 15px;
    margin: 0;
    color: #333;
    font-size: 1.2em;
}

.attraction-card p {
    padding: 0 15px 15px;
    margin: 0;
    color: #666;
    line-height: 1.5;
    flex-grow: 1;
}

/* Rating system styles */
.rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}

.rating-score {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
}

/* Update modal rating style */
.info-item .stars {
    font-size: 1.4rem;
    margin-right: 8px;
}

.info-item .rating-score {
    font-size: 1.1rem;
    color: #666;
    vertical-align: middle;
}

/* Community feature styles */
.social-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.social-button:hover {
    background-color: #45a049;
}

.social-section {
    padding: 20px;
    background-color: #fff;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none;
}

.social-container {
    max-width: 800px;
    margin: 0 auto;
}

.post-form {
    margin-bottom: 20px;
}

.post-form textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
}

.post-button {
    padding: 8px 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.post {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    border: 1px solid #eee;
}

.post .user-info {
    font-weight: bold;
    margin-bottom: 8px;
}

.post .timestamp {
    color: #666;
    font-size: 0.8em;
}

/* Image upload related styles */
.upload-section {
    margin: 10px 0;
}

.image-input {
    display: none;
}

.upload-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #2196F3;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 10px;
}

.upload-button:hover {
    background-color: #1976D2;
}

.image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.preview-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 4px;
    background-color: #f8f9fa;
}

.preview-container {
    position: relative;
}

.remove-image {
    position: absolute;
    top: -8px;
    right: -8px;
    background: red;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
}

.post .images-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    padding: 0 15px;
}

.post .post-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
    background-color: #f8f9fa;
}

.post .post-image:hover {
    transform: scale(1.05);
}

/* Region selector styles */
.region-selector-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.region-selector {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
}

.region-selector h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.5rem;
    text-align: center;
}

.region-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.region-button {
    padding: 12px 20px;
    font-size: 16px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.region-button:hover {
    background-color: #1976D2;
    transform: translateY(-2px);
}

/* Table styles */
#places-table-container {
    margin: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

th {
    background-color: #4CAF50;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: bold;
    white-space: nowrap;
}

td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    line-height: 1.4;
}

tr:nth-child(even) {
    background-color: #f8f9fa;
}

tr:hover {
    background-color: #f1f3f4;
}

/* Ensure table scrolls on mobile devices */
@media screen and (max-width: 768px) {
    #places-table-container {
        overflow-x: auto;
    }
}

/* Activity table styles */
.activities-table-container {
    margin: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.activities-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.activities-table th {
    background-color: #2196F3;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: bold;
    white-space: nowrap;
}

.activities-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    line-height: 1.4;
}

.activities-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.activities-table tr:hover {
    background-color: #f1f3f4;
    cursor: pointer;
}

/* Ensure activity table scrolls on mobile devices */
@media screen and (max-width: 768px) {
    .activities-table-container {
        overflow-x: auto;
    }
    
    .activities-table {
        min-width: 600px;
    }
}

/* Popular Attractions styles */
.popular-attractions {
    background-color: #f8f9fa;
    padding: 80px 60px;
    margin-top: 0;
    position: relative;
    z-index: 3;
}

.popular-attractions h2 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 900;
    background: linear-gradient(45deg, #333, #666);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.attraction-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    transform: translateY(0);
}

.attraction-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.attraction-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.attraction-card:hover img {
    transform: scale(1.05);
}

.attraction-content {
    padding: 25px;
}

.attraction-content h3 {
    font-size: 1.8rem;
    color: #333;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.attraction-content .rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.attraction-content .star {
    color: #ffd700;
    font-size: 1.4rem;
}

.attraction-content .location {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 768px) {
    .popular-attractions {
        padding: 30px;
    }

    .popular-attractions h2 {
        font-size: 2rem;
    }

    .attractions-grid {
        grid-template-columns: 1fr;
    }
}

/* Navigation bar styles */
.nav-bar {
    position: sticky;
    top: 0;
    width: 100%;
    height: 60px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 100;
    margin-top: 30vh;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.menu-container {
    position: relative;
    margin-right: 15px;
}

.menu-button {
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 10px 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-right: 20px;
}

.menu-button:hover {
    color: #2196F3;
    transform: translateY(-2px);
}

.menu-content {
    position: absolute;
    right: 0;
    top: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    min-width: 220px;
    border-radius: 8px;
    padding: 8px;
    display: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.menu-content.show {
    display: block;
}

.menu-item {
    position: relative;
    margin: 4px 0;
    border-radius: 6px;
    cursor: pointer;
    width: calc(100% - 16px);
    margin: 4px 8px;
    background: #2196F3;
}

.menu-item span {
    display: block;
    padding: 12px 20px;
    color: white;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.menu-item:hover span {
    background: #1976D2;
    border-radius: 6px;
}

.menu-item.has-submenu {
    padding: 0;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 6px;
    position: relative;
    text-align: left;
    box-sizing: border-box;
}

.menu-item.has-submenu::after {
    content: '◀';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.menu-item.has-submenu span {
    padding-left: 35px;
}

.menu-item.has-submenu.active::after {
    opacity: 1;
}

.submenu,
.activity-submenu,
.category-submenu {
    position: absolute;
    right: calc(100% + 5px);
    top: 0;
    background: #2196F3;
    min-width: 200px;
    padding: 8px;
    display: none;
    border-radius: 6px;
    box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

.submenu.show,
.activity-submenu.show,
.category-submenu.show {
    display: block;
}

.submenu-item,
.activity-submenu-item,
.category-submenu-item {
    display: block;
    width: calc(100% - 16px);
    margin: 4px 8px;
    padding: 10px 15px;
    text-align: left;
    background: transparent;
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    box-sizing: border-box;
}

.submenu-item:hover,
.activity-submenu-item:hover,
.category-submenu-item:hover {
    background: #1976D2;
}

/* Image upload area styles */
.image-upload-section {
    padding: 60px;
    background-color: #f5f5f5;
}

.image-upload-section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 30px;
    font-family: 'Times New Roman', serif;
}

.upload-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#imageUploadForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#placeSelect {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

#imageInput {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#imageUploadForm button {
    padding: 12px 20px;
    background-color: #7AB547;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#imageUploadForm button:hover {
    background-color: #8BC34A;
}

#uploadStatus {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

#uploadStatus.success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

#uploadStatus.error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

#imagePreview {
    margin-top: 20px;
    text-align: center;
}

#imagePreview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Modal styles */
.place-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.place-modal-content {
    background-color: white;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index: 1;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.place-modal-header {
    position: relative;
}

.place-modal-header h2 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    margin: 0;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.place-modal-body {
    padding: 30px;
}

.place-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.info-item h3 {
    color: #2196F3;
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.info-item p {
    margin: 0;
    color: #666;
    line-height: 1.8;
}

.info-item p span.tag {
    display: inline-block;
    background: none;
    color: #666;
    padding: 2px 6px;
    margin: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: none;
    cursor: default;
}

.info-item p span.tag:hover {
    transform: none;
    box-shadow: none;
    background: none;
    color: #333;
}

.info-item p span.tag:not(:last-child) {
    margin-right: 8px;
}

.place-description {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.place-description h3 {
    color: #333;
    margin: 0 0 15px 0;
}

.place-description p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .place-modal-content {
        width: 95%;
    }

    .place-modal-header h2 {
        font-size: 2rem;
    }

    .place-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Community section styles */
.community-section {
    background-color: #f8f9fa;
    padding: 80px 60px;
    margin-top: 0;
    position: relative;
    z-index: 3;
}

.community-section h2 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 900;
    background: linear-gradient(45deg, #333, #666);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.community-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.post-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.post-form h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.place-select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background-color: white;
}

.post-form textarea {
    width: 100%;
    height: 150px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    resize: vertical;
}

.post-button {
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.post-button:hover {
    background-color: #1976D2;
    transform: translateY(-2px);
}

.posts-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.post {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.post:hover {
    transform: translateY(-5px);
}

.post-header {
    padding: 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.post-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
}

.place-name {
    margin-top: 8px;
    color: #2196F3;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.place-name:hover {
    color: #1976D2;
    text-decoration: underline;
}

.post-content {
    padding: 20px;
}

.post-content p {
    margin: 0 0 15px 0;
    color: #666;
    line-height: 1.6;
}

.post-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.post-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.post-image:hover {
    transform: scale(1.05);
}

.post-footer {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .community-section {
        padding: 40px 20px;
    }

    .community-section h2 {
        font-size: 2rem;
    }

    .post-form {
        padding: 20px;
    }
}

.selected-place-info {
    margin: 20px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.place-info-card {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.place-info-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.place-info-content {
    flex: 1;
}

.place-info-content h4 {
    margin: 0 0 15px 0;
    font-size: 1.5rem;
    color: #333;
}

.place-info-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.place-info-details p {
    margin: 5px 0;
    color: #666;
}

.place-info-details .star {
    color: #ffd700;
    margin-right: 5px;
}

.place-info-description {
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.place-info-description p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .place-info-card {
        flex-direction: column;
    }

    .place-info-image {
        width: 100%;
        height: 250px;
    }

    .place-info-details {
        grid-template-columns: 1fr;
    }
}

/* 搜索结果弹窗样式 */
.search-modal {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px 24px 24px;
    min-width: 320px;
    max-width: 90vw;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    position: relative;
    animation: modalFadeIn 0.3s;
}

.search-modal-content h2 {
    margin-top: 0;
    color: #2196F3;
    font-size: 1.5rem;
    text-align: center;
}

.search-result-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.search-result-list li {
    margin: 12px 0;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    background: #f5f5f5;
    transition: background 0.2s;
    font-size: 1.1rem;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-result-list li:hover {
    background: #e3f2fd;
}

.search-result-list .region {
    color: #888;
    font-size: 0.95em;
}

.search-modal .close-modal {
    position: absolute;
    right: 20px;
    top: 16px;
    font-size: 28px;
    color: #888;
    cursor: pointer;
    z-index: 1;
    background: none;
    border: none;
    outline: none;
    transition: color 0.2s;
}

.search-modal .close-modal:hover {
    color: #2196F3;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px);}
    to { opacity: 1; transform: translateY(0);}
}
