/* Moore Crest Builders - Services Page Styles */

/* Services Hero Section */
.services-hero {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.9), rgba(165, 42, 42, 0.8)), url('../../images/129.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0 80px;
    color: white;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.services-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.services-hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #e0e7ff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Service Navigation */
.service-nav {
    background: white;
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 70px;
    z-index: 100;
}

.service-nav-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.service-nav-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    color: #495057;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.service-nav-btn:hover {
    background: #8B0000;
    border-color: #8B0000;
    color: white;
    transform: translateY(-2px);
}

.service-nav-btn.active {
    background: linear-gradient(135deg, #8B0000, #A52A2A);
    border-color: #8B0000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

/* Detailed Services */
.detailed-services {
    padding: 80px 0;
    background: #f8f9fa;
}

.service-detail {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.service-detail.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-detail.hidden {
    display: none;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.service-detail h2 {
    font-size: 2.5rem;
    color: #8B0000;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-intro {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Service Types */
.service-types {
    margin-bottom: 50px;
}

.service-types h3 {
    font-size: 1.8rem;
    color: #8B0000;
    margin-bottom: 30px;
    font-weight: 600;
}

.extension-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.extension-type {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.extension-type:hover {
    border-color: #8B0000;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.1);
}

.extension-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.extension-type h4 {
    font-size: 1.3rem;
    color: #8B0000;
    margin-bottom: 10px;
    font-weight: 600;
}

.extension-type p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.extension-type ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.extension-type ul li {
    color: #555;
    margin-bottom: 5px;
    position: relative;
    padding-left: 20px;
}

.extension-type ul li:before {
    content: "•";
    color: #8B0000;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Service Process */
.service-process {
    margin-bottom: 50px;
}

.service-process h3 {
    font-size: 1.8rem;
    color: #8B0000;
    margin-bottom: 30px;
    font-weight: 600;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #8B0000;
}

.process-number {
    background: linear-gradient(135deg, #8B0000, #A52A2A);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.process-content h4 {
    color: #8B0000;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.process-content p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

/* Service Benefits */
.service-benefits {
    margin-bottom: 40px;
}

.service-benefits h3 {
    font-size: 1.8rem;
    color: #8B0000;
    margin-bottom: 30px;
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.benefit:hover {
    background: #8B0000;
    color: white;
    transform: translateX(5px);
}

.benefit-icon {
    color: #8B0000;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.benefit:hover .benefit-icon {
    color: white;
}

/* Sidebar */
.service-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.pricing-card,
.timeline-card,
.benefits-card,
.contact-card {
    background: white;
    border: 2px solid #8B0000;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(139, 0, 0, 0.1);
}

.pricing-card h3,
.timeline-card h3,
.benefits-card h3,
.contact-card h3 {
    color: #8B0000;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.price-item,
.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.price-item:last-child,
.timeline-item:last-child {
    border-bottom: none;
}

.price-type,
.timeline-phase {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.price-range {
    color: #8B0000;
    font-weight: bold;
    font-size: 1rem;
}

.timeline-duration {
    color: #666;
    font-size: 0.9rem;
}

.price-note {
    font-size: 0.85rem;
    color: #666;
    margin: 15px 0;
    font-style: italic;
    text-align: center;
}

.cta-button {
    background: linear-gradient(135deg, #8B0000, #A52A2A);
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

.cta-button:hover {
    background: linear-gradient(135deg, #A52A2A, #B22222);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.4);
}

.benefits-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-card ul li {
    padding: 8px 0;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.benefits-card ul li:last-child {
    border-bottom: none;
}

/* Conversion Features */
.conversion-features {
    margin-bottom: 40px;
}

.conversion-features h3 {
    font-size: 1.8rem;
    color: #8B0000;
    margin-bottom: 30px;
    font-weight: 600;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.feature-content h4 {
    color: #8B0000;
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-content p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Renovation Services */
.renovation-services h3 {
    font-size: 1.8rem;
    color: #8B0000;
    margin-bottom: 30px;
    font-weight: 600;
}

.renovation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.renovation-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.renovation-item:hover {
    border-color: #8B0000;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.1);
}

.renovation-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.renovation-item h4 {
    color: #8B0000;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.renovation-item p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Why Choose Us Section */
.why-choose-services {
    padding: 100px 0;
    background: white;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.why-choose-item {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 20px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.why-choose-item:hover {
    border-color: #8B0000;
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(139, 0, 0, 0.15);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.why-choose-item h3 {
    color: #8B0000;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.why-choose-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Services CTA */
.services-cta {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.9), rgba(165, 42, 42, 0.8)), url('../../images/129.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    color: white;
    text-align: center;
}

.services-cta .cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.services-cta .cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #DC143C, #B22222);
    color: white;
    border: 2px solid #DC143C;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #B22222, #8B0000);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 20, 60, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #8B0000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 100px 0 60px;
        background-attachment: scroll;
    }
    
    .services-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .services-hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .stat {
        min-width: 150px;
    }
    
    .service-nav-grid {
        justify-content: center;
        gap: 10px;
    }
    
    .service-nav-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .service-detail {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .service-detail h2 {
        font-size: 2rem;
    }
    
    .extension-types {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .renovation-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 250px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .services-hero-content h1 {
        font-size: 2rem;
    }
    
    .services-hero-content p {
        font-size: 1rem;
    }
    
    .service-detail {
        padding: 20px 15px;
    }
    
    .service-detail h2 {
        font-size: 1.8rem;
    }
    
    .service-intro {
        font-size: 1.1rem;
    }
    
    .extension-type,
    .renovation-item {
        padding: 20px;
    }
    
    .pricing-card,
    .timeline-card,
    .benefits-card,
    .contact-card {
        padding: 20px;
    }
    
    .why-choose-item {
        padding: 20px;
    }
    
    .services-cta .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .services-cta .cta-content p {
        font-size: 1.1rem;
    }
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Scroll animations */
.service-detail {
    animation: fadeInUp 0.6s ease forwards;
}

.service-detail:nth-child(even) {
    animation-delay: 0.2s;
}

.service-detail:nth-child(odd) {
    animation-delay: 0.1s;
}