/* FIXED BACKGROUND para malahi sa ubang RO websites*/
body {
  background-image: url("../Images/background_light.webp");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
  background-attachment: fixed;
}

@media screen and (max-width: 768px) {
  body {
    background-attachment: scroll;
    position: relative;
    overflow-x: hidden;
  }

  body::before {
    content: "";
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("../Images/background.png");
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    opacity: 1;
  }
}

/* General Links */
a {
  cursor: pointer;
  text-decoration: none;
  color: black;
}

/* ------HEADER------ */
.header-main {
  width: 100%;
  background-color: #03508c;
  display: flex;
  justify-content: space-between;
  height: 150px;
  align-items: center;
  padding-top: 0px;
  margin-top: 0px;
  box-sizing: border-box;
  padding-left: 20%;
  padding-right: 20%;
}

.center {
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .header-main {
    padding-left: 0;
    padding-right: 0;
    padding-top: 5px;
    height: 90px;
  }
}

@media screen and (min-width: 1920px) {
  .header-main {
    /*padding-top: 2rem;
    padding-bottom: 2rem;
    /* or just use height if fixed */
    height: 200px;
  }
}
 
/************************************************
 + 🚢🚢🚢 NAVIGATION BAR 🧭🧭🧭 +
 + Home About Issuances Procurement Etc +
 ***********************************************/
.nav-menu {
flex: 1;
display: flex;
justify-content: center;
}
.header-nav-buttons {
display: flex;
justify-content: center;
flex-wrap: wrap;
background-color: transparent; /* Remove white background */
padding: 5px 0;
margin: 0;
}
.header-nav-buttons li {
list-style: none;
position: relative;
}
.header-nav-buttons li a {
font-family: Arial, Helvetica, sans-serif;
font-size: 18px;
line-height: 30px;
padding: 10px 30px; /* distance between navbar items */
transition: background-color 0.3s ease, color 0.3s ease;
display: block;
background-color: transparent; /* Make links transparent */
}
.header-nav-buttons li a:hover {
background-color: #03508c;
color: #ffffff;
}
/* NAVIGATION BAR DROPDOWNS */
.dropdown-content {
display: none;
position: absolute;
top: 100%;
left: 0; /* align to left edge of parent */
background-color: #ffffff;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
z-index: 1000;
min-width: 200px;
}
.dropdown-content li a {
padding: 10px 16px;
white-space: nowrap;
}
.dropdown-content li a:hover {
background-color: #03508c;
color: #ffffff;
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown-content {
display: none;
}
.dropdown.open .dropdown-content {
display: block;
}

/* MAKES THE NAVBAR FLOAT LIKE MAGIC */
.header-main-navbar {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 9999;
background-color: rgba(255, 255, 255, 0.75); /* semi-transparent white */
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
display: flex;
justify-content: space-between;
align-items: center;
padding-right: 20px;
backdrop-filter: blur(10px); /* frosted glass effect */
-webkit-backdrop-filter: blur(10px); /* Safari support */
transition: background-color 0.3s, backdrop-filter 0.3s;
}

/* Para dili mataguan sa Navbar */
body {
padding-top: 60px;
}

/************************************************
 + 🍗🍗🍗 SPICY McCHICKEN BURGER SECTION 🔥🔥🔥 +
 + Ang navbar mahimong burger sa mobile view +
 ***********************************************/
/* hidden kung desktop mode */
.hamburger {
display: none;
font-size: 28px;
background: none;
border: none;
color: #000;
cursor: pointer;
padding: 10px 20px;
}

.menu-label {
font-size: 16px;
margin-left: 8px;
vertical-align: middle;
}

/* Navbar container to hold everything */
.navbar-container {
position: relative;
padding: 0;
margin-bottom: 0;
background-color: #fff;
z-index: 9999;
}

/* Show hamburger only on small screens */
@media (max-width: 768px) {
.hamburger {
display: inline-flex;
align-items: center;
position: fixed;
top: 0;
left: 0;
z-index: 10000;
font-size: 36px; /* Bigger = chunkier icon */
background: white;
border: none;
padding: 10px;
cursor: pointer;
width: 100%;
box-sizing: border-box;
justify-content: flex-start;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
 }

.hamburger .menu-label {
font-size: 16px;
margin-left: 10px;
display: none; /* optional: hide until you want to use it */
 }

.hamburger::after { /* Para sa word nga "Menu" */
content: " Menu";
font-size: 20px;
font-weight: bold;
margin-left: 8px;
margin-top: 6px;
font-family: Arial, Helvetica, sans-serif;
color: #000;
 }

.header-nav-buttons {
display: none;
z-index: 11000;
flex-direction: column;
background: #fff;
width: 100%;
text-align: left;
margin-top: 63px;
padding: 0; /* Remove padding from container */
margin-left: 20px; /* Move links to the right */
}

.header-nav-buttons li {
width: 100%; /* Make list items full width */
}

.header-nav-buttons a,
.header-nav-buttons button {
display: block;
width: 100%;
padding: 12px 16px 12px 16px; /* ← Padding left here */
text-align: left;
border: none;
background: white;
box-sizing: border-box; /* Include padding in width calculation */
}

.header-nav-buttons li a:hover {
background-color: #03508c;
color: #ffffff;
}

.header-nav-buttons.active {
display: flex;
}

/* Remove blur effects on mobile */
.header-main-navbar {
backdrop-filter: none;
-webkit-backdrop-filter: none;
background-color: #ffffff; /* Solid white background on mobile */
}
}

@media (max-width: 768px) {
.dropdown-content {
left: auto;
right: 0;
 }
}

/************************************************
 + 🎡🎡🎡      CAROUSEL IMAGES THINGY      🍭🍭🍭 +
 +      Rotating featured images & videos       +
 ***********************************************/
.carousel {
  position: relative;
  aspect-ratio: 4 / 3;
  height: auto;
  max-width: 50%;
  margin: 30px auto 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* Radio buttons to select which image */
.carousel input {
  display: none;
}

/* Container holds all slides stacked */
.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Slides are stacked on top of each other */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* Selects the slide */
#slide1:checked ~ .slides .s1,
#slide2:checked ~ .slides .s2,
#slide3:checked ~ .slides .s3,
#slide4:checked ~ .slides .s4,
#slide5:checked ~ .slides .s5,
#slide6:checked ~ .slides .s6,
#slide7:checked ~ .slides .s7,
#slide8:checked ~ .slides .s8,
#slide9:checked ~ .slides .s9,
#slide10:checked ~ .slides .s10 {
  opacity: 1;
  z-index: 1;
}

.navigation {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0px;
  z-index: 2;
}

.navigation label {
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 3px rgba(0,0,0,0.3);
  transition: background 0.3s;
}

.navigation label:hover {
  background: #ccc;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.carousel-nav button {
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  pointer-events: auto; /* re-enable click events */
  z-index: 10;
}

/* CAROUSEL LEFT-RIGHT BUTTONS */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  font-size: 30px;
  line-height: 50px;
  text-align: center;
  color: white;
  background-color: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  user-select: none;
  transition: background-color 0.3s;
  opacity: 0.5;
}

