/*
* Apple-Level Refinements
* Perfecting every detail for Apple-quality presentation
* Version: 1.0.0
*/

/* ==========================================================================
   Service Section Layout Perfection
   ========================================================================== */

.service-section {
    padding: 6rem 0;
}

.service-section-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* Ensure service details are perfectly aligned */
.service-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-title {
    margin-bottom: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.service-description {
    margin-bottom: 2rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
}

/* Feature list spacing */
.feature-list {
    margin-top: 1.5rem;
    margin-bottom: 0;
}

/* ==========================================================================
   Image Container Perfection
   ========================================================================== */

.service-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-image-container:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    transform: translateY(-4px);
}

.service-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ==========================================================================
   Feature List Perfect Spacing
   ========================================================================== */

ul.feature-list,
.feature-list ul {
    margin: 1.5rem 0 0 0;
    padding: 0;
}

ul.feature-list li:last-child,
.feature-list li:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Service Number Styling
   ========================================================================== */

.service-number {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(255, 107, 0, 0.2);
}

/* ==========================================================================
   Grid Layout Perfection
   ========================================================================== */

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

.service-card {
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   Text Hierarchy
   ========================================================================== */

h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    line-height: 1.7;
    font-weight: 400;
}

/* ==========================================================================
   Button Perfection
   ========================================================================== */

.cta-button,
.purchase-btn {
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Responsive Perfection
   ========================================================================== */

@media (max-width: 1024px) {
    .service-content {
        gap: 3rem;
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1.25rem;
    }
    
    .service-image {
        min-height: 300px;
        max-height: 400px;
    }
    
    .service-section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .service-section {
        padding: 3rem 0;
    }
    
    .service-content {
        padding: 0 1rem;
    }
    
    .service-image {
        min-height: 250px;
        max-height: 350px;
    }
}

