/**
 * Single Page Templates Styles
 *
 * @package Orion_Construction
 * @author WebbyCrown Solutions Pvt Ltd
 */

/* ==========================================================================
   Single Project Styles
   ========================================================================== */

.orion-single-project {
    padding: 40px 0;
}

.orion-project-header {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.orion-project-header__content {
    flex: 1;
}

.orion-project-header__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.orion-project-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.orion-project-meta__item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.orion-project-meta__label {
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.orion-project-meta__value {
    font-size: 1.1rem;
    color: #1a1a1a;
    font-weight: 500;
}

.orion-project-meta__value--completed {
    color: #28a745;
}

.orion-project-meta__value--in-progress {
    color: #007cba;
}

.orion-project-meta__value--ongoing {
    color: #ffc107;
}

.orion-project-meta__value--planning {
    color: #6c757d;
}

.orion-project-meta__value--on-hold {
    color: #dc3545;
}

.orion-project-header__image {
    flex: 0 0 400px;
}

.orion-project-header__image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.orion-project-content {
    margin-top: 40px;
}

.orion-project-content__main {
    margin-bottom: 60px;
}

.orion-project-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 20px 0;
}

.orion-project-content__main p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.orion-project-highlights {
    margin-bottom: 60px;
}

.orion-project-highlights__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.orion-project-highlights__item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.orion-project-highlights__icon {
    font-size: 1.5rem;
    color: #007cba;
    flex-shrink: 0;
    margin-top: 5px;
}

.orion-project-highlights__text {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.orion-project-milestones {
    margin-bottom: 60px;
}

.orion-project-milestones__timeline {
    margin-top: 30px;
}

.orion-project-milestones__item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.orion-project-milestones__item:last-child {
    border-bottom: none;
}

.orion-project-milestones__image {
    flex: 0 0 200px;
}

.orion-project-milestones__image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.orion-project-milestones__content {
    flex: 1;
}

.orion-project-milestones__date {
    font-size: 0.9rem;
    color: #007cba;
    font-weight: 600;
    margin-bottom: 10px;
}

.orion-project-milestones__title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

.orion-project-milestones__description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* ==========================================================================
   Single Service Styles
   ========================================================================== */

.orion-single-service {
    padding: 40px 0;
}

.orion-service-header {
    margin-bottom: 60px;
}

.orion-service-header__content {
    text-align: center;
}

.orion-service-header__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.orion-service-header__image {
    margin-top: 30px;
}

.orion-service-header__image img {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
}

.orion-service-content {
    margin-top: 40px;
}

.orion-service-content__main {
    margin-bottom: 60px;
}

.orion-service-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 20px 0;
}

.orion-service-content__main p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.orion-service-features {
    margin-bottom: 60px;
}

.orion-service-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.orion-service-features__item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.orion-service-features__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.orion-service-features__image {
    margin-bottom: 20px;
}

.orion-service-features__image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.orion-service-features__title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 15px 0;
}

.orion-service-features__description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.orion-service-how-it-works {
    margin-bottom: 60px;
}

.orion-service-how-it-works__steps {
    margin-top: 30px;
}

.orion-service-how-it-works__step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.orion-service-how-it-works__number {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    background: #007cba;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.orion-service-how-it-works__content {
    flex: 1;
}

.orion-service-how-it-works__title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

.orion-service-how-it-works__subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: #007cba;
    margin: 0 0 15px 0;
}

.orion-service-how-it-works__description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.orion-service-choose {
    margin-bottom: 60px;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
}

.orion-service-choose__content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.orion-service-choose__image {
    flex: 0 0 300px;
}

.orion-service-choose__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.orion-service-choose__text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 15px 0;
}

.orion-service-choose__text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.orion-service-choose__button {
    display: inline-block;
    background: #007cba;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.orion-service-choose__button:hover {
    background: #005a87;
}

