/* Smíðastofan Beyki – look of the old beyki.is (ut_reto "Construction", preset9) on Helix Ultimate + SP Page Builder 6 */
:root {
  --bk-orange: #ffa500;
  --bk-text: #727272;
  --bk-dark: #222222;
  --bk-gray-bg: #f3f3f3;
  --bk-bottom-bg: #24272f;
  --bk-footer-bg: #1d2026;
  --bk-footer-text: #aeb7c1;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  line-height: 26px;
  color: var(--bk-text);
}
h1, h2, h3, h4, h5, h6 { color: var(--bk-dark); }
a { color: var(--bk-dark); }
a:hover, a:focus { color: var(--bk-orange); }

/* old site used a 1140px grid */
@media (min-width: 1200px) {
  .container, .sppb-row-container { max-width: 1140px !important; }
}

/* ---------- Header: transparent over the hero / page title, orange when sticky ---------- */
#sp-header {
  position: absolute !important;
  top: 0; left: 0; right: 0;
  z-index: 99;
  height: 80px;
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  box-shadow: none !important;
  transition: background-color .3s;
}
#sp-header > .container, #sp-header > .container > .container-inner,
#sp-header .row, #sp-header .row > div, #sp-header .sp-column { height: 100%; }
#sp-header .logo { height: 100%; display: flex; align-items: center; }
#sp-header .logo img { height: 80px; width: auto; max-width: none; }
#sp-header.header-sticky {
  position: fixed !important;
  background: var(--bk-orange) !important;
  border-bottom-color: transparent;
  box-shadow: 0 2px 15px rgba(0, 0, 0, .1) !important;
  animation: none;
}
.sticky-header-placeholder { display: none !important; }

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
  line-height: 80px;
  padding: 0 15px;
}
.sp-megamenu-parent > li:last-child > a { padding-right: 0; }
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li > a:hover { color: rgba(255, 255, 255, .65); }
#sp-header.header-sticky .sp-megamenu-parent > li > a { color: var(--bk-dark); }
#sp-header.header-sticky .sp-megamenu-parent > li.active > a,
#sp-header.header-sticky .sp-megamenu-parent > li > a:hover { color: rgba(34, 34, 34, .6); }
/* album pages are hidden children of Myndir: no dropdown indicator */
.sp-megamenu-parent > li.sp-has-child > a::after, .sp-megamenu-parent > li.sp-has-child > span::after { display: none; }
.sp-megamenu-parent .sp-dropdown { display: none !important; }
#offcanvas-toggler .burger-icon > span { background-color: #fff; }
#sp-header.header-sticky #offcanvas-toggler .burger-icon > span { background-color: var(--bk-dark); }

/* Offcanvas */
.offcanvas-menu { background: var(--bk-bottom-bg); }
.offcanvas-menu .offcanvas-inner ul.menu > li > a {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
}
.offcanvas-menu .offcanvas-inner ul.menu > li.active > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > a:hover { color: var(--bk-orange); }
.offcanvas-menu .offcanvas-inner ul.menu > li > ul { display: none !important; }
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > .menu-toggler { display: none; }
.offcanvas-menu .close-offcanvas .burger-icon > span { background-color: #fff; }

/* ---------- Page title band (menu item setting) ---------- */
.sp-page-title {
  position: relative;
  height: 350px;
  padding: 110px 0 30px;
  background-color: #343a40;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  text-align: center;
  display: flex;
  align-items: center;
}
.sp-page-title::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(34, 34, 34, .7);
}
.sp-page-title > .container { position: relative; }
.sp-page-title .sp-page-title-heading {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 500;
  color: #fff;
  margin: 0 0 10px;
}
.sp-page-title .breadcrumb {
  justify-content: center;
  background: none;
  margin: 0;
  padding: 0 !important;
  font-size: 15px;
  font-weight: 500;
}
.sp-page-title .breadcrumb > li, .sp-page-title .breadcrumb-item + .breadcrumb-item::before,
.sp-page-title .breadcrumb > li a, .sp-page-title .breadcrumb > .active { color: #fff; }
.sp-page-title .breadcrumb > li a:hover { color: var(--bk-orange); }
.sp-page-title .breadcrumb-item + .breadcrumb-item::before { content: "/"; padding: 0 8px; float: none; }
.sp-page-title .breadcrumb > li.active { opacity: .85; }
.sp-page-title .breadcrumb .mod-breadcrumbs__divider { display: none; }
.sp-page-title .breadcrumb .breadcrumb-item:first-of-type { padding-left: 0; }
.sp-page-title .breadcrumb .mod-breadcrumbs__divider + .breadcrumb-item::before {
  content: "\f3c5"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; margin-right: 8px;
}

/* ---------- Typography helpers ported from ut_reto ---------- */
.sppb-addon-text-block .sppb-addon-content { font-size: 15px; line-height: 26px; color: var(--bk-text); }
.title-primary .sppb-addon-title, .sppb-addon-heading.title-primary .sppb-addon-title { color: var(--bk-orange) !important; font-weight: 500; font-size: 20px; }
.title-bar .sppb-addon-title, .title-bar .sppb-section-title .sppb-title-heading {
  position: relative;
  padding-bottom: 10px !important;
  margin-bottom: 25px !important;
}
.title-bar .sppb-addon-title::after, .title-bar .sppb-section-title .sppb-title-heading::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 80px; height: 1px;
  background: var(--bk-orange);
}
.sppb-section.title-bar .sppb-section-title .sppb-title-heading::after { background: var(--bk-text); }
.sppb-section.title-bar .sppb-section-title .sppb-title-heading { font-size: 32px; font-weight: 500; margin-bottom: 50px !important; }
.bg-gray-20 { background-color: var(--bk-gray-bg); }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }

