/* Sharm Joy 1.4: header, first screen and footer only. Keep the existing palette. */
:root { --slt-header-height: 146px; }

header.sticky .container-fluid,
.banner-h > .container-fluid,
footer .container-fluid { padding-inline: clamp(16px, 2.8vw, 42px); }
header.sticky .header-top { padding-block: 6px; }
header.sticky .header-bottom { padding-block: 14px; }
header.sticky .head-top {
    justify-content: space-between;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    gap: 16px;
}
header.sticky .head-top .time-info { gap: 18px; min-width: 0; }
header.sticky .head-inner { gap: clamp(18px, 2vw, 30px); }
header.sticky .head-inner .logo-h .logo { width: clamp(155px, 14vw, 190px); max-width: 190px; }
header.sticky .head-inner .nav-menu { flex: 1 1 auto; margin-inline-start: 0; }
header.sticky .head-inner .nav-menu > ul { justify-content: center; }
header.sticky .head-inner .nav-right { padding: 0; }
header.sticky .social-h { flex: 0 0 auto; flex-wrap: wrap; }
body.admin-bar header.sticky { top: 32px; }

/* One source of vertical spacing; text and artwork share the same centre. */
.banner-h {
    display: flex;
    align-items: center;
    height: 100vh;
    min-height: 700px;
    padding: calc(var(--slt-header-height) + 32px) 0 64px;
}
.banner-h > .container-fluid { width: 100%; }
.banner-h > .container-fluid > .row { align-items: center; row-gap: 30px; }
.banner-h .text-banner { padding: 0; }
.banner-h .text-banner h1 { margin-bottom: clamp(20px, 3vh, 32px); }
.banner-h .text-banner p { max-height: none; overflow: visible; }
.banner-h .img-banner {
    width: 100%;
    max-width: min(500px, calc(100vh - var(--slt-header-height) - 100px));
    height: auto;
    max-height: none;
    aspect-ratio: 1;
    margin-block: 0;
    margin-inline-start: auto;
    margin-inline-end: 0;
}
.banner-h .img-banner .img { width: 100%; height: auto; aspect-ratio: 1; }
.banner-h .img-banner .img img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
    -webkit-mask-box-image: none !important;
    -webkit-mask-image: url('../images/sharmjoy-mask-v1.4.svg');
    mask-image: url('../images/sharmjoy-mask-v1.4.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    mask-mode: alpha;
}

