/* Offers Section */
.offers {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--black-light) 0%, var(--black) 100%);
    background-attachment: fixed;
    overflow: hidden;
}

.offers::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../logo.png") center/contain no-repeat;
    background-attachment: fixed;
    opacity: 0.03;
    z-index: 0;
}

.offers .container {
    position: relative;
    z-index: 1;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.offer-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(244, 167, 53, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(244, 167, 53, 0.25);
    border-color: rgba(244, 167, 53, 0.4);
}

.offer-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.offer-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.offer-card-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

[dir="ltr"] .offer-card-badges {
    right: auto;
    left: 12px;
}

.offer-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.7);
    color: var(--gold);
    border: 1px solid rgba(244, 167, 53, 0.3);
}

.offer-image-count {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.offer-card-body {
    padding: 1.5rem;
}

.offer-title {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-family: "Playfair Display", serif;
}

.offer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.offer-meta i {
    color: var(--gold);
    margin-inline-end: 0.25rem;
}

.offer-price {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.offer-view-btn {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.offer-view-btn:hover {
    background: var(--gold);
    color: var(--black);
}

/* Offer Modal */
.offer-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.offer-modal.active {
    display: flex;
}

.offer-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--black-light);
    border-radius: 16px;
    border: 1px solid rgba(244, 167, 53, 0.2);
    padding: 2rem;
}

.offer-modal-gallery img#offerModalImage {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.offer-modal-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.offer-modal-thumbs img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.offer-modal-thumbs img.active,
.offer-modal-thumbs img:hover {
    opacity: 1;
    border-color: var(--gold);
}

.offer-modal-info h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.offer-modal-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.offer-modal-price {
    color: var(--gold);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.offer-modal-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.offer-modal-details span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.offer-modal-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.offer-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--gold);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    border: 2px solid var(--gold);
}

[dir="rtl"] .offer-modal-close {
    right: auto;
    left: 20px;
}

.offer-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--gold);
    border: 2px solid var(--gold);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    z-index: 10001;
}

.offer-modal-prev { left: 20px; }
.offer-modal-next { right: 20px; }

[dir="rtl"] .offer-modal-prev { left: auto; right: 20px; }
[dir="rtl"] .offer-modal-next { right: auto; left: 20px; }

@media (max-width: 768px) {
    .offer-modal-content {
        grid-template-columns: 1fr;
    }
}
