/* layout.css */
/* This file is for overall layout adjustments not directly handled by Tailwind utility classes */

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.navbar-nav {
    display: flex;
    align-items: center;
}

/* Responsive adjustments for mobile menu */
@media (max-width: 767px) {
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    .navbar-nav li {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }
}

/* Back to top button styling */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #3b82f6;
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: opacity 0.3s ease-in-out;
    z-index: 1000;
    display: none; /* Hidden by default, shown by JS */
}

.back-to-top.show {
    display: block;
}
