/* Products & Services Page Specific Styles */

/* Hero Section - Clean rebuild */
.contact-hero {
    position: relative;
    height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent !important;
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: transparent !important;
}

.contact-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    opacity: 1 !important;
    display: block;
    z-index: 1;
}

.contact-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
    pointer-events: none;
}

.contact-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    width: 90vw;
    margin: 0 auto;
}

.contact-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: white !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-hero {
        height: 24vh;
    }
    
    .contact-hero-title {
        font-size: 2rem;
    }
    
    .contact-hero-content {
        width: 95vw;
    }
    
    .services-section {
        padding-top: 50px !important;
        padding-bottom: 2rem;
    }
    
    .services-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .service-category {
        margin-bottom: 2rem;
    }
    
    .service-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-content-wrapper {
        padding: 0;
        width: 100%;
    }
    
    .process .container {
        max-width: 90% !important;
    }
}

.services-section {
    padding: 6rem 0 4rem;
}

.services-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.services-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin-bottom: 6rem;
}

.service-grid-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    transition: transform 0.3s ease;
}

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

.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.service-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.service-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.service-grid-item:hover .service-overlay img {
    transform: scale(1.1);
}

.service-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 3rem 2rem 2rem;
    color: white;
}

.service-grid-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.service-grid-description {
    font-size: 0.95rem;
    opacity: 0.9;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    line-height: 1.4;
    margin: 0;
}

/* Service Detail Pages */
.service-detail {
    padding: 6rem 0 4rem;
}

.service-content-wrapper {
    max-width: 95%;
    margin: 0 auto;
}

.service-content-wrapper h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.service-content-wrapper p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
    text-align: justify;
}

/* Service Gallery */
.service-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.service-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-gallery-item:hover img {
    transform: scale(1.05);
}

/* Service Categories */
.service-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.service-category {
    background: var(--accent-color);
    overflow: hidden;
}

.category-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.category-content {
    padding: 2rem;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-description {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-item {
    padding: 0.5rem 0;
    color: var(--secondary-color);
    position: relative;
    padding-left: 1.5rem;
}

.service-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.category-cta {
    background: var(--primary-color);
    color: var(--accent-color);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all var(--transition-smooth);
}

.category-cta:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Featured Projects */
.featured-projects {
    background: #f8f9fa;
    padding: 4rem 0;
    margin: 4rem 0;
    border-radius: var(--border-radius);
}

.projects-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--accent-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: transform var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.project-description {
    color: var(--secondary-color);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Section Title - Global Style */
.section-title {
    font-size: 5rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 20px;
    color: #000;
}

/* Process Section - Match Home Page Styling */
.process {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.process .container {
    max-width: 95%;
    margin: 0 auto;
}

.process .section-title {
    margin-bottom: 4rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.process-step {
    text-align: left;
    padding: 3rem 2rem;
    background: white;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.step-number {
    position: absolute;
    top: 10%;
    right: 0;
    width: 100%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10rem;
    font-weight: 900;
    color: #e5e5e5;
    z-index: 1;
    pointer-events: none;
}

.step-icon {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.step-icon svg {
    color: #333333;
    width: 28px;
    height: 28px;
}

.step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1rem;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.step-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #333333;
    text-align: left;
    position: relative;
    z-index: 2;
}

/* Quality Standards */
.quality-section {
    background: var(--primary-color);
    color: var(--accent-color);
    padding: 4rem 0;
    margin: 4rem 0;
    border-radius: var(--border-radius);
}

.quality-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.quality-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.quality-feature {
    text-align: center;
    padding: 1.5rem;
}

.quality-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.quality-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.quality-feature p {
    opacity: 0.8;
    line-height: 1.5;
}

/* Pricing Section */
.pricing-section {
    margin: 4rem 0;
}

.pricing-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pricing-subtitle {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-info {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.pricing-cta {
    background: var(--primary-color);
    color: var(--accent-color);
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 2rem;
    transition: all var(--transition-smooth);
}

.pricing-cta:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }
    
    .service-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
    
    .service-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 5px;
        margin-bottom: 4rem;
    }
    
    .service-grid-item {
        aspect-ratio: 16/10;
    }
    
    .service-overlay-content {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .service-grid-title {
        font-size: 1.3rem;
    }
    
    .service-grid-description {
        font-size: 0.9rem;
    }
    
    .services-title {
        font-size: 2rem;
    }
    
    /* Service Detail Mobile */
    .service-detail {
        padding: 4rem 0 3rem;
    }
    
    .service-content-wrapper {
        padding: 0;
        width: 100%;
    }
    
    .service-content-wrapper h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .service-content-wrapper p {
        font-size: 1rem;
        line-height: 1.6;
        text-align: left;
    }
    
    .service-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process {
        padding: 60px 0;
    }
    
    .process .section-title {
        margin-bottom: 3rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-step {
        padding: 2rem 1.5rem;
    }
    
    .step-number {
        font-size: 8rem;
    }
    
    .step-title {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .quality-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .process-step {
        padding: 1.5rem 1rem;
    }
    
    .step-number {
        font-size: 6rem;
    }
}