/* ==========================================================================
   SERVICE PAGES STYLES
   Davis Capture & Creations - 3D Printing & Woodworking Pages
   ========================================================================== */

/* Service Hero Section */
.service-hero {
    padding: 120px 0 80px;
    background-color: var(--color-cream);
    text-align: center;
}

.service-hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-charcoal);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-grey);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 300;
}

/* Logo Sizing (consistent with base styles.css) */
.logo-img {
    height: auto;
    width: 220px;
    max-height: 70px;
}

.footer-logo img {
    height: auto;
    width: 220px;
    max-height: 70px;
    opacity: 0.9;
}

/* Video Section */
.video-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-white);
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto var(--spacing-md);
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: var(--color-beige);
    border-radius: 4px;
    box-shadow: var(--shadow-md);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Placeholder (for when video isn't ready yet) */
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--color-beige);
    padding: var(--spacing-lg);
}

.video-placeholder p {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-charcoal);
    margin-bottom: var(--spacing-sm);
}

.placeholder-note {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-grey);
    text-align: center;
    max-width: 400px;
}

.video-caption {
    text-align: center;
    font-size: 1rem;
    color: var(--color-grey);
    font-style: italic;
}

/* Offerings Section */
.offerings-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-beige);
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.offering-item {
    background-color: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
}

.offering-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.offering-item h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-charcoal);
}

.offering-item p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-grey);
    margin: 0;
}

/* Product Gallery Section */
.product-gallery-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.product-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
}

.product-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

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

.product-caption {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--color-grey);
    margin-top: var(--spacing-sm);
    font-style: italic;
}

/* Materials Section (Woodworking specific) */
.materials-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-cream);
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.material-item {
    background-color: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.material-item h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-charcoal);
}

.material-item p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-grey);
    margin: 0;
}

/* Process Section */
.process-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-beige);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.process-step {
    background-color: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition-medium);
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent-rose);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 500;
    border-radius: 50%;
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-charcoal);
}

.process-step p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-grey);
    margin: 0;
}

/* Section Divider */
.section-divider {
    width: 80px;
    height: 1px;
    background-color: var(--color-light-grey);
    margin: 0 auto var(--spacing-lg);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .service-hero {
        padding: 100px 0 60px;
    }
    
    .service-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    /* Offerings Grid */
    .offerings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Materials Grid */
    .materials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Process Steps */
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .service-hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Offerings Grid */
    .offerings-grid {
        grid-template-columns: 1fr;
    }
    
    .offering-item {
        padding: var(--spacing-md);
    }
    
    /* Product Grid */
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-item img {
        height: 300px;
    }
    
    /* Process Steps */
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        padding: var(--spacing-md);
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
