@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);
}
