/* ==============================
   HERO BACKGROUND (GRADIENT)
   ============================== */

.hero {
  position: relative;
  min-height: 65vh;
  padding-top: 40px;
  border-radius: 0 0 16px 16px;
  overflow: hidden;

  /* animated gradient background */
  background: linear-gradient(
    315deg,
    rgb(142 36 36) 3%,
    rgba(60, 132, 206, 1) 38%,
    rgb(0 148 37) 68%,
    rgb(131 0 181) 98%
  );

  background-size: 400% 400%;
  animation: heroGradient 15s ease infinite;
}

/* gradient animation */
@keyframes heroGradient {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

/* ==============================
   WAVES (TRUE BACKGROUND)
   ============================== */

.hero-waves {
  position: absolute;
  inset: 0;
  z-index: 0;        /* background layer */
  pointer-events: none;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;

  width: 200%;
  height: 12em;

  background: rgb(255 255 255 / 25%);
  border-radius: 1000% 1000% 0 0;

  animation: waveMove 10s -3s linear infinite;
  transform: translate3d(0, 0, 0);
  opacity: 0.8;
}

.wave:nth-of-type(2) {
  bottom: -1.25em;
  animation: waveMove 18s linear reverse infinite;
  opacity: 0.8;
}

.wave:nth-of-type(3) {
  bottom: -2.5em;
  animation: waveMove 20s -1s reverse infinite;
  opacity: 0.9;
}

@keyframes waveMove {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-25%);
  }
  50% {
    transform: translateX(-50%);
  }
  75% {
    transform: translateX(-25%);
  }
  100% {
    transform: translateX(0);
  }
}

/* ==============================
   HERO CONTENT (ABOVE BACKGROUND)
   ============================== */

.navbar,
.hero-content {
  position: relative;
  z-index: 1;        /* content layer */
}


/* NAVBAR */
.navbar {
  max-width: 1100px;
  margin: 0 auto;
  background-color: #282828ad;
  border-radius: 999px;
  padding: 6px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow:
    -2px 2px 10px rgb(0 0 0 / 42%),
    inset 2px -2px 8px rgb(255 255 255 / 21%);
}
.navbar-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
}

.navbar-logo img {
  height: 54px;       /* main control */
  width: auto;
  display: block;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #ffffff;
}

.nav-link {
  font-size: 0.9rem;
  transition: transform 0.40s ease, box-shadow 0.25s ease;
}

.nav-link:hover {
  transform: scale(1.1);
  text-decoration: underline;
}

.nav-cta {
  background-color: var(--accent-orange);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
}





