@import url('https://fonts.googleapis.com/css2?family=Caprasimo&family=DM+Serif+Display:ital@0;1&family=Outfit:wght@200&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
body{
    font-family: Outfit;
    background: white;
    margin: 0;
}

hr {
    width: 100%;
    max-width: 90rem;
    height: 3px;
    background-color:#4F200D;
}

.h2 {
  margin: 0;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}



#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading {
  height: 50px;
  width: 50px;
  border: 5px solid #9c7667;
  border-radius: 50px;
  box-shadow: 0 0 8px #4F200D, 0 0 8px #4F200D inset;
  animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
    0%{
        transform: rotateX(0) rotateY(0) rotateZ(0);
    }
    33%{    
        transform: rotateX(180deg) rotateY(0) rotateZ(0);
    }
    67%{
        transform: rotateX(180deg) rotateY(180deg) rotateZ(0);
    }
    100% {
        transform: rotateX(180deg) rotateY(180deg) rotateZ(180deg);
    }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.hidden-text {
  opacity: 0;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.hidden-text[data-anim="fade-up"] {
  animation: fadeUp 0.8s ease-out forwards;
}

.hidden-text.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  animation: fadeLeft 0.8s ease-out forwards;
}

.fade-right {
  animation: fadeRight 0.8s ease-out forwards;
}


.Navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background: #FF9A00;
    position: relative;
    text-decoration: none;
    color: black;
}

.Navigation a{
    text-decoration: none;
    color: #4F200D  ;
}

#logo{
    font-family: Caprasimo;
    font-size: 3rem;
}

#navBar {
    display: flex;
    gap: 2rem;
    font-size: 20px;
    align-items: center;
}

.tracker {
  background: white;
  border-radius: 5rem;
  padding: 0.5rem 1.2rem;
  font-weight: bolder;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: white;
    color: #4F200D;
    padding: 0.5rem 1.2rem;
    font-size: 18px;
    border: 2px solid #FF9A00;
    border-radius: 5rem;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropbtn:hover {
    background-color: #FF9A00;
    color: white;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 2000;
    border-radius: 12px;
    overflow: hidden;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 16px;
}

.dropdown-content a:hover {
    background-color: #FF9A00;
    color: white;
}

/* Show dropdown on hover (Desktop) */
.dropdown:hover .dropdown-content {
    display: block;
}

/* For Mobile: Click to toggle */
.dropdown.active .dropdown-content {
    display: block;
    position: relative; /* Flow normally in mobile menu */
    width: 100%;
    box-shadow: none;
    background: #eee;
}

/* --- PROFILE PAGE STYLES --- */
.profile-container {
    max-width: 900px;
    margin: 100px auto 50px;
    padding: 20px;
}

.profile-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: #FF9A00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    font-family: Caprasimo;
}

.profile-details h2 {
    margin: 0;
    color: #4F200D;
    font-family: Caprasimo;
}

.profile-details p {
    margin: 5px 0 0;
    color: #666;
}

/* Forms */
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #4F200D;
}
.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: Outfit;
}

.action-btn {
    background: #4F200D;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}
.action-btn:hover { background: #333; }

/* Admin Tabs */
.tab-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.tab-btn {
    padding: 10px 20px;
    background: #eee;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
}
.tab-btn.active {
    background: #FF9A00;
    color: white;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

/* Admin Tables */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.admin-table th, .admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.admin-table th {
    background-color: #f9f9f9;
    color: #4F200D;
}

/* Mobile responsive for profile */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
}
/* .Home{
  font-weight: bolder;
}

.SignUp {
    background: white;
    border-radius: 5rem;
    padding: 0.5rem 1.2rem;
    font-weight: bolder;
} */

.Content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 1rem;
    padding-bottom: 5rem;
    gap: 1rem;
}
.Content h2 {
    font-size: 3rem;
    letter-spacing: .3rem;
    margin: 0;
    margin-top: 30px;
}

.Content p {
    font-size: 25px;
    margin: 0;
    margin-top: 5px;
    font-style: italic;
}

.highlight {
    color: #FF9A00;
}

#bustleImg{
    max-width: 100%;
    max-height: 100%;
    width: 50rem;
}

.info{
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 60px 80px;
    margin-top: 5px;
}

.info-text {
    flex: 1;
    max-width: 520px;
}

.info-img {
    flex: 1;
    display: flex;
    justify-content: center;
}

.info-img img {
    width: 100%;
    max-width: 500px;
    background: #FFD740;
    box-shadow: 8px 8px 0 rgba(182, 182, 182, 0.6);
    object-fit: contain;
}

.info-text h1{
    font-family: "DM Serif Display", serif;
    letter-spacing: .02rem;
    margin: 0 0 10px 0;
    font-size: 50px;
    color: #1f1f1f;
}

.info-text h2{
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
    margin: 0 0 12px 0;
    font-size: 30px;
    font-style: italic;
    color: #6b3b2b;
}

.info-text p {
    font-size: 20px;
    line-height: 1.6;
    color: #4F200D;
    margin: 0;
}

@media (max-width: 900px) {
  .info {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .info-text, .info-img {
    width: 100%;
  }

  .info-img img {
    max-width: 400px;
  }
}

.about{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 200px auto;
    flex-direction: column;
    text-align: center;
    max-width: 700px;
}

.about h1 {
    font-family: DM Serif Display;
    font-size: 40px;
}

.about h2 {
    font-family: Ubuntu;
    margin: 0;
    margin-top: 20px;
    font-size: 35px;
    color:#FF9A00;
    font-style: italic;
}

.about p {
    margin: 10px auto;
    font-size: 20px;
    width: 100%;
    max-width: 200rem;
}

/*if logged in*/
.bussin {
  position: relative;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.busInfo {
  background-color: #fefefe;
  margin: auto;
  padding: 50px;
  border: 1px solid #888;
  border-radius: 2rem;
  width: 80%;
  margin-top: 50px;
}

.busInfo h2 {
  color: #4F200D;
}

/* Replace your existing .currentBus css with this */
.currentBus {
      background-color: #fefefe;
      margin: 30px auto;
      padding: 50px;
      border: 1px solid #888;
      border-radius: 2rem;
      width: 80%;
      text-align: left;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
      
      /* New Interactive Styles */
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .currentBus:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
      border-color: #FF9A00;
    }

footer{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px auto;
    justify-content: space-evenly;
}

footer a {
    text-decoration: none;
    color: #4F200D;
    font-size: 18px;
    font-weight: bold;
}

/*for sign up page->>*/


