/* ==========================================
   GLOBAL PAGE RESET
========================================== */

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-width: 320px;
}

/* ==========================================
MINEDER SHARED COMPONENTS
Navbar + Footer
========================================== */

:root {
/* Brand colours */
--color-primary: #0F766E;
--color-primary-light: #14B8A6;
--color-accent: #C65D32;


/* Neutrals */
--color-white: #FFFFFF;
--color-ivory: #FAF8F2;
--color-dark: #172B2A;
--color-muted: #A8B3B0;
--color-subtle: #C0CBC7;

/* Shared component surfaces */
--component-background: #172B2A;
--component-panel: #203633;
--component-border: rgba(255, 255, 255, 0.12);
--component-transition: 180ms ease;

/* Footer */
--footer-background: var(--component-background);
--footer-border: var(--component-border);


}

/* ==========================================
SHARED BASICS
========================================== */

.site-header,
.site-footer {
width: 100%;
font-family: "Inter", "Segoe UI", sans-serif;
}

.site-header,
.site-header *,
.site-header *::before,
.site-header *::after,
.site-footer,
.site-footer *,
.site-footer *::before,
.site-footer *::after {
box-sizing: border-box;
}


.site-header a,
.site-footer a {
text-decoration: none;
}

.site-header a:focus-visible,
.site-header summary:focus-visible,
.site-footer a:focus-visible {
outline: 2px solid var(--color-accent);
outline-offset: 4px;
}

/* ==========================================
NAVBAR
========================================== */

.site-header {
position: relative;
z-index: 100;
width: 100%;
padding: 0;
background: var(--component-background);
border-bottom: 1px solid var(--component-border);
}

.navbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 30px;
width: 100%;
max-width: 1440px;
min-height: 80px;
margin: 0 auto;
padding: 0 4%;
background: var(--component-background);
}

/* BRAND */

.brand {
display: flex;
flex-shrink: 0;
flex-direction: column;
align-items: center;
gap: 2px;
}

.brand-logo {
display: block;
width: 42px;
height: 34px;
object-fit: contain;
}

.brand-wordmark {
color: var(--color-white);
font-size: 10px;
font-weight: 800;
letter-spacing: 2.5px;
line-height: 1.2;
}

/* NAVIGATION LAYOUT */

.nav-content,
.nav-links,
.nav-actions {
display: flex;
align-items: center;
}

.nav-content {
flex: 1;
justify-content: space-between;
gap: 24px;
}

.nav-links {
flex: 1;
justify-content: center;
gap: 20px;
}

.nav-actions {
flex-shrink: 0;
justify-content: flex-end;
gap: 24px;
}

/* DROPDOWNS */

.nav-dropdown {
position: relative;
}

.nav-link {
display: flex;
align-items: center;
gap: 8px;
min-height: 40px;
padding: 8px 14px;
color: var(--color-ivory);
background: transparent;
border: 1px solid transparent;
border-radius: 8px;
font-size: 13px;
font-weight: 500;
cursor: pointer;
list-style: none;
transition:
color var(--component-transition),
background var(--component-transition),
border-color var(--component-transition);
}

.nav-link::-webkit-details-marker {
display: none;
}

.nav-link:hover,
.nav-dropdown[open] > .nav-link {
color: #F0A17E;
background: rgba(198, 93, 50, 0.10);
border-color: rgba(198, 93, 50, 0.28);
}

.chevron {
color: var(--color-accent);
font-size: 14px;
transition: transform var(--component-transition);
}

.nav-dropdown[open] .chevron {
transform: rotate(180deg);
}

/* DROPDOWN PANEL */

.dropdown-menu {
position: absolute;
top: calc(100% + 10px);
left: 50%;
z-index: 200;
width: 270px;
padding: 10px;
background: var(--component-panel);
border: 1px solid var(--component-border);
border-radius: 12px;
box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
transform: translateX(-50%);
}

.dropdown-label {
display: block;
padding: 8px 10px;
color: #F0A17E;
font-size: 9px;
font-weight: 700;
letter-spacing: 1.5px;
}

.dropdown-item {
display: flex;
flex-direction: column;
gap: 3px;
padding: 10px;
border-radius: 8px;
transition:
background var(--component-transition);
}

.dropdown-item:hover,
.dropdown-item:focus-visible {
background: rgba(198, 93, 50, 0.12);
}

.dropdown-title {
color: var(--color-white);
font-size: 13px;
font-weight: 600;
transition: color var(--component-transition);
}

.dropdown-item:hover .dropdown-title {
color: #F0A17E;
}

