/* Basic Navbar Styles */
.entry-content {
    padding-top: 160px; /* Adjust to match navbar height */
}

.navbar {
    position: fixed; /* Fix navbar at the top */
    top: 0;
    left: 0;
    width: 100%; /* Ensure navbar spans the full width */
    background-color: white;
    z-index: 999;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    margin: 0; /* No margin to avoid centering */
    transition: top 0.3s ease-in-out; /* Smooth transition for hide/show */
    max-height: 160px; /* Adjust for the logo size */
    height: auto; /* Allow flexibility in height */
}

.navbar img {
    width: auto;
    max-width: 40%;
    height: auto;
    max-height: 150px; /* Ensure logo doesn’t exceed height */
    min-height: 100px; /* 👈 same as mobile, to prevent it from shrinking too much */

}

.navbar-links {
    display: flex;
    justify-content: space-evenly; /* Spread links evenly */
    align-items: center;
    flex-grow: 1;
}

.navbar-link {
    font-size: 16px; /* ← Increase this value as desired */
    font-weight: bold; 
    margin: 0 15px;
    text-decoration: none;
    font-family: 'Lora', serif;
    color: #404040;
    transition: color 0.3s ease;
}

.navbar-link:hover {
    color: #007bff; /* Optional hover effect */
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 30px;
}

.logo-link {
  display: block;
  height: 100%;
}

.logo-link img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 150px;
  min-height: 100px;
}

.logo-link {
  text-decoration: none;
  color: inherit;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .navbar {
        max-height: 160px; /* Adjust based on logo size */
        z-index: 1001;
    }

 .navbar img {
        max-width: 90%;     /* allow it to use a bit more space */
        max-height: 150px;  /* or however big you want */
        min-height: 100px;   /* prevents shrinking too small */
    }
 
    .navbar-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 0; /* Placeholder - will be dynamically updated */
        left: 0;
        margin-top: -1px;
        background-color: white;
        background-clip: padding-box;
        z-index: 1000;
        padding: 5px 0 15px 0;
        box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
        max-height: calc(100vh - 160px); /* Adjust 160px if your navbar is taller/shorter */
        overflow-y: auto;        /* Make it scrollable vertically */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }

    .navbar-links.active {
        display: flex;
        border-bottom: 1px solid #B9B4B4;
    }

    .navbar-link {
        margin: 10px 0;
    }
 
.navbar-link:last-child {
    margin-bottom: 20px; /* 👈 More breathing room below last link */
}
    .hamburger {
        display: block;
    }
 
body {
  background-color: white;
}
 
 .logo-link {
  display: block;
  height: 100%;
}

.logo-link img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 150px;
  min-height: 100px;
}

.logo-link {
  text-decoration: none;
  color: inherit;
}

}





/* === Dropdown core styles === */
.dropdown {
    position: relative;
}

.dropdown-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0 15px;
    font-family: 'Lora', serif;
    color: #404040;
    cursor: pointer;
}

/* Hide by default */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    width: auto;              /* 👈 auto size */
    padding: 8px 12px;        /* 👈 nice padding */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    flex-direction: column;
    white-space: nowrap;      /* 👈 prevents wrapping and keeps it tight */
}

/* Show on hover (desktop only) */
@media (min-width: 901px) {
    .dropdown:hover .dropdown-content {
        display: flex;
    }
}

/* Mobile adjustments */
@media (max-width: 900px) {
    .dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dropdown-content {
        display: none;
        position: relative;
        top: 0;
        box-shadow: none;
        background-color: transparent;
        padding: 2px 10px 10px 10px;
    }

    .dropdown-content.mobile-active {
        display: flex;
    }

    .dropdown-content a {
        font-size: 14px;
        margin: 5px 0;
        text-align: center;
        width: 100%;
    }

    .dropdown-title {
        margin: 10px 0;
    }
}
 
