/* --- 0. GLOBAL COSMIC BACKGROUND --- */
body {
    background-image: url('../images/hero-bg.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: fixed !important;
    background-color: #2E0B45 !important;
}

/* Force Transparent Containers */
.site-content, .inside-article, .entry-content, .site-main {
    background-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* --- 1. HERO SECTION --- */
.service-hero {
    position: relative;
    background: transparent; 
    padding: 120px 0 80px 0;
    text-align: center;
    color: white;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    left: 50%;
    right: 50%;
}

.service-hero::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(46,11,69,0.8) 0%, transparent 100%);
    z-index: 0;
}

.service-hero-content { position: relative; z-index: 2; }

.service-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    color: #FFD700;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 69, 0, 0.4);
    animation: fadeSlideUp 1s ease-out;
}

.service-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FF9933, transparent);
    margin: 20px auto;
}

.service-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    letter-spacing: 2px;
    color: #f0f0f0;
    text-transform: uppercase;
    font-weight: 700;
}

/* --- 2. SERVICE CARDS (Updated for Image Icons) --- */
.services-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: -20px;
    position: relative;
    z-index: 10;
}

.service-list-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    
    /* Animation */
    animation: float-complex 6s ease-in-out infinite; 
    
    /* CONSTANT GLOW */
    border-bottom: 5px solid #FFD700; 
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5); 
    
    transition: all 0.4s ease; 
}

.service-list-card:hover {
    animation-play-state: paused;
    transform: translateY(-10px);
    background: #ffffff;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.8); 
}

/* --- NEW: IMAGE ICON STYLES --- */
.service-list-card .card-icon {
    width: 100px; /* Bigger size for detailed icons */
    height: 100px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* The Image itself */
.service-list-card .card-icon img {
    width: 100%;
    height: auto;
    /* This adds a gold glow to the image itself */
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4));
    transition: filter 0.3s ease;
}

/* Hover Effect for Icons */
.service-list-card:hover .card-icon {
    transform: scale(1.15) rotate(3deg);
}

.service-list-card:hover .card-icon img {
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.9));
}

/* Typography */
.service-list-card h3 {
    font-family: 'Cinzel', serif;
    color: #2E0B45;
    margin: 10px 0;
    font-size: 1.5rem;
}

.service-price {
    color: #FF9933;
    font-weight: 800;
    font-size: 1.8rem;
    margin: 10px 0;
}

.service-summary {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

/* --- 3. BUTTONS --- */
.card-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(90deg, #FF9933 0%, #FFD700 100%);
    color: #2E0B45;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(255, 153, 51, 0.4);
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #2E0B45;
    color: #2E0B45;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #2E0B45;
    color: white;
}

.card-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFD700;
    color: #2E0B45;
    font-weight: bold;
    text-transform: uppercase;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.75rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    letter-spacing: 1px;
    white-space: nowrap;
}

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

@keyframes float-complex {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}