.orion-service-dream-project {
    margin-bottom: 60px;
    background: linear-gradient(135deg, #007cba, #005a87);
    color: white;
    padding: 40px;
    border-radius: 8px;
}

.orion-service-dream-project h2 {
    color: white;
    margin-bottom: 20px;
}

.orion-service-dream-project__content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.orion-service-dream-project__image {
    flex: 0 0 300px;
}

.orion-service-dream-project__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.orion-service-dream-project__text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.orion-service-dream-project__actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.orion-service-dream-project__button {
    display: inline-block;
    background: white;
    color: #007cba;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.orion-service-dream-project__button:hover {
    transform: translateY(-2px);
}

.orion-service-dream-project__phone {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid white;
    transition: background 0.3s ease;
}

.orion-service-dream-project__phone:hover {
    background: white;
    color: #007cba;
}

/* ==========================================================================
   Single Team Styles
   ========================================================================== */

.orion-single-team {
    padding: 40px 0;
}

.orion-team-header {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.orion-team-header__content {
    flex: 1;
}

.orion-team-header__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.orion-team-position {
    font-size: 1.2rem;
    color: #007cba;
    font-weight: 500;
    margin-bottom: 20px;
}

.orion-team-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.orion-team-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    color: #666;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.orion-team-social__link:hover {
    background: #007cba;
    color: white;
    transform: translateY(-2px);
}

.orion-team-header__image {
    flex: 0 0 300px;
}

.orion-team-header__image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.orion-team-content {
    margin-top: 40px;
}

.orion-team-content__main {
    margin-bottom: 40px;
}

.orion-team-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 20px 0;
}

.orion-team-content__main p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.orion-team-skills,
.orion-team-experience,
.orion-team-education,
.orion-team-certifications {
    margin-bottom: 40px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.orion-team-skills__content,
.orion-team-experience__content,
.orion-team-education__content,
.orion-team-certifications__content {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.orion-team-skills__content p,
.orion-team-experience__content p,
.orion-team-education__content p,
.orion-team-certifications__content p {
    margin-bottom: 15px;
}

.orion-team-skills__content ul,
.orion-team-experience__content ul,
.orion-team-education__content ul,
.orion-team-certifications__content ul {
    margin-left: 20px;
}

.orion-team-skills__content li,
.orion-team-experience__content li,
.orion-team-education__content li,
.orion-team-certifications__content li {
    margin-bottom: 8px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .orion-project-header,
    .orion-team-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .orion-project-header__image,
    .orion-team-header__image {
        flex: none;
        width: 100%;
    }
    
    .orion-project-header__title,
    .orion-service-header__title,
    .orion-team-header__title {
        font-size: 2rem;
    }
    
    .orion-project-meta {
        grid-template-columns: 1fr;
    }
    
    .orion-project-highlights__grid,
    .orion-service-features__grid {
        grid-template-columns: 1fr;
    }
    
    .orion-project-milestones__item,
    .orion-service-how-it-works__step {
        flex-direction: column;
        gap: 20px;
    }
    
    .orion-project-milestones__image,
    .orion-service-choose__image,
    .orion-service-dream-project__image {
        flex: none;
        width: 100%;
    }
    
    .orion-service-choose__content,
    .orion-service-dream-project__content {
        flex-direction: column;
        gap: 20px;
    }
    
    .orion-service-dream-project__actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .orion-single-project,
    .orion-single-service,
    .orion-single-team {
        padding: 20px 0;
    }
    
    .orion-project-header__title,
    .orion-service-header__title,
    .orion-team-header__title {
        font-size: 1.5rem;
    }
    
    .orion-project-content h2,
    .orion-service-content h2,
    .orion-team-content h2 {
        font-size: 1.5rem;
    }
    
    .orion-service-choose,
    .orion-service-dream-project {
        padding: 20px;
    }
    
    .orion-team-skills,
    .orion-team-experience,
    .orion-team-education,
    .orion-team-certifications {
        padding: 20px;
    }
}
