/*
Theme Name: Garrick Film Modern
Theme URI: https://garrickfilm.com
Author: AndZeros
Author URI: https://github.com/AndZerosDev
Description: High-performance portfolio theme for Garrick Film. Native PHP 8.2+, ACF Pro driven.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 8.2
Text Domain: garrickfilm
*/

/* ==========================================================================
   Header & Sticky Navigation Stacking Fix
   ========================================================================== */

header,
header nav.navbar {
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040 !important; /* Floats above all page sections (z-index 1-100) */
}

/* Adjust for logged-in WordPress Admin Bar */
body.admin-bar header,
body.admin-bar header nav.navbar {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar header,
    body.admin-bar header nav.navbar {
        top: 46px;
    }
}

/* Ensure hamburger button is always clickable and elevated */
.navbar-toggle-wrap {
    position: relative;
    z-index: 1042 !important;
}

.navbar-toggler {
    position: relative;
    z-index: 1043 !important;
    cursor: pointer;
}

/* Ensure the dropdown menu sits cleanly beneath the toggle button */
#nav_collapse {
    position: relative;
    z-index: 1041 !important;
}