/* Import Lato if not handled by Tailwind's base (it is in the JS config) */
/* @import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap'); */

body {
    font-family: 'Lato', sans-serif;
    background-color: #0A0A0A; /* brand-dark */
    color: #F5F5F5; /* brand-light */
    overflow-x: hidden;
}

body.overflow-hidden {
    overflow: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px; /* Adjust based on final sticky header height */
}

/* Header Styling */
#main-header {
    /* background: linear-gradient(to bottom, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.7) 50%, transparent 100%); */
    /* Initial state is transparent, JS adds background on scroll */
}
#main-header .nav-link {
    color: #F5F5F5; /* brand-light */
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
#main-header .nav-link:hover {
    color: #CFFF04; /* brand-accent */
}

/* Container for the drawer button */
#main-header .navbar-end > div {
    position: relative;
    z-index: 65; /* Higher than drawer (z-60) */
}

#main-header .drawer-button {
    color: #F5F5F5; /* brand-light */
    position: relative;
}
#main-header .drawer-button:hover {
    color: #CFFF04; /* brand-accent */
}


#main-header.scrolled {
    background-color: rgba(10, 10, 10, 0.85); /* brand-dark with opacity */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding-bottom: 0;
}
#main-header.scrolled .nav-link {
    color: #CFFF04; /* brand-accent */
    text-shadow: none;
}
#main-header.scrolled .nav-link:hover {
    opacity: 0.8;
}
#main-header.scrolled .drawer-button {
    color: #CFFF04; /* brand-accent */
}
#main-header.scrolled #header-logo-link,
#main-header.scrolled #desktop-header-logo-link {
    opacity: 1;
}
#main-header:not(.scrolled) #header-logo-link { /* Mobile logo only visible on scroll for now */
    opacity: 0;
}
#main-header:not(.scrolled) #desktop-header-logo-link {
    opacity: 1; /* Desktop logo always visible unless scrolled logic changes */
}


/* Hero Section */
#hero {
    position: relative;
}
#hero .hero-video-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
#hero .hero-video-container video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Optional: Darken video slightly for text contrast */
#hero .hero-video-filter::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3); /* Adjust darkness as needed */
    z-index: 1;
}
#hero .container { /* Ensure content is above filter */
    z-index: 2;
}
#regensitelogo {
    max-width: 20em; /* Adjust as needed */
    margin-left: auto;
    margin-right: auto;
}


/* Title Decorator */
.title-with-decor img {
    height: 0.8em; /* Default, can be overridden by class on h2 */
    vertical-align: middle; /* Better alignment */
}

/* Partners Logo Ticker */
.logo-ticker-container {
    width: 100%;
}
.logo-ticker {
    display: flex;
    animation: ticker-scroll 30s linear infinite; /* Adjust duration based on number of logos */
}
.logo-item {
    transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.logo-item img {
    /* filter: grayscale(100%) brightness(1.5) contrast(0.8); */ /* Initial monochrome for dark theme */
    opacity: 0.7;
}
.logo-item:hover img {
    /* filter: grayscale(0%) brightness(1) contrast(1); */
    opacity: 1;
    transform: scale(1.1);
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%); /* Because we duplicated the logos */
    }
}

/* Save Budget Video Player */
.save-video-player {
    border: 2px solid #CFFF04; /* brand-accent */
}

/* What We Do Section */
#what-we-do .fas {
    transition: transform 0.3s ease-in-out;
}
#what-we-do .bg-brand-dark:hover .fas {
    transform: scale(1.1) rotate(-5deg);
}

/* Footer */
footer a.hover\:underline:hover {
    text-decoration: underline;
}

/* Modal Styling */
#work-with-us-modal.opacity-0 {
    pointer-events: none;
}
#work-with-us-modal:not(.opacity-0) { /* When opacity is not 0 */
    opacity: 1;
}
#work-with-us-form input,
#work-with-us-form select,
#work-with-us-form textarea {
    border-width: 1px; /* Ensure border is visible */
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
#work-with-us-form input:focus,
#work-with-us-form select:focus,
#work-with-us-form textarea:focus {
    border-color: #CFFF04; /* brand-accent */
    box-shadow: 0 0 0 2px rgba(207, 255, 4, 0.3); /* brand-accent with opacity */
    outline: none;
}
#work-with-us-form select option {
    background-color: #1F1F1F; /* brand-surface */
    color: #F5F5F5; /* brand-light */
}
#work-with-us-form .btn[disabled] {
    background-color: #A8CC03; /* brand-accent-darker or a greyed out version */
    opacity: 0.5;
    cursor: not-allowed;
}

/* Custom styles for the centered video play button */
#customPlayBtn {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(10, 10, 10, 0.7); /* brand-dark with opacity */
    color: #CFFF04; /* brand-accent */
    border: 2px solid #CFFF04;
    border-radius: 50%;
    width: 80px;  /* Larger size */
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

#customPlayBtn:hover {
    background-color: #CFFF04;
    color: #0A0A0A;
    transform: translate(-50%, -50%) scale(1.1); /* Slight zoom on hover */
}

#customPlayBtn i {
    font-size: 32px; /* Larger icon */
    margin-left: 6px; /* Optically center the play icon */
}
/* DaisyUI Drawer Customization */
.drawer-side > *:not(.drawer-overlay) {
    background-color: #1F1F1F; /* brand-surface */
    position: relative; /* Keep if needed for z-index stacking inside */
}
.drawer-overlay {
    background-color: rgba(0, 0, 0, 0.6); /* Darker overlay */
    position: relative;
    cursor: pointer;
}
.drawer-side .menu {
    padding-top: 2.5rem; /* Keep spacing from top */
}
.drawer-link:hover, .drawer-link:focus {
    background-color: transparent !important; /* Override DaisyUI hover bg if not desired */
    color: #CFFF04 !important; /* brand-accent */
}


/* Hamburger Icon Styling for Dark Theme */
.hamburger-icon path {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, stroke 0.3s ease-in-out;
    transform-origin: center center;
    stroke: currentColor; /* Will be inherited from .drawer-button color */
}

.bg-brand-accent{
    border:none!important;
}