/* ==========================================================
   payroll_restaurant.css
   Page-specific styles for /payroll/restaurants/
   Assumes Inter font + Bootstrap 5 + Font Awesome already
   loaded globally via payroll_global.css / global_head.php
   ========================================================== */

.ihp_restaurant {
    overflow-x: hidden;
}

.breadcrumb{
    
    justify-content:center;
}
/* ============ BREADCRUMB BAR ============ */
.ihp-breadcrumb-bar {
    background-color: none;
    padding: 14px 20px;
}

.ihp-breadcrumb-bar .breadcrumb {
    margin-bottom: 0;
    font-size: 13.5px;
}

.ihp-breadcrumb-bar .breadcrumb-item a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.15s ease;
}

.ihp-breadcrumb-bar .breadcrumb-item a:hover {
    color: #2548f5;
}

.ihp-breadcrumb-bar .breadcrumb-item.active {
    color: #0f172a;
    font-weight: 600;
}

.ihp-breadcrumb-bar .breadcrumb-item + .breadcrumb-item {
    padding-left: 0.6rem;
}

.ihp-breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f105"; /* chevron-right — keeps the separator on-brand with FA-only icons */
    color: #cbd5e1;
    padding-right: 0.6rem;
    float: left;
}

/* ============ 1. HERO ============ */
.ihp-restaurant-hero {
    padding: 120px 20px 90px;
    background: linear-gradient(180deg, #fbfbfe 0%, #eef1fc 65%, #e4e9fb 100%);
}

.ihp-hero-heading {
    max-width: 780px;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.ihp-hero-sub {
    max-width: 620px;
    line-height: 1.6;
    color: #4b5563;
}

.ihp-hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.ihp-btn-primary,
.ihp-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.ihp-btn-primary {
    background-color: #0f172a;
    color: #ffffff;
    border: 1px solid #0f172a;
}

.ihp-btn-primary:hover {
    background-color: #000000;
    color: #ffffff;
}

.ihp-btn-secondary {
    background-color: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.ihp-btn-secondary:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

/* ============ Shared section heading styles ============ */
.ihp-section-sub {
    max-width: 620px;
    margin: 16px auto 0;
    color: #4b5563;
    line-height: 1.6;
}

.ihp-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2548f5;
    margin-bottom: 10px;
}

/* ============ 2. WHY RESTAURANTS CHOOSE (features) ============ */
.ihp-features-section {
    background-color: #ffffff;
    padding: 90px 20px 100px;
}

.ihp-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 980px;
    margin: 0 auto;
}

.ihp-feature-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ihp-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -14px rgba(15, 23, 42, 0.25);
}

