/* Service Page Specific Styles */

/* Service Hero Section */
.service-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.6) 50%, rgba(15, 52, 96, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    margin-left: -50px;
}

.scroll-text {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0.7;
    text-align: center;
    width: 100%;
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Service Content */
.service-content {
    position: relative;
}

.service-section {
    padding: 8rem 0;
    position: relative;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.section-title.light {
    color: white;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.section-description.light {
    color: rgba(255, 255, 255, 0.9);
}

/* Layout: Left Text */
.layout-left-text .section-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.content-side {
    padding-right: 2rem;
}

.image-side {
    position: relative;
}

.image-container.large {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    min-height: 400px;
}

.image-container.large .service-image {
    height: 100%;
    min-height: 400px;
}

.service-image {
    width: 100%;
    height: auto;
    min-height: 200px;
    display: block;
    transition: transform 0.5s ease;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.9), transparent);
    padding: 2rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.image-container:hover .image-overlay {
    transform: translateY(0);
}

.image-container:hover .service-image {
    transform: scale(1.05);
}

.feature-highlights {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0099cc;
    font-weight: 600;
}

.highlight-item i {
    font-size: 1.2rem;
}

/* Layout: Right Text */
.layout-right-text .section-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

.layout-right-text .content-side {
    padding-left: 2rem;
}

.image-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.grid-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-height: 250px;
}

.grid-item .service-image {
    height: 100%;
    min-height: 250px;
}

.grid-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.tech-specs {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.spec-item {
    text-align: center;
}

.spec-value {
    font-size: 2rem;
    font-weight: 700;
    color: #0099cc;
    margin-bottom: 0.5rem;
}

.spec-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

/* Layout: Center Focus */
.layout-center-focus .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.image-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.showcase-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
    min-height: 400px;
}

.showcase-main .service-image {
    height: 100%;
    min-height: 400px;
}

.showcase-overlay {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.showcase-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.side-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-height: 150px;
}

.side-item .service-image {
    height: 100%;
    min-height: 150px;
}

.item-label {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a2e;
    padding: 0.4rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

/* Layout: Full Width */
.layout-full-width {
    position: relative;
    padding: 10rem 0;
    color: white;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.7) 50%, rgba(15, 52, 96, 0.9) 100%);
}

.layout-full-width .section-container {
    position: relative;
    z-index: 2;
}

.content-center {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.evacuation-demo {
    margin-top: 4rem;
}

.demo-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 2rem;
    align-items: center;
}

.demo-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    min-height: 300px;
}

.demo-item .service-image {
    height: 100%;
    min-height: 300px;
}

.demo-item.featured {
    transform: scale(1.1);
}

.demo-label {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a2e;
    padding: 0.7rem;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
}

/* Layout: Split Vertical */
.layout-split-vertical .section-container {
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 4rem;
}

.split-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-area {
    padding-right: 2rem;
}

.image-area {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.image-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.strip-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.strip-item .service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.strip-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

/* Layout: Asymmetric */
.layout-asymmetric .section-container {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 6rem;
    align-items: start;
}

.asym-content {
    padding-right: 2rem;
}

.analytics-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #00d4ff;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.feature-card i {
    font-size: 2.5rem;
    color: #0099cc;
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #666;
    font-size: 0.9rem;
}

.visual-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stack-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stack-item.large {
    height: 300px;
}

.stack-item.medium {
    height: 200px;
    margin-left: 2rem;
}

.stack-item.small {
    height: 150px;
    margin-left: 4rem;
}

.stack-item .service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stack-label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Call to Action Section */
.service-cta {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.cta-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.cta-actions {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary.large, .btn-secondary.large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.cta-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.cta-image {
    width: 100%;
    height: auto;
    min-height: 400px;
    border-radius: 20px;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .layout-left-text .section-container,
    .layout-right-text .section-container,
    .cta-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .layout-right-text .content-side {
        order: -1;
        padding-left: 0;
    }
    
    .content-side {
        padding-right: 0;
    }
    
    .demo-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .demo-item.featured {
        transform: none;
    }
    
    .split-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .layout-asymmetric .section-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .asym-content {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .service-section {
        padding: 4rem 0;
    }
    
    .image-grid-2x2 {
        grid-template-columns: 1fr;
    }
    
    .image-showcase {
        grid-template-columns: 1fr;
    }
    
    .showcase-side {
        flex-direction: row;
        overflow-x: auto;
        gap: 1rem;
    }
    
    .side-item {
        min-width: 200px;
    }
    
    .image-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .analytics-features {
        grid-template-columns: 1fr;
    }
    
    .tech-specs {
        justify-content: center;
        gap: 2rem;
    }
    
    .feature-highlights {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .hero-content,
    .section-container,
    .cta-container {
        padding: 0 1rem;
    }
    
    .image-strip {
        grid-template-columns: 1fr;
    }
    
    .visual-stack .stack-item.medium,
    .visual-stack .stack-item.small {
        margin-left: 0;
    }
}
