/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@700&display=swap');


/* Crown Styles */
crown {
   position: fixed; /* Fixed positioning */
    top: 0; /* Adjust as needed */
    left: 0; /* Adjust as needed */
    width: 100%; /* Full width */
    height: 50vh; /* Full viewport height */
    overflow: auto; /* Enable scrolling if content overflows */
    z-index: 1; /* Ensure it's on top of other content */
   pointer-events: none; /* Pass mouse events through the crown */ 
}

crown .interactive-element {
   pointer-events: auto; /* Make only the interactive elements clickable */
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10%;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    
}

.logo a {
    text-decoration: none;
    color: #333;
    font-size: 40px;
    font-weight: bold;
    font-family: 'Quicksand', sans-serif; /* Bubbly and modern font */
    color: #ff5a5f; /* GuruWalk's primary color */
    letter-spacing: 1px; /* Slightly more spacing for readability */
    position: absolute;
    left: 10px;
    top: 0px;
}

.logo a:hover {
    text-shadow: 2px 2px 8px rgba(255, 90, 95, 0.4); /* Soft shadow for a glowing effect on hover */
}

.heading {
    font-family: 'Nunito Sans', sans-serif; /* Same font as GuruWalk */
    color: black; /* GuruWalk's primary color */
    font-size: 16px;
    font-weight: bold;
    margin-left: 1px; /* Adjust as needed for spacing */
    position: absolute;
    top: 20px;
    left: 365px;
}

.nav-menu {
    display: flex;
    gap: 20px;
    
}

.nav-menu a {
    text-decoration: none;
    color: #ff5a5f;
    font-size: 10px;
    
}

.nav-menu a:hover {
    color: #ff5a5f;
}

/* Styles for navigation links (Sign Up and Login buttons) */
.nav-link {
  display: inline-block;
  text-decoration: none;
  color: #ff5a5f;
  border: 1px solid #ff5a5f;
  background-color: white;
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: bold;
  min-width: 30px; /* ✅ Uniform width */
  text-align: center;
  box-sizing: border-box;
  transition: all 0.3s ease;
  
}


.nav-link:hover {
  background-color: #e14e50;
  color: white; /* Text becomes white when hovered */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


/* Add spacing between buttons */
.nav-menu {
    display: flex;
    gap: 10px;
}

/* Styles for laptop screens */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .logo a {
        font-size: 38px; /* Slightly smaller font for better proportions on laptops */
        left: 80px; /* Adjusted positioning for smaller screens */
        top: 10px; /* Keep the top position consistent */
    }

    .heading {
        font-size: 14px; /* Slightly smaller font size for better readability */
        top: 50px; /* Adjusted position to align with the resized logo */
        left: 300px; /* Adjust the left position for better alignment */
    }
}

@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 5%;
    }

    .logo a {
        font-size: 38px;
        position: relative;
        left: 10px;
        top: 0;
        margin-bottom: 10px;
    }

    .heading {
        font-size: 16px;
        position: relative;
        left: 2px;
        top: 0;
        margin-bottom: 15px;
        text-align: center;
        width: 100%;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;   /* ✅ keep horizontal layout */
        gap: 10px;
        flex-wrap: wrap;       /* ✅ wrap if too many links */
        justify-content: flex-end;  /* match home: nav items (incl. admin button) right-aligned */
        width: 100%;           /* was 110% — overflowed the viewport on mobile */
        padding-left: 0;       /* match home's nav strip (was padding-left:10px) */
    }
    .nav-menu > div {
    display: flex;
    align-items: right;
}

.nav-link {
    width: auto; /* match home: content-sized, not a fixed 77px */
    font-size: 12px;
    padding: 6px 12px;

    position: static; /* match home (was relative + right:-150px, which shoved buttons off-screen) */
    left: auto;
    right: auto;
  }
}