* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Raleway", sans-serif;
  line-height: 1.6;
  background: #333;
}

a {
  text-decoration: none;
  color: white;
}

/* ---- Layout ---- */

.content-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background: #ffffff;
  min-height: 800px;
}

.content-section .text {
  flex: 1;
  margin-right: 2rem;
  align-self: baseline;
  margin-top: 3rem;
}

.content-section .text h2 {
  font-size: medium;
  color: #333;
  margin-bottom: 0.5rem;
}

.content-section .text h1 {
  font-size: 2rem;
  color: #000;
  margin-bottom: 1rem;
}

.content-section .text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

.content-section .image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.content-section .image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  min-height: 600px;
}

.hide {
  display: none !important;
}

/* ---- Video / Hero ---- */

.videosection {
  margin-bottom: -10px;
  height: 100vh;
}

video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center center;
}

.text-overlay {
  position: absolute;
  top: 20%;
  left: 5%;
  color: white;
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
  animation: roll-out 2s ease forwards;
}

.text-overlay span {
  margin-bottom: 1rem;
  font-size: 3rem;
  font-weight: 200;
}

span.content {
  display: block;
  font-weight: 500;
  font-size: 0.85rem !important;
  font-style: normal !important;
}

@keyframes roll-out {
  0% {
    clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
  }
  100% {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
}

/* ---- Shared button base ---- */

.button a,
.menu a {
  display: inline-block;
  padding: 0.5rem 2rem;
  border-radius: 5px;
  background-color: white;
  color: black;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 0 black;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin-right: 10px;
}

.button a {
  font-size: 15px;
  font-weight: normal;
}

.menu a {
  font-size: 10px;
  margin-bottom: 3px;
  margin-left: 20px;
}

.button a:hover,
.menu a:hover {
  background-color: rgba(200, 200, 200, 0.9);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* ---- Search / City list ---- */

.search-container {
  margin-bottom: 20px;
}

.search-container input {
  padding: 10px;
  width: 100%;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.cities {
  max-width: 40%;
}

ul {
  list-style-type: none;
  padding: 0;
}

ul li {
  padding: 10px;
  font-size: 18px;
  border: 1px solid #ddd;
  margin-bottom: 5px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

ul li:hover {
  background-color: #f0f0f0;
}

ul li.selected {
  background-color: #84c2ed;
  color: white;
}

/* ---- Map ---- */

.map-container {
  padding-top: 8%;
}

iframe {
  height: 600px;
  width: 800px;
  border: 0;
}

/* ---- Locker grid ---- */

.wrapper {
  margin-top: 100px;
  width: 800px;
  background-color: #5b6e7b;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  box-sizing: border-box;
}

.flex-item {
  position: relative;
  background-color: #7ec8ff;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  cursor: pointer;
  font-size: 4rem;
}

.flex-item:hover,
.flex-item.active {
  background-color: #5aa8e0;
}

.flex-item.taken {
  background-color: #9e9e9ec2;
  color: #ffffff47;
  cursor: default;
}

.flex-item.taken:hover {
  background-color: #9e9e9ec2;
}

/* ---- Battery icon ---- */

.battery-svg {
  width: 20px;
}

.battery-svg-fixed {
  position: absolute;
}

.battery-info {
  display: none;
  margin-top: 10px;
  padding-left: 10px;
}

.battery-info.visible {
  display: block;
}

.battery-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---- Team / About ---- */

.team-member {
  text-align: center;
  padding-top: 40px;
}

.team-member:first-of-type {
  padding-top: 50px;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.team-name {
  font-weight: bold;
  text-align: center;
  padding-bottom: 0;
}

.team-role {
  font-style: italic;
  font-size: 14px;
  text-align: center;
}

/* ---- Payment dialog (SweetAlert2 overrides) ---- */

.input-tel {
  height: 2rem;
  padding: 10px;
  margin: 10px;
}

div:where(.swal2-icon) {
  border: none !important;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
  background-color: #55b337;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel) {
  background-color: #cd8181;
}

div:where(.swal2-container) button:where(.swal2-styled) {
  padding-left: 40px;
  padding-right: 40px;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
  min-width: 150px;
}

.bankid-status {
  display: none;
}

/* Push payment dialog up on mobile so keyboard doesn't cover input */
@media (max-width: 768px) {
  .swal2-popup.swal-top {
    position: fixed;
    top: 13%;
    left: 5%;
    max-width: 90%;
    transform: none !important;
  }

  .swal2-title {
    font-size: 1.4rem;
    font-weight: 400;
  }

  .swal2-html-container {
    padding-top: 5px;
    font-size: 0.95rem;
    font-weight: 400 !important;
  }

  /* Lock everything when SweetAlert is open — prevents reflow on keyboard open */
  body.swal2-shown {
    height: 100% !important;
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
  }

  /* Disable SweetAlert container transitions during viewport changes */
  .swal2-container {
    transition: none !important;
  }

  .swal2-popup {
    transition: none !important;
    animation: none !important;
  }
}

/* ---- Contact page ---- */

.contact-cards {
  display: flex;
  gap: 40px;
  justify-content: center;
  padding: 30px 0;
}

.contact-cards .team-member {
  padding-top: 0;
}

.contact-cards .team-photo {
  width: 120px;
  height: 120px;
}

.contact-links {
  padding-top: 20px;
  max-width: 400px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  transition: color 0.2s ease;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item:hover {
  color: #84c2ed;
}

.contact-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.contact-item span {
  font-size: 1rem;
  color: inherit;
}

/* ---- Promo Video ----

.promo-video-section {
  padding-top: 2rem;
}*/

.promo-video-section video {
  width: 100%;
  max-width: 960px;
  height: auto;
  border-radius: 8px;
}

/* ---- Footer ---- */

footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 1rem;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

footer span {
  cursor: pointer;
  margin-right: 1rem;
  margin-left: 1rem;
}

footer span:hover {
  text-decoration: underline;
}
