/* Islamic Elegant Template Styles */

/* Geometric pattern as repeating SVG background */
.islamic-pattern-bg {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C8A951' fill-opacity='0.08'%3E%3Cpath d='M30 0L60 30L30 60L0 30z'/%3E%3Cpath d='M30 10L50 30L30 50L10 30z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.islamic-pattern-border {
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='12' viewBox='0 0 40 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 6 Q5 0 10 6 Q15 12 20 6 Q25 0 30 6 Q35 12 40 6' stroke='%23C8A951' stroke-width='1.5' fill='none' stroke-opacity='0.4'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center;
    height: 12px;
}

.sale-page {
    overflow-x: hidden;
}

.sale-page section {
    position: relative;
}

/* Primary CTA button */
.sale-page .btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background-color: var(--color-primary);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sale-page .btn-primary:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(27, 94, 32, 0.3);
}

/* Gold outline button */
.sale-page .btn-gold {
    display: inline-block;
    padding: 14px 36px;
    background-color: var(--color-secondary);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sale-page .btn-gold:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(200, 169, 81, 0.4);
}

/* Badge with Islamic styling */
.sale-page .badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--color-accent);
    border: 1px solid var(--color-secondary);
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-primary);
}

/* Gold decorative divider */
.gold-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
    margin: 0 auto;
    border-radius: 2px;
}

/* Section heading style */
.section-heading {
    font-family: var(--font-heading);
    color: var(--color-primary);
}

/* Gold accent top border for cards */
.card-islamic {
    border-top: 3px solid var(--color-secondary);
    border-radius: 12px;
    background: #fff;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card-islamic:hover {
    box-shadow: 0 8px 24px rgba(27, 94, 32, 0.1);
    transform: translateY(-2px);
}

/* Geometric corner ornament */
.ornament-corner {
    position: relative;
}

.ornament-corner::before,
.ornament-corner::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: var(--color-secondary);
    opacity: 0.5;
}

.ornament-corner::before {
    top: 0;
    left: 0;
    border-top: 2px solid;
    border-left: 2px solid;
}

.ornament-corner::after {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid;
    border-right: 2px solid;
}

/* Bismillah decorative header */
.bismillah-ornament {
    font-family: 'Amiri', serif;
    color: var(--color-secondary);
    letter-spacing: 0.05em;
}

/* Pricing card special */
.pricing-card-islamic {
    border: 2px solid var(--color-primary);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.pricing-card-islamic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-primary));
}

/* FAQ accordion styling */
.faq-item-islamic {
    border: 1px solid rgba(200, 169, 81, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item-islamic:hover {
    border-color: var(--color-secondary);
}

/* Testimonial card */
.testimonial-islamic {
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--color-secondary);
}

/* Halal cert checkmark */
.halal-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Subtle gold shimmer for CTA sections */
@keyframes goldShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.cta-shimmer {
    background: linear-gradient(
        135deg,
        var(--color-primary) 0%,
        var(--color-primary) 40%,
        rgba(200, 169, 81, 0.3) 50%,
        var(--color-primary) 60%,
        var(--color-primary) 100%
    );
    background-size: 200% 100%;
    animation: goldShimmer 6s ease-in-out infinite;
}
