body,h1,h2,h3,h4,h5,h6 {font-family: "Raleway", sans-serif}

body, html {
  height: 100%;
  line-height: 1.8;
}

/* Full height image header */
.bgimg-1 {
  background-position: center;
  background-size: cover;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("city-skyline.jpg");
  min-height: 100%;
}

.w3-bar .w3-button {
  padding: 16px;
}

/* Logo */
.logo-img {
  height: 45px;
  width: auto;
}

/* Header */
.header-left {
  padding: 48px;
}

.header-bottomleft {
  padding: 24px 48px;
}

.header-left .w3-jumbo {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
}

/* Header subtext (smaller under the jumbo header) */
.header-left p {
  font-size: 20px;
  margin-top: 0.5rem;
}

/* force smaller header text (higher specificity + !important) */
#home .header-left .w3-jumbo,
#home .w3-display-left .w3-jumbo,
.w3-jumbo.w3-hide-small {
  font-size: clamp(1rem, 5vw, 50px) !important;
  line-height: 1.15 !important;
  margin: 0;
  display: block !important;
  font-weight: 700 !important;
}

/* About section */
.about-container {
  padding: 128px 16px;
}

.about-container p.w3-large {
  font-size: 15px !important;
  line-height: 1.6;
}

.about-row {
  margin-top: 64px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.about-item {
  text-align: center;
  flex: 1 1 250px;
  min-width: 250px;
}

/* How it Works section */
.how-container {
  padding: 64px 16px;
  background-color: #f2f2f2;
}

.w3-container.how-container h3 {
  padding-bottom: 20px;
}

.how-steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.how-step {
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 320px;
  text-align: center;
}

.how-step .step-title {
  margin-top: 8px;
  font-weight: 700;
}

.how-step p {
  margin: 8px 0;
}

/* Opening hours section */
.open-times {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 300px;
  margin: 0 auto;
}
  
/* Out-of-hours label under opening times */
.out-of-hours {
  font-weight: 700;
  margin-top: 12px;
  font-size: 0.95rem;
}

.open-time-item {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.open-time-item .day {
  font-weight: bold;
  min-width: 100px;
}

.open-time-item .time {
  text-align: right;
}

.w3-container.opening-hours {
  padding: 64px 16px;
}

/* Contact section */
.contact-container {
  padding: 64px 16px;
  background-color: #f2f2f2;
  background-image: url("London-BW.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: white;
}

.contact-inner {
  margin-top: 48px;
}

.contact-info {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

.contact-container {
  position: relative;
}

.contact-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.contact-container * {
  position: relative;
}

/* Modal content padding */
.modal-content-padding {
  padding: 64px;
}

/* WhatsApp icon styling */
.w3-bar-item.w3-right {
  padding: 12px 16px;
}

.w3-bar-item.w3-right i {
  font-size: 24px;
  color: black;
}

.w3-bar-item.w3-right:hover i {
  color: #20BA5A;
}

.contact-icon {
  font-size: 25px;
}

@media (max-width: 600px) {
  .header-left {
    padding: 24px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .about-container {
    padding: 64px 16px;
  }
}

@media (max-width: 768px) {

  .w3-jumbo {
    font-size: 1.6rem !important;
  }

  .how-step {
    max-width: 100%;
  }

  .feature {
    min-width: 100%;
  }

  .open-time-item {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }

  footer p {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .about-row {
    flex-direction: column;
    align-items: center;
  }

  .about-item {
    max-width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .w3-display-left {
    position: relative;
    left: 0;
    transform: none;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .open-time-item {
    align-items: center;
  }

  .open-time-item .time {
    text-align: center;
  }
}

@media (max-width: 600px) {

  .w3-row,
  .w3-row-padding {
    margin: 0 !important;
  }

  .w3-third {
    width: 100% !important;
    float: none !important;
  }
}

@media (max-width: 600px) {

  /* Reset W3CSS absolute positioning */
  #home .w3-display-left {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 16px;
    text-align: center;
  }

  #home .header-left {
    padding: 0;
  }

  #home .header-left p {
    font-size: 16px;
  }
}