/* ====================================================
   Subcategory Page - Royal Premium Design
   ==================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ---- Page Background ---- */
.subcategory-page-wrapper {
    background: #f8f7f4;
    min-height: 100vh;
}

/* ---- Hero Banner ---- */
.subcategory-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.subcategory-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,163,93,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.subcategory-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,163,93,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-ornament {
    font-size: 11px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #c9a35d;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
}

.hero-ornament::before,
.hero-ornament::after {
    content: '';
    display: block;
    height: 1px;
    width: 40px;
    background: linear-gradient(to right, transparent, #c9a35d);
}

.hero-ornament::after {
    background: linear-gradient(to left, transparent, #c9a35d);
}

.subcategory-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 20px;
}

.subcategory-hero h1 span {
    color: #c9a35d;
}

.subcategory-hero .lead-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    max-width: 560px;
    line-height: 1.7;
}

/* ---- Gold Divider ---- */
.gold-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 14px 0 0;
}

.gold-divider span {
    display: block;
    height: 2px;
    width: 60px;
    background: linear-gradient(to right, transparent, #c9a35d);
}

.gold-divider span:last-child {
    background: linear-gradient(to left, transparent, #c9a35d);
}

.gold-divider i {
    color: #c9a35d;
    font-size: 10px;
}

/* ---- Breadcrumb ---- */
.royal-breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
}

.royal-breadcrumb li a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.royal-breadcrumb li a:hover {
    color: #c9a35d;
}

.royal-breadcrumb .sep {
    color: rgba(255,255,255,0.25);
    margin: 0 4px;
    font-size: 9px;
}

.royal-breadcrumb .active {
    color: #c9a35d;
}

/* ---- Wave Divider ---- */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
}

/* ---- Services Section ---- */
.services-section {
    padding: 70px 0 90px;
    background: #f8f7f4;
}

.services-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,163,93,0.12);
    border: 1px solid rgba(201,163,93,0.3);
    color: #8a6a2a;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 50px;
    margin-bottom: 40px;
}

/* ---- Service Card ---- */
.royal-service-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.royal-service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 50px rgba(0,0,0,0.12);
    border-color: rgba(201,163,93,0.25);
}

/* Card image */
.royal-card-img {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #1a1a2e;
}

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

.royal-service-card:hover .royal-card-img img {
    transform: scale(1.08);
}

/* Gold overlay on hover */
.royal-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15,52,96,0.7) 100%);
    transition: opacity 0.4s ease;
}

/* No-image placeholder */
.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    color: rgba(255,255,255,0.3);
    gap: 10px;
}

.img-placeholder i {
    font-size: 2.5rem;
}

.img-placeholder span {
    font-size: 0.78rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
}

/* Category badge on image */
.card-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    background: rgba(201,163,93,0.9);
    backdrop-filter: blur(4px);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
}

/* Card body */
.royal-card-body {
    padding: 26px 26px 22px;
}

.royal-card-body h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    line-height: 1.3;
}

.royal-card-body .card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.65;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card footer */
.royal-card-footer {
    padding: 16px 26px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f0ede6;
}

.price-block small {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    display: block;
}

.price-block .price-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1;
}

.price-block .price-value .currency {
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

/* View button */
.btn-royal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    color: #c9a35d !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-royal:hover {
    background: linear-gradient(135deg, #c9a35d, #b8902a);
    color: #fff !important;
    transform: translateX(4px);
    box-shadow: 0 8px 20px rgba(201,163,93,0.35);
}

.btn-royal i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.btn-royal:hover i {
    transform: translateX(4px);
}

/* ---- Empty State ---- */
.empty-state-royal {
    text-align: center;
    padding: 80px 30px;
}

.empty-state-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}

.empty-state-icon i {
    font-size: 2.2rem;
    color: #c9a35d;
}

.empty-state-royal h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.empty-state-royal p {
    font-family: 'Inter', sans-serif;
    color: #6c757d;
    max-width: 380px;
    margin: 0 auto 28px;
    line-height: 1.7;
}
