 /*importing Google fonts */

 @import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Purple+Purse&display=swap');
 
 *{
 margin: 0;
 padding: 0;
 box-sizing: border-box;
 font-family: "Open Sans", sans-serif;
 }
 
 :root{
 /*colors */
 --white-color: #fff;
 --dark-color: #252525;
 --primary-color:#126180;
 --secondary-color: #f3961c;
 --light-pink-color: #faf4f5;
 --medium-gray-color: #ccc;
 --third-color: #f5fbfd; 
 --products-background-color: #F5F5F5;

 /*Font size */
 --font-size-s: 0.9rem;
 --font-size-n: 1rem;
 --font-size-m: 1.12rem;
 --font-size-l: 1.5rem;
 --font-size-xl: 2rem;
 --font-size-xxl: 2.5rem;

 /*Font weight */
 --font-weight-normal: 400;
 --font-weight-medium: 500;
 --font-weight-semibold: 600;
 --font-weight-bold: 700;

 /* Border radius */
 --border-radius-s: 8px;
 --border-radius-m: 30px;
 --border-radius-circle: 50%;

 /*Site max width */
 --site-max-width: 2000px;
 
 }
 /* end of root */

 html{
   scroll-behavior: smooth;
 }

 /*.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
} */

 /* Styling for whole site */
 ul{
   list-style: none;
 }

 a{
   text-decoration: none;
 }

 button {
   cursor: pointer;
   border: none;
   background: none;  
 }

 img { /*whole website */
   width: 100%; /* general */
 }


.nav-logo {
  display: flex;
  align-items: center;  /* vertical align */
  gap: 10px;            /* space between logo and text */
  text-decoration: none;
}

.nav-logo img {
  width: 70px;  /* adjust size */
  height: auto;
}

 .section-content{ /*adjustment of the sides of the page */
   margin: 0 auto; /*sides */
   padding: 0 10px; /*lapad sa baba */
   max-width: var(--site-max-width);
   overflow:visible;
 }

 .section-title{
   text-align: center;
   padding: 60px 0 60px;
   text-transform: uppercase;
   font-size: var(--font-size-xl);
 }

 .section-title::after{ /* style for about us below */
   content: "";
   width: 80px;
   height: 5px;
   display: block;
   background: var(--secondary-color);
   margin: 10px auto 0;
   border-radius: var(--border-radius-s);
   background: var(--secondary-color);
 }

/* navbar styling */
header{ /*page header */
   position: fixed;
   width: 100%;
   z-index: 5; /*it controls the top and bottom */
   background: var(--primary-color); /*page header's background */
}

header .navbar { /* position of Home, About, Products, Parts & Services, contact us */
   display: flex;
   padding: 10px;
   align-items: center;
   justify-content: space-between;
}

.navbar .nav-logo .logo-text {
   color: var(--white-color); /*GiS chetrading (logo name) */
   font-size: var(--font-size-xl); /* logo size */
   /* optional: font-weight: var(--font-weight-semibold); */
}

.navbar .nav-menu { /*distance of Home, About, Products, Parts & Services, contact us */
   display: flex;
   gap: 10px;
}

.navbar .nav-menu .nav-link {
   padding: 10px 18px; /* size of the background */
   color: var(--white-color); /* Home, About, Products, Parts & Services, contact us */
   font-size: var(--font-size-m); /*font size */
   border-radius: var(--border-radius-m); /*border size */
   transition: 0.4s ease; /* animation */
}

.navbar .nav-menu .nav-link:hover{ /*Menu effects */
   color: var(--white-color);
   background: var(--secondary-color); /*background color */
}

.navbar :where(#menu-close-button, #menu-open-button){
   display: none; /* so that the close icon will not show if 
   it is in full screen*/
}

/*hero section styling */
.hero-section {
   min-height: 100vh;
   position: relative;   /* IMPORTANT para gumana ang overlay */
   overflow: hidden;      /*para ivoid ang excess space */
    width: 100%;
   height: 100%;
}

.hero-details {
   position: relative;
   z-index: 2;
}

.hero-section::before { /* additional style newly added-for background overlay*/
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.3);
   z-index: 1;
   
}

