/* Spells Page Specific Styles */

/* Apply background to body for entire page */
body {
    position: relative;
    /* Set a dark background base color in case image has any loading delay */
    background-color: #000000; /* Pure black background */
    color: var(--white);
}

/* Single background image, zoomed out to prevent pixelation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('');
    background-color: #000000; /* Black color behind the image */
    background-size: 80%; /* Zoomed out to 80% to prevent pixelation */
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat; /* Single image only */
    z-index: -1;
    pointer-events: none;
}

/* Override header background to be transparent */
header {
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo h1 {
    color: var(--accent-color);
}

.nav-menu {
    background-color: rgba(0, 0, 0, 0.9);
}

.nav-menu a {
    color: var(--white);
}

.spells-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    padding: 3rem 1rem;
}

.spells-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.spells-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    text-align: center;
}

.spells-description {
    margin-bottom: 2rem;
}

.spells-description h2 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.spells-description p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.spells-benefits {
    margin-bottom: 2rem;
    border-left: 3px solid var(--accent-color);
    padding-left: 1.5rem;
}

.spells-benefits h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.spells-benefits ul {
    list-style: none;
    padding: 0;
}

.spells-benefits li {
    margin-bottom: 0.7rem;
    display: flex;
    align-items: flex-start;
}

.spells-benefits li i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 1.1rem;
}

.spells-cta {
    text-align: center;
    margin-top: 2rem;
}

.spells-cta .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Spell Types Section */
.spell-types {
    padding: 5rem 1rem;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

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

.spell-types h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
    position: relative;
}

.spell-types h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.types-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.type-card {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color);
}

.type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.type-icon {
    margin-bottom: 1.5rem;
}

.type-icon i {
    font-size: 3rem;
    color: var(--primary-color);
    background-color: rgba(123, 61, 144, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.type-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.type-card p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.type-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
}

.type-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Process section */
.spell-process {
    padding: 5rem 1rem;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

.spell-process h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
    position: relative;
}

.spell-process h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.step {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step h3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Ethical Practice Section */
.ethical-practice {
    padding: 5rem 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.ethical-practice h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
}

.ethical-practice h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.ethics-intro {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto;
    color: #f0f0f0;
    font-size: 1.1rem;
}

.ethics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.ethics-item {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: var(--text-color);
}

.ethics-item:hover {
    transform: translateY(-7px);
}

.ethics-icon {
    margin-bottom: 1rem;
}

.ethics-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.ethics-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.ethics-item p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.ethics-note {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    font-style: italic;
    text-align: center;
    color: #f0f0f0;
}

/* Testimonials section */
.spells-testimonials {
    padding: 5rem 1rem;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

.spells-testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
    position: relative;
}

.spells-testimonials h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    color: var(--text-color);
}

.quote {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.client h4 {
    color: var(--primary-color);
    margin-top: 1rem;
    font-weight: 600;
}

/* Booking section */
.spells-booking {
    padding: 5rem 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    color: var(--white);
}

.spells-booking h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--white);
}

.booking-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.booking-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.booking-option {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 2rem;
    color: var(--text-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    position: relative;
}

.booking-option:hover {
    transform: translateY(-10px);
}

.booking-option.featured {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
}

.booking-option.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-tag {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.booking-option h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: 1.4rem;
}

.includes {
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-style: italic;
}

.features {
    margin-bottom: 2rem;
}

.features li {
    margin-bottom: 0.7rem;
    position: relative;
    padding-left: 1.5rem;
}

.features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.booking-btn {
    display: block;
    text-align: center;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
}

.booking-btn:hover {
    background-color: var(--secondary-color);
}

/* FAQ Section */
.spells-faq {
    padding: 5rem 1rem;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

.spells-faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
    position: relative;
}

.spells-faq h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    color: var(--text-color);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.faq-item h3:before {
    content: '?';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Fix footer for fixed background */
footer {
    background-color: rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 10;
}

/* Media Queries for responsive background image */
@media (max-width: 767px) {
    body::before {
        background-size: 100%; /* Slightly larger on mobile */
    }
    
    /* Improve content readability on mobile */
    .spells-content {
        padding: 1.5rem;
    }
    
    .step, .testimonial, .faq-item, .booking-option, .type-card, .ethics-item {
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    body::before {
        background-size: 85%; /* Medium size for tablets */
    }
    
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .booking-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .booking-option.featured {
        grid-column: span 2;
    }
    
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .spells-content h1 {
        font-size: 3rem;
    }
    
    .spells-description h2 {
        font-size: 1.8rem;
    }
    
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ethics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    body::before {
        background-size: 70%; /* More zoomed out for large screens */
    }
    
    .process-steps {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .booking-options {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .booking-option.featured {
        grid-column: auto;
    }
    
    .spells-content {
        padding: 3rem;
    }
    
    .types-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ethics-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}