@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  margin: 0;
}

/* Example of applying it to specific elements */
h1 {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700; /* Example for bold weight */
}

p {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 400; /* Example for regular weight */
}

/* FOR BURGER MENU STYLES */

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: white;
  transition: all 0.3s ease-in-out;
}

.open .hamburger-top {
  transform: rotate(45deg);
  top: 8px;
  position: relative;
  z-index: 10;
}

.open .hamburger-middle {
  opacity: 0;
}

.open .hamburger-bottom {
  transform: rotate(-45deg);
  top: -8px;
  position: relative;
  z-index: 10;
}

.menu-animation {
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-open {
  opacity: 1;
  transform: translateY(0);
}

.scrolled {
  background-color: transparent; /* Tailwind CSS bg-blue-900 */
  color: #ffffff; /* Tailwind CSS text-white */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition with ease */
}

.header-nav.scrolled a,
.header-nav.scrolled h1,
.header-nav.scrolled .hamburger span {
  color: #ffffff; /* Ensure links, h1, and hamburger icon are white */
  transition: color 0.3s ease; /* Smooth transition for font color with ease */
}

.header-nav.scrolled .hamburger span {
  background-color: #ffffff; /* Change span background to white */
}

/* FOR CIRCLE AND HEXAGON ANIMATION STYLES */

.circle {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background-color: #003595;
  z-index: 0;
}

.hexagon, .sub-hexagon {
  position: relative;
  width: 120px; 
  height: 69.28px;
}

.hexagon:before, .sub-hexagon:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background-image: url('../images/cube-icon.jpg');
  background-size: cover;
  background-position: center;
}


/* FOR VIDEO STYLES */

video::-webkit-media-controls {
  display: none !important;
}

video::-moz-media-controls {
  display: none !important;
}

video::-ms-media-controls {
  display: none !important;
}

video::-o-media-controls {
  display: none !important;
}

video::-khtml-media-controls {
  display: none !important;
}

video {
  outline: none;
  object-fit: cover; /* Ensures the video covers the container */
}

.video-wrapper {
  position: relative;
  width: 37.5rem; /* Custom width equivalent to w-150 */
  height: 25rem;  /* Custom height equivalent to h-96 */
  overflow: hidden;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-wrapper h1 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

/* FOR CONTENT STYLES */

.progress-bar {
  width: 0;
  transition: width 0.3s;
}

.top-bar {
  top: 0;
}

.bottom-bar {
  bottom: 0;
}

.hero-section {
  position: relative;
  width: 100%;
  background-image: url('../images/IMG_0364.jpg'); /* Path to your image */
  background-size: cover; /* Cover the entire div */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Match the height of the hero section */
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent black */
  /* box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.7); Inner shadow for vignette effect */
  z-index: 1; /* Ensure the shadow overlay is above the background image */
}

#offers-section {
  transition: background-image 0.5s ease-in-out;
  background-size: cover; /* Add this */
  background-position: center; /* Center the background */
  background-repeat: no-repeat; /* Prevent repeating */
}

.bg-change:hover {
  position: relative;
  z-index: 5;
}

.text-white-on-hover {
  color: white !important;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  backdrop-filter: blur(5px); /* Apply blur effect */
  /* padding: 10px; Add padding for better readability */
  border-radius: 5px; /* Optional: rounded corners */
  transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out;
}

/* .text-on-hover {
  color: #FFCE00 !important;
  text-shadow: 
  2px 2px 0px black,
  -2px -2px 0px black,
  -2px 2px 0px black,
  2px -2px 0px black;
  transition: text-shadow 0.5s ease-in-out, color 0.5s ease-in-out;
}

.text-white-on-hover {
  color: white !important;
  text-shadow: 
  2px 2px 0px black,
  -2px -2px 0px black,
  -2px 2px 0px black,
  2px -2px 0px black;
  transition: text-shadow 0.5s ease-in-out, color 0.5s ease-in-out;
} */

.bg-change:hover ~ #offers-section {
  background-image: url('');
  background-size: cover;
  background-position: center;
} 

.custom-shadow {
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.4);
}

.group-hover:blur-md:hover img {
  filter: blur(5px);
}

.group-hover:scale-105:hover img {
  transform: scale(1.05);
}

/* Follow OS/browser reduced-motion setting for anchor navigation. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Keyboard-visible desktop mega-menu categories; do not style mobile navigation. */
@media (min-width: 1024px) {
  #header-scrolling .header-button > h1 { cursor: pointer; }
  #header-scrolling .header-button > h1:focus-visible {
    outline: 2px solid #073b4c;
    outline-offset: 4px;
    border-radius: 4px;
  }
}

/* Compact, keyboard-operable mobile header and menu. Desktop header unchanged. */
.cdm-mobile-header {
  width: 100%;
  min-height: 80px;
}
.cdm-mobile-brand { flex: 1 1 auto; max-width: calc(100% - 64px); }
.cdm-mobile-brand-link { flex: 0 0 48px; display: block; }
.cdm-mobile-brand-link img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.cdm-mobile-brand h1 {
  min-width: 0;
  margin: 0;
  line-height: 1.3;
  overflow-wrap: normal;
}
.cdm-mobile-menu-toggle {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin-right: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
}
.cdm-mobile-nav {
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: hidden;
}
.cdm-mobile-nav-toolbar {
  flex: 0 0 auto;
  flex-wrap: wrap;
  min-height: 72px;
  padding-block: 10px;
  background: #fff;
}
.cdm-mobile-nav-close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}
.cdm-mobile-nav-actions {
  flex-wrap: wrap;
  min-width: 0;
}
.cdm-mobile-action {
  min-height: 44px;
  padding: 9px 10px;
  background: #073b4c;
  color: #fff;
  border: 1px solid #073b4c;
  font-size: .8rem;
  cursor: pointer;
}
.cdm-mobile-action .translateables { padding: 0 !important; }
.cdm-mobile-language {
  flex: 1 1 100px;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  padding: 5px 6px;
  color: #073b4c;
  font-size: .825rem;
}
.cdm-mobile-nav-body {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.cdm-mobile-header button:focus-visible,
.cdm-mobile-header select:focus-visible,
.cdm-mobile-header a:focus-visible {
  outline: 3px solid #d99a00;
  outline-offset: 3px;
}
@media (max-width: 365px) {
  .cdm-mobile-brand { gap: 8px; padding-left: 10px; }
  .cdm-mobile-brand h1 { font-size: .7rem; letter-spacing: .015em; }
  .cdm-mobile-nav-actions { gap: 6px; }
  .cdm-mobile-language { flex-basis: 100%; }
}
