/* Make sure the footer stays at the bottom of the viewport */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* full screen height */
}

/* Whatever wraps your main content */
main {
  flex: 1; /* pushes the footer down */
}

/* ============================= */
/* STOP WHITE SPACE ON ROTATION */
/* ============================= */

/* 1) Lock the page to the viewport and prevent horizontal overflow */
html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

body {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* ============================= */
/* FULL-WIDTH SECTIONS */
/* ============================= */
section {
  width: 100%;
  margin: 0;
}



/* ============================= */
/* SOCIAL SECTION */
/* ============================= */
/* Top right position */
.social-icons {
    position: absolute; /* change to fixed if you want it to stay while scrolling */
    top: 25px;
    right: 25px;
    display: flex;
    gap: 20px;
}

.social-icons {
    position: absolute;
    top: 25px;
    right: 25px;
    display: flex;
    gap: 20px;
}

.social-icons a {
    width: 50px;
    height: 50px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    overflow: hidden;
    transition: 0.3s ease;
}

.social-icons i {
    font-size: 20px;
}

.social-icons img {
    width: 70%;
    height: auto;
    display: block;
}

.social-icons a:hover {
    background: white;
    color: black;
}

/* ============================= */
/* TABLET */
@media (max-width: 992px) {
  .social-icons {
    top: 20px;
    right: 20px;
    gap: 12px;
  }

  .social-icons a {
    width: 42px;
    height: 42px;
  }

  .social-icons i {
    font-size: 18px;
  }
}

/* ============================= */
/* MOBILE */
@media (max-width: 576px) {
  .social-icons {
    top: 15px;
    right: 15px;
    gap: 10px;
  }

  .social-icons a {
    width: 36px;
    height: 36px;
  }

  .social-icons i {
    font-size: 16px;
  }
}



/* ============================= */
/* NAVBAR */
/* ============================= */
.navbar {
    background: rgba(138, 92, 255, 0.078);
    padding: 0.7rem 2rem;
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.612);
    font-family: 'Michroma', sans-serif;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}

/* ============================= */
/* BRAND / LOGO */
/* ============================= */
.navbar-brand {
    justify-self: start;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-brand img {
    width: 160px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ============================= */
/* NAV LINKS */
/* ============================= */
.navbar-links {
    justify-self: center;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;

    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-links li {
    position: relative;
}

.navbar-links a {
    display: block;
    text-decoration: none;

    color: #fff;
    font-size: 14px;
    font-weight: 200;
    letter-spacing: 0.3px;

    padding: 0.5rem 0;

    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.navbar-links a:hover {
    color: #00bfff;
    text-shadow: 0 0 12px rgba(0, 191, 255, 0.5);
}

.navbar-links a.active {
    color: #00bfff;
    font-weight: 600;
}

.navbar-links a.active::after {
    content: '';

    position: absolute;
    left: 0;
    bottom: -4px;

    width: 100%;
    height: 2px;

    background: #00bfff;
}

.fiverr-icon {
    position: absolute;
    right: 0;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(139,92,255,0.25);

    color: #fff;
    text-decoration: none;

    transition: 0.3s ease;
}

.fiverr-icon i {
    font-size: 1.2rem;
}

.fiverr-icon:hover {
    color: #8b5cff;
    border-color: #8b5cff;

    box-shadow:
        0 0 20px rgba(139,92,255,0.35);
}

.fiverr-btn {
    justify-self: end;
    width: 160px;
    text-align: center;

    text-decoration: none;
    color: #fff;

    padding: 0.75rem 1.5rem;

    border-radius: 12px;

    border: 1px solid #8b5cff;

    font-weight: 600;
    font-size: 14px;

    transition: 0.3s ease;

    box-shadow:
        0 0 15px rgba(139,92,255,0.35);
}

.fiverr-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 0 25px rgba(139,92,255,0.5);
}

/* ============================= */
/* HAMBURGER */
/* ============================= */

.navbar-toggle {
    display: none;
    justify-self: end;

    flex-direction: column;
    gap: 5px;

    background: none;
    border: none;
    cursor: pointer;
}

.navbar-toggle span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 999px;
    display: block;
}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 991px) {

    .navbar {
        padding: 0.7rem 1rem;
    }

    .navbar-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar-brand img {
        width: 160px;
    }

    .navbar-spacer {
        display: none;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-links {
        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;

        display: none;
        flex-direction: column;
        gap: 0;

        background: rgba(0, 0, 0, 0.98);
        border-top: 1px solid rgba(138, 43, 226, 0.35);

        padding: 1rem 0;
        z-index: 999;
    }

    .navbar-links.active {
        display: flex;
    }

    .navbar-links li {
        width: 100%;
        text-align: center;
    }

    .navbar-links a {
        width: 100%;
        padding: 0.9rem 0;
        font-size: 20px;
    }
}

@media (max-width: 500px) {
    .navbar-brand img {
        width: 130px;
    }
}



/* ============================= */
/* FOOTER */
/* ============================= */
.footer {
    margin-top: 3rem;
    padding-top: 4rem;

    border-top: 1px solid rgba(139, 92, 255, 0.2);

    background: rgba(255,255,255,0.015);
    backdrop-filter: blur(15px);
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem 3rem;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand img {
    width: 180px;
    margin-bottom: 1.2rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    max-width: 320px;
}

.footer-column h3 {
    color: #fff;
    margin-bottom: 1.3rem;
    font-size: 1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.9rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-column a {
    text-decoration: none;
    color: rgba(255,255,255,0.7);

    transition: 0.3s ease;
}

.footer-column a:hover {
    color: #8b5cff;
}

.footer-column i {
    margin-right: 0.5rem;
    color: #8b5cff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);

    padding: 1.5rem 2rem;

    display: flex;
    justify-content: space-between;
    align-items: center;

    max-width: 1300px;
    margin: 0 auto;
}

.footer-bottom p {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-legal a {
    text-decoration: none;
    color: rgba(255,255,255,0.6);

    transition: 0.3s ease;
}

.footer-legal a:hover {
    color: #8b5cff;
}

/* ============================= */
/* MOBILE */
/* ============================= */
@media (max-width: 900px) {

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
}

@media (max-width: 600px) {

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-brand img {
        margin: 0 auto 1rem;
    }
}