.hero-section .section-content{ /*for text design */
   display: flex; /*position of the texts */
   align-items: center; 
   min-height: 100vh;
   color: var(--white-color);
   justify-content: space-between;
}

.hero-section .hero-details .title{ 
   max-width: 70%; 
   margin: 24px 0 40px;
   font-size: var(--font-size-xxl);
   color: var(--white-color);
   text-align: center !important;
   font-family: "Purple Purse"; /*from importing Google fonts */
/* no subtitle */
}

.hero-section .hero-details .description{
   max-width: 50%; /*lapad ng container */
  margin: 24px 0 40px; /*top: 24px left: 0 right:0 bottom: 40px */
   font-size: var(--font-size-m);
}

/* for grouped buttons or icons lang ito
.hero-section .hero-details .button{
   display: flex;
   gap: 23px; baka kailangan ko ito mamaya*/

.hero-section .hero-details .button{ /*contact us sa baba*/
   padding: 10px 26px; /*lapad ng kulay orange */
   border: 2px solid transparent; 
   color: var(--primary-color);
   border-radius: var(--border-radius-m);
   background: var(--secondary-color);
   font-weight: var(--font-weight-medium);
   transition: 0.3s ease;
}
/*hovering*/
.hero-section .hero-details .button:hover{
/*.hero-section .hero-details .button:hover{ */
   color:var(--dark-color); /*hovering color */
   border-color: var(--dark-color);
   background: transparent;
}
/*.hero-section .hero-details .additional button:hover{ 
 color:var(--dark-color); hovering color
   border-color: var(--dark-color);
   background: transparent; (Just in case mag add ka ng 
   button aside from "contact us") */

