/*Design Stuff1234*/
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/*
  #5C4033: a7764f
  Blue: 0a4885
  4f80a7
  137cbf
purple: 534299
dark blue: 137cbf
red: a11824*/

/* -------- global stuff -------- */
body {
  font-family: "Jost", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  scroll-behavior: smooth;
}

p {
  font-weight: 400;
  font-family: "Jost", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 16px;
  line-height: 24px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-4 {
  font-family: "Noto Sans JP", serif;
  font-weight: 900 !important;
  font-style: normal;
}

.quote {
  font-family: "PT Serif", serif;
  font-weight: 400 !important;
  font-style: italic;
}

.mt-n5 {
  margin-top: -7rem;
}
@media (max-width: 992px) {
  .mt-n5 {
    margin-top: 1rem;
  }
}

text-info {
  color: rgb(64, 136, 188);
}

h2.large-header {
  font-size: 3.8rem;
  font-weight: 700;
}

h3.large-header {
  font-size: 2.5rem;
  font-weight: 700;
}

.border-light {
  border-color: #666 !important;
}

.tap-list,
.tap-list p,
.tap-list ul {
  font-size: 1.2rem;
  line-height: 1.4rem;
  margin-bottom: 0;
}

.tap-list h4 {
  font-size: 2.2rem;
  line-height: 2.2rem;

}

.text-warning {
  color: #d69b11 !important;
}

.btn-outline-primary {
  border-color: rgb(64, 136, 188);
  color: rgb(64, 136, 188);
}

.btn-outline-primary:hover {
  border-color: #fff;
  background-color: #fff;
  color: #000;
}

.bg-dark {
  background-color: rgb(27, 27, 27) !important;
}

.pointer {
  cursor: pointer;
}

.no-gutters {
  margin-right: -15px;
  margin-left: -15px;
}

img {
  max-width: 100%;
}

iframe {
  width: 100%;
}

a {
  color: #5C4033;
  text-decoration: none;
  transition: all 0.5s ease;
}

a:hover {
  color: #fff;
  text-decoration: none;
}

.navbar {}
.rounded {
  border-radius: 10px !important;
}
.rounded-end {
  border-top-right-radius: 10px!important;
  border-bottom-right-radius: 10px!important;
}

@media (min-width: 1200px) {
  .navbar {
    background-color: transparent !important;
  }

  .nav-fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
  }

  .navbar .nav-link {
    font-weight: 600;
    font-size: 13.5px;
    text-transform: uppercase;
    color: #fff !important;
    padding: 1.5rem 1.3rem !important;
  }
}

.navbar .nav-link .fa-brands {
  font-size: 24px;
  /* Adjust size as necessary */
  line-height: 1;
  /* Aligns icon by reducing line height */
  vertical-align: middle;
  /* Aligns vertically */
  margin-bottom: 4px;
  /* Pushes the icon up slightly if it appears too low */
}

.navbar .nav-link {
  font-weight: 600;
  font-size: 13.5px;
  text-transform: uppercase;
  padding: 1.5rem 1.3rem !important;
}

.navbar .nav-link:hover {
  color: #5C4033 !important;
}

.shrink {
  background-color: rgb(248, 249, 250) !important;
}

/* Add fade effect for color change */
.shrink {
  background-color: rgb(248, 249, 250) !important;
  transition: background-color 0.5s ease;
  /* Smooth transition */
}

