/* ==========================================================================
   SISS 2026 redesign — custom CSS (kept to what Divi 5 settings cannot do)
   ========================================================================== */

/* 1. Header: transparent over the hero, solid once scrolled (body.siss-scrolled from siss-2026.js) */
.siss-header { transition: background-color .35s ease, box-shadow .35s ease; }
body.siss-scrolled .et-l--header .et_pb_section.siss-header,
body.siss-menu-open .et-l--header .et_pb_section.siss-header { background-color: rgba(5, 36, 58, .96) !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.siss-header .siss-topbar { max-height: 60px; overflow: hidden; transition: max-height .35s ease, padding .35s ease, opacity .35s ease; }
body.siss-scrolled .siss-header .siss-topbar { max-height: 0; padding-top: 0 !important; padding-bottom: 0 !important; opacity: 0; border-bottom-width: 0 !important; }
.admin-bar .siss-header { top: 32px !important; }
@media (max-width: 782px) { .admin-bar .siss-header { top: 46px !important; } }
@media (max-width: 600px) { .admin-bar.siss-scrolled .siss-header { top: 0 !important; } }

/* 2. "Book Now" menu item as a CTA pill (menu item CSS class: siss-menu-cta) */
.siss-nav .et-menu > li.siss-menu-cta > a { background: #FCB800; color: #0B2233 !important; padding: 13px 24px !important; border-radius: 3px; transition: background .25s ease; }
.siss-nav .et-menu > li.siss-menu-cta > a:hover { background: #FFD24D; opacity: 1; }
.siss-header .siss-nav.et_pb_menu .et-menu > li.siss-menu-cta > a,
.siss-header .siss-nav.et_pb_menu .et-menu > li.siss-menu-cta.current-menu-item > a { color: #0B2233 !important; }
.siss-nav .et-menu > li.siss-menu-cta { padding-right: 0 !important; }
.siss-nav .et_mobile_menu li.siss-menu-cta > a { background: #FCB800; color: #0B2233 !important; text-align: center; border-radius: 3px; margin-top: 10px; }

/* Dropdowns: comfortable width + spacing */
.siss-nav .et-menu li ul.sub-menu { width: 300px; padding: 14px 0; border-radius: 0 0 6px 6px; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.siss-nav .et-menu li li a { width: 100%; padding: 9px 22px !important; line-height: 1.35; }
.siss-nav .et_mobile_menu { border-top: 2px solid #FCB800; max-height: calc(100vh - 90px); overflow-y: auto; padding: 10px 6% 24px !important; }
.siss-nav .et_mobile_menu li a { border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 13px 4% !important; }

/* 3. Footer link lists */
.siss-footer-links { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.siss-footer-links li { padding: 0 !important; }

/* 4. Cover photos (Image modules with class siss-photo): fill the frame at every breakpoint */
.et_pb_image.siss-photo .et_pb_image_wrap { display: block !important; width: 100% !important; height: 100% !important; }
.et_pb_image.siss-photo img { width: 100% !important; height: 100% !important; object-fit: cover; }

/* 5. Header sizing: compact desktop menu links, CTA pill sized to its text, slimmer bar once scrolled */
@media (min-width: 981px) {
	.siss-header .siss-nav .et-menu > li > a { padding-top: 12px !important; padding-bottom: 12px !important; }
	.siss-header .siss-nav .et-menu { align-items: center; }
	.siss-header .siss-nav .et-menu > li.siss-menu-cta > a { padding: 14px 26px !important; line-height: 1; margin-left: 8px; }
	.siss-header .siss-nav .et-menu li ul.sub-menu { top: 100%; }
	.siss-header .siss-nav .et-menu > li.menu-item-has-children > a:after { top: 50%; transform: translateY(-50%); }
	.siss-header .et_pb_row:not(.siss-topbar) { transition: padding .35s ease; }
	body.siss-scrolled .siss-header .et_pb_row:not(.siss-topbar) { padding-top: 10px !important; padding-bottom: 10px !important; }
	.siss-header .siss-nav .et_pb_menu__logo img { transition: max-width .35s ease; }
	body.siss-scrolled .siss-header .siss-nav .et_pb_menu__logo-wrap { max-width: 250px; }
}
/* Dropdown links: Divi applies the top-level link font (Oswald, uppercase) to sub-menus too — use the dropdown style */
.siss-header .siss-nav.et_pb_menu .et-menu li li a { font-family: 'Inter', Helvetica, Arial, sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 15px !important; font-weight: 500 !important; color: rgba(255, 255, 255, .9) !important; }
.siss-header .siss-nav.et_pb_menu .et-menu li li a:hover,
.siss-header .siss-nav.et_pb_menu .et-menu li li.current-menu-item > a { color: #FCB800 !important; background: rgba(255, 255, 255, .05); opacity: 1; }

/* 6. Hero text: soft shadow so eyebrow/lead stay legible over bright patches of photo/video */
.siss-hero .et_pb_text p, .siss-hero .et_pb_heading h1 { text-shadow: 0 1px 14px rgba(0, 0, 0, .45), 0 0 2px rgba(0, 0, 0, .25); }

/* 7. Native smooth scrolling for in-page links (Divi's scripted wheel smoothing is off — it made the
      mouse wheel crawl over the tall Rezgo iframe). scroll-padding keeps targets clear of the fixed header. */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (max-width: 980px) { html { scroll-padding-top: 76px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* 8. Forms (Divi Contact Form module, all pages): tidy bottom row, focus state, taller message box */
.et_pb_contact_form_container .et_pb_contact_field textarea.input { min-height: 160px; }
.et_pb_contact_form_container .input:not([type=checkbox]):not([type=radio]):focus { border-color: #00ABE5 !important; background-color: #fff !important; box-shadow: 0 0 0 3px rgba(0, 171, 229, .18); outline: none; }
.et_pb_contact_form_container .et_contact_bottom_container { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px !important; float: none; }
.et_pb_contact_form_container .et_pb_contact_right { margin: 0; }
.et_pb_contact_form_container .et_pb_contact_right p { display: flex; align-items: center; gap: 10px; margin: 0; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px; color: #0B2233; }
.et_pb_contact_form_container .et_pb_contact_right p::before { content: "Quick check:"; font-weight: 500; color: #4A5D6E; }
.et_pb_contact_form_container input.et_pb_contact_captcha { width: 72px !important; min-width: 0; text-align: center; padding: 14px 10px !important; border-radius: 10px; border: 1px solid #DCE5EC !important; background: #F3F7FA !important; }
.et_pb_contact_form_container .et_pb_contact_submit { margin: 0 !important; }
@media (max-width: 767px) {
	.et_pb_contact_form_container .et_contact_bottom_container { flex-direction: column; align-items: stretch; }
	.et_pb_contact_form_container .et_pb_contact_right p { justify-content: center; }
	.et_pb_contact_form_container .et_pb_contact_submit { width: 100%; }
}
/* contact info icons never shrink beside long text */
.siss-info-icon { flex: 0 0 52px !important; }
.siss-contact-card .et_pb_group, .siss-contact-card .et_pb_text { min-width: 0; }
.siss-contact-card .et_pb_text a { overflow-wrap: normal; }
@media (max-width: 767px) { .siss-contact-card .et_pb_text p { font-size: 15px !important; } }
@media (max-width: 767px) {
	.siss-contact-card .siss-info-icon { flex: 0 0 42px !important; width: 42px !important; height: 42px !important; min-width: 42px !important; }
	.siss-contact-card .et_pb_group.et_flex_module { column-gap: 14px !important; }
}
