@font-face {
    font-family: 'irsans';
    src: url('/fonts/irsans.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
body, * {
    font-family: 'irsans', sans-serif !important;
}
main {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem;
}
.header-bg {
    background: linear-gradient(135deg, #3b82f6, #50d9ac);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: fadeIn 1s ease-in-out;
}
.header-bg h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}
.header-bg p {
    font-size: 1rem;
    color: #e0e7ff;
}
.contact-icon:hover {
    transform: scale(1.3);
    transition: transform 0.3s ease-in-out;
}
.store-card, .ad-card, .article-card {
    background: linear-gradient(145deg, #f9fafb, #e5e7eb);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 280px;
    width: 280px;
    height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    flex-shrink: 0;
    padding: 1rem;
    animation: slideIn 0.5s ease-in-out;
}
.store-card:hover, .ad-card:hover, .article-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}
.store-header-bar, .article-header-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #50d9ac);
}
.store-logo {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    background-color: #f0f0f0;
    transition: transform 0.3s ease-in-out;
}
.store-logo:hover {
    transform: scale(1.1);
}
.store-info, .ad-info, .article-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
}
.store-name, .ad-title, .article-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3a8a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ad-description, .article-content {
    font-size: 0.75rem;
    color: #4b5563;
    text-align: center;
    margin: 0.75rem 0;
}
.ad-price {
    font-size: 0.75rem;
    color: #1f2937;
    font-weight: 500;
    text-align: center;
    margin: 0.75rem 0;
}
.store-hours {
    font-size: 0.75rem;
    font-weight: 500;
    color: #4b5563;
    text-align: center;
    margin: 0.75rem 0;
}
.store-rating {
    font-size: 0.75rem;
    font-weight: 500;
    color: #4b5563;
    text-align: center;
    margin: 0.75rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.info-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.7875rem;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.75rem;
    z-index: 10;
}
.info-icon {
    font-size: 1.25rem;
    transition: transform 0.3s ease-in-out;
}
.info-row:hover .info-icon {
    transform: scale(1.2);
}
.store-images-container, .article-image-container {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    padding: 8px 0;
    height: 80px;
    flex-grow: 1;
    align-items: center;
}
.store-images-container::-webkit-scrollbar, .article-image-container::-webkit-scrollbar {
    height: 6px;
}
.store-images-container::-webkit-scrollbar-track, .article-image-container::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 3px;
}
.store-images-container::-webkit-scrollbar-thumb, .article-image-container::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 3px;
}
.ad-image-container, .article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}
.ad-image, .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    background-color: #f0f0f0;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.ad-image:hover, .article-image img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
.store-image {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #f0f0f0;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    flex-shrink: 0;
}
.store-image:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
.stores-container, .ads-container, .articles-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 1.5rem;
    padding-bottom: 1rem;
    justify-content: flex-start;
    align-items: flex-start;
}
.stores-container::-webkit-scrollbar, .ads-container::-webkit-scrollbar, .articles-container::-webkit-scrollbar {
    height: 8px;
}
.stores-container::-webkit-scrollbar-track, .ads-container::-webkit-scrollbar-track, .articles-container::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 4px;
}
.stores-container::-webkit-scrollbar-thumb, .ads-container::-webkit-scrollbar-thumb, .articles-container::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 4px;
}
.address-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.75rem;
    color: #4b5563;
    margin-top: 0.75rem;
}
.address-display {
    flex-grow: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.store-footer, .article-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #4b5563;
    margin-top: 0.75rem;
}
.store-footer img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
    background-color: #f0f0f0;
}
.search-container {
    position: relative;
    max-width: 420px;
    margin: 0 auto 1.5rem;
}
.search-input {
    width: 100%;
    padding: 0.75rem 2rem 0.75rem 1rem;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.search-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}
.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #4b5563;
    font-size: 1.25rem;
}
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-height: 240px;
    overflow-y: auto;
    display: none;
    animation: slideIn 0.3s ease-in-out;
}
.search-suggestions.active {
    display: block;
}
.search-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.search-suggestions li {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #1f2937;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.search-suggestions li:hover {
    background: #e0e7ff;
}
.search-suggestions::-webkit-scrollbar {
    width: 6px;
}
.search-suggestions::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 3px;
}
.search-suggestions::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 3px;
}
.section-bg {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.stores-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}
/* Enhanced Category Section */
.category-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 1rem;
    padding: 1rem 0;
    justify-content: flex-start;
    align-items: center;
    animation: slideIn 0.5s ease-in-out;
}
.category-container::-webkit-scrollbar {
    height: 8px;
}
.category-container::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 4px;
}
.category-container::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 4px;
}
.category-item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #ff0000); /* Blue-red gradient */
    color: #ffffff;
    border-radius: 1rem;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}