/* Floating dropdown (NOT inside navbar layout) */
.dropdown-float {
  position: fixed;
  min-width: 220px;
  background-color: #282828f2;
  border-radius: 16px;
  padding: 12px 0;
  box-shadow:
    -2px 2px 12px rgb(0 0 0 / 45%),
    inset 2px -2px 8px rgb(255 255 255 / 18%);

  z-index: 99999;

  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.dropdown-float.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-float a {
  display: block;
  padding: 10px 20px;
  color: #ffffff;
  font-size: 0.9rem;
  transition: background 0.2s ease, padding-left 0.2s ease;
}

.dropdown-float a:hover {
  background: rgba(255, 255, 255, 0.08);
  padding-left: 26px;
}

/* Make the trigger look like your link */
.nav-dropdown-trigger {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
}





/* HERO CONTENT */
.hero-content {
  height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  text-align: center;
  gap: 24px;
  color: #ffffff;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: #f28c01;
}

.hero-subtitle {
  max-width: 520px;
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.hero-btn {
  background-color: #ffffffd6;
  color: #191919;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 0.85rem;
  box-shadow:
    -2px 2px 5px rgb(182 182 182 / 19%),
    inset 2px -4px 8px rgb(161 161 161 / 58%);
  
  transition: transform 0.35s ease, box-shadow 0.25s ease;
}

.hero-btn.active {
  transform: scale(1.1);
  background-color: #ffffff;
  box-shadow:
    -2px 2px 5px rgb(58 58 58 / 25%),
    inset -2px 5px 8px rgb(103 231 210 / 0%);
}

.hero-btn:hover {
  transform: scale(1.1);
  background-color: #ffffff;
  box-shadow:
    -2px 2px 5px rgb(58 58 58 / 25%),
    inset -2px 5px 8px rgb(103 231 210 / 0%);
}









/* LAYERS CONTAINER */
.layers {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px;
  background-color: transparent;
  border-radius: 16px;
}

.layer {
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: opacity 800ms cubic-bezier(0.4, 0, 1, 1);
}

.layer.active {
  opacity: 1;
  pointer-events: auto;
  height: auto;
  transform: translateY(0) scale(1);
}





/* CTA SECTION */
.cta {
  margin: 60px 0px;
  background-color: #a7f0e2;

}

.cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 60px;
  background-color: transparent; /* placeholder background */
  border-radius: 16px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.cta-inner h2 {
  font-size: 2.2rem;
  font-weight: 500;
}

.cta-right {
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-right p {
  font-size: 0.95rem;
  opacity: 0.85;
}

.cta-btn {
  align-self: flex-start;
  background-color: #f6f6f6;
  color: #1e1e1e;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: background-color 0.6s ease;
}

.cta-btn:hover {
  transform: scale(1.1);
  background-color: #f28c01;
  color: #ffffff;
}








/* FAQ SECTION */
.faq {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
}

.faq-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background-color: #fefefe;
  border-radius: 14px;
  overflow: hidden;

  box-shadow:
    -0px 4px 12px rgb(0 0 0 / 6%),
    inset 2px -2px 8px rgb(37 37 37 / 15%);
}

/* QUESTION */
.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  color: #171717;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  text-align: left;
}

/* ICON */
.faq-icon {
  font-size: 1.4rem;
  transition: transform 0.25s ease;
}

/* ANSWER */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 24px;
}

.faq-answer p {
  padding-bottom: 20px;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ACTIVE STATE */
.faq-item.active .faq-answer {
  max-height: 200px; /* enough for sample text */
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}








/* ABOUT US SECTION */
.about {
  margin: 80px 20px;
}

/*
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px;
  min-height: 320px;

  background-color: #234b5d;
  border-radius: 20px;

  display: flex;
  align-items: flex-start;

  box-shadow:
    0px 5px 10px rgb(60 55 55 / 35%),
    inset 0px 0px 10px rgb(0 0 0);
}
*/


.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px;
  min-height: 320px;

  background-image: url("../assets/images/about_bg.webp");
  background-size: cover;
  background-position: center left;
  background-repeat: no-repeat;

  border-radius: 20px;
  display: flex;
  align-items: flex-start;
}

.about-inner {
  position: relative;
  overflow: hidden;
}

.about-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* adjust darkness */
  z-index: 1;
}

.about-content {
  position: relative;
  z-index: 2;
}



