/* =============================================
   manicure.css — page-specific styles
   ============================================= */

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

.service-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    z-index: 0;
}

.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
    z-index: 1;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 100px var(--horizontal-padding) 70px;
    max-width: 900px;
    width: 100%;
}

.service-hero-eyebrow {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.service-hero-content h1 {
    font-family: TenorSans, serif;
    font-size: 58px;
    color: white;
    margin-bottom: 20px;
    line-height: 1.15;
}

.service-hero-content p {
    font-family: TenorSans, serif;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Breadcrumbs */
.breadcrumb-bar {
    background: white;
    border-bottom: 1px solid rgba(178, 135, 75, 0.15);
}

.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px var(--horizontal-padding);
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb a {
    color: var(--main-color);
    text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

.breadcrumb-sep { color: #ccc; }

/* Intro section */
.service-intro-section {
    border-top: 4px solid rgba(178, 135, 75, 0.3);
    padding: 64px 0;
}

.service-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.service-intro-text h2 {
    font-family: TenorSans, serif;
    font-size: 34px;
    color: var(--main-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.service-intro-text p {
    font-size: 16px;
    color: #444;
    line-height: 1.85;
    margin-bottom: 18px;
}

.service-intro-image img {
    width: 100%;
    border-radius: 4px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    display: block;
}

/* Benefits */
.benefits-section {
    border-top: 4px solid rgba(178, 135, 75, 0.3);
    padding: 64px 0;
    background: white;
}

.section-heading {
    font-family: TenorSans, serif;
    font-size: 34px;
    color: var(--main-color);
    border-bottom: 1px solid rgba(178, 135, 75, 0.3);
    padding-bottom: 6px;
    margin-bottom: 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.benefit-card {
    text-align: center;
    padding: 36px 24px;
    border: 1px solid rgba(178, 135, 75, 0.2);
    background: var(--main-background);
    transition: box-shadow 200ms;
}

.benefit-card:hover {
    box-shadow: 0 4px 20px rgba(159, 109, 10, 0.1);
}

.benefit-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-family: TenorSans, serif;
    font-size: 20px;
    color: var(--main-color);
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.75;
}

/* Price list on SEO page (no tabs) */
.seo-price-section {
    border-top: 4px solid rgba(178, 135, 75, 0.3);
    padding: 64px 0;
}

.seo-price-section h2 {
    font-family: TenorSans, serif;
    font-size: 34px;
    color: var(--main-color);
    border-bottom: 1px solid rgba(178, 135, 75, 0.3);
    padding-bottom: 6px;
}

/* Gallery */
.gallery-section {
    border-top: 4px solid rgba(178, 135, 75, 0.3);
    padding: 64px 0;
}

.gallery-section h2 {
    font-family: TenorSans, serif;
    font-size: 34px;
    color: var(--main-color);
    border-bottom: 1px solid rgba(178, 135, 75, 0.3);
    padding-bottom: 6px;
    margin-bottom: 12px;
}

.gallery-subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 36px;
}

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

.gallery-grid a {
    display: block;
    overflow: hidden;
    border-radius: 3px;
    position: relative;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: transform 350ms ease;
}

.gallery-grid a:hover img { transform: scale(1.05); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(159, 109, 10, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 300ms;
}

.gallery-overlay svg {
    opacity: 0;
    transition: opacity 300ms;
    width: 40px;
    height: 40px;
    color: white;
}

.gallery-grid a:hover .gallery-overlay { background: rgba(0, 0, 0, 0.35); }
.gallery-grid a:hover .gallery-overlay svg { opacity: 1; }

/* FAQ */
.faq-section {
    border-top: 4px solid rgba(178, 135, 75, 0.3);
    padding: 64px 0;
    background: white;
}

.faq-section h2 {
    font-family: TenorSans, serif;
    font-size: 34px;
    color: var(--main-color);
    border-bottom: 1px solid rgba(178, 135, 75, 0.3);
    padding-bottom: 6px;
    margin-bottom: 40px;
}

.faq-list { display: flex; flex-direction: column; gap: 16px; }

.faq-item {
    border: 1px solid rgba(178, 135, 75, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: TenorSans, serif;
    font-size: 18px;
    color: var(--main-color);
    text-align: left;
    transition: background 200ms;
}

.faq-question:hover { background: rgba(178, 135, 75, 0.05); }

.faq-question.open { background: rgba(178, 135, 75, 0.07); }

.faq-icon {
    font-size: 22px;
    color: var(--main-color);
    transition: transform 250ms;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-question.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 350ms ease, padding 350ms ease;
    padding: 0 24px;
    font-size: 16px;
    color: #444;
    line-height: 1.8;
}

.faq-answer.open {
    max-height: 300px;
    padding: 24px 24px 20px;
}

/* Related categories */
.related-categories-section {
    border-top: 4px solid rgba(178, 135, 75, 0.3);
    padding: 64px 0;
}

.related-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 20px 0 8px;
}

@media (max-width: 992px) {
    .related-cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    .related-cards-wrapper .service-card {
        grid-column: span 1;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .service-hero-content h1 { font-size: 36px; }
    .service-hero-content p { font-size: 16px; }
    .service-intro-grid { grid-template-columns: 1fr; gap: 32px; }
    .benefits-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .section-heading,
    .service-intro-text h2,
    .gallery-section h2,
    .seo-price-section h2,
    .faq-section h2 { font-size: 26px; }
}

@media (max-width: 576px) {
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid img {
        aspect-ratio: 3 / 2;
    }
    .gallery-grid a:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}
