/* ===== Services Page Specific Styles ===== */

/* ---- Hero ---- */
.services-hero {
    margin-top: var(--navbar-h);
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #000;
}

.services-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(83,24,72,0.85) 0%, rgba(0,0,0,0.7) 100%),
        url('https://images.unsplash.com/photo-1560066984-138dadb4c035?w=1400&q=80') center/cover no-repeat;
    z-index: 0;
}

.services-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px 20px;
    animation: fadeInUp 0.9s ease-out;
}

.services-hero-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 24px;
}

.services-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 54px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 18px;
}

.services-hero-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    letter-spacing: 2px;
}

.services-hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- Category Cards ---- */
.services-categories {
    background: #060606;
    padding: 70px 20px;
}

.services-categories .section-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-top: -35px;
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.cat-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.cat-card {
    background: linear-gradient(145deg, #0D1E25, #1a1a2e);
    border: 1px solid rgba(197, 41, 145, 0.2);
    border-radius: 18px;
    padding: 44px 30px 36px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-accent), var(--gold));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cat-card:hover,
.cat-card.active {
    border-color: var(--primary-accent);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(197, 41, 145, 0.2);
}

.cat-card:hover::before,
.cat-card.active::before {
    opacity: 1;
}

.cat-card.active {
    background: linear-gradient(145deg, #1a0820, #2a0830);
}

.cat-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(197, 41, 145, 0.12);
    border: 1px solid rgba(197, 41, 145, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 26px;
    color: var(--primary-accent);
    transition: all 0.3s ease;
}

.cat-card:hover .cat-card-icon,
.cat-card.active .cat-card-icon {
    background: var(--primary-accent);
    color: #fff;
    box-shadow: 0 8px 24px rgba(197, 41, 145, 0.4);
}

.cat-card h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.cat-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.cat-explore {
    font-size: 13px;
    color: var(--primary-accent);
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.cat-card:hover .cat-explore {
    gap: 10px;
}

/* ---- Main Services Content Area ---- */
.services-main {
    padding: 80px 20px;
    transition: background 0.6s ease;
}

.services-main.tab-general {
    background: linear-gradient(160deg, #000 0%, #080e10 100%);
}

.services-main.tab-men {
    background: linear-gradient(160deg, #030308 0%, #0a0a1e 60%, #03030f 100%);
}

.services-main.tab-women {
    background: linear-gradient(160deg, #050005 0%, #180518 60%, #050005 100%);
}

/* Tab panes */
.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

/* ---- Service Section Headings ---- */
.svc-section {
    margin-bottom: 72px;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.svc-section.visible { opacity: 1; transform: translateY(0); }

.svc-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(197, 41, 145, 0.2);
    position: relative;
}

.svc-section-header::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 60px; height: 2px;
    background: linear-gradient(90deg, var(--primary-accent), var(--gold));
    border-radius: 2px;
}

.svc-section-header .svc-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(197,41,145,0.2), rgba(83,24,72,0.25));
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--primary-accent); flex-shrink: 0;
    border: 1px solid rgba(197,41,145,0.3);
    box-shadow: 0 4px 16px rgba(197,41,145,0.15);
}

.svc-section-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px; color: #fff; margin: 0;
}
.svc-section-header p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ---- Facial Sub-categories ---- */
.facial-group { margin-bottom: 30px; }

.facial-group-title {
    font-size: 11px; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--gold); margin-bottom: 14px;
    padding: 6px 14px;
    background: rgba(212,175,55,0.08);
    border-left: 3px solid var(--gold);
    border-radius: 0 6px 6px 0;
    display: inline-block;
}

/* ---- Service Item Pills (modernised) ---- */
.svc-items-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.svc-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(197,41,145,0.06), rgba(83,24,72,0.08));
    border: 1px solid rgba(197,41,145,0.18);
    border-radius: 50px;
    cursor: default;
    transition: all 0.3s cubic-bezier(0.23,1,0.32,1);
    position: relative;
    overflow: hidden;
}

.svc-item::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--primary-accent), #8b1a5e);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50px;
}

.svc-item:hover {
    transform: translateY(-3px) scale(1.04);
    border-color: var(--primary-accent);
    box-shadow: 0 8px 24px rgba(197,41,145,0.28);
}

.svc-item:hover::before { opacity: 1; }

.svc-item-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--primary-accent);
    flex-shrink: 0;
    position: relative; z-index: 1;
    transition: background 0.3s ease;
}

.svc-item:hover .svc-item-dot { background: #fff; }

.svc-item span {
    font-size: 13px; color: var(--text-secondary);
    font-weight: 500;
    position: relative; z-index: 1;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.svc-item:hover span { color: #fff; }

/* ---- Men's Package Cards ---- */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.package-card {
    background: linear-gradient(145deg, #0a0a1e, #12123a);
    border: 1px solid rgba(197, 41, 145, 0.2);
    border-radius: 18px;
    padding: 32px 28px;
    position: relative;
    transition: all 0.35s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-accent), var(--gold));
}

.package-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-accent);
    box-shadow: 0 24px 60px rgba(197, 41, 145, 0.2);
}

