/* CSS Document */

@font-face {
  font-family: 'bsFont';
  src: url('font/bs.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'monsFont';
  src: url('font/mons.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'kanitFont';
  src: url('font/kanit-light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'kanitSBFont';
  src: url('font/kanit-sbold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'russoFont';
  src: url('font/russo.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Reset & basic styling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  min-height: 100%;
  background-color: #000;
  background-image: url('img/energy.gif'); 
  background-repeat: no-repeat;
  background-size: cover; 
  background-attachment: fixed;
  font-family: Arial, sans-serif;
  color: #fff;
  overflow: auto;
  display: flex;
  flex-direction: column;
}
.blurred-bg {
  position: fixed; 
  top: 0;
  left: 0;
  width: 98%;
  height: 100%;
  background-image: inherit; 
  background-size: cover;
  background-position: center;
  filter: blur(12px); 
  z-index: 0; 
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem;
  display: flex;
  justify-content: center;
  z-index: 10;
  flex-wrap: wrap; 
  gap: 1rem; 
  background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}
.navbar a {
  color: #fff;
  font-family: 'monsFont';
  text-decoration: none;
  font-size: 1.5rem;
  padding: 0.4rem 0.4rem;
  background-color: #13126bb0;
  border-radius: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  min-width: 160px; 
  text-align: center;
  filter: drop-shadow(0 0 32px rgba(0,0,0,1.00));
}

.navbar a:hover {
  background-color: rgba(18, 255, 139, 0.46);
  transform: translateY(-3px);
}
.navbar a.active {
  background-color: #0c040c82;
  color: #007bff;
}
.navImage-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.navImage {
  max-height: 30px;
  cursor: pointer;
}

/* Overlay Styles */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  background-image: url('img/energy.gif'); 
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 1;
  transition: opacity 1s ease;
}
.overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.overlay img {
  filter: drop-shadow(0 0 22px rgba(255,255,255,1.00));
  cursor: pointer;
}

/* Main Content */
.content {
  display: none; 
  padding-top: 60px; 
  text-align: center;
  margin: 1rem;
  z-index: 1;
  flex: 1;
  font-family: 'kanitFont';
}

.content img {
  filter: drop-shadow(0 0 8px rgba(255,255,255,1.00));
  position: relative;
  z-index: 9;
}

.content ul {
  padding-left: 30px;
}

.content li {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Card Styling */
.contentCardA, .contentCardB {
  max-width: 1200px;
  width: 88%; 
  margin: 1rem auto;
  padding: 1rem 3rem;
  padding-bottom: 2.4rem;
  background-color: rgba(255, 255, 255, 0.85); /* Lighter and more transparent */
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); /* Increased shadow for depth */
  transition: background-color 0.3s ease, transform 0.3s ease;
  position: relative;
  color: #1a1a1a; 
}

.contentCardA h2, .contentCardB h2 {
  font-size: 2rem;
  margin-bottom: 1.1rem;
  color: rgba(103,0,93,1.00); 
  font-family: 'russoFont';
}

/* Alternating Background Colors */
.contentCardA {
  background-color: rgba(240, 240, 240, 0.85); 
  text-align: left;
}

.contentCardB {
  background-color: rgba(230, 230, 230, 0.85); 
  text-align: left;
}

/* Hover Effect */
.contentCardA:hover, .contentCardB:hover {
  transform: translateY(-5px); 
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4); /* Enhanced shadow */
}

/* Text Offset and Fancy Typography */
.contentCardA p, .contentCardB p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 0;
}

/* Bullet list styles */
.contentCardB ul {
  list-style-type: disc;
  padding-left: 40px; 
  font-size: 1.1rem;
}

.contentCardB li {
  margin-bottom: 10px;
}

/* contentCardC Styling */
.contentCardC {
  max-width: 1200px;
  width: 88%; 
  margin: 2rem auto;
  padding: 2rem;
  background-color: rgba(240, 240, 240, 0.85); /* Lighter and transparent background */
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); /* Stronger shadow */
  color: #1a1a1a;
  text-align: left;
  position: relative;
}

/* Headings */
.contentCardC h1 {
  font-size: 2rem;
  margin-bottom: 1.1rem;
  color: rgba(103,0,93,1.00); 
  font-family: 'russoFont';
}
.contentCardC h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color:rgba(0,54,40,1.00);
  font-family: 'russoFont';
}

/* Paragraphs */
.contentCardC p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Lists */
.contentCardC ul {
  list-style-type: disc;
  padding-left: 40px;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.contentCardC ul li {
  margin-bottom: 10px;
}

/* Dropdown Content */
.dropContent {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}
.dropContent h2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
  background: rgba(0, 0, 0, 0.2); /* Semi-transparent black */
  padding: 5px;
  border-radius: 8px; /* Optional: Adds rounded corners */
}
.dropContent h2 img {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease-in-out;
}
.drop-item {
  display: none; /* Hidden by default */
  padding: 10px;
  border-left: 3px solid #007bff;
  margin-top: 5px;
}
.expanded img {
  transform: rotate(180deg); /* Rotates arrow down */
}

/* Inside Content Styling */
.insideContent {
  background-color: rgb(153, 255, 190, 0.9); 
  padding: 0.5rem 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}
.insideContent h1 {
  font-size: 2.2rem;
  font-family: 'kanitSBFont';
  color: rgb(0, 123, 255, 1.00);
  margin-bottom: 1rem;
  cursor: default;
  background-color: rgb(62, 221, 171, 0.5);
  border-radius: 10px;
  padding-left: 10px;
}

/* Card Section Styling */
.card-item {
  margin-bottom: 10px;
}
.card-item p {
  margin: 5px 0;
}

/* Remove list markers */
.product-list {
  list-style: none; /* Removes default bullets */
  padding: 0; /* Removes default padding */
  margin: 0; /* Removes default margin */
}

.product-list li {
  list-style-type: none; /* Ensures no markers appear */
}

/* Product Container */
.product-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.product-container img {
  filter: drop-shadow(0 0 2px rgba(255,255,255,1.00));
}

/* Product Image */
.product-image {
  width: 150px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
  
}

.product-image:hover {
  transform: scale(1.1);
}

/* Product Details */
.product-details {
  flex: 1;
}

/* Image Popup Modal */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-image {
  max-width: 80%;
  max-height: 80%;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* Button Container */
.button-container {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

/* Button Images */
.button-image {
  max-height: 30px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.button-image:hover {
  transform: scale(1.1);
}


/* Media Query for Smaller Screens (less than 768px) */
@media (max-width: 975px) {
  html, body {
    background-attachment: fixed;
  }
  .navbar a {
    font-size: 0.9rem; 
    padding: 0.6rem 1.5rem; 
    min-width: 100px; 
  }

  .navbar {
    padding: 0.2rem; 
  }
  .navImage {
    max-height: 25px;
  }

  .contentCardA, .contentCardB {
    width: 100%; 
    padding-left: 1rem; 
    padding-right: 1rem; 
  }

  .contentCardC {
    width: 100%;
    padding: 1rem;
  }

  .overlay img {
    max-width: 100%; 
    width: 100%; 
  }

  .content img {
    max-width: 100%
  }
}

/* Footer Styles */
footer {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
  color: white;
  padding-top: 80px;
  width: 100%;
  text-align: center;
  z-index: 10;
  position: relative;
  margin-top: auto;
}

.footer-container {
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

footer p {
  margin-bottom: 10px;
}

/* Styling for the image and checkbox in overlay */
#enterImage {
  max-width: 100px;
  cursor: pointer;
}
#dontShowAgain {
  margin-top: 10px;
  color: #fff;
}
