/********** Noosa Kitchen - The Modern Botanical Bistro **********/
:root {
    --primary: #1F382B;          /* Botanical Forest Green */
    --primary-hover: #15271E;
    --primary-light: #2D4C3C;
    --accent: #C59A41;           /* Warm Speculoos Gold */
    --accent-hover: #AF8532;
    --accent-soft: rgba(197, 154, 65, 0.14);
    
    --bg: #F8F6F0;               /* Warm Linen Oat */
    --surface: #FFFFFF;
    --surface-subtle: #F0EDE4;
    --surface-muted: #E8E3D8;
    
    --ink: #1C1917;              /* Deep Warm Charcoal / Espresso */
    --ink-muted: #666158;
    --ink-soft: rgba(28, 25, 23, 0.65);
    
    --border: #E2DDD2;
    --border-light: #EFEBE3;
    --badge-bg: #EAE5D9;
    
    /* Legacy aliases for Bootstrap & CI3 compatibility */
    --light: #F8F6F0;
    --dark: #1F382B;
    --parchment: #F8F6F0;
    --cream: #FFFFFF;
    --chip: #EAE5D9;
    --green: #1F382B;
    --green-deep: #1F382B;
    --mustard: #C59A41;
    --rust: #B84A28;
    --gold: #C59A41;
    --line: #E2DDD2;
}

/* Base resets & typography */
body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14.5px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .ff-secondary, .font-heading {
    font-family: 'Fraunces', Georgia, serif;
    color: var(--ink);
    letter-spacing: -0.015em;
}

h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--ink);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}
a:hover {
    color: var(--accent);
}

/* Spinner */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease-out, visibility 0s linear .4s;
    z-index: 99999;
}
#spinner.show {
    transition: opacity .4s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/* Buttons */
.btn {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
    border-radius: 9999px;
    padding: 8px 20px;
    transition: all 0.25s ease;
    text-transform: none;
}
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(31, 56, 43, 0.2);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(31, 56, 43, 0.28);
}
.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--border) !important;
    background-color: var(--surface) !important;
}
.btn-outline-primary:hover {
    background-color: var(--surface-subtle) !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    transform: translateY(-1px);
}
.btn-accent {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #FFFFFF !important;
}
.btn-accent:hover {
    background-color: var(--accent-hover) !important;
    border-color: var(--accent-hover) !important;
    color: #FFFFFF !important;
}
.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #FFFFFF !important;
}
.btn-outline-light:hover {
    background-color: #FFFFFF !important;
    color: var(--primary) !important;
}

/* Slim Top Utility Strip */
.nk-topbar {
    background-color: var(--surface-subtle);
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    padding: 6px 0;
    color: var(--ink-muted);
}
.nk-topbar a {
    color: var(--ink);
    font-weight: 600;
}
.nk-topbar a:hover {
    color: var(--accent);
}

/* Compact Navbar */
.navbar-dark {
    background: var(--surface) !important;
    border-bottom: 1px solid var(--border);
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    transition: all 0.3s ease;
}
.navbar-dark .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.navbar-dark .navbar-brand img {
    max-height: 42px;
    transition: max-height 0.3s ease;
}
.navbar-dark .navbar-nav .nav-link {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-muted) !important;
    padding: 8px 14px !important;
    margin-left: 4px;
    border-radius: 6px;
    text-transform: none;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary) !important;
    background-color: var(--surface-subtle);
}
.navbar-dark .navbar-toggler {
    border: 1px solid var(--border);
    padding: 6px 10px;
    color: var(--ink);
}
.navbar-dark .navbar-toggler-icon,
.navbar-dark .navbar-toggler .fa {
    color: var(--ink);
}

/* Sticky Navbar state */
.sticky-top.navbar-dark {
    position: sticky !important;
    top: 0;
    z-index: 1020;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Dropdown styling */
.dropdown-menu {
    border: 1px solid var(--border);
    background-color: var(--surface);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 8px;
}
.dropdown-item {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.dropdown-item:hover {
    background-color: var(--surface-subtle);
    color: var(--primary);
}

/* Compact Split Hero for Home */
.nk-split-hero {
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}
.nk-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 9999px;
    background-color: var(--badge-bg);
    color: var(--primary);
    margin-bottom: 16px;
}
.nk-hero-title {
    font-size: 2.75rem;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--ink);
}
@media (max-width: 768px) {
    .nk-hero-title {
        font-size: 2rem;
    }
    .nk-split-hero {
        padding: 32px 0;
    }
}
.nk-hero-desc {
    font-size: 15px;
    color: var(--ink-muted);
    line-height: 1.6;
    max-width: 540px;
    margin-bottom: 24px;
}
.nk-proof-strip {
    display: flex;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    margin-top: 24px;
}
.nk-proof-item strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}
.nk-proof-item span {
    font-size: 11.5px;
    color: var(--ink-muted);
}

