/* ==========================================================================
   UrboEase design polish layer
   Loaded after main.css — targeted overrides only, no framework rewrite.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
    --heading-fonts: "Plus Jakarta Sans", "Helvetica", sans-serif;
    --body-fonts: "Plus Jakarta Sans", "Roboto", sans-serif;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-pill: 999px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    /* Brand refresh: gold/black, matching the mobile app direction */
    --base-clr: #C79A00;
    --base-rgb: 199, 154, 0;
    --btn-clr: #F6C602;
    --btn-clr-dark: #D9AD00;
    --btn-rgb: 246, 198, 2;
    --base-title: #C79A00;
    --primary-clr: #C79A00;
    --primary-rgb: 199, 154, 0;
}

.dark-theme {
    --base-clr: #F6C602;
    --base-rgb: 246, 198, 2;
    --btn-clr: #F6C602;
    --btn-clr-dark: #D9AD00;
    --btn-rgb: 246, 198, 2;
    --base-title: #F6C602;
    --title-clr: #FFFFFF;
    --bs-body-bg: #000000;
    --bs-body-bg-rgb: 0, 0, 0;
    --section-bg: #0A0A0A;
    --section-bg-2: #0A0A0A;
    --border-clr: #1E1E1E;
    --border-dark: #1E1E1E;
    --border-dark-only: #1E1E1E;
    --header-bg: #000000e6;
    --footer: #000000;
    --footer-bottom: #0A0A0A;
}

/* Buttons filled with the gold accent need dark text, not white, for contrast */
.cmn--btn,
.cmn--btn2,
.btn--base {
    color: #1A1A1A !important;
}

.cmn--btn:hover,
.cmn--btn2:hover {
    color: #1A1A1A !important;
}

/* Smooth cross-theme transitions instead of a hard flash on toggle */
body,
header,
.header,
.service__item,
.testimonial__item-wrapper,
.about-section,
.cta-section,
footer,
.mode--toggle,
.btn,
.form-control {
    transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
        border-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
        transform 0.25s var(--ease);
}

/* ---------- Typography: bigger, bolder, tighter — a real hero headline ---------- */

body {
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -0.02em;
    font-weight: 700;
}

h1 {
    font-size: 40px;
    line-height: 1.08;
    font-weight: 800;
}

h2 {
    font-size: 30px;
    line-height: 1.2;
}

h3 {
    font-size: 20px;
    line-height: 1.35;
}

@media (min-width: 768px) {
    h1 {
        font-size: 56px;
    }

    h2 {
        font-size: 36px;
    }
}

@media (min-width: 1200px) {
    h1 {
        font-size: 68px;
    }
}

p {
    line-height: 1.7;
}

.banner-content .subtitle {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.banner-content .txt {
    font-size: 17px;
    line-height: 1.7;
}

/* ---------- Cards: rounded, soft depth, lift on hover ---------- */

.service__item,
.testimonial__item-wrapper,
.speciality-item,
.about-content,
.service__item-popup-inner {
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
}

.service__item {
    border: 1px solid var(--border-clr);
    box-shadow: 0 1px 2px rgba(var(--title-rgb), 0.04);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.service__item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(var(--base-rgb), 0.25);
    border-color: rgba(var(--base-rgb), 0.35);
}

.service__item-icon img {
    transition: transform 0.35s var(--ease);
}

.service__item:hover .service__item-icon img {
    transform: scale(1.08);
}

.service__item-btn {
    border-radius: var(--radius-pill);
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.service__item:hover .service__item-btn {
    background-color: var(--base-clr);
    color: #fff;
}

.testimonial__item-wrapper {
    box-shadow: 0 1px 2px rgba(var(--title-rgb), 0.04);
    border: 1px solid var(--border-clr);
}

/* ---------- Buttons: confident, pill-shaped, tactile ---------- */

.cmn--btn,
.cmn--btn2,
.btn {
    border-radius: var(--radius-pill) !important;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), filter 0.2s var(--ease), background 0.25s var(--ease);
}

.cmn--btn:hover,
.cmn--btn2:hover,
.btn--base:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(var(--base-rgb), 0.45);
}

