body {
    font-family: 'Roboto Condensed', sans-serif;
    color: #283641;
    font-weight: 300;
}

h2 {
    font-weight: 600;
}
.bg-fixed {
    background-attachment: fixed;
}
.button {
    background-color: #769bb9;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
}
.button:hover {
    background-color: #0e3757;
}
.top-bar {
    background: linear-gradient(to right, #0e3757, #041624);
    padding: 0.5rem 1rem;
}

#top-nav > a, #top-nav > div {
    position: relative;
    padding-bottom: 1em;
    font-weight: 400;
}

#top-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

#top-nav a:hover:after {
    transform: scaleX(1);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown div a {
    position: relative;
}

.dropdown:after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid gray;
}

.dropdown-content {
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
    z-index: 1;
    width: 250px;
    top: 30px;
}



.dropdown-content a {
    display: block;
    padding: .5em;
}
.dropdown-content a:hover {
    background-color: #f1f1f1;
}
.button {
    color: white;
    background-color: #467fb0;
}

#hero-section {
    background-image: url('images/home-bg-002.jpg'); 
    background-size: cover; 
    background-repeat: no-repeat; 
    height: 70vh;
    background-position: center 100px;
    position: relative;
    overflow: hidden;
}




#hero-section {
    text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.7);
}


.max-w {
    max-width: 1100px;
}



#home-grid .grid > a {
    background-color: #0e3757;
    height: 250px;
    font-size: 1.5em;
    border-radius: .5em;
    transition: transform 0.3s ease-in-out;
}
#home-grid a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: #467fb0;
    transform: scaleX(0);
    transition: transform 0.1s ease-in-out;
}

#home-grid a:hover:after {
    transform: scaleX(1);
}

#home-grid a:hover {
    transform: translateY(-5px);
}

#home-about {
    overflow: hidden;
}

.flex-container {
    display: flex;
    align-items: flex-start;
}

.ml-3rem {
    margin-left: 3rem;
}

p {
    margin-bottom: 2rem;
}

footer.bg-gradient-to-r {
    background: linear-gradient(to right, #0e3757, #041624);
}

.footer-nav {
    background-color: #0e3757;
    padding: 1em;
}

img#bottom_logo {
    width: 256px;
    max-width: 256px;
}

#sub-hero {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    overflow: hidden;
    padding-top: 11rem;
}

#about-content h2, #about-content h3 {
    color: #0e3757;
}

#about-content p {
    color: #283641;
}

#map {
    margin-bottom: 5rem;
}

.grid {
    display: grid;
}

.rental-tool-item {
    transition: transform 0.3s ease;
    text-align: center;
}

.rental-tool-item:hover {
    transform: scale(1.10);
}

.service-box:hover {
    background-color: #283641;
    color: white;
    transform: scale(1.05);
}

.gap-8 {
    gap: 2rem;
}

@media (max-width: 750px) {
    .top-bar .address {
        display: none;
    }
    .top-bar .buttons {
        text-align: center;
    }
}
@media (max-width: 800px) {
    
    
    .nav-links {
        position: absolute;
        top: 10rem; /* This positions the nav just below the menu button */
        right: 0;
        background: white;
        width: 250px; /* This makes the nav take up the full width of its parent */
        display: none;
        z-index: 10;
    }

    #top-nav a {
        display: block;
        width: 100%;
        padding: 1em;
        margin: 0;
        font-size: 1.3rem;
        border-bottom: 1px solid #eeeeee;
    }
    #top-nav > div {
        padding: 0;
        margin: 0;
        display: block;
    }
   
    .menu-button {
        display: block;
    }


    .dropdown {
        position: relative;
        display: block;
    }
    
    .dropdown div a {
        position: relative;
    }
    
    .dropdown:after {
        content: '';
        display: block;
        position: absolute;
        top: 30px;
        right: 30px;
        width: 0;
        height: 0;
        margin-left: 5px;
        vertical-align: top;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid gray;
    }

    .dropdown-content {
        position: relative;
        background-color: #ccc;
        min-width: 160px;
        box-shadow: none;
        padding: 0;
        z-index: 1;
        width: 100%;
        top: 0;
    }

    #hero-section {
        background-image: url('images/home-bg-mobile.jpg'); 
        background-size: cover; 
        background-repeat: no-repeat; 
        background-position: center 100px;
    }

    

    #home-grid, #home-about, footer {
        padding-left: 1.5em;
        padding-right: 1.5em;
    }

   
    .footer-nav {
        display: none;
    }
    
}