/*
Theme Name:   WP Sandbox
Theme URI:    http://supertusch.dk/theme/wp-sandbox/
Description:  Basically Bootstrap 5 Child Theme created for WP Sandbox
Author:       Supertusch
Author URI:   http://supertusch.dk
Template:     basically-bootstrap-5
Version:      1.0.0
Domain Path: /languages/
Text Domain:  wpsandbox
*/



/* ---------------------------------- */
/*   HEADER NAViGATION (CONTENT PAGES)*/
/* ---------------------------------- */

/* Header base */
.main-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Layout alignment */
.header-navigation {
    align-items: center;
}

/* Logo */
.site-logo {
    font-size: 20px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
}

.site-logo:hover {
    color: #555;
}

/* Navigation */
.navbar {
    padding: 0;
}

.navbar-nav {
    gap: 20px;
}

/* Links */
.nav-link {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding: 5px 0;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #000;
}

/* Underline hover effect */
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.25s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Active state (optional) */
.nav-link.active {
    color: #000;
}

.nav-link.active::after {
    width: 100%;
}

/* Mobile toggle button */
.navbar-toggler {
    border: none;
    outline: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Mobile menu */
@media (max-width: 1199px) {
    .navbar-collapse {
        background: #fff;
        padding: 20px;
        margin-top: 10px;
        border: 1px solid #eee;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 10px;
    }

    .nav-link {
        padding: 8px 0;
    }
}





/* ---------------------------------- */
/*   FOOTER                           */
/* ---------------------------------- */

footer {
    background: #111;
    color: #fff;
    padding: 40px 0;
    font-family: Arial, sans-serif;
}

.footer-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Top (logo) */
.footer-top img {
    max-width: 160px;
    height: auto;
}

/* Middle section */
.footer-mid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-desc {
    max-width: 400px;
    line-height: 1.6;
    color: #ccc;
}

/* Menu */
.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-menu a:hover {
    color: #fff;
}

/* Bottom section */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: #ccc;
}

.contact-info a {
    color: #ccc;
    text-decoration: none;
}

.contact-info a:hover {
    color: #fff;
}

.copyright {
    font-size: 14px;
    color: #777;
    align-self: flex-end;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-mid,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .copyright {
        align-self: flex-start;
    }
}