/* ==========================================
   Inner Pages — Hero, Nav, Pricing, Layout
   ========================================== */

/* ---- Page Hero Banner ---- */
.page-hero,
.about-hero,
.pricing-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 140px 20px 90px;
    overflow: hidden;
    isolation: isolate;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background: center / cover no-repeat;
    z-index: 0;
}

.page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(52, 32, 41, 0.82) 0%,
        rgba(148, 48, 88, 0.62) 50%,
        rgba(52, 32, 41, 0.78) 100%
    );
    z-index: 1;
}

/* Legacy hero classes without page-hero-bg child */
.about-hero:not(:has(.page-hero-bg)),
.pricing-hero:not(:has(.page-hero-bg)) {
    background: center / cover no-repeat;
    background-image: url('../img/banner/banner-1.jpg');
}

.about-hero:not(:has(.page-hero-bg))::before,
.pricing-hero:not(:has(.page-hero-bg))::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(52, 32, 41, 0.82) 0%,
        rgba(148, 48, 88, 0.62) 50%,
        rgba(52, 32, 41, 0.78) 100%
    );
    z-index: 1;
}

.about-hero:has(.page-hero-bg),
.pricing-hero:has(.page-hero-bg) {
    background: none;
}

.page-hero-content,
.about-hero .container,
.pricing-hero .container {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.page-hero h1,
.about-hero h1,
.pricing-hero h1 {
    color: var(--white) !important;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 16px;
    line-height: 1.2;
}

.page-hero p,
.about-hero p,
.pricing-hero p {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    max-width: 640px;
    margin: 0 auto;
}

.page-hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

/* ---- Hero phone highlight ---- */
.hero-phone-highlight {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #fdf5f7 100%);
    color: var(--primary);
    font-weight: 600;
    font-size: clamp(1rem, 2.8vw, 1.3rem);
    padding: 14px 32px;
    border-radius: 50px;
    margin-bottom: 22px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28), 0 0 0 3px rgba(232, 150, 122, 0.45);
    text-decoration: none;
    transition: var(--transition);
    animation: heroPhoneGlow 2.5s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.hero-phone-highlight:hover {
    transform: translateY(-3px) scale(1.03);
    color: var(--primary);
    box-shadow: 0 12px 40px rgba(148, 48, 88, 0.35), 0 0 0 4px var(--secondary);
}

.hero-phone-highlight i {
    font-size: 1.15em;
    color: var(--secondary);
    animation: phoneShake 3s ease-in-out infinite;
}

.hero-phone-highlight strong {
    font-weight: 800;
    font-size: 1.08em;
    letter-spacing: 0.5px;
    color: var(--primary);
}

@keyframes heroPhoneGlow {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28), 0 0 0 3px rgba(232, 150, 122, 0.45);
    }
    50% {
        box-shadow: 0 10px 36px rgba(148, 48, 88, 0.4), 0 0 0 6px rgba(232, 150, 122, 0.3);
    }
}

@keyframes phoneShake {
    0%, 100% { transform: rotate(0); }
    10% { transform: rotate(-12deg); }
    20% { transform: rotate(12deg); }
    30% { transform: rotate(-8deg); }
    40% { transform: rotate(0); }
}

.home-hero .hero-phone-highlight {
    animation-delay: 0.5s;
}

/* Generic subpage heroes (custom-hero, fabric-hero, etc.) */
.custom-hero,
.fabric-hero,
.design-hero,
.bridal-hero,
.alterations-hero {
    position: relative;
    text-align: center;
    padding: 160px 20px 90px;
    color: var(--white);
    background: center / cover no-repeat;
    background-image: url('../img/banner/banner-1.jpg');
    overflow: hidden;
}

.custom-hero::before,
.fabric-hero::before,
.design-hero::before,
.bridal-hero::before,
.alterations-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(52, 32, 41, 0.82) 0%, rgba(148, 48, 88, 0.62) 50%, rgba(52, 32, 41, 0.78) 100%);
    z-index: 0;
}

.custom-hero .container,
.fabric-hero .container,
.design-hero .container,
.bridal-hero .container,
.alterations-hero .container {
    position: relative;
    z-index: 2;
}