/* LEFT CONTENT COLUMN */
.about-content {
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-content h2 {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 500;
}

.about-text {
  color: #eaeaea;
  font-size: 0.9rem;
  line-height: 1.6;

  display: flex;
  flex-direction: column;
  gap: 20px;
}




/* FOOTER */
.footer {
  margin-top: 80px;
  padding: 30px 20px;
  text-align: center;
}

.footer-line {
  max-width: 1100px;
  height: 1px;
  background-color: #000;
  margin: 0 auto 20px auto;
  opacity: 0.8;
}

.footer p {
  font-size: 0.85rem;
  opacity: 0.8;
}








/* WEBSITE LAYER */
.website-intro {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

/* LEFT */
.intro-small {
  font-size: 0.75rem;
  opacity: 0.7;
}

.intro-left h2 {
  margin-top: 10px;
  font-size: 1.8rem;
}

.intro-line {
  width: 60px;
  height: 2px;
  background-color: #3cb54a;
  margin-top: 10px;
}

.intro-image {
  width: 100%;
  max-width: 300px;
  height: 200px;
  margin: 15px auto 15px auto;
  box-shadow:
    5px 5px 1px rgb(47 87 121);
  background-color: #ccc;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.40s ease;
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.intro-image:hover {
  transform: scale(0.97);
}

.website-intro p {
  font-size: 15px;
  line-height: 1.5;
}

/* SEPARATOR */
.section-separator {
  margin: 80px 0 40px;
  height: 1px;
  background-color: #000;
  opacity: 0.4;
}

/* PORTFOLIO */
.portfolio h2 {
  text-align: center;
  margin-bottom: 40px;
}

.portfolio-carousel {
  position: relative;
}

.portfolio-item {
  display: none;
  align-items: center;
  gap: 40px;
}

.portfolio-item.active {
  display: flex;
}

.portfolio-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical center */
  align-items: center;     /* horizontal center */
  text-align: center;
}

.portfolio-text h3 {
  margin-bottom: 16px;
}


.portfolio-image {
  flex: 1;
  height: 260px;
  background-color: #9cc3f5;
  border-radius: 20px;
  border: 1px solid #616161;
  box-shadow: 5px 5px 1px rgb(47 87 121);
  overflow: hidden;
  transition: transform 0.40s ease;

  display: flex;
  align-items: flex-start;      /* 👈 top */
  justify-content: center;      /* 👈 keep centered horizontally */
}

.portfolio-image:hover {
  transform: scale(0.98);
  cursor: pointer;
}

.portfolio-image a {
  display: block;              /* 👈 important */
  width: 100%;
  height: 100%;                /* 👈 important */
}

.portfolio-image img {
  display: block;              /* avoids tiny gaps */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* 👈 crop from bottom */
}





/* DOTS */
.portfolio-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #000;
  border-radius: 50%;
  opacity: 0.3;
  cursor: pointer;
}

.dot.active {
  opacity: 1;
}





/* =========================
   WEBSITE – MORE CTA
========================= */

.website-more {
  margin: 60px auto 0;
  max-width: 1100px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;

  flex-wrap: wrap; /* allows stacking on small screens */
  text-align: center;
}

.website-more-text {
  font-size: 14px;
  font-weight: 400;
}

.website-more-btn {
  padding: 10px 22px;
  border-radius: 999px;

  background-color: #0133cf;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.website-more-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}






@media (max-width: 1140px) {

  .navbar{
    margin: 0 20px;
  }

}







@media (max-width: 950px) {

  .website-intro {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
    text-align: center;
  }

  /* TITLE ON TOP */
  .intro-left {
    grid-column: 1 / -1;   /* span both columns */
    align-items: center;
    margin-bottom: 20px;
  }

  .intro-line {
    margin: 10px auto 0;
  }

  .layers {
    margin: 0px auto;
    padding: 5px 40px 40px 40px;
  }

}




@media (max-width: 700px) {

  /* =========================
     LAYERS – WEBSITE / ESHOP / SEO / MOBILE
  ========================= */

  .website-intro {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .intro-left,
  .intro-center,
  .intro-right {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .intro-left h2 {
    margin-bottom: 10px;
  }

  .intro-line {
    margin: 10px auto 0;
  }

  .intro-image {
    width: 100%;
    max-width: 320px;
  }

  .website-intro p {
    max-width: 320px;
  }

  /* =========================
     PORTFOLIO – STACKED
  ========================= */

  .portfolio-item {
    flex-direction: column;
    text-align: center;
  }

  .portfolio-image {
    width: 100%;
    max-width: 320px;
    height: 220px;
  }

  .portfolio-text {
    align-items: center;
    text-align: center;
  }

  /* =========================
     CTA – STACKED
  ========================= */

  .cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
  }

  .cta-right {
    align-items: center;
  }

  .cta-btn {
    align-self: center;
  }

  .hide {
    display: none;
  }

}







@media (max-width: 530px) {

  /* =========================
     LAYER BUTTONS – SMALLER
  ========================= */

  .hero-buttons {
    gap: 10px;
    flex-wrap: nowrap;
    margin-right: 10px;
    margin-left: 10px;
  }

  .hero-btn {
    font-size: 0.56rem;        /* smaller text */
    padding: 8px 14px;        /* smaller button */
    white-space: nowrap;      /* force single line */
  }

  .nav-link {
    display: none;
  }

  .navbar {
    padding: 12px 18px;
  }

  .nav-cta {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .hero-subtitle {
    margin: 0px 20px 5px 20px;
  }

}