/* Keep the image background and typography; align the footer content as a unit. */
footer {
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-height: 700px;
    padding: 0;
}
footer .footer-top {
    display: flex;
    align-items: center;
    flex: 1 0 auto;
    height: auto;
    padding: calc(var(--slt-header-height) + 26px) 0 34px;
    position: relative;
    z-index: 2;
}
footer .footer-top > .container-fluid { width: 100%; }
footer .footer-top > .container-fluid > .row { align-items: center; row-gap: 28px; }
footer .footer-heading .title { margin: 0 0 18px; }
footer .footer-heading .text-foot { margin: 0; }
footer .footer-action { display: flex; align-items: center; justify-content: flex-end; }
footer .footer-action .btn.btn-big { margin: 0; }
footer .links-f {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 24px;
    margin: 8px 0 0;
    align-items: start;
}
footer .links-f > span { grid-column: 1 / -1; margin: 0; width: auto; font-size: 20px; }
footer .links-f a { max-width: none; width: 100%; min-width: 0; margin: 0; }
footer .links-f a .icon { flex: 0 0 42px; }
footer .links-f a span { width: auto; min-width: 0; margin: 0; overflow-wrap: anywhere; font-size: 17px; line-height: 1.6; }
footer .links-f a[href^='tel:'] span,
footer .links-f a[href^='mailto:'] span,
footer .links-f a[href*='wa.me/'] span { direction: ltr; unicode-bidi: isolate; }
footer .links-s { flex-wrap: wrap; gap: 8px 14px; margin: 26px 0 0; }
footer .links-s > span, footer .links-s > a { margin: 0; }
footer .goTop { position: static; margin: 20px auto 0; }
footer .footer-bottom {
    flex: 0 0 auto;
    width: 100%;
    padding: 20px 0;
    margin: 0;
    background: #FFB703;
    color: #003060;
    border: 0;
    position: relative;
    z-index: 2;
    text-align: center;
}
footer .footer-bottom::after { content: none; }
footer .footer-bottom .row { flex-direction: row; }
footer .copyRight, footer .copyRight p {
    display: block;
    width: 100%;
    margin: 0;
    text-align: center;
    color: #003060;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
footer .copyRight a { color: inherit; }

@media (max-width: 1199px) {
    header.sticky .head-inner .nav-right { margin-inline-start: auto; }
    header.sticky .head-inner .logo-h .logo { width: 170px; }
    footer .links-f { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1099px), (max-height: 699px) {
    .banner-h { height: auto; min-height: 100vh; padding-top: calc(var(--slt-header-height) + 40px); padding-bottom: 64px; }
    footer { height: auto; min-height: 0; }
    footer .footer-top { padding: 56px 0 38px; }
    /* Match fullPage's responsive mode, including short landscape screens. */
    body.fp-responsive .fp-section, body.fp-responsive .fp-tableCell { height: auto !important; }
}
@media (max-width: 1099px) {
    .banner-h > .container-fluid > .row > [class*='col-'] { width: 100%; max-width: 100%; flex: 0 0 100%; }
    .banner-h .text-banner { text-align: center; }
    .banner-h .text-banner p { margin-inline: auto; }
    .banner-h .text-banner .btn { margin: 24px auto 0; }
    .banner-h .img-banner { max-width: min(380px, 84vw); margin: 8px auto 0; }
}
@media (max-width: 991px) {
    header.sticky .head-top .time-info { gap: 0; }
    header.sticky .social-h { max-width: calc(100% - 142px); }
    header.sticky .header-bottom { padding-block: 12px; }
    footer .footer-top > .container-fluid > .row > .footer-heading,
    footer .footer-top > .container-fluid > .row > .footer-action { width: 100%; max-width: 100%; flex: 0 0 100%; }
    footer .footer-action { justify-content: flex-start; }
    footer .footer-action .btn.btn-big { width: auto; }
}
@media (max-width: 767px) {
    :root { --slt-header-height: 126px; }
    header.sticky .head-top { gap: 8px; }
    header.sticky .head-inner .logo-h .logo { width: 155px; }
    header.sticky .head-inner { gap: 12px; }
    .banner-h { min-height: 100svh; padding-top: calc(var(--slt-header-height) + 30px); padding-bottom: 58px; }
    .banner-h .img-banner { max-width: min(330px, 84vw); }
    footer .text-foot h1 { font-size: clamp(32px, 8vw, 42px); line-height: 1.25; }
    footer .links-f { gap: 18px; }
    footer .links-f a .icon { flex-basis: 34px; width: 34px; height: 34px; line-height: 34px; font-size: 18px; }
    footer .links-f a span { font-size: 15px; }
    footer .footer-bottom { padding: 18px 0; }
}
@media (max-width: 782px) {
    body.admin-bar header.sticky { top: 46px; }
}
@media (max-width: 575px) {
    footer .links-f { grid-template-columns: minmax(0, 1fr); }
    footer .links-s { justify-content: flex-start; }
}
@media (max-width: 390px) {
    header.sticky .container-fluid { padding-inline: 12px; }
    header.sticky .head-inner .logo-h .logo { width: 132px; }
}
@media (min-width: 1100px) and (max-height: 800px) {
    footer .text-foot h1 { font-size: 48px; line-height: 1.2; }
    footer .footer-top > .container-fluid > .row { row-gap: 20px; }
    footer .links-f { gap: 12px 20px; }
    footer .links-s { margin-top: 18px; }
    footer .goTop { margin-top: 16px; }
}
