/* Melaka page specific styles */
.state-hero {
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    margin-bottom: 40px;
}

.melaka-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/melaka.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.state-intro {
    padding: 60px 0;
}

.intro-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.intro-text {
    flex: 1;
}

.intro-image {
    flex: 1;
}

.image-placeholder {
    height: 300px;
    background-color: #f0f0f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-style: italic;
}

.food-fact {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid var(--primary);
}

.food-fact h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.featured-dishes {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.dish-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.dish-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.dish-content {
    padding: 20px;
}

.dish-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.dish-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.food-map {
    padding: 60px 0;
}

.map-container {
    height: 400px;
    background-color: #f0f0f0;
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.map-placeholder {
    text-align: center;
    color: #888;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* Map container styles */
.map-container {
    height: 400px;
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Map info window styles */
.map-info-window {
    padding: 10px;
    max-width: 250px;
}

.map-info-window h3 {
    margin-bottom: 8px;
    color: var(--primary);
}

.map-info-window p {
    margin: 0;
    color: var(--text);
    font-size: 0.9rem;
}

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

.location-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.location-item h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.comments-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.comment {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 600;
    color: var(--dark);
}

.comment-rating {
    color: var(--secondary);
}

.comment-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.comment-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-input:focus {
    border-color: var(--primary);
    outline: none;
}

.social-section {
    padding: 60px 0;
}

.social-content {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .intro-content {
        flex-direction: column;
    }

    .state-hero {
        height: 50vh;
    }

    .map-container {
        height: 300px;
    }
}