.arrow:hover {
  background-color: rgba(0, 0, 0, .5);
  opacity: 1;
}

.left-arrow {
  left: 0;
  transform: translateY(-50%) translateX(0%);
}

.right-arrow {
  right: 0;
  transform: translateY(-50%) translateX(0%);
}

/* Hide the default radio buttons */
.carousel input[type="radio"] {
    display: none;
}

/* Style the navigation labels as custom radio buttons */
.carousel .navigation label {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  margin: 0 4px;
  cursor: pointer;
  transition: background 0.3s, opacity 0.3s;
  opacity: 0.5;
}

/* Make the selected button fully opaque */
#slide1:checked ~ .navigation label[for="slide1"],
#slide2:checked ~ .navigation label[for="slide2"],
#slide3:checked ~ .navigation label[for="slide3"],
#slide4:checked ~ .navigation label[for="slide4"],
#slide5:checked ~ .navigation label[for="slide5"],
#slide6:checked ~ .navigation label[for="slide6"],
#slide7:checked ~ .navigation label[for="slide7"],
#slide8:checked ~ .navigation label[for="slide8"],
#slide9:checked ~ .navigation label[for="slide9"],
#slide10:checked ~ .navigation label[for="slide10"] {
  background: #03508c;
  opacity: 1;
}

