:root {
  --bg-color: #070513;
  --text-color: rgb(255, 232, 188);
  --main-color: rgb(255, 94, 0);
}

html {
  font-size: 60%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
  margin: 0;
}

/* HEADER */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 4rem 4%;
  backdrop-filter: blur(10px);
  background: transparent;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  z-index: 1000;
}

/* LOGO */
.logo {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-color);
  text-decoration: none;
  cursor: pointer;
  transition: 0.1s;
  white-space: nowrap;
}

.logo:hover {
  transform: scale(1.2);
}

/* SPAN */
span {
  background: linear-gradient(270deg, rgb(255, 232, 188) 1%, var(--main-color) 100%);
  background-clip: text;
  color: transparent;
}

/* NAVBAR (DESKTOP) */
.navbar {
  margin-left: 25rem;
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 5rem;
}

.navbar a {
  font-size: 1.8rem;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease-in-out;
  border-bottom: 3px solid transparent;
}

.navbar a:hover {
  color: var(--main-color);
  border-bottom: 3px solid var(--main-color);
}

/* MAIN */
main {
  padding-top: 15rem;
}

/* FOOTER (UNCHANGED) */
.footer {
    margin-top: 6rem;
    padding: 2.5rem 2rem 1.2rem;
    text-align: center;
    background: black;
    border-top: 2px solid var(--main-color);
}

.footer-title h2 {
    font-size: 1.6rem;
    color: var(--main-color);
    margin-bottom: 0.4rem;
}

.footer-title p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.8rem;
}

/* 🔥 MAIN LAYOUT */
.footer-groups {
    display: flex;
    justify-content: center;

    /* Contact left, Links right */
    flex-direction: row;

    gap: 8rem;
    margin-bottom: 1.5rem;
}

/* LEFT = Contact */
.footer-group.contact {
    order: 1;
    font-size: 2rem;
}

/* RIGHT = Navigation */
.footer-group.navigation {
    order: 2;
    font-size: 1.2rem;
}

/* Titles */
.footer-group h3 {
    font-size: 1rem;
    color: var(--main-color);
    margin-bottom: 0.8rem;
}

/* 2x2 grid */
.footer-group ul {
    list-style: none;
    padding: 0;
    margin: 0;

    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 0.6rem 1.8rem;

    justify-content: center;
}

.footer-group li {
    font-size: 1.5rem;
}

.footer-group a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.footer-group a:hover {
    color: var(--main-color);
}

/* Bottom line */
.footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1rem;

    border-top: 1px solid rgba(255, 255, 255, 0.15);

    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

/* HAMBURGER */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2000;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-color);
    border-radius: 10px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .header {
        padding: 2rem 4%;
        justify-content: space-between;
    }

    /* hamburger visible */
    .menu-toggle {
        display: flex;
        position: absolute;
        right: 14%;
        top: 50%;
        transform: translateY(-50%);
    }

    /* navbar dropdown */
    .navbar {
        position: absolute;
        top: 100%;
        right: 4%;
        width: 220px;
        background: rgba(7, 5, 19, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 12px;

        display: none;
    }

    .navbar.active {
        display: block;
        padding: 1rem 0;
    }

    .navbar ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
    }

    .navbar ul li a {
        display: block;
        padding: 1.2rem 2rem;
    }
}