/* Solution Page Styles */
:root {
    --primary-color: #0F1B2D;
    --secondary-color: #11C76F;
    --accent-color: #FF7A45;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #e9ecef;
    --solution-blue: #2980b9;
    --solution-purple: #8e44ad;
}

/* Solution Hero Section */
.solution-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--solution-blue) 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

/* Hero Header - Title Section */
.hero-header {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Image Section - Full Width */
.hero-image-section {
    width: 100%;
}

.main-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    width: 100%;
    margin-bottom: 1rem;
}

.main-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.solution-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.price-tag, .category-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.price-tag {
    background: var(--secondary-color);
    font-weight: 600;
}

/* Image Overlay for Full Width Images */
.main-image-container .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-image-container:hover .image-overlay {
    opacity: 1;
}

.main-image-container:hover img {
    transform: scale(1.02);
}

.zoom-btn {
    background: rgba(255,255,255,0.9);
    border: none;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.zoom-btn:hover {
    background: white;
    transform: scale(1.1);
}

.thumbnail-gallery {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail.active {
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(17, 199, 111, 0.5);
}

.thumbnail:hover {
    border-color: rgba(255,255,255,0.5);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Content Layout */
.solution-main {
    margin-bottom: 3rem;
}

.solution-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.solution-content {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.content-section {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.content-section:last-child {
    border-bottom: none;
}

.content-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.content-section h2 i {
    color: var(--secondary-color);
}

.content-body {
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Content Body Lists - Override global reset */
.content-body ul,
.content-body ol {
    margin: 1rem 0 !important;
    padding-left: 2rem !important;
    list-style-position: outside !important;
}

.content-body li {
    margin-bottom: 0.5rem !important;
    line-height: 1.6 !important;
    padding-left: 0.5rem !important;
    display: list-item !important;
}

.content-body ul li {
    list-style-type: disc !important;
}

.content-body ol li {
    list-style-type: decimal !important;
}

.content-body ul ul,
.content-body ol ol,
.content-body ul ol,
.content-body ol ul {
    margin: 0.5rem 0 !important;
    padding-left: 1.5rem !important;
}

.content-body ul ul li {
    list-style-type: circle !important;
}

.content-body ul ul ul li {
    list-style-type: square !important;
}

/* Additional list styling for better visibility */
.content-body p + ul,
.content-body p + ol {
    margin-top: 0.5rem !important;
}

.content-body ul + p,
.content-body ol + p {
    margin-top: 1rem !important;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.feature-item span {
    flex: 1;
    font-weight: 500;
}

/* Implementation Content */
.implementation-content {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--solution-blue);
    line-height: 1.8;
}

/* Considerations Content */
.considerations-content {
    background: #fff3cd;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    line-height: 1.8;
}

/* Video Gallery */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.video-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.video-item iframe,
.video-item video {
    width: 100%;
    height: 250px;
    border: none;
}

.video-info {
    padding: 1.5rem;
}

.video-info h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.video-info p {
    color: #666;
    line-height: 1.6;
}

/* Sidebar */
.solution-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.sidebar-widget h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Action Widget */
.action-widget {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #27ae60 100%);
    color: white;
}

.action-widget h3 {
    color: white;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

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

.btn-success:hover {
    background: rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--accent-color);
    color: white;
}

.btn-secondary:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

/* Info Widget */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--light-bg);
    border-radius: 8px;
}

.info-item i {
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}

.download-link {
    color: var(--solution-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Related Products */
.related-products {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-item {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.related-item:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(17, 199, 111, 0.2);
}

.related-item a {
    text-decoration: none;
    color: inherit;
}

.related-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.related-item .price {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Related Tags */
.related-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--secondary-color), #27ae60);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(17, 199, 111, 0.3);
}

.tag-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(17, 199, 111, 0.4);
    background: linear-gradient(135deg, #27ae60, var(--secondary-color));
}

.tag-link i {
    font-size: 0.8rem;
    opacity: 0.9;
}

.tag-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(17, 199, 111, 0.3);
}

/* Image Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--secondary-color);
}

#modalCaption {
    color: white;
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .solution-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .solution-hero {
        padding: 2rem 0;
    }
    
    .hero-header h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-meta {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .video-gallery {
        grid-template-columns: 1fr;
    }
    
    .sidebar-widget {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-header h1 {
        font-size: 1.8rem;
    }
    
    .hero-header {
        margin-bottom: 2rem;
    }
    
    .thumbnail {
        width: 60px;
        height: 45px;
    }
    
    .action-buttons {
        gap: 0.75rem;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}
