/* Halal Restaurant Directory Plugin Styles */

.halal-directory-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.halal-restaurants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.halal-restaurant-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.halal-restaurant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.halal-restaurant-card-header {
    background: linear-gradient(135deg, #1e7f4f 0%, #158f3f 100%);
    color: white;
    padding: 15px;
}

.halal-restaurant-card-title {
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: white;
}

.halal-restaurant-card-meta {
    font-size: 13px;
    opacity: 0.9;
}

.halal-restaurant-card-body {
    padding: 15px;
}

.halal-restaurant-info {
    margin-bottom: 12px;
    font-size: 14px;
}

.halal-restaurant-info strong {
    color: #1e7f4f;
    display: block;
    font-weight: 600;
    margin-bottom: 3px;
}

.halal-restaurant-info span {
    color: #666;
    line-height: 1.5;
}

.halal-restaurant-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.halal-restaurant-link {
    flex: 1;
    padding: 8px 12px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.halal-restaurant-link.view-btn {
    background: #1e7f4f;
    color: white;
}

.halal-restaurant-link.view-btn:hover {
    background: #158f3f;
}

.halal-restaurant-link.website-btn {
    background: #f9a826;
    color: white;
}

.halal-restaurant-link.website-btn:hover {
    background: #f08a00;
}

.halal-search-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.halal-search-box-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e7f4f;
}

.halal-search-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.halal-search-filter-group {
    display: flex;
    flex-direction: column;
}

.halal-search-filter-group label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    font-size: 14px;
}

.halal-search-filter-group input,
.halal-search-filter-group select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.halal-search-filter-group input:focus,
.halal-search-filter-group select:focus {
    outline: none;
    border-color: #1e7f4f;
    box-shadow: 0 0 0 3px rgba(30, 127, 79, 0.1);
}

.halal-search-button {
    background: #1e7f4f;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.halal-search-button:hover {
    background: #158f3f;
}

/* Map Styles */
#halal-directory-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.leaflet-marker-icon {
    filter: hue-rotate(110deg) saturate(1.5);
}

/* Responsive */
@media (max-width: 768px) {
    .halal-restaurants-grid {
        grid-template-columns: 1fr;
    }

    .halal-search-filters {
        grid-template-columns: 1fr;
    }

    .halal-restaurant-links {
        flex-direction: column;
    }

    .halal-restaurant-link {
        width: 100%;
    }
}
