/* =========================================================
   SERVICES.CSS — Service cards, single service tabs
   ========================================================= */

/* --- Service Cards Grid --- */
.pn-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.pn-service-card {
    background: #fff;
    border-radius: var(--pn-card-radius);
    overflow: hidden;
    box-shadow: var(--pn-card-shadow);
    transition: transform var(--pn-transition), box-shadow var(--pn-transition);
    border: 1px solid var(--pn-border);
}

.pn-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.14);
}

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

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

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

.service-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pn-secondary), #EADAD1);
    font-size: 4rem;
}

.service-card-price {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--pn-primary);
    color: #fff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.service-card-body {
    padding: 24px;
}

.service-card-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
    line-height: 1;
}

.service-card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card-title a {
    color: var(--pn-heading);
    text-decoration: none;
    transition: color var(--pn-transition);
}

.service-card-title a:hover { color: var(--pn-primary); }

.service-card-desc {
    font-size: 0.95rem;
    color: var(--pn-text);
    line-height: 1.7;
    margin-bottom: 24px;
    opacity: 0.85;
}

/* Featured badge */
.service-card-featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--pn-accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.service-card--featured {
    border-color: var(--pn-primary);
    box-shadow: 0 8px 40px rgba(193,96,122,0.15);
}

/* Archive intro */
.services-archive-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    color: #666;
    font-size: 1.05rem;
}

/* --- Single Service Tab Layout --- */
.pn-services-single { padding: 60px 0; }

.services-tab-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
    min-height: 70vh;
}

/* Tab Navigation */
.services-tab-nav {
    position: sticky;
    top: 100px;
    background: #fff;
    border-radius: var(--pn-card-radius);
    box-shadow: var(--pn-card-shadow);
    overflow: hidden;
    border: 1px solid var(--pn-border);
}

.tab-nav-title {
    padding: 20px 24px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #999;
    border-bottom: 1px solid var(--pn-border);
    margin: 0;
}

.service-tabs-list { list-style: none; }

.service-tab-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 15px 20px;
    text-align: left;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--pn-border);
    cursor: pointer;
    transition: all var(--pn-transition);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--pn-text);
}

.service-tab-btn:last-child { border-bottom: none; }

.service-tab-btn .tab-icon { font-size: 1.2rem; flex-shrink: 0; }
.service-tab-btn .tab-label { flex: 1; font-family: var(--pn-body-font); }
.service-tab-btn svg { flex-shrink: 0; opacity: 0; transition: opacity var(--pn-transition); }

.service-tab-btn:hover {
    background: var(--pn-light-green);
    color: var(--pn-primary);
}

.service-tab-btn.active {
    background: var(--pn-primary);
    color: #fff;
}

.service-tab-btn.active svg { opacity: 1; color: #fff; }

.tab-booking-cta {
    padding: 24px;
    background: var(--pn-light-green);
    border-top: 1px solid rgba(193,96,122,0.15);
    text-align: center;
}

.tab-booking-cta h4 { font-size: 1rem; margin-bottom: 8px; color: var(--pn-heading); }
.tab-booking-cta p { font-size: 0.85rem; color: #666; margin-bottom: 14px; }
.tab-booking-cta .pn-btn { width: 100%; justify-content: center; margin-bottom: 8px; }

/* Tab Content Panels */
.services-tab-content { position: relative; }

.service-panel {
    display: none;
    animation: panelFadeIn 0.4s ease;
}

.service-panel.active { display: block; }

@keyframes panelFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.service-panel-hero {
    position: relative;
    border-radius: var(--pn-card-radius);
    overflow: hidden;
    margin-bottom: 30px;
}

.service-hero-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.service-panel-title-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    display: flex;
    align-items: flex-end;
    gap: 16px;
}

.service-panel-icon { font-size: 3rem; line-height: 1; }

.service-panel-title-wrap h1 {
    color: #fff;
    font-size: 2rem;
    margin: 0;
}

.service-price-badge {
    display: inline-block;
    background: var(--pn-accent);
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 6px;
}

.service-panel-body { padding: 40px; }

.service-detail-title {
    font-family: var(--pn-heading-font);
    font-size: 2rem;
    color: var(--pn-heading);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 16px;
}

.service-detail-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--pn-primary);
    border-radius: 2px;
}

.service-panel-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--pn-text);
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Features list */
.service-features { margin-bottom: 36px; }

.service-features h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--pn-light-green);
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--pn-light-green);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--pn-heading);
}

.features-list li svg { color: var(--pn-primary); flex-shrink: 0; }

/* Service gallery */
.service-gallery { margin-bottom: 36px; }
.service-gallery h3 { font-size: 1.3rem; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--pn-light-green); }

.service-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* CTA */
.service-panel-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding: 30px;
    background: var(--pn-light-green);
    border-radius: var(--pn-card-radius);
    border: 1px solid rgba(193,96,122,0.15);
}
