/* Service Page Styles */

/* Enhanced Service Hero */
.service-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2A2A2A 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0;
    margin-top: -80px;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,107,0,0.12) 0%, rgba(255,107,0,0.05) 30%, transparent 70%);
    pointer-events: none;
}

.service-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,107,0,0.08) 0%, rgba(255,107,0,0.03) 30%, transparent 70%);
    pointer-events: none;
}

.service-intro {
    position: relative;
    font-size: 1.75rem;
    font-weight: 300;
    max-width: 900px;
    margin: 2.5rem auto 0;
    text-align: center;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    letter-spacing: 0.2px;
    font-family: var(--heading-font);
}

/* Overview Section */
.service-overview {
    padding: 6rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.overview-content {
    max-width: 1100px;
    margin: 0 auto;
}

.overview-content h2 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.overview-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.4rem;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: justify;
    hyphens: auto;
    padding: 0 2rem;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enhanced Service Sections */
.service-section {
    position: relative;
    padding: 7rem 2rem;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.service-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,107,0,0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-section:hover::before {
    opacity: 1;
}

.service-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.service-section:nth-child(even) {
    background: linear-gradient(to right, #2A2A2A 0%, #252525 100%);
}

.service-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    color: rgba(255, 255, 255, 0.9);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
    align-items: center;
}

.service-section:nth-child(even) .service-content {
    direction: rtl;
}

.service-content > * {
    direction: ltr;
}

.service-number {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-family: var(--heading-font);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 2px;
    background: rgba(255,107,0,0.08);
    border: 1px solid rgba(255,107,0,0.2);
}

.service-section:hover .service-number {
    transform: translateX(10px);
    background: rgba(255,107,0,0.2);
}

.service-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: #fff;
    margin: 0.5rem 0 2rem;
    line-height: 1.1;
    letter-spacing: -1px;
    font-family: var(--heading-font);
}

.service-section:hover .service-title {
    transform: translateX(10px);
}

.service-description {
    margin-bottom: 2rem;
}

.service-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.2px;
}

.service-description p {
    margin-bottom: 1.5rem;
}

.service-description p:last-child {
    margin-bottom: 0;
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2.5rem;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.feature-item {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    flex: 1 1 calc(50% - 0.625rem);
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255,107,0,0.1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.feature-item::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: linear-gradient(135deg, rgba(255,107,0,0.1) 0%, rgba(255,107,0,0.05) 50%, transparent 100%);
    border-color: rgba(255,107,0,0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.feature-item:hover::before {
    transform: scale(1.5);
    background: rgba(255,107,0,0.9);
}

.feature-item::before {
    content: '•';
    color: var(--accent-color);
    margin-right: 0.75rem;
    font-size: 1.2rem;
    line-height: 1;
}

.feature-item:hover {
    background: rgba(255, 107, 0, 0.1);
    color: #fff;
    transform: translateX(5px);
}

.feature-list li i {
    color: var(--accent-color);
    margin-right: 12px;
    font-size: 1.1rem;
}

.service-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: perspective(1000px) rotateY(0deg);
    flex: 1;
}

.service-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,107,0,0.2) 0%, transparent 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-image-container:hover {
    transform: perspective(1000px) rotateY(5deg) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.service-image-container:hover::before {
    opacity: 1;
}

.service-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-image-container:hover .service-image {
    transform: scale(1.1);
}

.service-details {
    flex: 1;
    padding: 2rem;
}

.service-number {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding: 0.5rem 1rem;
    background: rgba(255,107,0,0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.service-number:hover {
    background: rgba(255,107,0,0.2);
    transform: translateX(10px);
}

.service-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    transition: transform 0.3s ease;
}

.service-title:hover {
    transform: translateX(10px);
}

.service-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding: 1rem 1.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.feature-list li:hover {
    transform: translateX(10px);
    background: rgba(255,255,255,0.1);
}

.feature-list li:hover::before {
    transform: translateX(5px) scale(1.2);
}

/* Enhanced CTA Section */
.service-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2A2A2A 100%);
    padding: 6rem 0;
    text-align: center;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/cta-pattern.svg') repeat;
    opacity: 0.1;
    animation: moveBackground 20s linear infinite;
}

.service-cta h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.service-cta p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

.cta-button {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 3rem;
    font-size: 1.2rem;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255,107,0,0.3);
    border-color: transparent;
}

.cta-button:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

@keyframes moveBackground {
    0% { background-position: 0 0; }
    100% { background-position: 100% 100%; }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .service-content {
        flex-direction: column;
    }

    .service-image-container {
        margin-bottom: 2rem;
    }

    .service-hero h1 {
        font-size: 2.5rem;
    }

    .service-intro {
        font-size: 1.1rem;
    }

    .service-title {
        font-size: 2rem;
    }

    .packaging .service-title {
        font-size: 2rem;
    }

    .packaging .service-details {
        padding: 2rem;
    }

    .packaging .feature-list {
        grid-template-columns: 1fr;
    }

    .service-cta h2 {
        font-size: 2.5rem;
    }

    .service-cta p {
        font-size: 1.25rem;
    }
}

/* Packaging-specific styles */
.packaging .service-section {
    position: relative;
    padding: 4rem 0;
    background: transparent;
}

.packaging .service-section:nth-child(even) {
    background: transparent;
}

.packaging .service-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.packaging .service-content:nth-child(even) {
    direction: rtl;
}

.packaging .service-details {
    position: relative;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 3rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.packaging .service-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    border-radius: 8px 8px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.packaging .service-details:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    background: rgba(255,255,255,0.03);
}

.packaging .service-details:hover::before {
    transform: scaleX(1);
}

.packaging .service-number {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,107,0,0.08);
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.packaging .service-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 500;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 1rem;
}

.packaging .service-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.packaging .service-details:hover .service-title::after {
    width: 80px;
}

.packaging .service-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.8);
    flex-grow: 1;
}

.packaging .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.packaging .feature-list li {
    position: relative;
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.packaging .feature-list li:last-child {
    border-bottom: none;
}

.packaging .feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.packaging .feature-list li:hover {
    color: #fff;
    padding-left: 1.75rem;
}

.packaging .feature-list li:hover::before {
    transform: translateX(5px);
}

.packaging .service-image-container {
    position: relative;
    height: 100%;
    min-height: 400px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.packaging .service-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,107,0,0.1) 0%, transparent 100%);
}

.packaging .service-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.svg') repeat;
    opacity: 0.1;
    animation: moveBackground 20s linear infinite;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .packaging .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .packaging .service-content:nth-child(even) {
        direction: ltr;
    }

    .packaging .service-image-container {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .service-hero h1 {
        font-size: 2.5rem;
    }

    .service-intro {
        font-size: 1.1rem;
    }

    .packaging .service-title {
        font-size: 1.75rem;
    }

    .packaging .service-details {
        padding: 2rem;
    }

    .packaging .feature-list {
        grid-template-columns: 1fr;
    }

    .service-cta h2 {
        font-size: 2.5rem;
    }

    .service-cta p {
        font-size: 1.25rem;
    }
} 