/*
Theme Name: Brandidos
Text Domain: brandidos
Version: 1.0
Description: Custom WordPress theme for Brandidos
Tags: catering
Author: Jarmo Roos
Author URI: https://www.lemonscript.nl
Theme URI: https://www.lemonscript.nl
Requires at least: 6.0
Tested up to: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

#wpadminbar {
    position: fixed !important;
    z-index: 99999;
}
#wpadminbar a {
    pointer-events: auto !important;
}
#swup {
    opacity: 1;
    transition: opacity 0.4s ease;
}
/* Loader screen */
.loader-screen {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

body.is-loading .loader-screen {
    opacity: 1;
    pointer-events: all;
}
body:not(.site-ready) .loader-screen {
    opacity: 1;
    pointer-events: all;
}
/* Spinner */
.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #eee;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
html.is-animating #swup {
    opacity: 0;
}
html {
    margin: 0px;
    scroll-padding-top: 90px;
    scroll-behavior: smooth;
}
body {
    margin: 0px;
    background-color: black;
}
:root {
    --black: #000;
    --white: #FFF;
    --yellow: #FED007;
}
h1, h2, h3, h4 {}
p, a, li, span, strong, button, legend {}
p {}
textarea {
    resize: none;
}
select {
    -webkit-appearance: none;
}
button:hover {
    cursor: pointer;
}
textarea {
    resize: none;
}
input[type="submit"] {
    -webkit-appearance: none;
}
img {
    width: 100%;
}
video {
    width: 100%;
}
#main {
    max-width: 2000px;
    margin: 0 auto;
}
.container {
    width: 100%;
    margin: 0 auto;
    max-width: 1310px;
    padding: 0px 25px;
    box-sizing: border-box;
}
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: absolute;
    bottom: 10%;
    left: 0;
    z-index: 3;
}
.marquee-track {
    display: flex;
    width: max-content;
    margin: 0;
    padding: 0;
}
.marquee-track img {
    height: clamp(3rem, 6vw, 5rem);
    width: auto;
    display: block;
    margin: 0px 20px;
}
@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.loader-screen .marquee-track {
    animation: marquee-scroll 12s linear infinite;
}
/* ========================
   Header
   ======================== */
#site-header {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(-200%);
    opacity: 0;
    z-index: 1000;
    width: fit-content;
    border-radius: 100px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-sizing: border-box;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.5s ease,
                border-radius 0.4s ease;
}

body.site-ready #site-header {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 14px 24px;
    position: relative;
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    z-index: 1;
}

.header-logo img {
    width: auto;
    height: 30px;
    display: block;
}

.header-logo-text {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

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

.header-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav ul li {
    margin: 0;
    padding: 0;
}

.header-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.header-nav a:hover {
    opacity: 1;
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.header-search-btn,
.header-hamburger {
    background: none;
    border: none;
    padding: 7px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.header-search-btn:hover,
.header-hamburger:hover {
    background: rgba(255, 255, 255, 0.12);
}

.header-hamburger {
    display: none;
}

.ham-line {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#site-header.menu-open .ham-line-1 {
    transform: translateY(5px) rotate(45deg);
}

#site-header.menu-open .ham-line-2 {
    opacity: 0;
    transform: scaleX(0);
}

#site-header.menu-open .ham-line-3 {
    transform: translateY(-5px) rotate(-45deg);
}

.header-mobile-nav {
    display: none;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding-bottom 0.4s ease;
}

#site-header.menu-open .header-mobile-nav {
    max-height: 400px;
    padding-bottom: 16px;
}

.header-mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-mobile-nav ul li {
    margin: 0;
    padding: 0;
}

.header-mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    padding: 5px 25px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    white-space: nowrap;
    display: inline-block;
}

.header-mobile-nav a:hover {
    opacity: 1;
}

#feed {
    background-color: black;
    position: relative;
    z-index: 4;
}

/* iPad Portrait */
@media only screen and (min-width: 768px) {

}

/* iPad Landscape */
@media only screen and (min-width: 1024px) {

}

@media only screen and (min-width: 1200px) {

}

@media only screen and (min-width: 1500px) {

}

@media only screen and (max-width: 1023px) {
    #site-header {
        width: 90%;
    }

    .header-inner {
        justify-content: space-between;
    }

    #site-header.menu-open {
        border-radius: 24px;
    }

    .header-nav {
        display: none;
    }

    .header-hamburger {
        display: flex;
    }

    .header-mobile-nav {
        display: flex;
    }
}