/* services-common.css - Consolidated shared styles for all service pages */

/* ============================================
   SERVICE HERO SECTION (Shared across all service pages)
   ============================================ */
.service-hero {
    height: 60vh;
    min-height: 550px;
    position: relative;
    display: flex;
    align-items: center;
    background: #000;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.service-hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    padding-top: 60px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    width: 100%;
}

.service-hero-content.container,
.container.service-hero-content {
    width: 92%;
    max-width: 1200px;
    margin: auto;
}

.service-hero-content .category-tag,
.category-tag {
    display: inline-block;
    color: #ffcc33;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.service-hero-content h1,
.service-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin: 0;
    color: #fff;
    line-height: 1.1;
    display: block;
}

.service-hero-content .hero-subtitle,
.hero-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-top: 10px;
    font-weight: 300;
    max-width: 700px;
    line-height: 1.4;
    display: block;
}

/* ============================================
   CAPABILITIES SECTION (Shared across all service pages)
   ============================================ */
.capabilities {
    padding: 60px 0 100px 0;
    background: #0a0a0a;
    color: #fff;
}

.cap-header {
    margin-bottom: 40px;
    max-width: 700px;
}

.cap-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.cap-header p {
    color: #666;
    font-size: 1rem;
}

.cap-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    padding: 35px 0;
    border-top: 1px solid #222;
}

.cap-row:last-child {
    border-bottom: 1px solid #222;
}

.cap-label {
    color: #ffcc33;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-top: 5px;
}

.cap-desc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cap-desc li {
    margin-bottom: 20px;
    color: #999;
    line-height: 1.6;
    font-size: 0.95rem;
}

.cap-desc li strong {
    color: #eee;
    display: block;
    margin-bottom: 4px;
    font-size: 1rem;
    font-weight: 600;
}

.cap-desc p {
    margin-bottom: 20px;
    color: #999;
    line-height: 1.6;
    font-size: 0.95rem;
}

.cap-desc p:last-child {
    margin-bottom: 0;
}

.cap-desc p strong {
    color: #eee;
    display: block;
    margin-bottom: 4px;
    font-size: 1rem;
    font-weight: 600;
}

/* ============================================
   BENTO DETAILS SECTION (Shared across all service pages)
   ============================================ */
.bento-details { 
    padding: 120px 0 80px 0; 
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
    color: #fff; 
    position: relative;
}

.bento-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 204, 51, 0.3), transparent);
}

.section-intro { 
    margin-bottom: 70px; 
    max-width: 850px; 
    animation: fadeInUp 0.8s ease-out;
}

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

.section-intro h2 { 
    font-size: 3rem; 
    margin-bottom: 25px; 
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.section-intro p { 
    color: #ddd; 
    line-height: 1.7; 
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.explore-text { 
    font-size: 1.1rem; 
    color: #ffcc33; 
    font-weight: 600; 
    margin-top: 30px; 
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.explore-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: #ffcc33;
    border-radius: 2px;
}

/* ============================================
   SERVICE BOX (Bento Box) - Base Styles
   ============================================ */
.service-box { 
    position: relative; 
    border-radius: 28px; 
    overflow: hidden; 
    background: #111; 
    border: 2px solid #444;
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end; 
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); 
    background-size: cover; 
    background-position: center;
    text-decoration: none; 
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.service-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 28px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
    pointer-events: none;
}

.service-box:hover::before {
    border-color: #ffcc33;
    opacity: 1;
    box-shadow: 0 0 30px rgba(255, 204, 51, 0.4), inset 0 0 30px rgba(255, 204, 51, 0.1);
}

.service-box:hover { 
    border-color: #ffcc33;
    transform: translateY(-12px) scale(1.02);
    background-size: 110%;
    filter: brightness(1.05);
    box-shadow: 0 25px 50px rgba(255, 204, 51, 0.3), 0 0 40px rgba(255, 204, 51, 0.2);
}

/* ============================================
   BOX OVERLAY & CONTENT (Shared across all service pages)
   ============================================ */
.box-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(to bottom, transparent 20%, rgba(0,0,0,0.92) 90%); 
    z-index: 1;
    transition: background 0.5s ease;
}

.service-box:hover .box-overlay {
    background: linear-gradient(to bottom, transparent 25%, rgba(0,0,0,0.85) 90%);
}