.dropdown-description {
color: var(--color-muted);
font-size: 11px;
line-height: 1.5;
}

/* LOGIN + REGISTER */

.login-link {
color: var(--color-ivory);
font-size: 13px;
font-weight: 500;
transition: color var(--component-transition);
}

.login-link:hover {
color: #F0A17E;
}

.register-button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
min-height: 40px;
padding: 0 18px;
color: var(--color-white);
background: var(--color-primary);
border: 1px solid var(--color-primary);
border-radius: 8px;
font-size: 12px;
font-weight: 700;
white-space: nowrap;
transition:
background var(--component-transition),
border-color var(--component-transition),
transform var(--component-transition);
}

.register-button:hover {
color: var(--color-white);
background: var(--color-accent);
border-color: var(--color-accent);
transform: translateY(-1px);
}

.register-button span {
color: inherit;
}

/* ==========================================
FOOTER
========================================== */

.site-footer {
padding: 38px 4% 20px;
color: var(--color-ivory);
background: var(--footer-background);
border-top: 1px solid var(--footer-border);
}

.footer-panel {
max-width: 1440px;
margin: 0 auto;
}

/* FOOTER MAIN CONTENT */

.footer-main {
display: flex;
align-items: center;
justify-content: space-between;
gap: 32px;
padding-bottom: 24px;
}

.footer-logo {
color: var(--color-white);
font-size: 18px;
font-weight: 800;
letter-spacing: 2.5px;
transition: color var(--component-transition);
}

.footer-logo:hover {
color: #F0A17E;
}

.footer-brand p {
max-width: 330px;
margin: 8px 0 0;
color: var(--color-muted);
font-size: 0.9rem;
line-height: 1.65;
}

/* FOOTER CONTACT */

.footer-social {
text-align: right;
}

.typing-label {
min-height: 20px;
margin-bottom: 10px;
color: #F0A17E;
font-size: 13px;
}

.typing-cursor {
display: inline-block;
width: 1px;
height: 12px;
margin-left: 3px;
vertical-align: middle;
background: var(--color-accent);
}

.footer-icons {
display: flex;
justify-content: flex-end;
gap: 10px;
}

.footer-contact-icon {
display: grid;
width: 36px;
height: 36px;
place-items: center;
background: rgba(255, 255, 255, 0.045);
border: 1px solid var(--component-border);
border-radius: 8px;
transition:
background var(--component-transition),
border-color var(--component-transition),
transform var(--component-transition);
}

.footer-contact-icon:hover {
background: rgba(198, 93, 50, 0.15);
border-color: var(--color-accent);
transform: translateY(-2px);
}

.footer-contact-icon img {
display: block;
width: 17px;
height: 17px;
}

/* COPYRIGHT + LEGAL LINKS */

.footer-bottom {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 10px;
padding-top: 14px;
border-top: 1px solid var(--footer-border);
color: var(--color-subtle);
font-size: 12px;
}

.footer-bottom p {
margin: 0;
}

.footer-legal {
display: flex;
flex-wrap: wrap;
gap: 22px;
}

.footer-legal a {
color: var(--color-subtle);
transition: color var(--component-transition);
}

.footer-legal a:hover {
color: #F0A17E;
}

/* ==========================================
RESPONSIVE
========================================== */

@media (max-width: 850px) {


.navbar {
    gap: 20px;
    padding-inline: 4%;
}

.nav-content {
    gap: 16px;
}

.nav-links {
    gap: 8px;
}

.nav-actions {
    gap: 16px;
}


}

@media (max-width: 650px) {


.navbar {
    flex-wrap: wrap;
    padding: 16px 4%;
}

.nav-content {
    flex-direction: column;
    width: 100%;
    margin-top: 12px;
}

.nav-links {
    flex-direction: column;
    width: 100%;
    gap: 4px;
}

.nav-dropdown {
    width: 100%;
}

.nav-link {
    justify-content: space-between;
    width: 100%;
}

.dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 6px;
    transform: none;
}

.nav-actions {
    justify-content: space-between;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--component-border);
}

.site-footer {
    padding: 30px 6% 18px;
}

.footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding-bottom: 20px;
}

.footer-social {
    text-align: left;
}

.footer-icons {
    justify-content: flex-start;
}

.footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
}

.footer-legal {
    gap: 16px;
}


}

/* ==========================================
REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {


.site-header *,
.site-footer * {
    scroll-behavior: auto;
    transition: none !important;
    animation: none !important;
}


}
