/* Service Page Specific Styles */

/* Service Hero */
.service-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    overflow: hidden;
    margin-top: 80px;
}

.service-hero .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.service-breadcrumb {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.service-breadcrumb a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.service-breadcrumb a:hover {
    opacity: 0.8;
}

.service-hero .hero-title {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.service-hero .hero-subtitle {
    color: var(--gray-200);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.service-hero .hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon-container {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 215, 0, 0.3);
    animation: serviceIconFloat 4s ease-in-out infinite;
}

.service-icon-container i {
    font-size: 5rem;
    color: var(--primary-gold);
}

@keyframes serviceIconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* Service Introduction */
.service-intro {
    padding: 6rem 0;
    background: var(--white);
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 {
    color: var(--dark-bg);
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

.intro-text p {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.intro-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-family: 'ivymode', -apple-system, BlinkMacSystemFont, sans-serif;
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Service Benefits */
.service-benefits {
    padding: 6rem 0;
    background: var(--gray-100);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.benefit-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
}

.benefit-card:hover::before {
    width: 100%;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--dark-bg);
}

.benefit-card h4 {
    color: var(--dark-bg);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Service Process */
.service-process {
    padding: 6rem 0;
    background: var(--white);
}

.process-timeline {
    margin-top: 4rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-gold);
}

.process-step {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 120px;
}

.step-number {
    position: absolute;
    left: 20px;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-bg);
    font-family: 'ivymode', -apple-system, BlinkMacSystemFont, sans-serif;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--primary-gold);
    z-index: 2;
}

.step-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
    transition: transform 0.3s ease;
}

.step-content:hover {
    transform: translateY(-5px);
}

.step-content h4 {
    color: var(--dark-bg);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.step-content p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-details {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.step-details li {
    color: var(--gray-600);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.step-details li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-size: 0.8rem;
}

/* Portfolio Section */
.portfolio-section {
    padding: 6rem 0;
    background: var(--gray-100);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.portfolio-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-image {
    position: relative;
    height: 250px;
    background: var(--gradient-dark);
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    gap: 1rem;
}

.image-placeholder i {
    font-size: 3rem;
}

.image-placeholder span {
    font-size: 1.1rem;
    font-weight: 500;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.9);
    color: var(--white);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.portfolio-overlay p {
    color: var(--gray-200);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.portfolio-tags span {
    background: var(--primary-gold);
    color: var(--dark-bg);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Technologies Section */
.technologies-section {
    padding: 6rem 0;
    background: var(--white);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.tech-category {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
    text-align: center;
}

.tech-category h4 {
    color: var(--dark-bg);
    margin-bottom: 2rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 1rem;
}

.tech-category h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-gold);
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-item:hover {
    background: var(--gray-100);
    transform: translateY(-3px);
}

.tech-item i {
    font-size: 2rem;
    color: var(--primary-gold);
}

.tech-item span {
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Service CTA */
.service-cta {
    padding: 6rem 0;
    background: var(--gradient-dark);
    text-align: center;
}

.service-cta .cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.service-cta .cta-content p {
    color: var(--gray-200);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary-gold);
    font-size: 0.95rem;
    font-weight: 500;
}

.cta-guarantee i {
    font-size: 1.1rem;
}

/* Active service link in dropdown */
.active-service {
    background: var(--primary-gold) !important;
    color: var(--dark-bg) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-hero {
        min-height: 60vh;
        padding: 2rem 0;
    }
    
    .service-hero .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .service-hero .hero-cta {
        justify-content: center;
    }
    
    .service-icon-container {
        width: 150px;
        height: 150px;
    }
    
    .service-icon-container i {
        font-size: 3.5rem;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .intro-stats {
        flex-direction: row;
        overflow-x: auto;
        gap: 1rem;
    }
    
    .stat-item {
        min-width: 200px;
        padding: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .process-step {
        padding-left: 80px;
    }
    
    .step-number {
        left: 0;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-details {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-hero .hero-title {
        font-size: 2rem;
    }
    
    .service-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .intro-text h2 {
        font-size: 1.8rem;
    }
    
    .intro-text p {
        font-size: 1rem;
    }
    
    .stat-item {
        min-width: 150px;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .benefit-card {
        padding: 2rem;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
    }
    
    .benefit-icon i {
        font-size: 1.5rem;
    }
    
    .step-content {
        padding: 2rem;
    }
    
    .tech-category {
        padding: 2rem;
    }
    
    .tech-items {
        grid-template-columns: 1fr;
    }
    
    .service-cta .cta-content h2 {
        font-size: 2rem;
    }
    
    .service-cta .cta-content p {
        font-size: 1rem;
    }
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.benefit-card {
    animation: fadeInUp 0.6s ease forwards;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:nth-child(5) { animation-delay: 0.5s; }
.benefit-card:nth-child(6) { animation-delay: 0.6s; }

.process-step {
    animation: fadeInUp 0.6s ease forwards;
}

.process-step:nth-child(1) { animation-delay: 0.2s; }
.process-step:nth-child(2) { animation-delay: 0.4s; }
.process-step:nth-child(3) { animation-delay: 0.6s; }
.process-step:nth-child(4) { animation-delay: 0.8s; }

.portfolio-item {
    animation: fadeInUp 0.6s ease forwards;
}

.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.3s; }
.portfolio-item:nth-child(4) { animation-delay: 0.4s; }
