* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #2c3e50;
    min-height: 100vh;
}

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

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.header h1 {
    color: #6c5ce7;
    font-size: 2.8em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.header h1 {
    color: #6c5ce7;
    font-size: 1.8em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
/* Navigation */
.nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.nav-btn {
    padding: 15px 30px;
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

/* Search Box */
.search-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.search-box input {
    width: 100%;
    padding: 18px;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-size: 16px;
    text-align: right;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

/* Stats section */
.stats {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #00b894, #00cec9);
    border-radius: 15px;
    color: white;
    min-width: 120px;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* Form Styles */
.form-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 35px;
    margin-bottom: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.form-section h2 {
    color: #6c5ce7;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
}

form {
    display: grid;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

input, textarea, select {
    padding: 16px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    text-align: right;
    transition: all 0.3s ease;
    font-family: inherit;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
    transform: translateY(-2px);
}

textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

button {
    padding: 18px 35px;
    background: linear-gradient(45deg, #00b894, #00cec9);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 184, 148, 0.4);
}

/* Shop Cards */
.shops-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.shops-section h2 {
    color: #6c5ce7;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
}

.shop-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 20px;
    border-left: 6px solid #6c5ce7;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.shop-card h3 {
    color: #2d3436;
    margin-bottom: 15px;
    font-size: 1.6em;
}

.handle {
    color: #e84393;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.category {
    color: #636e72;
    font-style: italic;
    margin: 15px 0;
    font-size: 1.1em;
}

.description {
    color: #2d3436;
    line-height: 1.8;
    margin: 20px 0;
    font-size: 1.1em;
}

.rating {
    font-size: 1.3em;
    font-weight: bold;
    color: #fdcb6e;
    margin: 20px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.shop-card a {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.shop-card a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

/* Review Cards */
.reviews-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.reviews-section h2 {
    color: #6c5ce7;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
}

.review-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 15px;
    border-right: 6px solid #00b894;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.review-card .rating {
    font-size: 1.4em;
    color: #fdcb6e;
    margin-bottom: 15px;
}

.comment {
    color: #2d3436;
    line-height: 1.8;
    margin: 20px 0;
    font-size: 1.1em;
}

.author {
    font-weight: bold;
    color: #6c5ce7;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.date {
    color: #636e72;
    font-size: 0.95em;
}

/* Shop Header */
.shop-header {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    padding: 50px;
    border-radius: 25px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(108, 92, 231, 0.3);
}

.shop-header h1 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.overall-rating {
    font-size: 2.5em;
    font-weight: bold;
    color: #fdcb6e;
    margin: 30px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Back Link */
.back-link {
    display: inline-block;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.9);
    color: #6c5ce7;
    text-decoration: none;
    border-radius: 25px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.back-link:hover {
    background: #6c5ce7;
    color: white;
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.3);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.footer a {
    color: #6c5ce7;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #e84393;
    text-decoration: underline;
}

.footer p {
    margin: 15px 0;
    color: #2d3436;
    font-size: 1.1em;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shop-card, .review-card, .form-section, .stats {
    animation: fadeIn 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 2em;
    }
    
    .nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-btn {
        width: 100%;
        text-align: center;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        min-width: auto;
    }
    
    .shop-header h1 {
        font-size: 2.2em;
    }
    
    .form-section, .shops-section, .reviews-section {
        padding: 25px;
    }
    
    .shop-card, .review-card {
        padding: 20px;
    }
    
    input, textarea, select {
        padding: 14px;
    }
    
    button {
        padding: 16px 30px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8em;
    }
    
    .shop-header h1 {
        font-size: 1.8em;
    }
    
    .overall-rating {
        font-size: 2em;
    }
    
    .form-section h2, .shops-section h2, .reviews-section h2 {
        font-size: 1.6em;
    }
}
/* Pagination styles */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 5px;
}

.page-link {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: #f0f0f0;
}

.page-link.current {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.page-link:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
