/* Extra right padding for hero text on large screens */
.hero-text-extra-pad {
    padding-right: 4rem !important;
}
@media (min-width: 1400px) {
    .hero-text-extra-pad {
        padding-right: 6rem !important;
    }
}
/* Subtle info box for technical/verification details */
.google-profile-info-box {
    border: 1.2px solid var(--color-accent);
    border-radius: 0.5rem;
    background: #fcfcfd;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    box-shadow: none;
    max-width: 700px;
}
/**
 * GetBookedUp Design System
 * "Trust & Utility" Theme
 *
 * Font: Red Hat Display (hosted locally from Google Fonts)
 */

/* Red Hat Display Font - Local (downloaded from Google Fonts) */
@font-face {
    font-family: "Red Hat Display";
    font-style: normal;
    font-weight: 400;
    font-display: block; /* Block text rendering until font loads */
    src: url("/fonts/RedHatDisplay-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Red Hat Display";
    font-style: normal;
    font-weight: 500;
    font-display: block;
    src: url("/fonts/RedHatDisplay-Medium.ttf") format("truetype");
}

@font-face {
    font-family: "Red Hat Display";
    font-style: normal;
    font-weight: 600;
    font-display: block;
    src: url("/fonts/RedHatDisplay-SemiBold.ttf") format("truetype");
}

@font-face {
    font-family: "Red Hat Display";
    font-style: normal;
    font-weight: 700;
    font-display: block;
    src: url("/fonts/RedHatDisplay-Bold.ttf") format("truetype");
}

/* Color Variables */
:root {
    --color-primary: #0f1b2d; /* Deep navy */
    --color-secondary: #2c5f7c; /* Steel blue */
    --color-accent: #f28c28; /* Construction orange */
    --color-bg: #ffffff; /* White background */
    --color-text: #1c1f24; /* Charcoal */
    --color-text-muted: #6b7280; /* Muted text */
    --color-white: #ffffff;
    --color-border: #e5e7eb;
}

.app-theme-orange {
    --bs-primary: var(--color-accent);
    --bs-primary-rgb: 242, 140, 40;
    --bs-link-color: var(--color-accent);
    --bs-link-hover-color: #d97820;
    --bs-primary-bg-subtle: #fff3e7;
    --bs-primary-border-subtle: #f6b26b;
}

/* Typography */
body {
    font-family:
        "Red Hat Display",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    font-weight: 400; /* Explicitly set to Regular */
    font-size: 1.125rem; /* 18px for preview */
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Red Hat Display", sans-serif;
    font-weight: 500; /* Bootstrap default for headings */
    color: var(--color-primary);
}

/* Responsive title sizes for desktop */
@media (min-width: 992px) {
    .display-lg-3 {
        font-size: calc(1.525rem + 3.3vw) !important;
    }

    .h2-lg {
        font-size: 2rem !important;
    }

    /* Full viewport height hero section on desktop */
    .hero-section {
        height: 100vh;
        min-height: 600px;
        max-height: 900px;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .hero-section .container {
        height: 100%;
        min-height: 0;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        display: flex;
        align-items: center;
    }

    .hero-section .row {
        height: 100%;
        align-items: center;
    }

    .hero-section .col-lg-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}

/* More horizontal padding for open text sections on mobile */
@media (max-width: 575.98px) {
    .section-padded,
    .hero-section .container,
    .section-navy .container,
    .section-light-orange .container,
    .bg-white .container {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

/* Semibold only for elements that need emphasis */
.fw-semibold,
.fw-bold {
    font-weight: 600 !important; /* SemiBold */
}

.fw-bold {
    font-weight: 700 !important; /* Bold */
}

.app-theme-orange .btn.btn-primary,
.app-theme-orange a.btn.btn-primary,
.app-theme-orange button.btn.btn-primary,
.app-theme-orange .btn-primary {
    background-color: #f28c28 !important; /* Construction orange */
    border-color: #f28c28 !important;
    color: #0f1b2d !important; /* Dark navy text */
    font-weight: 600 !important; /* Slightly bolder for readability */
}

.app-theme-orange .btn.btn-primary:hover,
.app-theme-orange .btn.btn-primary:focus,
.app-theme-orange .btn.btn-primary:active,
.app-theme-orange a.btn.btn-primary:hover,
.app-theme-orange a.btn.btn-primary:focus,
.app-theme-orange a.btn.btn-primary:active,
.app-theme-orange .btn-primary:hover,
.app-theme-orange .btn-primary:focus,
.app-theme-orange .btn-primary:active {
    background-color: #d97820 !important; /* Darker orange */
    border-color: #d97820 !important;
    color: #0f1b2d !important; /* Keep dark text on hover */
}

.app-theme-orange .btn.btn-outline-primary,
.app-theme-orange a.btn.btn-outline-primary,
.app-theme-orange button.btn.btn-outline-primary,
.app-theme-orange .btn-outline-primary {
    color: #d97820 !important;
    border-color: #f28c28 !important;
}

.app-theme-orange .btn.btn-outline-primary:hover,
.app-theme-orange .btn.btn-outline-primary:focus,
.app-theme-orange .btn.btn-outline-primary:active,
.app-theme-orange a.btn.btn-outline-primary:hover,
.app-theme-orange a.btn.btn-outline-primary:focus,
.app-theme-orange a.btn.btn-outline-primary:active,
.app-theme-orange .btn-outline-primary:hover,
.app-theme-orange .btn-outline-primary:focus,
.app-theme-orange .btn-outline-primary:active {
    background-color: #fff3e7 !important;
    border-color: #f28c28 !important;
    color: #d97820 !important;
}

/* Secondary button variant (navy) */
.btn-secondary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 500;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-accent {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary); /* Dark navy text */
    font-weight: 600;
}

.btn-accent:hover,
.btn-accent:focus,
.btn-accent:active {
    background-color: #d97820;
    border-color: #d97820;
    color: var(--color-primary);
}

.app-theme-orange .text-primary {
    color: var(--color-accent) !important;
}

.text-secondary {
    color: var(--color-secondary) !important;
}

.text-accent {
    color: var(--color-accent) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-secondary {
    background-color: var(--color-secondary) !important;
}

.bg-accent {
    background-color: var(--color-accent) !important;
}

.app-theme-orange .bg-primary-subtle {
    background-color: #fff3e7 !important;
}

.app-theme-orange .border-primary {
    border-color: #f6b26b !important;
}

.app-theme-orange .form-check-input:checked {
    background-color: #f28c28;
    border-color: #f28c28;
}

.app-theme-orange .form-check-input:focus,
.app-theme-orange .form-control:focus,
.app-theme-orange .form-select:focus {
    border-color: #f6b26b;
    box-shadow: 0 0 0 0.25rem rgba(242, 140, 40, 0.2);
}

.app-theme-orange .list-group-item.active,
.app-theme-orange .list-group-item.active:hover,
.app-theme-orange .list-group-item.active:focus {
    background-color: #f28c28;
    border-color: #f28c28;
    color: #0f1b2d;
}

.app-theme-orange .alert-info {
    background-color: #fff3e7;
    border-color: #f6b26b;
    color: #8a4b12;
}

.app-theme-orange .text-bg-info {
    background-color: #ffe0bf !important;
    color: #8a4b12 !important;
}

.app-theme-orange .offcanvas-header .offcanvas-title,
.app-theme-orange .offcanvas-header .small,
.app-theme-orange .btn-link,
.app-theme-orange a:not(.btn) {
    color: #d97820;
}

.app-theme-orange .btn-close:focus {
    box-shadow: 0 0 0 0.25rem rgba(242, 140, 40, 0.2);
}

.bg-light-custom {
    background-color: var(--color-bg);
}

/* Badge overrides */
.badge.text-bg-primary {
    background-color: var(--color-primary) !important;
}

.badge.bg-accent {
    background-color: var(--color-accent);
    color: var(--color-white);
}

/* Card styling - clean with subtle shadows */
.card {
    border: 1px solid var(--color-border);
    box-shadow: 0 1px 3px rgba(15, 27, 45, 0.05);
}

.card:hover {
    box-shadow: 0 4px 12px rgba(15, 27, 45, 0.08);
    transition: box-shadow 0.2s ease;
}

/* Subtle section backgrounds */
.section-navy {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.section-steel {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.section-light {
    background-color: var(--color-bg);
}

.section-light-orange {
    background-color: #f28c28; /* Full construction orange */
    color: #0f1b2d; /* Dark navy text for contrast */
}

.section-light-orange h2,
.section-light-orange h3,
.section-light-orange .h2,
.section-light-orange .h3 {
    color: #0f1b2d !important; /* Dark navy headings */
}

.section-light-orange .text-muted {
    color: rgba(15, 27, 45, 0.75) !important; /* Darker muted text */
}

/* Info box styling (for the Google API explanation) */
.info-box {
    background-color: #e8f1f5;
    border-left: 4px solid var(--color-secondary);
    border-radius: 0.375rem;
}

/* Text muted override */
.text-muted {
    color: var(--color-text-muted) !important;
}

/* Links */
a {
    color: var(--color-secondary);
    text-decoration: none;
}

a:hover {
    color: var(--color-accent);
}

/* Utility classes */
.border-accent {
    border-color: var(--color-accent) !important;
}

.border-primary-custom {
    border-color: var(--color-primary) !important;
}

.border-secondary-custom {
    border-color: var(--color-secondary) !important;
}

/* Highlight underline for hero title */
.highlight-underline {
    position: relative;
    display: inline-block;
    z-index: 1;
    color: #f28c28;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.22em;
    text-decoration-color: #0f1b2d;
    background: none;
}

.highlight-underline::before {
    display: none !important;
}

/* HOW IT WORKS INFOGRAPHIC */
.how-it-works-steps {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #f28c28 #eee;
}
.how-step {
    min-width: 200px;
    max-width: 240px;
    flex: 1 1 200px;
}
.step-circle {
    width: 48px;
    height: 48px;
    background: #fff;
    color: #f28c28;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 2.5px solid #f28c28;
}
.how-arrow {
    pointer-events: none;
}
@media (max-width: 991.98px) {
    .how-it-works-steps {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .how-arrow {
        display: flex !important;
        justify-content: center;
        margin: -1rem 0 1rem 0;
        transform: rotate(90deg) !important;
        left: 50% !important;
        top: 100% !important;
    }
}

/* HOW IT WORKS 2-ROW INFOGRAPHIC - ENHANCED */
.how-steps-grid {
    max-width: 1200px;
    margin: 0 auto;
}
.how-steps-grid .row {
    position: relative;
}
.how-step {
    min-width: 240px;
    max-width: 300px;
    flex: 1 1 240px;
    z-index: 1;
}
.how-icon {
    font-size: 2.2rem;
    color: #0f1b2d;
    margin-bottom: 0.5rem;
}
.step-circle {
    width: 56px;
    height: 56px;
    background: #fff;
    color: #f28c28;
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 2.5px solid #f28c28;
    margin-bottom: 1rem;
}
.how-step h3 {
    font-size: 1.25rem;
}
.how-step p {
    font-size: 1.15rem;
}
.how-arrow {
    pointer-events: none;
}
@media (max-width: 991.98px) {
    .how-steps-grid .row {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .how-arrow {
        display: flex !important;
        justify-content: center;
        margin: -1rem 0 1rem 0;
        transform: rotate(90deg) !important;
        left: 50% !important;
        top: 100% !important;
    }
    .how-step {
        min-width: 0;
        max-width: 100%;
    }
}

/* HOW IT WORKS v2 - Number, title, text, image block */

/* How it works: only keep the step2-number and how-img-block for visuals */
.step2-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #fff;
    color: #f28c28;
    font-weight: 700;
    font-size: 1.35rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
    border: 2.5px solid #f28c28;
}

.card.h-100 {
    display: flex;
    flex-direction: column;
}
.card-body {
    flex: 0 0 auto;
}
/* Default: desktop/large screens */
.how-img-block {
    width: 100%;
    height: 320px;
    min-height: 320px;
    max-height: 320px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    margin-top: auto;
}
.how-img-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 0 0 1.25rem 1.25rem;
    box-shadow: none;
    margin: 0;
    display: block;
}
@media (max-width: 1199.98px) {
    .how-img-block {
        flex: 1 1 auto;
        height: 100%;
        min-height: 220px;
        max-height: none;
    }
    .how-img-block img {
        height: 100%;
        min-height: 220px;
        max-height: none;
    }
}