/* Darken the label when its radio is checked */
#slide1:checked ~ .navigation label[for="slide1"],
#slide2:checked ~ .navigation label[for="slide2"],
#slide3:checked ~ .navigation label[for="slide3"],
#slide4:checked ~ .navigation label[for="slide4"],
#slide5:checked ~ .navigation label[for="slide5"],
#slide6:checked ~ .navigation label[for="slide6"],
#slide7:checked ~ .navigation label[for="slide7"],
#slide8:checked ~ .navigation label[for="slide8"],
#slide9:checked ~ .navigation label[for="slide9"],
#slide10:checked ~ .navigation label[for="slide10"] {
    background: #03508c;
}

@media (max-width: 768px) {
  .carousel {
    aspect-ratio: auto 4 / 3; /* Maintain aspect ratio */
    height: auto; /* Let aspect-ratio handle it */
    max-width: 100%;
    margin-left: 10px;
    margin-right: 10px;
  }
}


/************************************************
 + ✏️✏️✏️    MOST RECENT REGIONAL MEMOS    📃📃📃 +
 +   Ang latest nga 5 memos ug uban pa mao ni   +
 ***********************************************/
.regional-memos {
  padding: 1rem;
  background-color: transparent;
  font-size: large;
  font-family: Arial, Helvetica, sans-serif;
  text-align: left;
  max-width: 1200px; /* or whatever suits your layout */
  margin: 0 auto; /* para ma-center na gyud ning abata */
}

.regional-memos h2 {
  font-size: xx-large;
  font-weight: bold;
  margin-bottom: none;
  color: #03508c;
  text-align: center;
}

.memo-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 1rem;
  list-style: none;
  margin: 0;
}

.memo-list li {
  background-color: white;
  padding: 1.5rem;
  width: 100%;
  max-width: 800px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}

.memo-list a {
  color: #03508c;
  font-size: 1.1rem;
  text-decoration: none;
  display: block;
}

.memo-list a:hover {
  font-weight: bold;
}

/* SEE MORE LINK */
.see-more-link {
  text-align: center;
  padding-top: 30px;
  font-weight: bold;
}

.see-more-link a {
  font-size: 1.2rem;
  color: black;
  text-decoration: none;
  transition: color 0.3s;
  display: inline-block;
  position: relative;
  padding-right: 1.2em; /* Reserve space for ... */
}

.see-more-link a:after {
  content: "";
  transition: opacity 0.2s;
  position: absolute;
  right: 0;
  top: 0;
  width: 1.2em;
  text-align: left;
  opacity: 0;
}

.see-more-link a:hover {
  color: #03508c;
}

.see-more-link a:hover:after {
  content: "...";
  opacity: 1;
}

/* ------ VISION + MISSION ------ */
.vision-mission {
  display: flex;
  flex-direction: column;
  align-items: center;
  /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);*/
}



/* CONSTRUCTION NOTICE-RIFFIC (╯°□°)╯︵ ┻━┻ 
.construction-banner {
  position: center; 
  top: 0;
  right: 0;
  width: 300px; 
  height: auto;
  z-index: 10001; /* stays on top of everything 
  pointer-events: none; 
}

@media (max-width: 768px) {
  .construction-banner {
    width: 30%;
  }
}*/

/************************************************
 +      🌏🌎🌍       CONTACT US      ✉️✉️✉️       +
 +     Email and the official Facebook page     +
 ***********************************************/
.contact-us h2 {
  text-align: center;
  font-size: xx-large;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #03508c;
  margin-bottom: 20px;
  white-space: nowrap;
}

.contact-us {
  text-align: center;
  padding: 50px;
}

.contact-us-m {
    font-family: Arial, Helvetica, sans-serif;
    padding-bottom: 10px;
}

.contact-us a {
  display: inline-block;
  margin: 0 15px; 
}

.contact-us img {
  width: 60px; 
  height: auto;
  vertical-align: middle;
}



/************************************************
 + 🫦🫦🫦  DESKTOP LEFT AND RIGHT DOODADS  🍖🍖🍖 +
 +      Logos, seals, and widgets - Oh my!      +
 ***********************************************/
/* ------ WIDGETS PANEL ON LEFT ------ */
.left-panel {
  position: absolute;
  top: 240px;
  left: 0;
  width: 240px;
  max-height: 567px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 5px;
  padding: 20px;
  border-radius: 0 20px 20px 0;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  z-index: 0;
}

/* General Widget Styling */
.left-panel .widget {
  margin: 0;
  padding: 0;
}

