/* Services Page Specific Styles */

.services-hero {
    background: linear-gradient(rgba(44, 44, 44, 0.7), rgba(44, 44, 44, 0.7)), url('../images/services-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.services-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
}

.services-hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Services */
.main-services {
    padding: 80px 0;
    background: white;
}

.service-detail {
    margin-bottom: 80px;
    padding: 60px 0;
    border-bottom: 1px solid #f0f0f0;
}

.service-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail.reverse .service-content {
    direction: rtl;
}

.service-detail.reverse .service-text {
    direction: ltr;
}

.service-text h3 {
    font-size: 2.5rem;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
}

.service-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.service-features {
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.feature-item i {
    color: #d4af37;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.feature-item span {
    color: #555;
    font-weight: 500;
}

.service-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Design Process */
.design-process {
    padding: 80px 0;
    background: #fafafa;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d4af37, #f4e37a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c2c2c;
}

.process-step h3 {
    font-size: 1.5rem;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Service Cards Animation */
.service-detail {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.service-detail:nth-child(2) {
    animation-delay: 0.2s;
}

.service-detail:nth-child(3) {
    animation-delay: 0.4s;
}

.service-detail:nth-child(4) {
    animation-delay: 0.6s;
}

.service-detail:nth-child(5) {
    animation-delay: 0.8s;
}

.service-detail:nth-child(6) {
    animation-delay: 1s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.service-image {
    overflow: hidden;
    border-radius: 15px;
}

.service-image img {
    transition: transform 0.3s ease;
}

.service-detail:hover .service-image img {
    transform: scale(1.05);
}

.feature-item {
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    padding-left: 10px;
}

.feature-item:hover i {
    transform: scale(1.2);
}

/* Process Step Connections */
.process-steps {
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #f4e37a);
    z-index: 0;
    display: none;
}

@media (min-width: 1024px) {
    .process-steps::before {
        display: block;
    }
}

.process-step {
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-hero-content h1 {
        font-size: 2.5rem;
    }

    .services-hero-content p {
        font-size: 1.1rem;
    }

    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-detail.reverse .service-content {
        direction: ltr;
    }

    .service-text h3 {
        font-size: 2rem;
    }

    .service-buttons {
        justify-content: center;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-step {
        padding: 2rem 1.5rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .services-hero-content h1 {
        font-size: 2rem;
    }

    .service-text h3 {
        font-size: 1.8rem;
    }

    .service-buttons {
        flex-direction: column;
    }

    .feature-item:hover {
        transform: none;
        padding-left: 0;
    }
}

/* Loading Animation */
.service-detail {
    will-change: transform, opacity;
}

/* Accessibility Improvements */
.feature-item:focus-within {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
    border-radius: 4px;
}

.process-step:focus-within {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .services-hero {
        background: none;
        color: #2c2c2c;
    }
    
    .service-image,
    .process-step:hover {
        transform: none;
        box-shadow: none;
    }
}