@import url("https://fonts.googleapis.com/css2?family=Quantico:ital,wght@0,400;0,700;1,400;1,700&display=swap");

* {
  margin: 0;
  box-sizing: border-box;
  padding: 0;
}

body {
  font-family: "Quantico", sans-serif;
  width: auto;
  height: 100vh;
  margin-left: 4.5%;
  margin-right: 4.5%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* --- Navigation --- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 4.5%;
  position: relative;
}

#Logo {
  width: 7rem;
  height: 7rem;
  z-index: 1001;
}

#Logo img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

/* Hamburger Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
  gap: 5px;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background-color: #000;
  transition: all 0.3s ease;
  border-radius: 1px;
}

/* Hamburger Animation when open */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.Nav-Items ul {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  align-items: center;
}

.Nav-Items li a {
  color: black;
  text-decoration: none;
  font-weight: 700;
  padding: 5px 0;
  position: relative;
}

.Nav-Items li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: #a15f07;
  transition: width 0.3s ease;
}

.Nav-Items li a:hover::after {
  width: 100%;
}

.Nav-Items li a.active::after {
  width: 100%;
}

.Nav-Items li a.active {
  color: #a15f07;
}

main {
  width: 100%;
  height: calc(95vh - 7.5rem);
  display: flex;
  align-items: center;
  background-image: url("./assets/heroMain.webp");
  background-position: right;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0.1rem;
  padding: 4rem;
}

main .content {
  width: 100%;
  display: flex;
}

main .content .left-content {
  flex: 1;
}

main .content .right-content {
  flex: 1.1;
}

main .content .left-content {
  display: flex;
  align-items: start;
  flex-direction: column;
}

main .content .left-content h1 {
  font-size: 3.1rem;
  color: rgb(161, 95, 7);
}

main .content .left-content h4 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  color: rgb(161, 95, 7);
  opacity: 0.7;
}

main .content .left-content button {
  margin-top: 3rem;
  padding: 1rem 2rem;
  border-radius: 1px;
  border: none;
  outline: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

main .content .left-content button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgb(131, 172, 185);
  transition: width 0.3s ease;
  z-index: -1;
}

main .content .left-content button:hover::after {
  width: 100%;
}

section {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 4rem;
}

section .left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 2rem;
}

section .left h3 {
  color: black;
  font-weight: bold;
  font-size: 3rem;
}

section .left p {
  color: black;
  opacity: 0.7;
}