/* Hero Spotlight Card (Right side) */
.nk-spotlight-card {
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 16px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nk-spotlight-card:hover {
    box-shadow: 0 12px 32px rgba(31, 56, 43, 0.08);
}
.nk-spotlight-img {
    height: 220px;
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    margin-bottom: 14px;
}
.nk-spotlight-price {
    position: absolute;
    top: 28px;
    right: 28px;
    background: rgba(31, 56, 43, 0.9);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 9999px;
    backdrop-filter: blur(4px);
}

/* Compact Inner Page Hero Header */
.hero-header {
    background-color: var(--primary) !important;
    border-bottom: 1px solid var(--border);
    padding: 40px 0 !important;
    margin-bottom: 0 !important;
}
.hero-header h1 {
    font-size: 2.25rem !important;
    font-weight: 700;
    margin-bottom: 8px !important;
    color: #FFFFFF !important;
}
.breadcrumb {
    margin-bottom: 0;
    font-size: 12px;
    letter-spacing: 0.04em;
}
.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}
.breadcrumb-item a:hover {
    color: #FFFFFF;
}
.breadcrumb-item.active {
    color: var(--accent) !important;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* Section Titles */
.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 11.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    font-weight: 700 !important;
    color: var(--accent) !important;
    margin-bottom: 6px;
    display: inline-block;
}
.section-title::before,
.section-title::after {
    display: none !important;
}

/* Section Container & Rhythm */
.section-compact {
    padding: 42px 0;
}
.section-bg {
    background-color: var(--surface-subtle) !important;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Category Highlights Bar */
.nk-category-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}
.nk-category-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--ink);
    font-weight: 600;
    font-size: 13px;
    transition: all 0.25s ease;
}
.nk-category-pill:hover {
    background: var(--surface);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(31, 56, 43, 0.06);
}
.nk-category-pill i {
    color: var(--accent);
    font-size: 16px;
}

/* High-Density Dish Card */
.nk-dish-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: all 0.25s ease;
    height: 100%;
}
.nk-dish-card:hover {
    border-color: var(--accent);
    box-shadow: 0 6px 20px rgba(31, 56, 43, 0.06);
}
.nk-dish-thumb {
    width: 84px;
    height: 84px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}
.nk-dish-body {
    flex: 1;
    min-width: 0;
}
.nk-dish-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}
.nk-dish-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nk-dish-price {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}
.nk-dish-desc {
    font-size: 12.5px;
    color: var(--ink-muted);
    line-height: 1.45;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Tags */
.kf-cat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}
.kf-cat-tag {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.4;
    padding: 2px 8px;
    border-radius: 9999px;
    background-color: var(--badge-bg);
    color: var(--primary);
    letter-spacing: 0.02em;
}

/* Collapsible Variant Panel */
.kf-variant-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.kf-variant-toggle:hover {
    color: var(--accent);
}
.kf-variant-chevron {
    font-size: 9px;
    transition: transform 0.25s ease;
}
.kf-variant-toggle:not(.collapsed) .kf-variant-chevron {
    transform: rotate(180deg);
}
.kf-variant-collapse {
    margin-top: 8px;
}
.kf-variant-panel {
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 12px;
}
.kf-variant-panel strong {
    color: var(--primary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Category Filter Bar */
.kf-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 28px;
}
.kf-filter a {
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 9999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    transition: all 0.2s ease;
}
.kf-filter a:hover,
.kf-filter a.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF !important;
}

/* Reservation & Visit Split Module */
.nk-visit-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 28px;
    align-items: stretch;
}
@media (max-width: 991px) {
    .nk-visit-grid {
        grid-template-columns: 1fr;
    }
}
.nk-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
}
.nk-info-card {
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.form-floating > .form-control,
.form-floating > .form-select {
    height: calc(3rem + 2px);
    padding: 1rem 0.75rem;
    font-size: 13px;
    background-color: var(--surface-subtle);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--ink);
}
.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 56, 43, 0.12);
    background-color: var(--surface);
}
.form-floating > label {
    font-size: 12px;
    color: var(--ink-muted);
}

/* Gallery & Team items */
.nk-gallery-thumb {
    height: 160px;
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}
.nk-gallery-thumb:hover {
    transform: scale(1.02);
}
.nk-crew-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    transition: all 0.25s ease;
}
.nk-crew-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}
.nk-crew-card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

/* Refined Compact Footer */
.nk-footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.75);
    border-top: 1px solid var(--border);
    padding: 40px 0 20px 0;
    font-size: 13px;
}
.nk-footer h4,
.nk-footer h5 {
    color: #FFFFFF !important;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 16px;
    margin-bottom: 14px;
}
.nk-footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}
.nk-footer a:hover {
    color: var(--accent);
}
.nk-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 30px;
    padding-top: 18px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* Back to top */
.back-to-top {
    position: fixed;
    display: none;
    right: 28px;
    bottom: 28px;
    z-index: 99;
    border-radius: 9999px;
    width: 42px;
    height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.back-to-top:hover {
    background: var(--accent);
    color: #FFFFFF;
}
