/* Reset default browser margins */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Desktop Layout (Default Style) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    min-height: 92px;
    height: 95px;
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: left;
    align-items: center;
    padding-left: 50px;
    padding-right: 50px;
}

.logo {
    /* background-image: url('../pics/dogpawlogo.png'); Set the path to your logo */
    background: url('../wspics/dogpawlogo.png') no-repeat;
    background-repeat: no-repeat;               /* Prevents the logo from repeating */
    background-size: contain;                    /* Ensures the logo fits cleanly */
    display: block;                             /* Allows the width and height to apply */
    min-width: 257px;
    min-height: 92px;
    text-indent: -9999px;                        /* Hides fallback text for screen readers */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 10px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    font-weight: bold;
    width: auto;
    height: auto;
    padding-left: 20px;
}
.nav_db_login {
    margin-left: auto;
    padding-left: 20px;
}

.nav-links a {
    color: #4fa07b;
    text-decoration: none;
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
    width: inherit;
    height: inherit;
    transition: 0.3s;
    border: solid 1px;
}

.nav-links a:hover {
    background-color: #55555556;
    border-radius: 4px;
}

/* Hide the toggle checkbox and hamburger button on desktop screens */
.menu-toggle-checkbox, 
.hamburger {
  display: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Reveal the hamburger graphic button */
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    /* Style the 3 lines forming the hamburger */
    .bar {
        width: 25px;
        height: 3px;
        background-color: rgb(11, 11, 11);
        transition: all 0.3s ease;
    }

    /* Collapse the navbar and force links into a hidden mobile tray */
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100px; /* Adjust based on navbar height */
        left: -100%; /* Completely hidden off-screen to the left */
        width: 100%;
        background-color: #b1f6b5;
        text-align: center;
        gap: 0;
        transition: left 0.3s ease; /* Adds slide animation */
    }

    .nav-links li {
        padding: 20px 0;
        border-bottom: 1px solid #070707;
    }

    /* MAGIC TRICK: When hidden checkbox is checked, slide the menu in */
    .menu-toggle-checkbox:checked ~ .nav-links {
        left: 0;
    }

    /* OPTIONAL ANIMATION: Morph hamburger lines into an "X" when open */
    .menu-toggle-checkbox:checked ~ .hamburger .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle-checkbox:checked ~ .hamburger .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle-checkbox:checked ~ .hamburger .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .logo {
        min-width: 120px;
        min-height: 50px;
    }
    
    .navbar {
        padding-left: 10px;
        padding-right: 10px;
        min-height: 70px;
        height: 75px;
    }
    
    .nav-links {
        padding-left: 0;
        font-size: 16px;
    }
    
    .nav_db_login {
        position: absolute;
        right: 70px;
        top: 15px;
        margin-left: 0;
        padding-left: 0;
    }
    
    .nav_db_login img {
        width: 30px !important;
        height: 30px !important;
    }
}