.shrink .nav-link {
  font-weight: 600;
  font-size: 13.5px;
  text-transform: uppercase;
  color: #000 !important;
}

  /* Style for colored PNG to appear all white */
  .shrink .navbar-brand img {
    /*filter: brightness(0) invert(1);
  /* Converts colors to white */
    transition: filter 0.5s ease;
    /* Smooth transition for the filter */
  }
  .navbar-brand {
    max-width: 80%;
    width: 400px;
  }



  /* Full-screen video container */
  .video-background-holder {
    position: relative;
    height: 100vh;
    /* Full viewport height */
    width: 100%;
    overflow: hidden;
  }

  /* Video styling */
  .video-background-holder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures video covers the entire area */
  }

  /* Content overlay styling */
  .video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    /* Text color */
    font-family: 'Jost', sans-serif;
    z-index: 2;
  }

  /* Header styles */
  .video-content h2 {
    font-size: 1.5rem;
    /* Match smaller header */
    font-weight: 400;
    margin-bottom: 10px;
  }

  .video-content h1 {
    font-size: 3rem;
    /* Bold centered name */
    font-weight: 700;
    margin-bottom: 10px;
  }

  .video-content p {
    font-size: 1.1rem;
    font-weight: 400;
    margin-top: 10px;
  }

  /* Overlay for contrast */
  .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Slight black overlay for contrast */
    z-index: 1;
  }

  /* Custom transparent card with outline */
  .custom-card {
    background-color: transparent;
    /* Transparent background */
    border: 1px solid rgb(64, 136, 188);
    /* Outline color: Bootstrap's info blue */
    border-radius: 0;
    /* Slightly rounded corners */
    padding: 20px;
  }

  .custom-card .card-title {
    font-size: 1.25rem;
    /* Adjust card title size */
  }

  .custom-card .card-text {
    font-size: 1rem;
    /* Paragraph size */
    line-height: 1.6;
    color: #ddd;
    /* Light gray text for readability */
  }

  /* Carousel Control Icons */
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    /* Dark semi-transparent background */
    border-radius: 50%;
    /* Make icons circular */
    padding: 10px;
    /* Add padding for larger clickable area */
    width: 40px;
    height: 40px;
    background-size: 75%;
    /* Slightly smaller icon */
  }

  /* Make the left and right controls full height for easy clicking */
  .carousel-control-prev,
  .carousel-control-next {
    width: 10%;
    /* Width of the clickable left/right bands */
    height: 100%;
    /* Full height */
    top: 0;
    bottom: 0;
    opacity: 1;
    /* Ensure they're always visible */
    color: transparent;
    /* Hide default arrow color */
  }

  /* Center the icon within the full-height control area */
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Center icon */
  }

  /* Shadow effect for icons to improve visibility */
  .carousel-control-prev,
  .carousel-control-next {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
  }

  /* Hover effect to darken background */
  .carousel-control-prev:hover .carousel-control-prev-icon,
  .carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.8);
  }

  /* Responsive adjustments for smaller screens */
  @media (max-width: 576px) {

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
      width: 30px;
      height: 30px;
      padding: 5px;
    }
  }

  #footer a {
    color: #fff !important;
  }

  #footer a:hover {
    color: #5C4033 !important;
  }

  #footer li a {
    line-height: 27px !important;
  }

  .bg-footer {
    background-color: rgb(50, 50, 50) !important;
  }


  /* Ensure the card and its elements are styled properly */
  #cans .card {
    overflow: hidden;
    /* Ensure the image stays within the card boundaries */
    position: relative;
    transition: transform 0.3s ease-in-out;
  }

  #cans .card:hover {
    transform: scale(1.05);
    /* Slightly enlarge the card on hover */
  }

  /* Hover effect for the image */
  #cans .card-img-top {
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
  }

  #cans .card:hover .card-img-top {
    transform: scale(1.1);
    /* Enlarge the image slightly */
    filter: brightness(0.9);
    /* Darken the image slightly */
  }

  /* Optional: Add a box shadow on hover for more emphasis */
  #cans .card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }
  
  img.object-fit-cover {
    object-fit: cover;
    width: 100%;
    height: auto;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  aspect-ratio: 9 / 16; /* Maintains a tall and skinny aspect ratio */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  color: white;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.5s ease, background-size 0.5s ease;
  text-decoration: none; /* Ensures no underline for links */
}

/* Circular Gradient Overlay */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 20%, rgba(0, 0, 0, 0.6) 80%);
  transition: background 0.5s ease;
}

/* Content at the top */
.service-card .content {
  position: relative;
  padding: 20px;
}

/* Button at the bottom */
.service-card .button {
  position: relative;
  padding: 15px;
  font-size: 1rem;
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 10px;
  border-radius: 50px;
  color: white;
  font-weight: normal;
  transition: background 0.3s ease;
}

/* Bootstrap Icon */
.service-card .button i {
  font-size: 1.2rem;
}

/* Hover Effects */
.service-card:hover {
  transform: scale(1.05); /* Slightly scales the entire card, preventing background issues */
}

.service-card:hover::before {
  background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.4) 80%);
}

.col-md-12 .service-card {
  margin-top: 20px;
  aspect-ratio: auto; /* Removes the aspect ratio */
}



@media (max-width: 992px) {
  .service-card {
    aspect-ratio: auto; /* Removes the aspect ratio */
    margin-bottom: 20px;
  }
}

