 body {
        font-family: Arial, sans-serif;
        background-color: #5D1451; /* light purple */
        color: white;
        margin: 0;
        padding: 0;
        text-align: center;
        min-height: 120vh;
    }
    .container {
    padding-bottom: 100px; /* space at bottom */
}

    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 30px;
        background: rgba(0, 0, 0, 0.3);
    }
    header img {
        height: 50px;
    }
    nav button {
        background: transparent;
        color: white;
        border: none;
        font-size: 16px;
        margin-left: 15px;
        cursor: pointer;
    }
    nav button:hover {
        text-decoration: underline;
    }
    .welcome {
        font-size: 50px;
        font-family: 'Trebuchet MS', sans-serif;
        margin-top: 100px;
        opacity: 0;
        animation: fadeIn 2s forwards;
    }
    .welcome2 {
        font-size: 30px;
        font-family: 'Trebuchet MS', sans-serif;
        margin-top: 100px;
        opacity: 0;
        animation: fadeIn 3s forwards;
    }
    .intro-text {
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    color: white;
    text-align: center;
    max-width: 800px;
    margin: 20px auto;
    line-height: 1.8;
    padding: 0 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    animation: fadeInUp 1.5s ease-out;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
    @keyframes fadeIn {
        to { opacity: 1; transform: translateY(0); }
        from { opacity: 0; transform: translateY(-20px); }
    }
    .search-box {
        margin-top: 50px;
    }
    .search-box input {
        padding: 10px;
        font-size: 18px;
        width: 60%;
        border: none;
        border-radius: 5px;
    }
    .popup {
        display: none;
        background: rgba(0,0,0,0.8);
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        justify-content: center;
        align-items: center;
        color: white;
        font-size: 24px;
    }
    .popup-content {
        background: #6b21a8;
        padding: 30px;
        border-radius: 10px;
        width: 300px;
    }
    .popup-content input {
        width: 100%;
        padding: 8px;
        margin: 5px 0;
        border: none;
        border-radius: 5px;
    }
    .popup-content button {
        margin-top: 10px;
        padding: 8px;
        background: white;
        color: black;
        border: none;
        cursor: pointer;
        font-weight: bold;
        border-radius: 5px;
    }
    #main-content {
        margin-top: 50px;
        font-size: 26px;
        font-family: 'Trebuchet MS', sans-serif;
    }

    /* UNIVERSAL RESPONSIVE LAYOUT */
* {
  box-sizing: border-box;
}

img, video {
  max-width: 100%;
  height: auto;
}

.container, header, footer, nav, section, article, aside {
  max-width: 1200px;
  margin: auto;
  padding: 0 15px;
}

@media (max-width: 1024px) {
  body {
    font-size: 16px;
  }
  .flex, .row {
    flex-wrap: wrap;
  }
  .col {
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  .search-bar input {
    width: 100% !important;
  }
  .icons, .buttons {
    flex-wrap: wrap;
    justify-content: center;
  }
  footer {
    text-align: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  .logo img {
    max-width: 150px;
    height: auto;
  }
  nav ul {
    flex-direction: column;
    padding: 0;
  }
  nav ul li {
    margin: 5px 0;
  }
  .search-bar, .cart, .wishlist {
    margin: 5px 0;
  }
}

    /* Default desktop view */
.nav-buttons {
  display: flex;
  gap: 1rem; /* space between buttons */
}

/* Mobile fix */
@media (max-width: 600px) {
  .nav-buttons {
    flex-direction: column; /* stack vertically */
    align-items: stretch;
    gap: 0.8rem; /* more breathing space */
  }

  .nav-buttons a,
  .nav-buttons button {
    padding: 12px 16px; /* make them easier to tap */
    font-size: 16px; /* readable on small screens */
  }
}


    /* -------------- GLOBAL RESET & FLEXIBILITY -------------- */
* {
  box-sizing: border-box;
  max-width: 100%;
}

img, video {
  height: auto;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.5;
}

/* -------------- RESPONSIVE NAV & BUTTONS -------------- */
.nav-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.nav-buttons a,
.nav-buttons button {
  padding: 10px 15px;
  font-size: 1rem;
}

/* -------------- TABLET -------------- */
@media (max-width: 992px) {
  .nav-buttons {
    justify-content: center;
  }

  header, footer, main {
    padding: 15px;
  }
}

/* -------------- MOBILE -------------- */
@media (max-width: 600px) {
  .nav-buttons {
    flex-direction: column; /* stack buttons */
    align-items: stretch;
  }

  .nav-buttons a,
  .nav-buttons button {
    font-size: 16px;
    padding: 14px;
  }

  /* Make text more readable */
  body {
    font-size: 16px;
  }

  /* Prevent content being squished */
  section, article, .container {
    padding: 10px;
  }
}
/* Mobile adjustments */
@media (max-width: 768px) {
    /* Reduce font size for welcome text and menu items */
    .welcome-text {
        font-size: 14px; /* smaller for mobile */
    }

    .header-links a {
        font-size: 13px;
        padding: 5px 8px; /* space between each link */
    }

    /* Arrange items side-by-side */
    .header-links {
        display: flex;
        flex-wrap: wrap; /* allows items to move to next line if needed */
        justify-content: center; /* center them */
        gap: 8px; /* space between them */
    }

    /* Make icons smaller if you have them */
    .header-links img, 
    .header-links svg {
        width: 18px;
        height: 18px;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    .welcome-text {
        font-size: 12px;
    }
    .header-links a {
        font-size: 12px;
        padding: 4px 6px;
    }
}

#nav-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 15px; /* space between icons */
}

#nav-buttons button {
    background: none;
    border: none;
    font-size: 30px; /* big enough to see clearly */
    color: white;
    cursor: pointer;
    padding: 8px; /* bigger clickable area */
}

#nav-buttons button:hover {
    transform: scale(1.2); /* a nice hover zoom effect */
}

/* Mobile: slightly smaller so all fit */
@media (max-width: 480px) {
    #nav-buttons button {
        font-size: 26px;
        padding: 6px;
    }
}
