@charset "utf-8";
/* CSS Document */

:root {
  --bulma-danger-h: 352deg;
  --bulma-danger-s: 70%;
  --bulma-danger-l: 44%;
  --bulma-warning-h: 38deg;
  --bulma-warning-l: 50%;
  --modal-max-px: 1024px;
  --modal-max-vh: 70vh; /* was 70vh */
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pokke-font {
  font-family: "barbieri", sans-serif;
  font-style: normal;
}

.pokke-shadow {
  text-shadow: 2px 2px 4px #490b13;
}

#tabs .button {
  width: 80px; 
  justify-content: center; 
}

.button.is-warning {
  box-shadow: 0 4px 4px rgba(0,0,0,0.2);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  color: #881423 !important;
  font-family: "barbieri", sans-serif;
  font-size: 1.5rem; 
  font-weight: bold;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button.is-warning:hover {
  background-color: hsl(30, 100%, 37%); 
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  color: white !important;
}

.phone-link {
  color: inherit;        
  text-decoration: none; 
}

.phone-link:hover {
  text-decoration: underline; 
}

.custom-image {
  width: 120px; 
}

@media screen and (min-width: 769px) {
  .custom-image {
    width: 180px; 
  }
}

.hidden {
  display: none;
}

.custom-line-height {
  line-height: 1.54;
}

.image-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  overflow: visible;
}

.image-item {
  width: 120px;
  height: 120px;
  flex: 0 0 auto;
  overflow: visible;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  border: 2px solid #ccc;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0px 0px 3px 4px rgba(0, 0, 0, 0.1);
}

.image-item img:hover {
  transform: scale(1.05);
  border-color: #000000;
}

.tab-section {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: transparent;
  padding: 1rem;
  overflow: auto;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tab-section.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.tab-content-wrapper {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  top: 230px;
  width: auto;
  max-width: 90vw;
  animation: slideUp 0.3s ease-out forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 50px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.tab-section .card {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.custom-card-box {
  border: 1px solid #000000;
  border-radius: 12px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1);
  margin: 0 auto;
  width: 90%;
  max-width: 1200px;
}

.custom-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ff3860;
  color: white;
  padding: 0.6rem 1rem 0.6rem 2.5rem;
}

.custom-card-header p {
  margin: 0;           
  line-height: 1.05;   
}

.custom-card-content {
  padding: 1.75rem 2.5rem 2.3rem 2.75rem;
}

.custom-card-content > *:first-child { margin-top: 0; }
.custom-card-content .section-lead { margin-bottom: 0.75rem; }


.close-button {
  background: none;
  border: none;
  cursor: pointer;
  padding-right: 0.75rem;
}

.contact-link {
  color: #cc0000;
  text-decoration: none;
}

.contact-link:hover {
  font-weight: bold;
  color: #bf2237;
}

.contact-link:hover .icon,
.contact-link:hover i {
  color: #bf2237;
}

.modal-nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: transparent;
  border: none;
  box-shadow: none;
}

#modal-prev {
  left: 0rem;
}

#modal-next {
  right: 0rem;
}

.modal-nav-button .icon i {
  color: #5b6d8f;
}

.modal-image-container img {
  max-height: min(var(--modal-max-px), var(--modal-max-vh));
  object-fit: contain;
}

.custom-modal-content {
  width: fit-content;                 /* shrink to content width */
  max-width: min(95vw, 1100px);       /* don’t exceed viewport/cap */
  margin: 0 auto;                     /* center it */
  padding: 0;
}

@supports not (width: fit-content) {
  .custom-modal-content {
    display: table;                   
    width: auto;
  }
}

.custom-modal-content .image img {
  max-height: min(var(--modal-max-px), var(--modal-max-vh));
  object-fit: contain;
  max-width: 100%;
}

.modal-nav-button i {
  font-size: 1.8rem;
}

#modal-title {
  color:#bf2237;
  padding: 1rem 0.1rem 0.1rem;
  font-style: normal;
  font-weight: bold;
  font-size: 1.5rem;
  animation: fadeInUp 0.5s ease-out;
}

#modal-subtitle {
  color: #5b6d8f;
  padding: 0.1rem 1rem 1rem;
  word-wrap: break-word;
  background-color: #ffffff;
  font-size: 1.1rem;
  font-style: italic;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------ WOW LOGOS ------------------ */
#sec-wow .wow-logos {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 0.75rem;
  justify-items: center;
  align-items: center;
  margin-left: 0;
  margin-right: 0;
  margin-top: 1rem;    
  margin-bottom: 1rem; 
  padding: 0 0.5rem;
}

#sec-wow .wow-logo img {
  width: 100%;
  max-width: 110px;     
  height: auto;
  object-fit: contain;
  padding: 0.25rem;
  transition: transform .2s ease;
}

#sec-wow .wow-logo img:hover { transform: scale(1.04); }


/* ------------------ ANIMATED BACKGROUND ------------------ */
.animated-bg {
  position: relative;
  overflow: hidden;
  min-height: 100vh; 
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.animated-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: linear-gradient(
    270deg,
    #031b25,
    #005f73,
    #099396,
    #93d2bd,
    #e8d7a4,
    #ed9b00,
    #ca6702,
    #bb3f02,
    #bf2237
  );
  background-size: 2000% 2000%;
  animation: bgScroll 60s ease infinite;
}

@keyframes bgScroll {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.buttons {
  justify-content: center !important;
}


#modal-media img,
#modal-media video {
  display: block;
  width: auto;                                   /* let height cap drive width */
  max-width: 95vw;                               /* but don’t overflow viewport */
  height: auto;
  max-height: min(var(--modal-max-px), var(--modal-max-vh));
  margin: 0;                                     /* no extra gaps */
  object-fit: contain;                           /* safe for videos too */
  border-radius: 8px;
}