.category-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.category-item i {
    font-size: 1.5rem;
    color: #ffffff;
}
/* Enhanced About Section */
.about-section {
    background: linear-gradient(135deg, #3b82f6, #50d9ac);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.5s ease-in-out;
}
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/Uploads/photos/about-bg.png') no-repeat center/cover;
    opacity: 0.1;
    z-index: 0;
}
.about-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideIn 0.5s ease-in-out;
}
.about-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}
.about-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e3a8a;
}
.about-content p {
    font-size: 1rem;
    color: #374151;
    line-height: 1.8;
}
.about-cta {
    background: linear-gradient(135deg, #3b82f6, #50d9ac);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
/* Enhanced Contact Section */
.contact-section {
    background: linear-gradient(135deg, #3b82f6, #50d9ac);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.5s ease-in-out;
}
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/Uploads/photos/contact-bg.png') no-repeat center/cover;
    opacity: 0.15;
    z-index: 0;
}
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.contact-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 120px;
    animation: slideIn 0.5s ease-in-out;
}
.contact-item:hover {
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.contact-item i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}
.contact-item:hover i {
    transform: scale(1.2);
}
.contact-item span {
    font-size: 1rem;
    color: #1f2937;
    font-weight: 600;
}
.contact-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.5s ease-in-out;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #2563eb;
}
.contact-form button {
    background: linear-gradient(135deg, #3b82f6, #50d9ac);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.view-all-btn {
    background: linear-gradient(135deg, #3b82f6, #50d9ac);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
}
.view-all-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.city-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.city-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}
.select2-container--default .select2-selection--single {
    border: 2px solid #3b82f6;
    border-radius: 8px;
    height: 44px;
    display: flex;
    align-items: center;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 44px;
    padding-right: 2.5rem;
    color: #1f2937;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
    right: 10px;
}
.select2-container--default .select2-selection--single:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}
.select2-dropdown {
    border: 2px solid #3b82f6;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.select2-results__option {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #1f2937;
}
.select2-results__option--highlighted {
    background: #e0e7ff;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}
@media (max-width: 640px) {
    main {
        padding: 1rem;
    }
    .header-bg {
        padding: 1rem;
    }
    .header-bg h1 {
        font-size: 1.5rem;
    }
    .header-bg p {
        font-size: 0.875rem;
    }
    .store-card, .ad-card, .article-card {
        min-width: 240px;
        width: 240px;
        height: 400px;
        padding: 0.75rem;
    }
    .store-header-bar, .article-header-bar {
        height: 3px;
    }
    .store-logo {
        width: 60px;
        height: 60px;
    }
    .store-name, .ad-title, .article-title {
        font-size: 1rem;
    }
    .store-hours, .store-rating, .ad-description, .ad-price, .article-content {
        font-size: 0.625rem;
        margin: 0.5rem 0;
    }
    .info-row {
        font-size: 0.75rem;
        gap: 6px;
        margin-bottom: 0.5rem;
    }
    .info-icon {
        font-size: 1rem;
    }
    .store-image {
        width: 60px;
        height: 60px;
    }
    .store-images-container, .article-image-container {
        height: 64px;
        padding: 4px 0;
    }
    .ad-image-container, .article-image {
        height: 160px;
    }
    .address-row {
        font-size: 0.625rem;
        gap: 6px;
        margin-top: 0.5rem;
    }
    .store-footer, .article-footer {
        font-size: 0.625rem;
    }
    .store-footer img {
        width: 24px;
        height: 24px;
    }
    .stores-container, .ads-container, .articles-container {
        gap: 1rem;
        padding-bottom: 0.75rem;
    }
    .stores-section h2 {
        font-size: 1.25rem;
    }
    .search-input {
        font-size: 0.875rem;
        padding: 0.5rem 1.5rem 0.5rem 0.75rem;
    }
    .search-suggestions li {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    .category-item {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    .category-item i {
        font-size: 1.25rem;
    }
    .about-section, .contact-section {
        padding: 1.5rem;
    }
    .about-content h3 {
        font-size: 1.5rem;
    }
    .about-content p {
        font-size: 0.875rem;
    }
    .about-cta {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    .contact-item {
        min-width: 100px;
        padding: 1rem;
    }
    .contact-item i {
        font-size: 2rem;
    }
    .contact-item span {
        font-size: 0.875rem;
    }
    .contact-form {
        padding: 1.5rem;
    }
    .contact-form input, .contact-form textarea {
        font-size: 0.875rem;
    }
    .contact-form button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    .view-all-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    .city-select {
        font-size: 0.875rem;
        padding: 0.5rem;
    }
    .select2-container--default .select2-selection--single {
        height: 36px;
    }
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 36px;
    }
    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 36px;
    }
}