/* documentary.css - Full Updated Style */

/* SERVICE HERO SECTION */
.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 */
.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 INTRO */
.bento-details { 
    padding: 120px 0 80px 0; 
    background: linear-gradient(180deg, #121212 0%, #0a0a0a 100%);
    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);
}

.service-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);
    }
}

.service-intro h2 { 
    font-size: clamp(2rem, 4vw, 3rem); 
    font-weight: 800; 
    margin: 10px 0 25px; 
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

/* BENTO GRID LAYOUT - Fixed row height */
.doc-grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr); 
    grid-auto-rows: 340px; /* Increased from 280px to fix formatting */
    gap: 20px;
}

.service-box {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: #111;
    background-size: cover;
    background-position: center;
    border: 2px solid #444;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    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 { 
    transform: translateY(-12px) scale(1.02);
    border-color: #ffcc33;
    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-bento-1 { grid-column: span 6; background-image: url('../images/Doc/Bento1.webp'); }
.box-bento-2 { grid-column: span 6; background-image: url('../images/Doc/Bento2.webp'); }
.box-bento-3 { grid-column: span 4; background-image: url('../images/Doc/Bento3.webp'); }
.box-bento-4 { grid-column: span 4; background-image: url('../images/Doc/Bento4.webp'); }
.box-bento-5 { grid-column: span 4; background-image: url('../images/Doc/Bento5.webp'); }

/* Box overlay and content styles are now in services-common.css */
/* Video box matches commercial.css structure - box-content uses relative positioning */
.box-content {
    position: relative;
    z-index: 2;
    transition: padding 0.4s ease;
}

.service-box:hover .box-content {
    padding: 0;
}

.showcase-tag { 
    color: #ffcc33; 
    font-size: 0.7rem; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    display: block; 
    margin-bottom: 8px; 
}

.box-content h3 { 
    font-size: 1.8rem; 
    margin-bottom: 5px; 
    color: #fff; 
    line-height: 1.2; 
}

.box-content h3.one-line-headline {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Play button styles are now in services-common.css */

.box-content h4 { 
    color: #ffcc33; 
    font-size: 1.2rem; 
    margin-bottom: 8px; 
}

.box-content p { 
    font-size: 0.95rem; 
    color: #bbb; 
    line-height: 1.5; 
    margin: 0; 
}

.visual-accent-btn-blue {
    display: inline-block; background: #ffcc33; color: #000 !important;
    padding: 12px 25px; border-radius: 30px; font-weight: 800; text-transform: uppercase;
    font-size: 0.75rem; text-decoration: none; align-self: flex-start; transition: 0.3s ease; margin-top: 15px;
    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);
}

/* RESPONSIVE */
@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;
    }
    
    /* Stack bento boxes on mobile */
    .doc-grid-container { 
        grid-template-columns: 1fr !important; 
        grid-auto-rows: 300px; 
        gap: 15px;
    }
    
    .box-bento-1, .box-bento-2, .box-bento-3, .box-bento-4, .box-bento-5 { 
        grid-column: span 1 !important; 
    }
    
    /* Stack capabilities section on mobile */
    .cap-row { 
        grid-template-columns: 1fr !important; 
        gap: 15px; 
        padding: 25px 0; 
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .doc-grid-container { 
        grid-template-columns: repeat(2, 1fr); 
        grid-auto-rows: 320px; 
    }
    .box-bento-1, .box-bento-2, .box-bento-3, .box-bento-4, .box-bento-5 { 
        grid-column: span 1; 
    }
    .cap-row { 
        grid-template-columns: 1fr; 
        gap: 15px; 
        padding: 25px 0; 
    }
}