/* ========================================================================
   Ozcruising Theme CSS
   Load after site-base.css.
   This file should contain only brand tokens and very small brand-specific
   overrides. Keep layout/component rules in site-base.css.
   ======================================================================== */

:root {
    /* Logo/brand colours */
    --brand-primary: #052c65;
    --brand-primary-rgb: 5, 44, 101;
    --brand-primary-dark: #031f49;
    --brand-primary-light: #e8f1ff;
    /* Ozcruising blue CTA */
    --brand-secondary: #0d6efd;
    --brand-secondary-rgb: 13, 110, 253;
    /* Warm travel/deal accent. Use sparingly for promos, deal labels, warnings. */
    --brand-accent: #ff8a00;
    --brand-accent-rgb: 255, 138, 0;
    /* Ozcruising look and feel */
    --color-page-bg: #f8f9fa;
    --color-surface: #ffffff;
    --color-surface-muted: #f4f7fb;
    --color-border: rgba(5, 44, 101, .12);
    --color-border-strong: rgba(5, 44, 101, .22);
    --color-text: #0f172a;
    --color-text-muted: #64748b;
    --color-text-inverse: #ffffff;
    --color-success-bg: #dff5e6;
    --color-success-text: #0f5132;
    --color-warning: #ff8a00;
    --color-danger: #dc3545;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-heading: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --radius-xs: .25rem;
    --radius-sm: .5rem;
    --radius-md: .75rem;
    --radius-lg: 1rem;
    --radius-pill: 999px;
    --shadow-sm: 0 .125rem .5rem rgba(5, 44, 101, .08);
    --shadow-md: 0 .5rem 1rem rgba(5, 44, 101, .14);
    --shadow-focus: 0 0 0 .2rem rgba(5, 44, 101, .18);
    --header-offset-desktop: 132px;
    --header-offset-mobile: 76px;
    --content-shell-padding: 1rem;
    --button-height: 40px;
}

/* Ozcruising keeps the utility bar close to the logo navy. */
.oz-site-header .oz-utility-bar,
.oz-site-footer {
    background: var(--brand-primary-dark);
}

/* Keep primary CTAs bright/action-oriented while the shell/navigation uses logo navy. */
.btn-primary,
.btn.btn-primary,
a.btn-primary {
    border-color: var(--brand-secondary);
    background-color: var(--brand-secondary);
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active,
    .btn-primary.active {
        border-color: #0b5ed7 !important;
        background-color: #0b5ed7 !important;
    }

/* Sidebar and booking headers should use the Ozcruising logo navy. */
#sidebar h3,
#sidebar .oz-sidebar-title,
#sidebar .sidebar-title,
#sidebar .panel-heading,
.portlet > .portlet-title,
.portlet-title,
.panel-primary > .panel-heading,
.oz-section-heading {
    background: var(--brand-primary);
    color: var(--color-text-inverse);
}

/* Promotional/deal messaging should use the warmer accent, not the main navy. */
.oz-deal-label,
.oz-promo-label,
.cruise-card .deal,
.cruise-card .promo,
.text-warning {
    color: var(--brand-accent) !important;
}


/* Ozcruising theme extensions */
:root {
    --brand-danger: #dc3545;
    --brand-warning: #ffc107;
    --brand-success-bg: #dff5e6;
    --brand-success-text: #146c43;
    --brand-success-border: #badbcc;
}

/* ========================================================================
   Ozcruising top-right utility menu tokens
   Component rules live in site-base.css.
   ======================================================================== */
:root {
    --top-right-menu-bg: var(--brand-primary-dark);
    --top-right-menu-text: #ffffff;
    --top-right-menu-hover-bg: rgba(255,255,255,.14);
    --top-right-menu-hover-text: #ffffff;
    --top-right-menu-icon: rgba(255,255,255,.92);
    --top-right-menu-cta-bg: var(--brand-secondary);
    --top-right-menu-cta-hover-bg: #0b5ed7;
    --top-right-menu-cta-text: #ffffff;
    --top-right-account-bg: #ffffff;
    --top-right-account-text: var(--brand-secondary);
    --top-right-account-border: var(--brand-secondary);
    --top-right-account-icon: var(--brand-secondary);
    --top-right-account-hover-bg: var(--brand-primary-light);
    --top-right-dropdown-bg: #ffffff;
    --top-right-dropdown-text: var(--color-text);
    --top-right-dropdown-border: var(--color-border);
    --top-right-dropdown-icon: var(--color-text-muted);
    --top-right-dropdown-hover-bg: var(--brand-primary-light);
    --top-right-dropdown-hover-text: var(--brand-primary);
    --top-right-dropdown-shadow: 0 .85rem 1.75rem rgba(5,44,101,.18);
    --top-right-logout-text: var(--brand-danger);
    --top-right-logout-hover-bg: rgba(220,53,69,.08);
}

/* ========================================================================
   Ozcruising hero image tokens
   Component rules live in site-base.css and _Layout.BS5.cshtml.
   ======================================================================== */
:root {
    --hero-image-position: left center;
    --hero-image-position-tablet: left center;
    --hero-image-position-mobile: center center;
    --hero-image-min-height-default: 180px;
    --hero-image-min-height-desktop: 330px;
    --hero-image-min-height-wide: 360px;
    --hero-image-min-height-tablet: 260px;
    --hero-image-min-height-mobile: 220px;
    --hero-image-max-height-mobile: 220px;
    --hero-search-panel-offset-top: 12px;
    --hero-search-panel-offset-top-wide: 14px;
}

/* ========================================================================
   Ozcruising mobile hero visibility token
   Current mobile UX intentionally hides the decorative hero image so search
   and results appear sooner on small screens.
   ======================================================================== */
:root {
    --hero-image-display-mobile: none;
}