.custom-hero h1,
.fabric-hero h1,
.design-hero h1,
.bridal-hero h1,
.alterations-hero h1 {
    color: var(--white) !important;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 16px;
}

.custom-hero p,
.fabric-hero p,
.design-hero p,
.bridal-hero p,
.alterations-hero p {
    color: rgba(255, 255, 255, 0.92) !important;
    max-width: 640px;
    margin: 0 auto 20px;
}

/* ---- Header & Mobile Nav ---- */
.header-glass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
}

.nav-container {
    position: relative;
}

.mobile-menu-btn {
    background: none;
    border: none;
    padding: 8px;
    line-height: 1;
    color: var(--primary);
    font-size: 24px;
    cursor: pointer;
}

.site-mobile-nav {
    background: var(--light);
    border-left: 1px solid rgba(148, 48, 88, 0.08);
    max-width: 320px;
}

.site-mobile-nav .offcanvas-header {
    border-bottom: 1px solid rgba(148, 48, 88, 0.08);
    padding: 20px;
}

.site-mobile-nav .btn-close {
    opacity: 0.6;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    border-bottom: 1px solid rgba(148, 48, 88, 0.06);
}

.mobile-nav-list a {
    display: block;
    padding: 14px 4px;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
}

.mobile-nav-list a.active,
.mobile-nav-list a:hover {
    color: var(--primary);
}

/* ---- Pricing Page ---- */
.pricing-section {
    padding: 70px 0 90px;
}

.pricing-disclaimer {
    background: var(--white);
    padding: 24px 28px;
    border-radius: var(--radius-md);
    margin-bottom: 40px;
    text-align: center;
    border: 1px solid rgba(148, 48, 88, 0.08);
    box-shadow: var(--shadow-sm);
    color: var(--text-muted);
}

.pricing-disclaimer a {
    color: var(--primary);
    font-weight: 600;
}

.pricing-categories {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.pricing-category h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
}

.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(148, 48, 88, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--white);
}

.pricing-table th {
    background: linear-gradient(135deg, var(--primary), hsl(338, 45%, 48%));
    color: var(--white);
    padding: 16px 24px;
    font-weight: 600;
    text-align: left;
}

.pricing-table td {
    padding: 14px 24px;
    border-bottom: 1px solid rgba(148, 48, 88, 0.06);
}