/* optional for image adjustment
.hero-section .hero-image-wrapper{
   max-width: 500px;
   margin-right: 5px; liliit kasi yung office pict. pag nilagay ko ito*/

   /*About section styling */
  /* .about-section{ styling for about us background 
   padding: 150px 0; lapad ng masasakupan ng background
   background: var(--medium-gray-color); kulay ng background
  }

  .about-section .section-content container {aligning the images and texts
   display: flex; 
   gap: 50px;
   align-items: center;
   justify-content: space-between;
  }

  .about-section .about-image-wrapper .about-image{adjusting the image
   width: 400px;
   height: 400px;
   object-fit: cover;
   border-radius: var(--border-radius-circle);
  }

  .about-section .about-details .section-title { lapad ng height ng text sa about us 
   padding: 50px;
  }

  about-section .action-details {
   max-width: 50%;
  }

  .about-section .about-details .text{ font-size of about us's text
   line-height: 30px;
   margin: 50px 0 30px;
   text-align: center;
   font-size: var(--font-size-m);
  } 

  .about-section .social-link-list { position ng icons sa baba
   display: flex;
   gap: 25px;
   justify-content: center;
  }

  .about-section .social-link-list .social-link { style of icons sa baba
   color: var(--dark-color);
   font-size: var(--font-size-l); 
   transition: 0.2 ease;
  }
  
  .about-section .social-link-list .social-link:hover { hovering changes color of the icons sa baba
   color: var(--primary-color); 
  } end of about section */

  /*Products section styling */
   .product-section {
    min-height: 100vh;
   padding: 3% 0 2%;
  position: relative;
  overflow: hidden;;
  color: var(--white-color);
  background-image: url('images/bg.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* TITLE */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-top: 20px;
  margin-bottom: 80px;
}

/* SLIDER WRAPPER */
.product-slider {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

/* MOVING TRACK */
.slider-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll 25s linear infinite;
}

/* PRODUCT CARD */
.product-card {
  flex: 0 0 300px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 15px;
  padding: 12px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* IMAGE */
.product-card img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.4s ease;
}

/* TEXT */
.product-card .text {
  font-size: 0.9rem;
  margin-top: 10px;
  opacity: 0.85;
}

/* HOVER EFFECT */
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.product-card:hover img {
  transform: scale(1.08);
}

/* AUTO SCROLL ANIMATION */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* PAUSE ON HOVER */
.product-slider:hover .slider-track {
  animation-play-state: paused;
}

  /*Service section styling */
  .service-section {
       min-height: 100vh;
      padding: 2% 0 2%; /*lapad ng between ng "wing van" at "our service" */
      position: relative;
      overflow: hidden;
      color:var(--white-color); /*text color */
       background-image: url('images/sbg.jpg');
       background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
      background-attachment: scroll;
  }

  .service-section .slider-wrapper{
   overflow: hidden;
   margin: 0 50px 20px;
  }

  .service-section .service{
   user-select: none;
   display: flex;
   padding: 1%; /*lapad ng space from "our service" hanggang sa image*/
   text-align: center;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   gap: 0px;
  }

   .service-section .service .service-image {
      margin-top: 0.5px;
      width: 70%;
      height: 10%;
      object-fit: contain;
      margin-bottom: 20px;
      border-radius: var(--border-radius-m); /*border for images */
      
   }

   .service-section .service .name{
      margin-top: 0;
      margin-bottom: 0;
      font-size: var(--font-size-m);
   }

    .service-image:hover {
       transform: scale(1.05);
       transition: 0.10s ease;
   }
   
   .service-section .service .feedback{
      line-height: 15px;
      margin-bottom: 15px;
   }

   .service-section .swiper-pagination-bullet{ /* Dots sa baba ng images sa services */
      width: 10px;
      height: 10px;
      opacity: 1;
      background: var(--secondary-color);
   }

   .service-section .swiper-slide-button{ /*color of <,> */
      color: var(--secondary-color);
   }

   .service-section .swiper-slide-button:hover{ /*for swiper slides animation */
       margin-top: -50px; 
       color: var(--dark-color);
       transition: 0.3s ease;
   }

   /*Profile Section Styling */
   /* Pinterest / Masonry */

   .profile-section{
   min-height: 100vh;
/*lapad ng between ng "wing van" at "our service" */
   padding: 100px 50px 50px;
   background: var(--medium-gray-color); /*lapad ng company profile sa taas */
   }

.profile-gallery {
  column-count: 3;
  column-gap: 15px;
}

.profile-item {
  margin-bottom: 15px;
  break-inside: avoid;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
   transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.profile-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
  height: auto;
}

.profile-item:hover {
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
   transform: translateY(-5px);
}

.profile-item:hover img {
  transform: scale(1.08);
}

/* Responsive */
@media (max-width: 768px) {
  .profile-gallery {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .profile-gallery {
    column-count: 1;
  }
}

   /*Contact Us section styling */
   .contact-section{
       min-height: 100vh;
       padding: 50px 50px 50px;
      background: var(--light-pink-color);
   }

   .contact-section .section-content{
      display: flex;
      gap: 48px;
      align-items: flex-start;
      justify-content: space-between;
   }

   .contact-section .contact-info-list .contact-info{
      display: flex;
      gap: 20px;
      margin: 20px 0;
      align-items: center;
   }

   .contact-section .contact-form .form-input{ /*style of "your name, your email, & your message" */
      width: 100%;
      height: 50px;
      padding: 0 12px;
      outline: none;
      margin-bottom: 16px; /*in between apace of "your name, your email, & your message" */
      background: var(--white-color);
      border-radius: var(--border-radius-s);
      border: 1px solid var(--medium-gray-color);
   }

   .contact-section .contact-form{
      max-width: 50%; 
   }

   .contact-section .contact-form .form-input:focus{
      border-color: var(--secondary-color);
   }
   .contact-section .contact-form textarea{
      height:100px;
      padding: 12px;
      resize: vertical;
   }

   .contact-section .contact-form .submit-button{ /*submit button styling*/
      padding: 10px 26px;
      margin-top: 10px;
      color: var(--white-color);
      font-size: var(--font-size-m);
      font-weight: var(--font-weight-medium);
      background: var(--primary-color);
      border-radius: var(--border-radius-m);
      border: 1px solid var(--primary-color);
      transition: 0.3s ease;
   }
    .contact-section .contact-form .submit-button:hover{
      color: var(--primary-color);
      background: transparent;
    }

    /* Footer section styling */
    .footer-section{
      padding: 20px 0;
      background: var(--dark-color);
    }

    .footer-section .section-content{
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .footer-section :where(.copyright-text, .social-link){ /*animation */
      color: var(--white-color);
      transition: 0.2s ease;
    }

    .footer-section .social-link-list{
      display: flex;
      gap: 25px;
    }
    .footer-section .social-link-list .social-link{
      font-size: var(--font-size-l);
    }

    .footer-section .social-link-list .social-link:hover{
      color: var(--secondary-color);
    }

    /*Responsive media query code for max width 1024px */
 

   /*Responsive media query code for max width 900px */
@media screen and (max-width: 900px){
   :root{
   --font-size-m: 1rem;
   --font-size-l: 1.3rem;
   --font-size-xl: 1.5rem;
   --font-size-xxl: 1.8rem;
   background-attachment: scroll; /*newly added */
   }
   
   /*for the side menu wherein, it blurs the background of the page */
   body.show-mobile-menu header::before{
      content:"";
      position: fixed;
      left:0;
      top: 0;
      height: 100%;
      width: 100%;
      backdrop-filter: blur(5px);
      background: rgba(0, 0,0, 0.2);
   }

   .navbar :where(#menu-close-button, #menu-open-button){ /* close and menu buttons */
      display: block;
      font-size: var(--font-size-l);
   }

   .navbar #menu-close-button{
      position: absolute;
      right: 30px;
      top: 30px;
   }

   .navbar #menu-open-button{
      color: var(--white-color);
   }

   .navbar .nav-menu { /*for menu in header (side part)*/
      display: block;
      position: fixed;
      left:-300px; /*side will be off */
      top: 0;
      width: 150px; /*size of sides*/
      height: 100%; /*size of sides*/
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-top:100px;
      background: var(--primary-color); 
      transition: left 0.2s ease;
 }
 /*This is from js to work properly the side menu */
 body.show-mobile-menu .navbar .nav-menu{
   left: 0;
 }

 .navbar .nav-menu .nav-link{ /*fontstyle of side menu */
   color:var(--white-color);
   display: block;
   margin-top: 17px;
   font-size: var(--font-size-l);
 }
}
/* for the title, description and contact us */
.hero-section { /* background image newly added*/
  background-image: url('images/office.jpg');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.hero-section .section-content{
   gap: 50px;
   text-align: center;
   padding: 30px 20px 20px;
   flex-direction: column-reverse;
   justify-content: center;
}
.hero-section .hero-details :is(.description),
/*.about-section .about-details */ .contact-section .contact-form { /*to make the text flexible, adjustable */
   max-width: 100%; 
}

.hero-section .hero-details .button {
   justify-content: center; /* it centers the contact us */
}

/*optional if you want your image shrinks
.hero-section .hero-image-wrapper{
   max-width: 270px;
   margin-right: 0; } */

  /* .about-section .section-content{ osition of the image of 
      about us positioned in below
      gap: 70px;
      flex-direction: column; positioning of the image 
   }
   .about-section .about-image-wrapper .about-image{ contorls image size in About 
      section,makes image square and responsive, limits image width to 250px
      width: 100%;
      height: 100%;
      max-width: 250px;
      aspect-ratio: 1; /* it perfects the square of the image (1:1 ratio) 
   } */


      .contact-section .section-content{ /* it changes and fix the elements' position in the flex container */
         align-items: center;
         flex-direction: column-reverse;
      }

       /*Responsive media query code for max width 640px */
@media screen and (max-width: 640px) { /* mobile view*/
   .service-section .slider-wrapper{ 
      margin: 0 0 30px;
   }
   .service-section .swiper-slide-button{
      display: none; /* no slider button if the page is not maximized */
   }

   .footer-section .section-content { /*style of the bottom part */
      flex-direction: column;
      gap: 20px;
   }
}  

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);

  display: flex;              /* always flex */
  justify-content: center;
  align-items: center;

  opacity: 0;                 /* hidden state */
  pointer-events: none;       /* disable click */
  transition: opacity 0.3s ease;

  z-index: 999;
}

.lightbox.show {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
}