/* ===================================================
   Service & Warranty Page Styles
   =================================================== */

/* Service Hero Section */
.service-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.service-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.service-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 2rem;
}

.service-hero-subtitle {
    display: inline-block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary, #B8860B);
    margin-bottom: 1rem;
}

.service-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.service-hero-description {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.warranty-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-primary, #B8860B), var(--color-accent, #E5C100));
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
}

.warranty-badge svg {
    flex-shrink: 0;
}

/* Warranty Highlights Section */
.warranty-highlights {
    padding: 5rem 0;
    background: var(--color-background-alt, #f8f8f8);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.highlight-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--color-border-light, #eee);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1), rgba(229, 193, 0, 0.1));
    border-radius: 50%;
    color: var(--color-primary, #B8860B);
}

.highlight-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-secondary, #1a1a1a);
}

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

/* Warranty Terms Section */
.warranty-terms {
    padding: 5rem 0;
}

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

.terms-card {
    padding: 2.5rem;
    border-radius: 16px;
    background: #fff;
}

.terms-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.terms-card.covered {
    border: 2px solid var(--color-success, #4CAF50);
}

.terms-card.covered h3 {
    color: var(--color-success, #4CAF50);
}

.terms-card.not-covered {
    border: 2px solid var(--color-error, #F44336);
}

.terms-card.not-covered h3 {
    color: var(--color-error, #F44336);
}

.coverage-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.coverage-list li {
    position: relative;
    padding: 0.75rem 0 0.75rem 1.75rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #444;
}

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

.coverage-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.terms-card.covered .coverage-list li::before {
    background: var(--color-success, #4CAF50);
}

.terms-card.not-covered .coverage-list li::before {
    background: var(--color-error, #F44336);
}

/* Claim Process Section */
.claim-process {
    padding: 5rem 0;
    background: var(--color-background-alt, #f8f8f8);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 3rem auto 0;
}

.process-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary, #B8860B), var(--color-accent, #E5C100));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Cormorant Garamond', serif;
}

.step-content {
    flex: 1;
    padding-top: 0.5rem;
}

.step-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-secondary, #1a1a1a);
}

.step-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.step-content .btn {
    margin-top: 0.5rem;
}

/* Service Partners Section */
.service-partners {
    padding: 5rem 0;
}

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

.partner-card {
    text-align: center;
    padding: 3rem 2rem;
    background: #fff;
    border: 1px solid var(--color-border-light, #eee);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.partner-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-primary, #B8860B);
    margin-bottom: 1rem;
}

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

/* FAQ Accordion Section */
.warranty-faq {
    padding: 5rem 0;
    background: var(--color-background-alt, #f8f8f8);
}

.faq-accordion {
    max-width: 800px;
    margin: 3rem auto 0;
}

.accordion-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-secondary, #1a1a1a);
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.accordion-trigger:hover {
    background: #f9f9f9;
}

.accordion-trigger span {
    flex: 1;
    padding-right: 1rem;
}

.accordion-icon {
    flex-shrink: 0;
    color: var(--color-primary, #B8860B);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    display: none;
    padding: 0 1.5rem 1.5rem;
}

.accordion-item.active .accordion-content {
    display: block;
}

.accordion-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* Service CTA Section */
.service-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-secondary, #1a1a1a), #333);
}

.service-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.service-cta-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.service-cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

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

.service-cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-cta-buttons .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.service-cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* ===================================================
   Responsive Styles
   =================================================== */

@media (max-width: 1024px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .service-hero {
        min-height: 400px;
    }

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

    .service-hero-description {
        font-size: 1rem;
    }

    .warranty-badge {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

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

    .highlight-card {
        padding: 2rem 1.5rem;
    }

    .terms-grid {
        grid-template-columns: 1fr;
    }

    .terms-card {
        padding: 2rem;
    }

    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-content {
        padding-top: 0;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .partner-card {
        padding: 2rem 1.5rem;
    }

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

    .service-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .service-cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-hero-title {
        font-size: 2rem;
    }

    .service-hero-subtitle {
        font-size: 1rem;
    }

    .warranty-highlights,
    .warranty-terms,
    .claim-process,
    .service-partners,
    .warranty-faq,
    .service-cta {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .accordion-trigger {
        padding: 1.25rem;
        font-size: 1rem;
    }

    .accordion-content {
        padding: 0 1.25rem 1.25rem;
    }
}