.cmn--btn:active,
.cmn--btn2:active,
.btn:active {
    transform: translateY(0);
}

/* ---------- Theme toggle: slightly larger, clearer touch target ---------- */

.mode--toggle {
    width: 46px;
    height: 24px;
    box-shadow: inset 0 0 0 1px rgba(var(--title-rgb), 0.08);
}

.mode--toggle img {
    height: 20px;
    width: 20px;
}

.mode--toggle:hover {
    filter: brightness(1.08);
}

/* ---------- Dark-mode fix: newsletter input stayed white ---------- */

.dark-theme .form-control {
    background-color: var(--section-bg-2);
    color: var(--body-clr);
    border-color: var(--border-clr);
}

.dark-theme .form-control::placeholder {
    color: var(--body-clr);
    opacity: 0.6;
}

/* ---------- Section breathing room ---------- */

.banner-section {
    padding-top: 32px;
    padding-bottom: 32px;
}

@media (min-width: 992px) {

    .py-25 {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
}

/* ---------- Links: subtle underline-grow interaction ---------- */

.text--base[href],
a.text--base {
    position: relative;
    text-decoration: none;
}

/* ---------- Focus states for accessibility + polish ---------- */

.btn:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--base-clr);
    outline-offset: 2px;
}

/* ---------- Footer: link + social icon micro-interactions ---------- */

.footer__wrapper-link li a {
    transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.footer__wrapper-link li a:hover {
    padding-left: 4px;
}

.social-icons a {
    display: inline-flex;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.social-icons a:hover {
    transform: translateY(-3px);
}

/* ---------- Form inputs: consistent modern radius + focus ring ---------- */

.form-control,
.newsletter-form .form-control,
.subscribe-form-group .form-control {
    border-radius: var(--radius-md) !important;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.form-control:focus {
    border-color: var(--base-clr) !important;
    box-shadow: 0 0 0 4px rgba(var(--base-rgb), 0.12) !important;
}

/* ---------- Testimonial / carousel nav buttons ---------- */

.owl-btn,
.slider-bottom .owl-btn {
    transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}

.owl-btn:hover {
    transform: scale(1.08);
}

/* ---------- Hero trust badges (Urban Company / Snabbit / Pronto pattern) ---------- */

.trust-badges {
    gap: 10px;
    margin-top: 20px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    background: rgba(var(--base-rgb), 0.08);
    color: var(--title-clr);
    font-size: 13.5px;
    font-weight: 600;
}

.trust-badge i {
    color: var(--base-clr);
    font-size: 16px;
}

/* ---------- Promo section: real coupon banner ---------- */

.promo-section {
    padding: 8px 0 32px;
}

.promo-card {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, var(--base-clr), var(--dark-clr));
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    color: #fff;
    box-shadow: 0 20px 40px -16px rgba(var(--base-rgb), 0.4);
}

.promo-card__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-card__icon i {
    font-size: 26px;
    color: #fff;
}

.promo-card__content {
    flex: 1;
    min-width: 220px;
}

.promo-card__content h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 4px;
}

.promo-card__content p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: 14px;
}

.promo-card__code {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px dashed rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-pill);
    padding: 10px 10px 10px 20px;
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s var(--ease);
}

.promo-card__code:hover {
    background: rgba(255, 255, 255, 0.25);
}

.promo-card__copy {
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--base-clr);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s var(--ease);
}

.promo-card__copy:hover {
    transform: scale(1.08);
}

/* ---------- Mobile menu: soften the off-canvas panel ---------- */

.navbar-bottom-wrapper {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    box-shadow: -20px 0 60px -20px rgba(0, 0, 0, 0.25);
}