/* image with offset orange block (single-image-1) */
.single-image-1 .sppb-addon-single-image-container {
  position: relative;
  display: inline-block;
  margin: 15px 0 0 15px;
  background: var(--bk-orange);
}
.single-image-1 .sppb-addon-single-image-container img {
  transform: translate(-15px, -15px);
  transition: transform .4s ease-in-out;
}
.single-image-1:hover .sppb-addon-single-image-container img { transform: translate(0, 0); }

/* ---------- Home hero slideshow ---------- */
.bk-hero-row .sppb-row-container { max-width: none !important; padding: 0; }
.bk-hero-row .sppb-row { margin: 0; }
.bk-hero-row .sppb-row > div, .bk-hero-row .sppb-column { padding: 0; }
.bk-hero .sppb-slideshow-fullwidth-item-text, .bk-hero .sppb-container { max-width: 1140px; }
.bk-hero .bk-hero-title { letter-spacing: 0; text-shadow: 0 2px 20px rgba(0, 0, 0, .2); margin-top: 0; }
.bk-hero .bk-hero-kicker { letter-spacing: .5px; }
.bk-hero .bk-hero-text { max-width: 430px; line-height: 1.65 !important; }
.bk-hero .bk-hero-lead { letter-spacing: 1px; }
/* slide 1: orange outline box behind the title, text indented under it */
.bk-hero .bk-hero-boxed { position: relative; padding-left: 85px !important; }
.bk-hero .bk-hero-boxed::before {
  content: "";
  position: absolute; left: 0; top: -70px;
  width: 250px; height: 320px;
  border: 2px solid var(--bk-orange);
  pointer-events: none;
}
.bk-hero .bk-hero-indent { margin-left: 270px !important; }
/* slide 3: white frame around the two title lines */
.bk-hero .bk-hero-frame {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  border: 3px solid #fff;
  padding: 35px 55px 30px;
}
.bk-hero .bk-hero-small {
  display: block;
  font-size: .533em;
  font-weight: 400;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.bk-hero .sppb-sp-slider-button { display: inline-block; margin: 0 4px !important; }
.bk-hero .sppb-sp-slider-button .sppb-btn,
.bk-hero .bk-hero-btn { border-radius: 0; border: 0; }

/* slide dots: dark squares, orange centre on the active one (old RevSlider bullets) */
.bk-hero .sp-dots ul li {
  position: relative;
  width: 20px !important; height: 20px !important;
  margin: 5px 0 !important;
  border: 0 !important; border-radius: 0 !important;
  background: rgba(0, 0, 0, .5) !important;
}
.bk-hero .sp-dots ul li::after, .bk-hero .sp-dots ul li::before { display: none !important; }
.bk-hero .sp-dots ul li span { display: none; }
.bk-hero .sp-dots ul li { background-image: radial-gradient(rgba(255, 255, 255, .45) 0 0) !important; background-size: 4px 4px !important; background-position: center !important; background-repeat: no-repeat !important; }
.bk-hero .sp-dots ul li.active, .bk-hero .sp-dots ul li:hover { background-image: radial-gradient(var(--bk-orange) 0 0) !important; }

/* ---------- SP Page Builder content ---------- */
.sppb-btn-primary, .sppb-btn-primary:focus {
  background: var(--bk-orange); border-color: var(--bk-orange); color: var(--bk-dark);
}
.sppb-btn-primary:hover { background: var(--bk-dark); border-color: var(--bk-dark); color: #fff; }

/* Um okkur: owners */
.sppb-addon-person .sppb-person-name { font-size: 16px !important; font-weight: 500; color: #555; margin-bottom: 10px; }
.sppb-addon-person .sppb-person-designation { font-size: 14px !important; color: #888; line-height: 2.2; }
.sppb-addon-person .sppb-person-designation a { color: #888; }
.sppb-addon-person .sppb-person-designation a:hover { color: var(--bk-orange); }


/* Hafa samband: form with underline fields (ut_reto form-style-1) */
.bk-contact-form .sppb-form-control, .bk-contact-form input[type="text"], .bk-contact-form input[type="email"], .bk-contact-form textarea {
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, .3);
  border-radius: 0;
  background: transparent;
  padding: 10px 0 !important;
  height: auto;
  font-size: 15px;
  color: rgba(0, 0, 0, .7);
  box-shadow: none;
}
.bk-contact-form textarea { min-height: 110px; resize: vertical; }
.bk-contact-form .sppb-form-control:focus, .bk-contact-form input:focus, .bk-contact-form textarea:focus { border-bottom-color: var(--bk-orange); outline: 0; box-shadow: none; }
.bk-contact-form ::placeholder { color: rgba(0, 0, 0, .5); }
/* space between the captcha and the send button */
.bk-contact-form altcha-widget { display: block; margin: 10px 0 30px !important; max-width: 320px; }
.bk-contact-form .sppb-form-group { margin-bottom: 25px !important; }
@media (min-width: 768px) {
  .bk-contact-form .sppb-form-builder-field-0 { padding-right: 15px !important; }
  .bk-contact-form .sppb-form-builder-field-1 { padding-left: 15px !important; }
}
.bk-contact-form .sppb-form-builder-btn button, .bk-contact-form .sppb-btn {
  background: var(--bk-orange); border: 0; border-radius: 0; color: var(--bk-dark);
  font-size: 14px; font-weight: 400; text-transform: uppercase; letter-spacing: .5px;
  padding: 15px 30px;
}
.bk-contact-form .sppb-form-builder-btn button:hover, .bk-contact-form .sppb-btn:hover { background: var(--bk-dark); color: #fff; }

/* ---------- Myndir: album cards ---------- */
.bk-albums .sppb-column { margin-bottom: 10px; }
.bk-albums .sppb-row { --bs-gutter-x: 10px; margin-left: -5px; margin-right: -5px; }
.bk-albums .sppb-row > div { padding-left: 5px; padding-right: 5px; }
.bk-album { position: relative; overflow: hidden; }
.bk-album .sppb-addon-single-image-container, .bk-album a { display: block; }
.bk-album img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .5s ease;
}
.bk-album:hover img { transform: scale(1.06); }
.bk-album .sppb-addon-title {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  margin: 0 !important;
  padding: 50px 15px 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, .65), rgba(0, 0, 0, 0));
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-align: left;
  pointer-events: none;
}

/* album pages: justified grid */
.bk-gallery .sppb-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bk-gallery .sppb-gallery { justify-content: flex-start !important; }
.bk-gallery .sppb-gallery::before { display: none !important; }
.bk-gallery .sppb-gallery::after { content: ""; display: block !important; flex-grow: 999; height: 0; }
.bk-gallery .sppb-gallery li {
  flex: 1 1 auto;
  float: none;
  margin: 0;
  padding: 0;
  height: 260px;
  overflow: hidden;
}
.bk-gallery .sppb-gallery li a { display: block; height: 100%; }
.bk-gallery .sppb-gallery img {
  display: block;
  height: 260px !important;
  width: auto !important;
  min-width: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform .4s ease, opacity .4s ease;
}
.bk-gallery .sppb-gallery li:hover img { transform: scale(1.05); opacity: .9; }
.bk-back-btn { margin-top: 40px; }

/* ---------- Footer ---------- */
#sp-bottom { padding: 80px 0 20px; background: var(--bk-bottom-bg); color: var(--bk-footer-text); font-size: 14px; text-align: center; }
#sp-bottom .sp-module { margin-bottom: 50px; }
#sp-bottom .sp-module-title {
  position: relative;
  display: inline-block;
  font-family: 'Roboto', sans-serif; font-size: 20px; font-weight: 500;
  color: #fff; margin-bottom: 30px;
}
#sp-bottom .sp-module-title::before, #sp-bottom .sp-module-title::after {
  content: "";
  position: absolute; top: 50%;
  width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50%;
  background: var(--bk-orange);
  box-shadow: 15px 0 0 var(--bk-orange);
}
#sp-bottom .sp-module-title::before { left: -35px; }
#sp-bottom .sp-module-title::after { right: -20px; }
#sp-bottom .sp-module-content p { margin: 0; line-height: 1.6; }
#sp-bottom a { color: #fff; font-weight: 500; }
#sp-bottom a[href^="tel"] { color: var(--bk-footer-text); font-weight: 400; }
#sp-bottom a:hover { color: var(--bk-orange); }
#sp-footer { background: var(--bk-footer-bg); color: var(--bk-footer-text); font-size: 14px; text-align: left; }
#sp-footer .container-inner { padding: 30px 0; border: 0; }
#sp-footer a { color: #fff; font-weight: 500; }
#sp-footer a:hover { color: var(--bk-orange); }
.sp-scroll-up { background: #222; color: #fff; border-radius: 0; }
.sp-scroll-up:hover { background: var(--bk-orange); color: #222; }

/* ---------- Cookie notice ---------- */
#bk-cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px; background: #ff9b00; color: #fff;
  transition: opacity .35s, transform .35s;
}
#bk-cookie.is-hidden { opacity: 0; transform: translateY(100%); }
#bk-cookie p { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.5; }
#bk-cookie a { color: #f5f5f5; text-decoration: underline; }
#bk-cookie .bk-cookie-ok {
  flex: none; border: 0; background: #fff; color: #333; font-weight: 500;
  font-family: 'Roboto', sans-serif; padding: 8px 16px; cursor: pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .bk-hero .bk-hero-indent { margin-left: 230px !important; }
}
@media (max-width: 991.98px) {
  #sp-header .row { flex-wrap: nowrap; }
  #sp-header #sp-logo, #sp-header #sp-menu { flex: 1 1 auto; width: auto; }
  #sp-header .logo img { height: 70px; }
  .sp-page-title { height: 280px; padding-top: 80px; }
  /* tablets and phones: no outline box / indent on slide 1, keep text clear of the dots */
  .bk-hero .bk-hero-boxed { padding-left: 0 !important; }
  .bk-hero .bk-hero-boxed::before { display: none; }
  .bk-hero .bk-hero-indent { margin-left: 0 !important; }
  .bk-hero .sppb-container { padding-left: 60px !important; padding-right: 60px !important; }
  .bk-hero .bk-hero-text { max-width: 520px; }
  .bk-gallery .sppb-gallery li, .bk-gallery .sppb-gallery img { height: 200px !important; }
}
@media (max-width: 767.98px) {
  #sp-header .logo img { height: 60px; }
  .sp-page-title { height: 240px; padding-top: 80px; }
  .sp-page-title .sp-page-title-heading { font-size: 28px; }
  .bk-hero .sppb-container { padding-left: 40px !important; padding-right: 40px !important; }
  .bk-hero .bk-hero-kicker { letter-spacing: 0; }
  .bk-hero .bk-hero-frame { padding: 22px 20px 18px; }
  .bk-hero .bk-hero-small { font-size: .6em; }
  .bk-hero .sppb-sp-slider-button { margin: 0 4px 8px !important; }
  .bk-album .sppb-addon-title { font-size: 20px; }
  .bk-gallery .sppb-gallery { gap: 6px; }
  .bk-gallery .sppb-gallery li, .bk-gallery .sppb-gallery img { height: 140px !important; }
  #sp-footer { text-align: center; }
  #bk-cookie { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
  #bk-cookie p { font-size: 14px; }
}
