@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #161513;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background-color: #161513;
}

.logo img {
  width: 170px;       
  height: auto;
  object-fit: contain;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #c5c6c7;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
}

.btn.contact {
  background: #CA9D2E;
  color: #fff;
}

.btn.contact:hover {
  background: white;
  color:black;
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #c5c6c7;
  transition: all 0.3s;
}

/* Main layout */
.container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 30px;
}

/* Hero section */
.hero {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 50px;
}

.hero h1 {
  font-size: 2rem;
  color: #CA9D2E;
  margin-bottom: 10px;
  font-weight: 600;
}

.hero .lede {
  font-size: 1rem;
  color: #c9c9c9;
}

/* Table of contents */
.toc {
  position: sticky;
  top: 120px;
  align-self: start;
  background-color: #1e1d1b;
  padding: 25px 20px;
  border: 1px solid #2b2a27;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.toc h2 {
  font-size: 1 rem;
  color: #CA9D2E;
  margin-bottom: 15px;
}

.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc ul li {
  margin-bottom: 10px;
}

.toc ul li a {
  color: #d8d8d8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.toc ul li a:hover {
  color: #CA9D2E;
}

/* Policy content */
.policy {
  background-color: #1e1d1b;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #2b2a27;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.policy h2 {
  color: #CA9D2E;
  font-size: 1 rem;
  margin-top: 40px;
  margin-bottom: 15px;
}

.policy h3 {
  color: #f5f5f5;
  font-size: 1.1rem;
  margin-top: 25px;
  margin-bottom: 10px;
}

.policy p {
  color: #d6d6d6;
  font-size: 1rem;
  text-align: justify;
  margin-bottom: 20px;
}

.policy ul {
  list-style: disc;
  margin-left: 25px;
  color: #d6d6d6;
  margin-bottom: 25px;
}

.policy a {
  color: #CA9D2E;
  text-decoration: none;
}

.policy a:hover {
  text-decoration: underline;
}

/* Contact box */
.contact-box {
  background-color: #161513;
  border-left: 4px solid #CA9D2E;
  padding: 15px 20px;
  line-height: 1.8;
  color: #ddd;
  border-radius: 6px;
  margin-top: 15px;
}


/* Bottom Footer */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  font-size: 0.9em;
  color: #ccc;
}

/* -------------------------------------------------------------------------------------Responsive ----------------------------------------------------------------------------------------- */

/* Navbar*/
@media (max-width: 768px) {

  .navbar {
    flex-direction: row; 
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
  }

  .logo img {
    width: 130px; 
    transition: all 0.3s ease;
    transform: translateX(-10px); 
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger span {
    background: #CA9D2E;
    height: 3px;
    width: 100%;
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  .nav-links,
  .nav-buttons {
    display: none;
  }

  .navbar.active {
    flex-direction: column;
    align-items: center;
  }

  .navbar.active .nav-links,
  .navbar.active .nav-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: #161513;
    border-top: 1px solid #CA9D2E;
    position: relative; /* keeps content in normal flow */
    padding: 20px 0;
    gap: 18px;
    animation: slideDown 0.4s ease forwards;
  }

  .navbar.active .nav-links a {
    font-size: 16px;
    color: #c5c6c7;
  }

  .navbar.active .nav-links a:hover {
    color: #ffffff;
  }

  .navbar.active .nav-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 80%;
    text-align: center;
  }

  /* Slide-down animation */
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-15px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

 
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
  }
}

/* Media Queries for Policy/Privacy Page */

/* Large tablets / small desktops */
@media (max-width: 992px) {
    .container {
        grid-template-columns: 220px 1fr;
        gap: 30px;
        margin: 60px auto;
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero .lede {
        font-size: 0.95rem;
    }

    .toc {
        padding: 20px 15px;
    }

    .toc h2 {
        font-size: 0.95rem;
    }

    .toc ul li a {
        font-size: 0.9rem;
    }

    .policy {
        padding: 30px;
    }

    .policy h2 {
        font-size: 0.95rem;
    }

    .policy h3 {
        font-size: 1rem;
    }

    .policy p {
        font-size: 0.95rem;
        text-align:left;
    }
}

/* Tablets / large mobiles */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr; /* single column layout */
        margin: 50px auto;
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero .lede {
        font-size: 0.9rem;
    }

    .toc {
        position: relative; /* remove sticky */
        top: auto;
        margin-bottom: 20px;
        padding: 20px;
    }

    .toc h2 {
        font-size: 0.9rem;
    }

    .toc ul li a {
        font-size: 0.85rem;
    }

    .policy {
        padding: 25px;
    }

    .policy h2 {
        font-size: 0.9rem;
    }

    .policy h3 {
        font-size: 0.95rem;
    }

    .policy p {
        font-size: 0.9rem;
          text-align:left;
    }
}

/* Large mobiles */
@media (max-width: 540px) {
    .hero h1 {
        font-size: 1.4rem;
    }

    .hero .lede {
        font-size: 0.85rem;
    }

    .toc h2 {
        font-size: 0.85rem;
    }

    .toc ul li a {
        font-size: 0.8rem;
    }

    .policy h2 {
        font-size: 0.85rem;
    }

    .policy h3 {
        font-size: 0.9rem;
    }

    .policy p {
        font-size: 0.85rem;
           text-align:left;
    }

    .policy ul {
        margin-left: 20px;
    }

    .contact-box {
        padding: 12px 15px;
        line-height: 1.6;
    }
}

/* Small mobiles */
@media (max-width: 380px) {
    .hero h1 {
        font-size: 1.2rem;
    }

    .hero .lede {
        font-size: 0.8rem;
    }

    .toc h2 {
        font-size: 0.8rem;
    }

    .toc ul li a {
        font-size: 0.75rem;
    }

    .policy h2 {
        font-size: 0.8rem;
    }

    .policy h3 {
        font-size: 0.85rem;
    }

    .policy p {
        font-size: 0.8rem;
          text-align:left;
    }

    .policy ul {
        margin-left: 15px;
    }

    .contact-box {
        padding: 10px 12px;
        line-height: 1.4;
    }
}

/* Footer Bottom  */

@media (max-width: 768px) {
    .footer-bottom {
        font-size: 0.85em;
    }
}

@media (max-width: 540px) {
    .footer-bottom {
        font-size: 0.8em;
    }
}
@media (max-width: 390px) {
    .footer-bottom {
        font-size: 0.55em;
    }
}
