/* استایل‌های پایه کارت‌ها */
.location-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    border: 2px solid transparent;
}

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

.location-card .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    z-index: 10;
}

.location-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.location-content {
    padding: 15px;
}

.location-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.location-category {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.location-slogan {
    font-size: 14px;
    font-style: italic;
    margin-bottom: 10px;
}

.location-address {
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.location-address i {
    margin-left: 6px;
}

.location-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.location-rating i {
    color: #ddd;
    font-size: 14px;
}

.location-rating i.active {
    color: #FFC107;
}

.view-details {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 4px;
    background-color: #4e73df;
    color: white;
    font-size: 13px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.view-details:hover {
    background-color: #375bcc;
    color: white;
}

/* طراحی‌های مختلف کارت‌ها */

/* کارت الماسی */
.card-diamond {
    border-color: #9c27b0;
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.2);
    background-color: #f3e5f5;
}

.card-diamond .location-title {
    color: #4a148c;
}

.card-diamond .view-details {
    background-color: #9c27b0;
}

.card-diamond .view-details:hover {
    background-color: #7b1fa2;
}

.card-diamond::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #9c27b0, #ce93d8, #9c27b0);
    z-index: 2;
}

/* کارت طلایی */
.card-gold {
    border-color: #ffc107;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.2);
    background-color: #fff8e1;
}

.card-gold .location-title {
    color: #ff6f00;
}

.card-gold .view-details {
    background-color: #ffc107;
    color: #212121;
}

.card-gold .view-details:hover {
    background-color: #ffb300;
}

.card-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #ffc107, #ffecb3, #ffc107);
    z-index: 2;
}

/* کارت نقره‌ای */
.card-silver {
    border-color: #9e9e9e;
    box-shadow: 0 5px 15px rgba(158, 158, 158, 0.2);
    background-color: #f5f5f5;
}

.card-silver .location-title {
    color: #424242;
}

.card-silver .view-details {
    background-color: #9e9e9e;
}

.card-silver .view-details:hover {
    background-color: #757575;
}

.card-silver::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #9e9e9e, #e0e0e0, #9e9e9e);
    z-index: 2;
}

/* کارت برنزی */
.card-bronze {
    border-color: #8d6e63;
    box-shadow: 0 5px 15px rgba(141, 110, 99, 0.2);
    background-color: #efebe9;
}

.card-bronze .location-title {
    color: #3e2723;
}

.card-bronze .view-details {
    background-color: #8d6e63;
}

.card-bronze .view-details:hover {
    background-color: #6d4c41;
}

.card-bronze::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #8d6e63, #d7ccc8, #8d6e63);
    z-index: 2;
}

/* نمایش کارت‌ها */
.ad-section {
    margin-bottom: 30px;
}

.ad-section-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    padding-right: 15px;
}

.ad-section-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 22px;
    background-color: #4e73df;
    border-radius: 2px;
}

/* نمایش گرید */
.ad-layout-grid .ad-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* نمایش کروسل */
.ad-layout-carousel .owl-nav {
    position: absolute;
    top: -50px;
    left: 0;
    display: flex;
}

.ad-layout-carousel .owl-nav button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f8f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    color: #4e73df;
    border: 1px solid #e3e6f0;
}

.ad-layout-carousel .owl-nav button:hover {
    background-color: #4e73df;
    color: white;
}

@media (max-width: 1200px) {
    .ad-layout-grid .ad-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .ad-layout-grid .ad-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .ad-layout-grid .ad-grid {
        grid-template-columns: 1fr;
    }
} 