/* General iframe Styling */
.left-panel iframe {
  width: 100%;
  display: block;
  border: none;
  border-radius: 10px;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Clock Widget */
.clock-widget iframe {
  height: 70px;
}

.clock-widget::before {
  content: "Philippine Standard Time";
  display: block;
  font-size: 16px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  color: #000;
}

/* Calendar Widget */
.calendar-widget iframe {
  height: 250px;
}

.calendar-widget::after {
  content: "Words of Wisdom";
  display: block;
  font-size: 16px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  color: #000;
  margin-left: 30px;
}

/* Quotes Widget */
.quote-box {
  margin: 0;
  padding: 0;
  margin-top: -10px; /* Adjust this if needed */
}

.quote-box iframe {
  min-height: 180px;
  border-radius: 0;
  display: block;
}

/* Responsive: Hide on small screens */
@media (max-width: 768px) {
  .left-panel {
    display: none;
  }
}

/* ------ LOGOS PANEL ON RIGHT ------ */
.right-panel {
  position: absolute; 
  top: 240px; 
  right: 0;
  max-width: 50%;
  width: 240px;
  height: 567px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* spreads them vertically */
  gap: 15px;
  padding: 10px;
  border-radius: 20px 0 0 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  background-color: white; /* or transparent, your choice */
  overflow: hidden;
}

.right-panel img {
  width: 100%;
  max-height: 150px; /* Adjust based on how many logos you have */
  object-fit: contain;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .right-panel {
    display: none;
  }
}

@media screen and (min-width: 1920px) {
  .right-panel,
  .left-panel {
    top: 290px;
  }
}

/* Hide scrollbars for both panels */
.left-panel {
  overflow: auto;
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/Edge */
}

.left-panel::-webkit-scrollbar {
  display: none;                  /* Chrome, Safari */
}

/* ------ PANEL ANIMATION THINGY :D ------ */
.left-panel,
.right-panel {
  transition: transform 0.1s linear, opacity 0.2s ease;
  will-change: transform, opacity;
}


.left-panel.hide-panel {
  transform: translateX(-120%);
  opacity: 0;
}

.right-panel.hide-panel {
  transform: translateX(120%);
  opacity: 0;
}



/************************************************
 +      🔍🔍🔍       SEARCH BAR       🔎🔎🔎      +
 +               It is what it is               +
 ***********************************************/
.floating-search-form {
  position: fixed;
  top: 5.5px;
  right: 20px;
  z-index: 11000;
  display: flex;
  align-items: center;
  background: transparent; /* Removed white background */
  padding: 6px 0; /* Removed horizontal padding */
}

/* Hide input by default */
.floating-search-form input[type="text"] {
  width: 0;
  opacity: 0;
  padding: 0;
  border: none;
  font-size: 14px;
  background: transparent; /* Keep transparent when hidden */
  transition: width 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  overflow: hidden;
  color: #000; /* Optional: ensure text is visible */
}

/* Show input on hover */
.floating-search-form:hover input[type="text"] {
  width: 180px;
  opacity: 1;
  padding: 8px 12px;
  background: white; /* Keep input itself white */
  border: 1px solid #ccc;
  border-radius: 20px;
}

/* Search icon button */
.floating-search-form button[type="submit"] {
  background-color: #03508c;
  color: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  margin-left: 8px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  font-family: Arial, Helvetica, sans-serif;
}

.floating-search-form input[type="text"]::placeholder {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px; /* Optional: adjust size to match input text */
  text-align: center;
  color: #888;     /* Optional: customize placeholder color */
}

.floating-search-form input[type="text"] {
  font-family: Arial, Helvetica, sans-serif;
  text-align: center; /* if you still want the typed text centered */
}

.floating-search-form button[type="submit"]:hover {
  background-color: #0e284d;
}

.search-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* Mobile tweak */
@media (max-width: 768px) {
  .floating-search-form {
    padding: 5px 8px;
    top: 12px;
    right: 10px;
    border-radius: 25px;
  }

  .floating-search-form input[type="text"] {
    display: block;
    width: 140px;
    font-size: 14px;
    opacity: 1 !important;        /* <-- Force visible */
    padding: 8px 12px !important; /* <-- Restore padding */
    border: 1px solid #ccc;
    border-radius: 20px;
    background: white;
  }

  .floating-search-form:hover input[type="text"] {
    width: 140px;
  }
}



/* For DARK MODE Feature on hold; June 16, 2025 
Refer to CSS/darkmode.css for the dark mode styles */

/* File "main.css" created on June 2, 2025; 
Gian Centeno */
