/**
 * Service Pages Stylesheet
 * Ogilvie Dental - Dr. Kohila Kandasamy & Associates
 * 
 * This stylesheet contains all styles for individual service pages
 * including hero sections, content areas, benefits grids, and CTAs.
 */

/* ==========================================================================
   Service Hero Section
   ========================================================================== */

.service-hero {
    padding: calc(140px + 3rem) 0 3rem;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    text-align: center;
}

/* ==========================================================================
   Service Content Section
   ========================================================================== */

.service-content {
    padding: 4rem 0;
}

.service-content p {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.service-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #0A0A0A;
}

.service-content ul {
    font-size: 1.125rem;
    color: #666;
    margin-left: 1.5rem;
}

.service-content ul li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Service Benefits Grid
   ========================================================================== */

.service-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #B6CC23, #8FA518);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

.benefit-card h4 {
    margin-bottom: 1rem;
    color: #0A0A0A;
    font-size: 1.25rem;
    font-weight: 600;
}

.benefit-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    background: #0A0A0A;
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-top: 4rem;
}

.cta-section .section-title {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    color: #E5E5E5;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-outline {
    border-color: white;
    color: white;
}

.cta-section .btn-outline:hover {
    background: white;
    color: #0A0A0A;
}

.cta-section .trust-badges {
    margin-top: 1.5rem;
    color: #E5E5E5;
    font-size: 0.95rem;
}

.cta-section .trust-badges i {
    color: #B6CC23;
}

/* ==========================================================================
   Process Steps (for procedures like root canal)
   ========================================================================== */

.process-steps {
    margin: 3rem 0;
}

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

.step-item {
    margin-bottom: 2rem;
    padding-left: 3rem;
    position: relative;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: #B6CC23;
    color: #0A0A0A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

.step-item h4 {
    margin-bottom: 0.5rem;
    color: #0A0A0A;
    font-size: 1.125rem;
    font-weight: 600;
}

.step-item p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* ==========================================================================
   Comparison Table (for braces vs aligners)
   ========================================================================== */

.comparison-table {
    margin: 3rem 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #E5E5E5;
}

.comparison-table th {
    background: #f9f9f9;
    font-weight: 600;
    color: #0A0A0A;
    font-size: 1rem;
}

.comparison-table td {
    color: #666;
    font-size: 0.95rem;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td strong {
    color: #0A0A0A;
    font-weight: 600;
}

/* ==========================================================================
   New Badge (for new services)
   ========================================================================== */

.new-badge {
    display: inline-block;
    background: #B6CC23;
    color: #0A0A0A;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* ==========================================================================
   CTA Button Group
   ========================================================================== */

.cta-button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Tablet */
@media (max-width: 768px) {
    .service-hero {
        padding: calc(140px + 2rem) 0 2rem;
    }

    .service-content {
        padding: 3rem 0;
    }

    .service-benefits {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .service-hero {
        padding: calc(140px + 1.5rem) 0 1.5rem;
    }

    .service-content {
        padding: 2rem 0;
    }

    .service-benefits {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .cta-section {
        padding: 2.5rem 0;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .cta-button-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cta-button-group .btn {
        width: 100%;
    }

    .step-item {
        padding-left: 2.5rem;
    }

    .step-number {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.9rem;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .service-hero {
        background: white;
        padding: 2rem 0;
    }

    .benefit-card {
        box-shadow: none;
        border: 1px solid #E5E5E5;
    }

    .cta-section {
        background: white;
        color: #0A0A0A;
        border-top: 2px solid #0A0A0A;
    }

    .cta-section .section-title {
        color: #0A0A0A;
    }

    .cta-section p {
        color: #666;
    }
}