/* =============================================================
   veneers.css — Service details page styles
   Extends: css/index.css (shared design system)
   ============================================================= */

/* ── Layout & Sections ──────────────────────────────────────── */
.veneers-intro-section,
.veneers-about-section,
.veneers-comparison-section,
.veneers-process-section,
.veneers-gallery-section,
.veneers-team-section,
.veneers-faqs-section,
.veneers-bottom-cta {
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

/* Alternate backgrounds for professional structure */
.veneers-intro-section,
.veneers-comparison-section,
.veneers-gallery-section,
.veneers-faqs-section {
    background-color: var(--bg-white);
}

.veneers-about-section,
.veneers-process-section,
.veneers-team-section,
.veneers-bottom-cta {
    background-color: var(--bg-light);
}

/* Grid layout for two-column alignment */
.veneers-grid {
    display: grid;
    grid-template-columns: 33.33333333% 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Class to reverse image/text sides */
.veneers-grid.reverse-grid {
    grid-template-columns: 1fr 33.33333333%;
}
.reverse-grid {
    direction: ltr;
}
.reverse-grid > *:first-child {
    order: 2;
}

/* ── Typography & Tags ──────────────────────────────────────── */
.section-tag {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.veneers-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.highlight-lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.veneers-text-col p {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    opacity: 0.85;
    margin-bottom: 1.2rem;
}

.veneers-text-col p:last-child {
    margin-bottom: 0;
}

.veneers-cta-btn {
    padding: 1rem 2.5rem;
    display: inline-block;
    margin-top: 1rem;
}

/* ── Media Containers (Images) ──────────────────────────────── */
.veneers-image-col {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    background-color: var(--bg-white);
    aspect-ratio: 4 / 5;
    display: flex;
}

.veneers-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Checkmark Lists ────────────────────────────────────────── */
.checkmark-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.checkmark-list li {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.checkmark-icon {
    font-size: 1.1rem;
    color: var(--primary-color);
    background-color: rgba(150, 178, 174, 0.15);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkmark-list li strong {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.2rem;
}

.checkmark-list li p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.85;
}

.list-intro-label {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* ── Comparison Cards Section ────────────────────────────────── */
.veneers-comparison-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.veneers-comparison-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.veneers-comparison-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.comparison-summary-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
}

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

.comparison-card {
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(150, 178, 174, 0.15);
    box-shadow: var(--shadow-subtle);
    position: relative;
}

.comp-card-badge {
    background-color: var(--primary-color);
    color: var(--bg-white);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.comparison-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.8rem;
}

.comparison-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.comparison-details-list li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.bullet-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 8px;
}

/* ── Process Section ────────────────────────────────────────── */
.veneers-process-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.veneers-process-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.veneers-process-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.process-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.process-detail-item {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(150, 178, 174, 0.1);
    box-shadow: var(--shadow-subtle);
}

.process-item-title-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.process-bullet-num {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    background-color: rgba(150, 178, 174, 0.15);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.process-detail-item h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
}

.process-detail-item p {
    font-family: var(--font-body);
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-dark);
    opacity: 0.85;
    margin: 0;
}

/* ── Gallery Section ────────────────────────────────────────── */
.veneers-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.veneers-gallery-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.veneers-gallery-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.gallery-card {
    background-color: var(--bg-light);
    border-radius: 16px;
    border: 1px solid rgba(150, 178, 174, 0.15);
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.gallery-comparison {
    display: flex;
    border-bottom: 1px solid rgba(150, 178, 174, 0.15);
}

.comparison-image-wrapper {
    width: 50%;
    position: relative;
    aspect-ratio: 4 / 3;
}

.comparison-image-wrapper:first-child {
    border-right: 1px solid rgba(150, 178, 174, 0.15);
}

.comparison-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.comparison-label {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.75rem;
    font-family: var(--font-body);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.gallery-card-info {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gallery-card-info h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
}

.gallery-card-info p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-dark);
    opacity: 0.85;
    margin: 0;
}

/* ── Team Photo Section Adjustment ────────────────────────────── */
.team-group-col {
    aspect-ratio: 3 / 2;
}

/* ── FAQs Accordion Section ───────────────────────────────────── */
.veneers-faqs-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.veneers-faqs-header {
    text-align: center;
    margin-bottom: 4rem;
}

.veneers-faqs-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-accordion-item {
    background-color: var(--bg-light);
    border-radius: 12px;
    border: 1px solid rgba(150, 178, 174, 0.1);
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
}

.faq-accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: background-color 0.3s ease;
}

.faq-accordion-trigger:hover {
    background-color: rgba(150, 178, 174, 0.05);
}

.accordion-icon {
    font-size: 1rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-accordion-content {
    padding: 0 2rem 1.8rem;
}

.faq-accordion-content p {
    font-family: var(--font-body);
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-dark);
    opacity: 0.85;
    margin: 0;
}

/* Open states */
.faq-accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.faq-accordion-item.active .faq-accordion-panel {
    max-height: 500px;
}

/* ── Bottom CTA ─────────────────────────────────────────────── */
.veneers-bottom-cta {
    text-align: center;
}

.veneers-bottom-cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.veneers-bottom-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.veneers-bottom-cta p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.veneers-bottom-cta p:last-of-type {
    margin-bottom: 2.5rem;
}

/* ── Responsive Adaptations ─────────────────────────────────── */
@media (max-width: 992px) {
    .veneers-grid {
        gap: 3.5rem;
    }
    .comparison-cards-grid {
        gap: 2rem;
    }
    .process-list-grid {
        gap: 2rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .veneers-intro-section,
    .veneers-about-section,
    .veneers-comparison-section,
    .veneers-process-section,
    .veneers-gallery-section,
    .veneers-team-section,
    .veneers-faqs-section,
    .veneers-bottom-cta {
        padding: 5rem 0;
    }

    .veneers-grid,
    .veneers-grid.reverse-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .reverse-grid > *:first-child {
        order: 0;
    }

    /* Stack order override configs: text first, visual columns second on mobile */
    .veneers-about-section .veneers-grid,
    .veneers-team-section .veneers-grid {
        display: flex;
        flex-direction: column;
    }

    .veneers-about-section .veneers-text-col,
    .veneers-team-section .veneers-text-col {
        order: 1;
    }

    .veneers-about-section .veneers-image-col,
    .veneers-team-section .veneers-image-col {
        order: 2;
    }

    .veneers-image-col {
        aspect-ratio: 4 / 3;
        width: 100%;
    }

    .veneers-text-col {
        text-align: center;
    }

    .checkmark-list {
        text-align: center;
    }

    .checkmark-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.8rem;
    }

    .comparison-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .comparison-card {
        padding: 2rem;
    }

    .process-list-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-detail-item {
        padding: 2rem;
        text-align: center;
    }

    .process-item-title-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .comparison-card {
        text-align: center;
    }

    .comparison-details-list li {
        justify-content: center;
        text-align: center;
    }

    .comparison-details-list li .bullet-dot {
        display: none;
    }

    .faq-accordion-trigger {
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
        gap: 0.8rem;
        padding: 1.2rem 1.5rem;
        font-size: 1.05rem;
    }

    .faq-accordion-content {
        text-align: center;
        padding: 0 1.5rem 1.5rem;
    }
}