section .right {
  flex: 0.75;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

section .right .box {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

section .right .box .flex-item {
  display: flex;
  flex-direction: column;
  align-items: start;
}

section .right .box .flex-item h3 {
  color: black;
  font-weight: bold;
  font-size: 3rem;
}

section .right .box .flex-item span {
  color: black;
  opacity: 0.7;
}

.feature {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.feature .feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature .feature-item span {
  font-size: 34px;
}

.feature .logo-feature {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgb(124, 177, 255);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature .logo-feature .icon {
  width: 22px;
  height: 22px;
  color: #83acb9;
  transition: transform 0.3s ease, color 0.3s ease;
}

.feature .feature-item:hover .icon {
  transform: scale(1.15);
  color: #000;
}

.container {
  display: flex;
  margin-top: 34px;
  align-items: start;
  gap: 4rem;
}

.container .right-box {
  margin-bottom: 40px;
  flex: 0.4;
}

.container .right-box h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 10px;
}

.container .right-box span {
  color: #666666;
  font-size: 1.1rem;
}

.container .left-box {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  flex: 1;
}

.container .left-box .items {
  flex: 1;
}

.container .left-box .items .image-container {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1px;
  margin-bottom: 15px;
}

.container .left-box .items .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.container .left-box .items .image-container:hover img {
  transform: scale(1.05);
}

.container .left-box .items p {
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0;
  color: #535252;
}

.container .left-box .items span {
  display: block;
  font-size: 0.85rem;
  color: #999999;
  margin-top: 4px;
}

.work {
  width: 100%;
  padding: 4rem;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.work .left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.work .left h3 {
  font-size: 3rem;
  font-weight: bold;
  color: black;
}

.work .left p {
  max-width: 420px;
  color: black;
  opacity: 0.7;
  line-height: 1.6;
}

.work .left .image-box {
  position: relative;
  width: 420px;
  height: 420px;
}

.work .left .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1px;
}

.work .left .image-box .badge {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #9db8cc;
  color: white;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.work .right {
  flex: 0.9;
  display: flex;
}

.work .right .box {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.work .right .box .item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid #eee;
}

.work .right .box .item:last-child {
  border-bottom: none;
}

.work .right .box .item .logo-feature {
  width: 44px;
  height: 44px;
  padding: 6px;
  border-radius: 50%;
  border: 1px solid rgb(118, 117, 117);
  display: flex;
  align-items: center;
  justify-content: center;
}

.work .right .box .item .icon {
  width: 26px;
  height: 26px;
  color: #83acb9;
  transition: transform 0.3s ease, color 0.3s ease;
}

.work .right .box .item:hover .icon {
  transform: scale(1.15);
  color: #000;
}

.work .right .box .item h4 {
  font-size: 1.1rem;
  font-weight: bold;
  color: black;
  margin-bottom: 6px;
}

.work .right .box .item p {
  font-size: 0.95rem;
  color: black;
  opacity: 0.7;
  line-height: 1.5;
}

/* Footer Styles */
.main-footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 60px 0 20px 0;
  margin-top: 80px;
  font-family: sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 20px;
  gap: 4rem;
}

.footer-info,
.footer-links,
.footer-contact {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

.footer-info {
  margin-bottom: 20px;
}

.footer-info .icon {
  border-radius: 50%;
  height: 50px;
  width: 50px;
}

.footer-info p {
  line-height: 1.6;
  color: #cccccc;
  font-size: 14px;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 20px;
  font-size: 18px;
  color: #f4f4f4;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

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

.footer-links ul li a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #ffffff;
}

.footer-contact p {
  color: #cccccc;
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
  color: #777;
}

/* ========== MOBILE RESPONSIVE STYLES ========== */

@media (max-width: 768px) {
  body {
    margin-left: 2%;
    margin-right: 2%;
    gap: 1rem;
  }

  nav {
    padding: 0.5rem 2%;
  }

  #Logo {
    width: 5rem;
    height: 5rem;
  }

  /* Show hamburger menu */
  .menu-toggle {
    display: flex;
  }

  /* Hide nav items by default on mobile */
  .Nav-Items {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    padding-top: 80px;
  }

  /* Show nav items when open */
  .Nav-Items.open {
    right: 0;
  }

  .Nav-Items ul {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    padding: 0 2rem;
  }

  .Nav-Items li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .Nav-Items li a {
    display: block;
    padding: 1.2rem 0;
    font-size: 1.1rem;
  }

  .Nav-Items li a::after {
    display: none;
  }

  .Nav-Items li a.active {
    color: #a15f07;
    font-weight: 700;
  }

  main {
    height: auto;
    min-height: 60vh;
    padding: 2rem 1.5rem;
    background-position: center;
  }

  main .content {
    flex-direction: column;
    gap: 2rem;
  }

  main .content .left-content h1 {
    font-size: 2rem;
  }

  main .content .left-content h4 {
    font-size: 1rem;
    margin-top: 1rem;
  }

  main .content .left-content button {
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  section {
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 2rem;
  }

  section .left h3 {
    font-size: 2rem;
  }

  section .right {
    width: 100%;
    flex-direction: column;
    gap: 2rem;
  }

  section .right .box .flex-item h3 {
    font-size: 2rem;
  }

  .feature {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .feature .feature-item span {
    font-size: 1.2rem;
  }

  .container {
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
  }

  .container .right-box {
    flex: 1;
  }

  .container .right-box h3 {
    font-size: 1.8rem;
  }

  .container .right-box span {
    font-size: 1rem;
  }

  .container .left-box {
    flex-direction: column;
    gap: 2rem;
  }

  .container .left-box .items p {
    font-size: 1rem;
  }

  .work {
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 2rem;
  }

  .work .left h3 {
    font-size: 2rem;
  }

  .work .left p {
    max-width: 100%;
  }

  .work .left .image-box {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .work .left .image-box .badge {
    width: 100px;
    height: 100px;
    font-size: 0.85rem;
    top: -10px;
    right: -10px;
  }

  .work .right .box .item {
    flex-direction: column;
    align-items: flex-start;
  }

  .work .right .box .item h4 {
    font-size: 1rem;
  }

  .work .right .box .item p {
    font-size: 0.9rem;
  }

  .footer-container {
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  #Logo {
    width: 4.5rem;
    height: 4.5rem;
  }

  .Nav-Items {
    width: 80%;
  }

  .Nav-Items ul {
    padding: 0 1.5rem;
  }

  .Nav-Items li a {
    font-size: 1rem;
    padding: 1rem 0;
  }

  main .content .left-content h1 {
    font-size: 1.5rem;
  }

  main .content .left-content h4 {
    font-size: 0.9rem;
  }

  section .left h3 {
    font-size: 1.5rem;
  }

  .container .right-box h3 {
    font-size: 1.5rem;
  }

  .work .left h3 {
    font-size: 1.5rem;
  }

  .feature .feature-item span {
    font-size: 1rem;
  }
}