.package-card.popular {
    border-color: var(--gold);
    background: linear-gradient(145deg, #1a1000, #2a1a00);
}

.package-card.popular::before {
    background: linear-gradient(90deg, var(--gold), #f0c040);
}

.popular-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: linear-gradient(135deg, var(--gold), #b8922e);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.package-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #fff;
    margin-bottom: 20px;
}

.package-items {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
}

.package-items li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.package-items li:last-child {
    border-bottom: none;
}

.package-items li i {
    color: var(--primary-accent);
    font-size: 12px;
    flex-shrink: 0;
}

.package-book-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    background: transparent;
    border: 1px solid rgba(197, 41, 145, 0.5);
    border-radius: 8px;
    color: var(--primary-accent);
    font-size: 13px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.package-book-btn:hover {
    background: var(--primary-accent);
    color: #fff;
    box-shadow: 0 8px 24px rgba(197, 41, 145, 0.35);
}

.package-card.popular .package-book-btn {
    border-color: var(--gold);
    color: var(--gold);
}

.package-card.popular .package-book-btn:hover {
    background: var(--gold);
    color: #000;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
}

/* ---- Women's Service Cards ---- */
.women-section {
    margin-bottom: 56px;
}

.women-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #fff;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(197, 41, 145, 0.15);
}

.women-section-title i {
    color: var(--primary-accent);
    font-size: 22px;
}

.women-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.women-card {
    background: rgba(197, 41, 145, 0.05);
    border: 1px solid rgba(197, 41, 145, 0.15);
    border-radius: 14px;
    padding: 24px 22px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.women-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.women-card:hover {
    background: rgba(197, 41, 145, 0.1);
    border-color: rgba(197, 41, 145, 0.4);
    transform: translateY(-4px);
}

.women-card:hover::after {
    transform: scaleX(1);
}

.women-card-icon {
    font-size: 28px;
    color: var(--primary-accent);
    margin-bottom: 12px;
}

.women-card h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 6px;
    font-family: 'Roboto', sans-serif;
}

.women-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---- Why Choose Us ---- */
.why-choose-us {
    padding: 80px 20px;
    background: linear-gradient(135deg, #080808 0%, #0f050f 100%);
    border-top: 1px solid rgba(197, 41, 145, 0.1);
    border-bottom: 1px solid rgba(197, 41, 145, 0.1);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.why-card {
    text-align: center;
    padding: 36px 24px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.why-card:hover {
    background: rgba(197, 41, 145, 0.07);
    border-color: rgba(197, 41, 145, 0.3);
    transform: translateY(-6px);
}

.why-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(197, 41, 145, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 26px;
    color: var(--primary-accent);
    transition: all 0.3s ease;
}

.why-card:hover .why-card-icon {
    background: var(--primary-accent);
    color: #fff;
    box-shadow: 0 8px 24px rgba(197, 41, 145, 0.35);
}

.why-card h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 8px;
    font-family: 'Roboto', sans-serif;
}

.why-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ---- Booking CTA Banner ---- */
.services-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a0015 0%, #000 50%, #001a10 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(197, 41, 145, 0.1) 0%, transparent 70%);
}

.services-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #fff;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.services-cta p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.services-cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ---- Sticky Mobile CTA ---- */
.sticky-booking-btn {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;          /* full viewport width, never overflow */
    max-width: 100vw;
    z-index: 900;
    background: linear-gradient(90deg, var(--primary-accent), #a01f78);
    color: #fff;
    text-align: center;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 -4px 20px rgba(197, 41, 145, 0.4);
    box-sizing: border-box;
}

.sticky-booking-btn i {
    margin-right: 8px;
}

/* ---- WhatsApp floating button ---- */
/* NOTE: Base .whatsapp-float styles are defined globally in styles.css */
/* On services page mobile: move WhatsApp above the sticky booking bar */
@media (max-width: 768px) {
    .whatsapp-float {
        /* Move above the ~53px sticky bar */
        bottom: 72px !important;
        right: 16px !important;
        left: auto !important;
        top: auto !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 24px;
    }
    .whatsapp-float i {
        font-size: 24px;
    }
    .sticky-booking-btn {
        display: block;
    }
}

/* ====================================================
   GENERAL SERVICES — Editorial Panel Layout (NEW)
   ==================================================== */

.gen-showcase { display: flex; flex-direction: column; gap: 20px; }

.gen-panel {
    display: grid;
    grid-template-columns: 260px 1fr;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(197,41,145,0.15);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}
.gen-panel.visible { opacity: 1; transform: translateY(0); }
.gen-panel:hover {
    border-color: rgba(197,41,145,0.45);
    box-shadow: 0 24px 60px rgba(197,41,145,0.15);
    transform: translateY(-3px);
}

/* ---- Left meta column ---- */
.gen-panel-meta {
    background: linear-gradient(160deg, rgba(83,24,72,0.95) 0%, rgba(13,0,20,0.98) 100%);
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-right: 1px solid rgba(197,41,145,0.2);
}
/* giant ghost number */
.gen-panel-meta::before {
    content: attr(data-num);
    position: absolute;
    font-size: 110px;
    font-weight: 900;
    color: rgba(197,41,145,0.07);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    font-family: 'Roboto', sans-serif;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
/* top gradient bar */
.gen-panel-meta::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-accent), var(--gold));
}

.gen-panel-icon {
    width: 68px; height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-accent), #7a1550);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: #fff;
    margin-bottom: 16px;
    box-shadow: 0 8px 28px rgba(197,41,145,0.45);
    position: relative; z-index: 1;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.gen-panel:hover .gen-panel-icon {
    transform: scale(1.1) rotate(-8deg);
    box-shadow: 0 12px 36px rgba(197,41,145,0.6);
}

.gen-panel-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px; color: #fff;
    margin-bottom: 8px;
    position: relative; z-index: 1;
}
.gen-panel-sub {
    font-size: 11px; color: rgba(255,255,255,0.45);
    line-height: 1.6;
    position: relative; z-index: 1;
}
.gen-panel-count {
    display: inline-block;
    margin-top: 14px;
    padding: 4px 14px;
    background: rgba(197,41,145,0.18);
    border: 1px solid rgba(197,41,145,0.45);
    border-radius: 20px;
    font-size: 11px; color: var(--primary-accent);
    font-weight: 700; letter-spacing: 1px;
    position: relative; z-index: 1;
}