.ihp-feature-card.ihp-tint-a { background-color: #eaf4fd; }
.ihp-feature-card.ihp-tint-b { background-color: #fdeaf1; }
.ihp-feature-card.ihp-tint-c { background-color: #eafaf1; }
.ihp-feature-card.ihp-tint-d { background-color: #fdf8e6; }

/* Large faded corner watermark icon, like the reference bento cards */
.ihp-feature-watermark {
    position: absolute;
    top: -18px;
    right: -18px;
    font-size: 130px;
    line-height: 1;
    opacity: 0.16;
    transform: rotate(8deg);
    pointer-events: none;
}

.ihp-tint-a .ihp-feature-watermark,
.ihp-tint-a .ihp-feature-icon { color: #2548f5; }
.ihp-tint-b .ihp-feature-watermark,
.ihp-tint-b .ihp-feature-icon { color: #db2777; }
.ihp-tint-c .ihp-feature-watermark,
.ihp-tint-c .ihp-feature-icon { color: #059669; }
.ihp-tint-d .ihp-feature-watermark,
.ihp-tint-d .ihp-feature-icon { color: #b45309; }

.ihp-feature-icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 18px;
    z-index: 1;
}

.ihp-feature-card h3,
.ihp-feature-card p {
    position: relative;
    z-index: 1;
}

.ihp-feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}

.ihp-feature-card p {
    font-size: 14.5px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .ihp-features-grid { grid-template-columns: 1fr; }
}

/* ============ 3. WHERE TO USE ============ */
.ihp-usecase-section {
    background: linear-gradient(180deg, #ffffff 0%, #f6f7fd 60%, #eef1fc 100%);
    padding: 90px 20px 100px;
}

.ihp-usecase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
}

.ihp-usecase-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px;
    background-color: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ihp-usecase-card:hover {
    transform: translateY(-3px);
    border-color: #2548f5;
    box-shadow: 0 14px 28px -16px rgba(37, 72, 245, 0.35);
}

.ihp-usecase-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background-color: #eef2ff;
    color: #2548f5;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.ihp-usecase-card h3 {
    font-size: 16.5px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.ihp-usecase-card p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .ihp-usecase-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .ihp-usecase-grid { grid-template-columns: 1fr; }
}

/* ============ 4. FAQ ============ */
.ihp-faq-section {
    background: linear-gradient(180deg, #eef1fc 0%, #f6f7fd 60%, #ffffff 100%);
    padding: 90px 20px 110px;
}

.ihp-faq-list {
    max-width: 740px;
    margin: 0 auto;
}

.ihp-faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 12px;
    background-color: #ffffff;
    overflow: hidden;
}

.ihp-faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-size: 15.5px;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
}

.ihp-faq-item summary::-webkit-details-marker {
    display: none;
}

.ihp-faq-toggle {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #2548f5;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.ihp-faq-item[open] .ihp-faq-toggle {
    transform: rotate(45deg);
    background-color: #2548f5;
    color: #ffffff;
    border-color: #2548f5;
}

.ihp-faq-answer {
    padding: 0 22px 20px;
}

.ihp-faq-answer p {
    font-size: 14.5px;
    color: #4b5563;
    line-height: 1.65;
    margin: 0;
}

/* ============ Scroll-in reveal (driven by payroll_restaurant.js) ============ */
.fade-up-el {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up-el.ihp-in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-up-el {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* ===== DASHBOARD MOCKUP ===== */
.test-background {
    margin: 30px;
    width: auto;
}

/* ===== MOCKUP WRAPPER ===== */
.hero-mockup-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

    padding: 15px;
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    box-sizing: border-box;
}
    
/* ===== GLASS EFFECT ===== */
.hero-mockup-wrap::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(255, 255, 255, 0.15);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 28px;

    box-shadow:
        0 25px 60px -15px rgba(29, 78, 216, 0.25),
        0 10px 25px -8px rgba(0, 0, 0, 0.08);

    z-index: 0;
}

/* ===== IMAGE ===== */
.hero-mockup-wrap img {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 100%;
    height: auto;

    display: block;

    border-radius: 20px;

    box-shadow:
        0 20px 50px -12px rgba(29, 78, 216, 0.3),
        0 8px 20px -6px rgba(0, 0, 0, 0.1);
}


/* =========================================
   TABLET
========================================= */
@media (max-width: 991px) {

    .test-background {
        margin: 25px 20px;
    }

    .hero-mockup-wrap {
        padding: 12px;
        max-width: 100%;
    }

    .hero-mockup-wrap::before {
        border-radius: 24px;
    }

    .hero-mockup-wrap img {
        border-radius: 17px;
    }
}


/* =========================================
   MOBILE
========================================= */
@media (max-width: 767px) {

    .test-background {
        margin: 20px 12px;
    }

    .hero-mockup-wrap {
        padding: 8px;
        width: 100%;
    }

    .hero-mockup-wrap::before {
        border-radius: 18px;

        box-shadow:
            0 15px 35px -12px rgba(29, 78, 216, 0.20),
            0 6px 15px -6px rgba(0, 0, 0, 0.06);
    }

    .hero-mockup-wrap img {
        width: 100%;
        border-radius: 13px;

        box-shadow:
            0 12px 30px -10px rgba(29, 78, 216, 0.25),
            0 5px 15px -5px rgba(0, 0, 0, 0.08);
    }
}


/* =========================================
   SMALL MOBILE
========================================= */
@media (max-width: 480px) {

    .test-background {
        margin: 15px 8px;
        height: 60px;
    }

    .hero-mockup-wrap {
        padding: 6px;
    }

    .hero-mockup-wrap::before {
        border-radius: 15px;
    }

    .hero-mockup-wrap img {
        border-radius: 11px;
    }
}


/* =========================================
   VERY SMALL MOBILE
========================================= */
@media (max-width: 360px) {

    .test-background {
        margin: 12px 6px;
    }

    .hero-mockup-wrap {
        padding: 5px;
    }

    .hero-mockup-wrap::before {
        border-radius: 13px;
    }

    .hero-mockup-wrap img {
        border-radius: 9px;
    }
}