.modal-content {
  margin: 0;         
  padding: 0;
}

.custom-modal-content .image.is-4by3 {
  position: static;
  height: auto;
  padding-top: 0;   
}

.custom-modal-content,
#modal-media,
.modal-image-container {
  padding: 0;
  margin: 0;
}

.custom-modal-content .image {
  margin: 0;
}

#image-modal .modal-content { 
  margin: 0;         
  padding: 0;
}

#image-modal .modal-body.box {
  --box-pad: 0.5rem;      /* was 1.25rem in Bulma */
  padding: var(--box-pad);
  overflow: hidden;       /* keeps corners clean if content bleeds */
}

#image-modal figure.image { 
  margin: 0; 
}

#image-modal #modal-media {
  margin: 0;
  padding: 0;
}

#image-modal #modal-media img,
#image-modal #modal-media video {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;              
  max-height: min(var(--modal-max-px), var(--modal-max-vh));
  object-fit: contain;
  border-radius: 8px;
}

/* === WAAR (clean 3-column rows) === */
#sec-waar {
  /* Desktop/tablet defaults */
  --waar-label-w: 20%;      /* label column width */
  --waar-icon-w: 26px;      /* icon column width */
  --waar-gap: 0.6rem;       /* gap between columns */
  --waar-row-gap: 0.25rem;  /* was ~0.55rem */
  --waar-line: 1.32;        /* was ~1.45 */

  /* Mobile defaults */
  --waar-label-w-sm: 25%;
  --waar-icon-w-sm: 22px;
  --waar-gap-sm: 0.45rem;
  --waar-row-gap-sm: 0.3rem;
  --waar-line-sm: 1.28;
}

#sec-waar .contact-list {
  margin-top: 0.75rem;
}

#sec-waar .contact-row {
  display: grid;
  grid-template-columns: var(--waar-label-w) var(--waar-icon-w) 1fr;
  column-gap: var(--waar-gap);
  align-items: start;
  margin-bottom: var(--waar-row-gap);
  line-height: var(--waar-line);
}

#sec-waar .contact-row .label {
  text-align: right;
  font-weight: 600;
  color: #818181;
}

#sec-waar .contact-row .label--blank {
  visibility: hidden;  
}

#sec-waar .contact-row .icon {
  display: grid;
  place-items: center;
}

#sec-waar .contact-row .icon i {
  font-size: 1.3em;
  line-height: 1;
}

#sec-waar .contact-row .value,
#sec-waar .contact-row .value a {
  word-break: break-word;
}

#sec-waar .contact-row .value a {
  color: #cc0000;
  text-decoration: none;
}

#sec-waar .contact-row .value a:hover {
  font-weight: bold;
  color: #bf2237;
}

#sec-waar .contact-row:last-child { 
  margin-bottom: 0; 
}


/* ------------------ MOBILE FIXES ------------------ */
@media (max-width: 768px) {

  .custom-modal-content .image img,
  #modal-media img,
  #modal-media video {
    max-height: min(var(--modal-max-px), var(--modal-max-vh));
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 0.25rem; 
  }
  
  .image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .tab-section {
    width: 100vw;
    max-width: 100vw;
    padding-left: 0;
    padding-right: 0;
  }

  .tab-content-wrapper {
    position: absolute;
    left: 50%;
    top: 80px;
    transform: translate(-50%, 0);
    max-width: 95vw;
    width: 95vw;
    display: flex;
    justify-content: center;
  }
  .custom-card-box {
    width: 100%;
    max-width: 95vw;
  }
  
  #sec-wow .wow-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 0.35rem;
    padding: 0 0.25rem;
  }

  #sec-wow .wow-logo img {
    max-width: 90px;
    padding: 0.15rem;
    display: block;
  }

  #sec-waar .contact-row {
    grid-template-columns: var(--waar-label-w-sm) var(--waar-icon-w-sm) 1fr;
    column-gap: var(--waar-gap-sm);
    margin-bottom: var(--waar-row-gap-sm);
    line-height: var(--waar-line-sm);
  }

  .custom-modal-content {
    max-width: 95vw;
    width: 90vw;
  }

    #image-modal .custom-modal-content {
    width: 95vw;
    max-width: 95vw;
    margin: 0;
  }

  #modal-title {
    font-size: 1.1rem;
  }

  #modal-subtitle {
    font-size: 0.9rem;
  }

  #image-modal .modal-body.box {
    --box-pad: 0.25rem;              
    padding: var(--box-pad);
  }

  #image-modal .modal-head {
    margin-left: calc(-1 * var(--box-pad));
    margin-right: calc(-1 * var(--box-pad));
    gap: 0.35rem;                   
  }
  
  #image-modal .modal-nav-button.button {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    min-width: 44px;                 /* keeps it finger-friendly */
  }
 
  #image-modal .modal-nav-button .icon i {
    font-size: 1.3rem;
  }
}

/* ------------------ TABLET FIXES ------------------ */
@media screen and (min-width: 769px) {
  .custom-card-box {
    width: 600px;
  }
}


/* ------------------ very small mobile ------------------ */
@media (max-width: 480px) {
  #tabs.buttons { flex-wrap: nowrap; }

  #tabs .button { 
    width: 72px;           
    flex: 0 0 auto;        
    white-space: nowrap;
  }

  .button.is-warning { 
    font-size: 1.2rem;     
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  #tabs .button + .button { margin-left: 0.35rem; } 
}

@media (min-width: 1024px) {
  .image-item {
    width: 150px;
    height: 150px;
  }
  .image-grid {
    max-width: 930px; /* 6 * 150 + 5 * 6 */
    margin: 0 auto;
    gap: 6px;
  }
}