/* ---- Right body column ---- */
.gen-panel-body {
    background: linear-gradient(135deg, rgba(8,3,14,0.98) 0%, rgba(18,5,28,0.98) 100%);
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.gen-type-row { display: flex; flex-direction: column; gap: 10px; }

.gen-type-label {
    font-size: 10px; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--gold);
    display: flex; align-items: center; gap: 10px;
}
.gen-type-label::after {
    content: '';
    flex: 1; height: 1px;
    background: linear-gradient(to right, rgba(212,175,55,0.35), transparent);
}

.gen-pills-row { display: flex; flex-wrap: wrap; gap: 8px; }

.gen-pill {
    padding: 7px 16px;
    background: rgba(197,41,145,0.07);
    border: 1px solid rgba(197,41,145,0.2);
    border-radius: 30px;
    font-size: 13px; color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.25s ease;
    cursor: default;
}
.gen-pill:hover {
    background: var(--primary-accent);
    border-color: var(--primary-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(197,41,145,0.35);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .cat-cards-grid { grid-template-columns: 1fr 1fr; }
    .gen-panel { grid-template-columns: 1fr; }
    .gen-panel-meta { padding: 30px 24px; }
    .gen-panel-meta::before { font-size: 80px; }
    .gen-panel-body { padding: 26px 24px; }
}

@media (max-width: 768px) {
    .services-hero {
        margin-top: var(--navbar-h-mobile);
        min-height: auto;
        padding: 50px 0;
    }
    .services-hero h1 { font-size: 32px; }
    .services-hero-sub { font-size: 14px; letter-spacing: 1px; }
    .cat-cards-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .packages-grid  { grid-template-columns: 1fr; }
    .women-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid       { grid-template-columns: repeat(2, 1fr); }
    .sticky-booking-btn { display: block; }
    .services-main  { padding: 50px 16px 80px; } /* extra bottom pad for sticky bar */
    .services-categories { padding: 50px 16px; }
    .services-cta   { padding: 60px 16px; }
    .services-cta h2 { font-size: 30px; }
}

@media (max-width: 480px) {
    .services-hero h1 { font-size: 24px; }
    .services-hero-content { padding: 28px 16px; }
    /* Keep 2 cols on phone — 1-col + max-width looks clipped */
    .cat-cards-grid { grid-template-columns: 1fr 1fr; gap: 10px; max-width: 100%; }
    .cat-card { padding: 28px 16px 22px; }
    .women-cards-grid { grid-template-columns: 1fr; }
    .why-grid         { grid-template-columns: 1fr 1fr; }
    .services-cta h2  { font-size: 22px; }
    .services-cta p   { font-size: 14px; }
    .gen-panel-name   { font-size: 16px; }
    .package-card     { padding: 22px 16px; }
    .svc-item span    { font-size: 12px; }
    .svc-item         { padding: 8px 14px; }
}