.pricing-table tr:nth-child(even) td {
    background: var(--light);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.price-tag {
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

/* ---- CTA & trust sections ---- */
.hero-cta-section,
.pricing-cta {
    background:
        linear-gradient(135deg, rgba(52, 32, 41, 0.88), rgba(148, 48, 88, 0.8)),
        url('../img/cta-bg.jpg') center / cover no-repeat;
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.hero-cta-section h2,
.pricing-cta h2 {
    color: var(--white) !important;
}

.pricing-cta .btn-boutique,
.hero-cta-section .btn-boutique {
    margin-top: 8px;
}

.trust-features {
    padding: 60px 0;
    background: var(--white);
}

.trust-feature {
    text-align: center;
    padding: 24px 16px;
}

.trust-feature i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.trust-feature h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 6px;
}

.trust-feature p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ---- About page ---- */
.about-section {
    padding: 80px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(148, 48, 88, 0.06);
    transition: var(--transition);
}

.about-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.about-feature-icon {
    flex: 0 0 72px;
    height: 72px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin-right: 24px;
}

.about-feature-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.mission-vision {
    background: linear-gradient(135deg, var(--primary), hsl(338, 45%, 48%));
    color: var(--white);
    padding: 80px 0;
}

.mission-vision h2 {
    color: var(--white);
    text-align: center;
    margin-bottom: 40px;
}

.mv-card {
    background: var(--light);
    color: var(--dark);
    padding: 28px;
    border-radius: var(--radius-md);
    height: 100%;
    box-shadow: var(--shadow-md);
}

.mv-card h3 {
    color: var(--primary);
    margin-bottom: 16px;
}

/* ---- Portfolio grid ---- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 350px;
    border: 1px solid rgba(148, 48, 88, 0.06);
    box-shadow: var(--shadow-sm);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.06);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(52, 32, 41, 0.92) 0%, transparent 100%);
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: var(--white);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .about-feature {
        flex-direction: column;
        text-align: center;
    }

    .about-feature-icon {
        margin-right: 0;
        margin-bottom: 16px;
    }
}

/* ---- Section utilities ---- */
.page-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 12px;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 14px auto 0;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .page-hero,
    .about-hero,
    .pricing-hero {
        min-height: 340px;
        padding: 120px 16px 70px;
    }

    .pricing-table {
        display: block;
        overflow-x: auto;
    }

    .process-timeline::before {
        left: 28px;
    }

    .timeline-item {
        padding-left: 72px !important;
        padding-right: 0 !important;
        text-align: left !important;
        width: 100% !important;
    }

    .timeline-item .timeline-num {
        left: 0;
        right: auto;
    }

    .booking-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Services & How It Works Pages
   ========================================== */

.services-grid-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-page-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(148, 48, 88, 0.06);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-page-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-page-card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.service-page-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-page-card:hover .service-page-card-img img {
    transform: scale(1.06);
}

.service-page-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-page-card-body h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-page-card-body p {
    color: var(--text-muted);
    font-size: 0.92rem;
    flex: 1;
    margin-bottom: 16px;
}

.service-page-card-body a {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-page-card-body a:hover {
    color: var(--primary);
    gap: 10px;
}

.why-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.why-block img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.feature-list-styled {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.feature-list-styled li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(148, 48, 88, 0.06);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.feature-list-styled li i {
    color: var(--primary);
    margin-top: 4px;
    flex-shrink: 0;
}

.feature-list-styled li strong {
    color: var(--dark);
}

/* Process timeline */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 32px;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent), var(--primary));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding: 0 0 48px 80px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-num {
    position: absolute;
    left: 8px;
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px var(--light);
    z-index: 1;
}

.timeline-content {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(148, 48, 88, 0.06);
}

.timeline-content h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.timeline-content p,
.timeline-content li {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.timeline-content ul {
    margin: 12px 0 0;
    padding-left: 18px;
}

.timeline-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.timeline-mini-box {
    background: var(--light);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
}

.timeline-mini-box i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-mini-box h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-mini-box p {
    font-size: 0.82rem;
    margin: 0;
}

/* Pick Stitch Deliver banner */
.psd-banner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.psd-step {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(148, 48, 88, 0.06);
    position: relative;
}

.psd-step-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(148, 48, 88, 0.1), rgba(232, 150, 122, 0.2));
    color: var(--primary);
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.psd-step h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.psd-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Booking steps grid */
.booking-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.booking-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid rgba(148, 48, 88, 0.06);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.booking-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.booking-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--light);
    color: var(--primary);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.booking-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.booking-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* Testimonials row */
.testimonials-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-box {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(148, 48, 88, 0.06);
    text-align: center;
}

.testimonial-box .stars {
    color: var(--secondary);
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.testimonial-box blockquote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-box cite {
    font-style: normal;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    display: block;
}

.testimonial-box cite span {
    display: block;
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 4px;
}

.page-section-alt {
    background: var(--white);
}

.inline-cta-bar {
    background: linear-gradient(135deg, var(--primary), hsl(338, 45%, 48%));
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    color: var(--white);
    margin-top: 50px;
}

.inline-cta-bar h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.inline-cta-bar p {
    opacity: 0.9;
    margin-bottom: 20px;
}

.inline-cta-bar .btn-boutique-secondary {
    border-color: var(--white);
    color: var(--white) !important;
}

.inline-cta-bar .btn-boutique-secondary:hover {
    background: var(--white);
    color: var(--primary) !important;
}

@media (max-width: 992px) {
    .services-grid-page,
    .psd-banner,
    .booking-grid,
    .testimonials-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-block {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .services-grid-page,
    .psd-banner,
    .booking-grid,
    .testimonials-row {
        grid-template-columns: 1fr;
    }

    .timeline-mini-grid {
        grid-template-columns: 1fr;
    }
}
