/**
 * Orion Services Enhanced Widget Styles - Mega Menu Layout
 * 
 * @package Orion_Construction
 * @since 1.0.0
 */

/* Orion Services Mega Menu Container */
.orion-services-mega-menu {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

/* Services Mega Grid - 3 Column Layout */
.orion-services-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.orion-services-mega-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.orion-services-mega-item {
    padding: 0;
}

.orion-services-mega-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.orion-services-mega-description {
    color: #666;
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

/* Services Accordion Layout */
.orion-services__accordion {
    margin-bottom: 40px;
}

.orion-services__item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.orion-services__item:hover {
    border-color: #186F65;
}

.orion-services__item.is-open {
    border-color: #186F65;
}

.orion-services__toggle {
    width: 100%;
    padding: 20px 25px;
    background: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: left;
}

.orion-services__toggle:hover {
    background-color: #f8f9fa;
}

.orion-services__toggle .orion-services__icon {
    margin: 0 15px 0 0;
    width: 40px;
    height: 40px;
    background-color: #186F65;
    color: #ffffff;
}

.orion-services__toggle .orion-services__name {
    flex: 1;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.orion-services__plus {
    font-size: 1.5rem;
    font-weight: 300;
    color: #186F65;
    transition: transform 0.3s ease;
}

.orion-services__item.is-open .orion-services__plus {
    transform: rotate(45deg);
}

.orion-services__panel {
    padding: 0 25px 25px;
    background: #ffffff;
    display: none;
}

.orion-services__item.is-open .orion-services__panel {
    display: block;
}

.orion-services__thumb {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.orion-services__thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.orion-services__desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.orion-services__read.wc-solid-btn {
    background-color: #186F65;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.orion-services__read.wc-solid-btn:hover {
    background-color: #0f4a42;
}

/* Services Rows Layout */
.orion-services__rows {
    margin-bottom: 40px;
}

.orion-services__row {
    display: flex;
    align-items: center;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.orion-services__row:hover {
    border-color: #186F65;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.orion-services__num {
    font-size: 1.5rem;
    font-weight: 700;
    color: #186F65;
    margin-right: 25px;
    min-width: 50px;
    text-align: center;
}

.orion-services__thumb {
    width: 80px;
    height: 80px;
    margin-right: 25px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.orion-services__thumb.placeholder {
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.orion-services__content {
    flex: 1;
    margin-right: 25px;
}

.orion-services__row .orion-services__name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.orion-services__row .orion-services__excerpt {
    color: #666;
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

.orion-services__cta {
    width: 50px;
    height: 50px;
    border: 2px solid #186F65;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #186F65;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.orion-services__cta:hover {
    background-color: #186F65;
    color: #ffffff;
}

/* Services Mega Footer */
.orion-services-mega-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    flex-wrap: wrap;
    gap: 15px;
}

.orion-services-mega-copyright {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

.orion-services-mega-view-link {
    margin: 0;
}

.orion-services-mega-view-link a {
    color: #186F65;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    border: 1px solid #186F65;
    padding: 8px 16px;
    border-radius: 4px;
}

.orion-services-mega-view-link a:hover {
    color: #0f4a42;
    border-color: #0f4a42;
}

/* Responsive Design */
@media (max-width: 768px) {
    .orion-services-mega-menu {
        padding: 20px;
    }
    
    .orion-services-mega-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .orion-services-mega-column {
        gap: 20px;
    }
    
    .orion-services-mega-footer {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .orion-services-mega-menu {
        padding: 15px;
    }
    
    .orion-services-mega-title {
        font-size: 1rem;
    }
    
    .orion-services-mega-description {
        font-size: 0.85rem;
    }
}
