/* ========================================
   ENHANCED SERVICES PAGE DESIGN
   ======================================== */

/* Hero Section */
.services-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 8rem var(--pad-x) 4rem var(--pad-x);
    position: relative;
    background: linear-gradient(135deg, var(--c-cream) 0%, var(--c-stone) 100%);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: radial-gradient(circle, var(--c-dark) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 30px);
    }
}

.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text {
    animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.page-title {
    font-family: var(--f-head);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--c-dark);
}

.page-title em {
    font-style: italic;
    color: var(--c-olive);
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--c-dark);
    opacity: 0.85;
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--f-head);
    font-size: 2.5rem;
    color: var(--c-olive);
    font-weight: 600;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-dark);
    opacity: 0.7;
}

.hero-visual {
    position: relative;
    height: 500px;
    animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.visual-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-olive) 0%, var(--c-clay) 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.15;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero-image {
    position: absolute;
    width: 450px;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* Services Overview */
.services-overview {
    padding: var(--pad-y) var(--pad-x);
    background: var(--c-cream);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-title {
    font-family: var(--f-head);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--c-dark);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--c-dark);
    opacity: 0.8;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--f-head);
    font-size: 3rem;
    color: #fff;
    z-index: 10;
    opacity: 0.9;
    mix-blend-mode: overlay;
}

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

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

.service-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-family: var(--f-head);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--c-dark);
}

.card-content p {
    color: var(--c-dark);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.benefit-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--c-dark);
    opacity: 0.85;
    font-size: 0.95rem;
}

.benefit-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--c-olive);
    font-weight: bold;
}

.card-link {
    color: var(--c-olive);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.card-link:hover {
    color: var(--c-clay);
    transform: translateX(5px);
}

/* Healing Process */
.healing-process {
    padding: var(--pad-y) var(--pad-x);
    background: var(--c-stone);
}

.process-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--c-olive), var(--c-clay));
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 1;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-icon {
    grid-column: 2;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 3;
    text-align: left;
}

.timeline-item:nth-child(odd) .timeline-icon {
    grid-column: 2;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--c-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.timeline-content h3 {
    font-family: var(--f-head);
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: var(--c-dark);
}

.timeline-content p {
    color: var(--c-dark);
    opacity: 0.85;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Why Choose Us */
.why-choose {
    padding: var(--pad-y) var(--pad-x);
    background: var(--c-cream);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.why-content h2 {
    font-family: var(--f-head);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--c-dark);
}

.lead-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--c-dark);
    opacity: 0.85;
    margin-bottom: 3rem;
}

.features-list {
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--c-olive);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-text h4 {
    font-family: var(--f-head);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--c-dark);
}

.feature-text p {
    color: var(--c-dark);
    opacity: 0.8;
    line-height: 1.6;
}

.why-visual {
    position: relative;
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
}

.visual-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease;
}

.visual-item:hover {
    transform: scale(1.05);
    z-index: 10;
}

.visual-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.visual-item.v1 {
    grid-column: span 2;
}

.visual-item.v2,
.visual-item.v3 {
    height: 200px;
}

.visual-item.v2 img,
.visual-item.v3 img {
    height: 100%;
}

/* CTA Section */
.services-cta {
    padding: 5rem var(--pad-x);
    background: var(--c-dark);
}

.cta-box {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--f-head);
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .services-hero {
        min-height: auto;
        padding: 6rem var(--pad-x) 3rem var(--pad-x);
    }

    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-visual {
        height: 350px;
    }

    .hero-image {
        width: 100%;
        height: 300px;
    }

    .visual-circle {
        width: 300px;
        height: 300px;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline:before {
        left: 40px;
    }

    .timeline-item {
        grid-template-columns: auto 1fr;
        gap: 1.5rem;
    }

    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        grid-column: 2;
        text-align: left;
    }

    .timeline-item:nth-child(even) .timeline-icon,
    .timeline-item:nth-child(odd) .timeline-icon {
        grid-column: 1;
    }

    .timeline-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .visual-grid {
        gap: 1rem;
    }

    .visual-item img {
        height: 200px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-actions .btn-primary,
    .cta-actions .btn-outline {
        width: 100%;
    }
}

/* Scroll Animations */
[data-service] {
    opacity: 0;
    transform: translateY(30px);
    animation: revealCard 0.6s ease-out forwards;
}

@keyframes revealCard {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-service="hijama"] {
    animation-delay: 0.1s;
}

[data-service="acupressure"] {
    animation-delay: 0.2s;
}

[data-service="acupuncture"] {
    animation-delay: 0.3s;
}

[data-service="alignment"] {
    animation-delay: 0.4s;
}