.box-content { 
    position: relative; 
    z-index: 2; 
    transition: padding 0.4s ease;
}

/* ============================================
   SERVICE BOX TYPOGRAPHY (Shared base styles)
   ============================================ */
.service-box h3, 
.service-box h4 { 
    color: #fff; 
    margin-bottom: 10px; 
    font-weight: 800; 
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.service-box:hover h3,
.service-box:hover h4 {
    transform: translateX(5px);
    text-shadow: 0 4px 20px rgba(255, 204, 51, 0.5);
}

.service-box h3 { 
    font-size: 1.8rem; 
}

.service-box h4 { 
    font-size: 1.4rem; 
}

.service-box p { 
    font-size: 0.95rem; 
    color: #bbb; 
    margin-bottom: 15px; 
    transition: all 0.3s ease;
    opacity: 0.9;
}

.service-box:hover p {
    opacity: 1;
    transform: translateX(5px);
    color: #ccc;
}

/* ============================================
   BUTTONS (Shared across all service pages)
   ============================================ */
.visual-accent-btn-blue { 
    display: inline-block; 
    background: #ffcc33; 
    color: #000 !important; 
    padding: 12px 28px; 
    border-radius: 50px; 
    font-weight: 800; 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    text-decoration: none; 
    transition: all 0.3s ease; 
    box-shadow: 0 4px 15px rgba(255, 204, 51, 0.3);
}

.visual-accent-btn-blue:hover { 
    background: #ffd966; 
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(255, 204, 51, 0.5); 
}

/* ============================================
   VIDEO BOX STYLES (Standardized across all service pages)
   ============================================ */
/* Video box hover effect - gold border stroke */
.service-box[class*="video"]::after,
.service-box.com-video-link::after,
.service-box.doc-video-link::after,
.service-box.event-video-link::after,
.service-box.re-video-link::after,
.service-box.livet-video-link::after,
.featured-video-link-box::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-radius: 28px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 4;
    pointer-events: none;
}

.service-box[class*="video"]:hover::after,
.service-box.com-video-link:hover::after,
.service-box.doc-video-link:hover::after,
.service-box.event-video-link:hover::after,
.service-box.re-video-link:hover::after,
.service-box.livet-video-link:hover::after,
.featured-video-link-box:hover::after {
    opacity: 1;
    border-color: #ffcc33;
    box-shadow: 0 0 0 2px rgba(255, 204, 51, 0.3), inset 0 0 0 2px rgba(255, 204, 51, 0.1);
}

/* Standardized Play Button */
.play-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 12px;
    transition: all 0.3s ease;
}

.play-btn:hover {
    color: #ffcc33;
    transform: translateX(4px);
}

/* Standardized Play Icon */
.play-icon {
    width: 32px;
    height: 32px;
    background: #ffcc33;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 204, 51, 0.4);
}

.play-btn:hover .play-icon {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 204, 51, 0.6);
}

/* CSS-based play triangle arrow */
.play-icon::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 9px solid #000;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    margin-left: 3px; /* Slight offset to center the triangle */
    transition: all 0.3s ease;
}

.play-btn:hover .play-icon::before {
    border-left-color: #ffcc33;
}

/* Showcase tag for video boxes */
.showcase-tag {
    color: #ffcc33;
    font-weight: 800;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

/* Smaller text for video boxes */
.service-box[class*="video"] h3,
.service-box.com-video-link h3,
.service-box.doc-video-link h3,
.service-box.event-video-link h3,
.service-box.re-video-link h3,
.service-box.livet-video-link h3,
.featured-video-link-box h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    line-height: 1.2;
}

.service-box[class*="video"] p,
.service-box.com-video-link p,
.service-box.doc-video-link p,
.service-box.event-video-link p,
.service-box.re-video-link p,
.service-box.livet-video-link p,
.featured-video-link-box p {
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* ============================================
   RESPONSIVE STYLES (Shared across all service pages)
   ============================================ */
@media (max-width: 768px) {
    .service-hero {
        min-height: 400px;
    }
    
    .service-hero-content {
        padding-top: 40px;
    }
    
    .service-hero-content h1,
    .service-hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .service-hero-content .hero-subtitle,
    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .cap-row { 
        grid-template-columns: 1fr; 
        gap: 15px; 
        padding: 25px 0; 
    }
    
    .service-hero h1 { 
        font-size: 2.5rem; 
    }
}
