/* =========================================================
   AnythingZ Public Website Theme
   Brand: Yellow #FFD700 | Black #171717 | White #FFFFFF
   ========================================================= */

:root {
    --anythingz-yellow: #FFD700;
    --anythingz-black: #171717;
    --anythingz-white: #FFFFFF;
    --anythingz-light: #F4F5F7;
    --anythingz-border: #E5E7EB;

    /* Override the landing page's original theme variables */
    --primary-clr: #FFD700;
    --base-1: #FFD700;
    --base-2: #FFD700;
    --header-bg: #171717;
    --title-clr: #171717;
    --body-bg: #FFFFFF;
    --body-clr: #4B5563;
    --section-bg: #F4F5F7;
    --white: #FFFFFF;
    --white-clr: #FFFFFF;
    --border-clr: #E5E7EB;
    --border-light: #E5E7EB;
}

/* Global typography */
body {
    color: #4B5563;
}

h1, h2, h3, h4, h5, h6,
.title {
    color: #171717;
    font-weight: 700;
}

/* Header */
header .navbar-bottom {
    background-color: #171717;
}

header .navbar-bottom-wrapper .menu a,
header .navbar-bottom-wrapper .header--btn,
header .navbar-bottom-wrapper .dropdown--btn {
    color: #FFFFFF;
    font-weight: 600;
    transition: color 0.2s ease, background-color 0.2s ease;
}

header .navbar-bottom-wrapper .menu a:hover,
header .navbar-bottom-wrapper .menu a.active,
header .navbar-bottom-wrapper .header--btn:hover,
header .navbar-bottom-wrapper .dropdown--btn:hover {
    color: #FFD700;
}

/* Language and Join Us dropdown arrows */
header .navbar-bottom-wrapper .dropdown--btn svg path {
    fill: currentColor;
}

/* Dropdown menus */
header .dropdown-list {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

header .dropdown-list a {
    color: #171717;
    font-weight: 500;
}

header .dropdown-list a:hover {
    color: #171717;
    background-color: #FFD700;
}

/* Primary landing page buttons */
.cmn--btn,
button.btn-primary,
.btn-primary {
    background: #FFD700;
    border-color: #FFD700;
    color: #171717;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease,
                border-color 0.2s ease;
}

.cmn--btn:hover,
button.btn-primary:hover,
.btn-primary:hover {
    background: #171717;
    border-color: #171717;
    color: #FFD700;
}

/* Links */
a {
    transition: color 0.2s ease;
}

a:hover {
    color: #B39700;
}

/* Form controls */
.form-control,
.form-select,
select,
textarea {
    border-color: #D1D5DB;
    border-radius: 6px;
}

.form-control:focus,
.form-select:focus,
select:focus,
textarea:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.22);
}

/* Cards and content surfaces */
.card {
    border-color: #E5E7EB;
    border-radius: 10px;
}

/* Keyboard accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #FFD700;
    outline-offset: 3px;
}

/* Mobile menu toggle */
header .nav-toggle span {
    background-color: #FFD700;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
