/* =============================================================================
   THE DESIGNERS AGENCY — Australian Theme Override
   Loaded LAST so it overrides the base style.css / responsive.css cascade.
   Palette: Deep Blue #003366 · Gold #FFCC00 · Green #00843D · White #FFFFFF
   Adds: kangaroo motifs, modern spacing, consistent buttons, hover/animations.
   ========================================================================== */

:root {
    --au-blue:        #003366;
    --au-blue-deep:   #002347;
    --au-blue-light:  #14579c;
    --au-gold:        #FFCC00;
    --au-gold-deep:   #e6b800;
    --au-green:       #00843D;
    --au-green-light: #00a64d;
    --au-white:       #FFFFFF;
    --au-ink:         #1b2733;
    --au-muted:       #5b6b7b;
    --au-grad:        linear-gradient(120deg, var(--au-blue) 0%, var(--au-blue-light) 100%);
    --au-grad-gold:   linear-gradient(120deg, var(--au-gold) 0%, var(--au-gold-deep) 100%);
    --au-radius:      14px;
    --au-shadow:      0 14px 40px rgba(0, 51, 102, .14);
    --au-shadow-sm:   0 6px 18px rgba(0, 51, 102, .10);
    --au-ease:        cubic-bezier(.22, .61, .36, 1);
}

/* ---- Typography polish -------------------------------------------------- */
body {
    color: var(--au-ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 { color: var(--au-blue); letter-spacing: -.01em; }
p { line-height: 1.7; }
a { transition: color .25s var(--au-ease); }
a:hover { color: var(--au-green); }

/* =========================================================================
   1. GLOBAL COLOR REMAP  (old cyan/teal -> deep blue, old red -> gold/green)
   The base theme's brand cyan was #24c5da / #0099ad. We remap every place it
   surfaces: gradients, fills, borders, text.
   ========================================================================= */

/* Brand gradient text — use the GOLD gradient so it reads on both light and
   dark backgrounds (the base theme clipped a cyan->dark-grey gradient that
   turned into a dark box on dark heroes). Match base by setting background-image. */
.gradient-text,
.gradient {
    background-image: var(--au-grad-gold) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

/* Inline accent words the base theme rendered in light cyan -> gold accent */
.light-cyan-champ,
.cyan-champ,
.light-cyan,
.text-cyan,
span[class*="cyan"] {
    color: var(--au-gold) !important;
    -webkit-text-fill-color: var(--au-gold) !important;
}
/* On white/light sections, accent words read better in green for contrast */
.white-bg .light-cyan-champ,
section:not([class*="ban"]):not([class*="hero"]):not([class*="cta"]) .light-cyan-champ {
    color: var(--au-green) !important;
    -webkit-text-fill-color: var(--au-green) !important;
}

/* Solid teal backgrounds become deep blue */
.bg-theme, .theme-bg, .bg-primary,
.given-sec, .cta, .cta-sec,
section[style*="#24c5da"], section[style*="#0099ad"] {
    background-color: var(--au-blue) !important;
}

/* =========================================================================
   2. BUTTONS  — one consistent system across the whole site
   ========================================================================= */
.btn-style-1,
.btn-style-2,
.btn-red,
.thanks-btn,
.btn-color-4-red,
button[type="submit"],
.popup-default-click.btn-style-1 {
    background: var(--au-grad) !important;
    color: var(--au-white) !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 14px 32px !important;
    font-weight: 600 !important;
    letter-spacing: .2px;
    box-shadow: var(--au-shadow-sm);
    transition: transform .3s var(--au-ease), box-shadow .3s var(--au-ease), background .3s var(--au-ease);
    position: relative;
    overflow: hidden;
}
.btn-style-1:hover,
.btn-style-2:hover,
.btn-red:hover,
.btn-color-4-red:hover,
button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: var(--au-shadow);
    background: var(--au-grad-gold) !important;
    color: var(--au-blue-deep) !important;
}
/* Secondary / gold accent button */
.btn-gold {
    background: var(--au-grad-gold) !important;
    color: var(--au-blue-deep) !important;
    border-radius: 999px !important;
    padding: 14px 32px !important;
    font-weight: 700 !important;
}
/* Sweep shine on hover */
.btn-style-1::after,
.btn-style-2::after {
    content: "";
    position: absolute;
    top: 0; left: -120%;
    width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
    transition: left .6s var(--au-ease);
}
.btn-style-1:hover::after,
.btn-style-2:hover::after { left: 130%; }

/* =========================================================================
   3. HEADER  — deep-blue glassy bar with gold underline + kangaroo watermark
   ========================================================================= */
header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(140%) blur(10px);
    box-shadow: 0 2px 20px rgba(0, 51, 102, .08);
    border-bottom: 3px solid transparent;
    border-image: var(--au-grad-gold) 1;
}
header .main__navigation ul > li > a {
    color: var(--au-blue) !important;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
}
/* Animated gold underline on nav hover/active */
header .main__navigation ul > li > a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--au-gold);
    transition: width .3s var(--au-ease);
}
header .main__navigation ul > li:hover > a::after,
header .main__navigation ul > li.active > a::after { width: 100%; }
header .main__navigation ul > li.active > a { color: var(--au-green) !important; }

header .dropdown {
    border-radius: var(--au-radius);
    box-shadow: var(--au-shadow);
    border-top: 3px solid var(--au-gold);
    overflow: hidden;
}
header .dropdown li a:hover { background: rgba(0,51,102,.06); color: var(--au-blue) !important; }

/* Kangaroo watermark tucked at the right edge of the header */
.au-roo-watermark {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    width: 64px; height: 64px;
    background: url("../images/au/kangaroo-blue.svg") no-repeat center / contain;
    opacity: .10;
    pointer-events: none;
    color: var(--au-blue);
}
@media (max-width: 991px) { .au-roo-watermark { display: none; } }

/* =========================================================================
   4. HERO  — deep-blue base, gold accents, faint kangaroo crest
   ========================================================================= */
.banner, .inner-banner, .hero, .header-relative > section:first-of-type {
    position: relative;
}
.banner::before, .inner-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/au/kangaroo-pattern.svg") repeat;
    background-size: 360px 360px;
    opacity: .35;
    pointer-events: none;
    z-index: 0;
}
.banner > *, .inner-banner > * { position: relative; z-index: 1; }

/* Headings inside dark hero stay readable */
.banner h1, .inner-banner h1, .banner h2 { color: var(--au-white); }
.banner h1 span, .inner-banner h1 span { color: var(--au-gold); }

/* =========================================================================
   5. SECTION DIVIDERS  — slim gold/green rule as a section signature
   ========================================================================= */
.au-divider, .section-title::after {
    content: "";
    display: block;
    width: 72px; height: 4px;
    margin: 14px auto 0;
    background: var(--au-grad-gold);
    border-radius: 4px;
}

/* Card / package surfaces */
.package, .pkg-box, .price-box, .service-box, .card, .blog-box {
    border-radius: var(--au-radius);
    box-shadow: var(--au-shadow-sm);
    transition: transform .35s var(--au-ease), box-shadow .35s var(--au-ease);
    background: var(--au-white);
}
.package:hover, .pkg-box:hover, .price-box:hover,
.service-box:hover, .card:hover, .blog-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--au-shadow);
}
/* Featured/active package gets a gold ring */
.package.active, .pkg-box.featured, .price-box.active {
    border: 2px solid var(--au-gold);
}

/* =========================================================================
   6. FOOTER  — deep-blue field with a large kangaroo silhouette
   ========================================================================= */
.footer-top {
    background-color: var(--au-blue-deep) !important;
    background-blend-mode: multiply;
    position: relative;
    overflow: hidden;
}
.footer-top::after {
    content: "";
    position: absolute;
    right: -30px; bottom: -20px;
    width: 300px; height: 300px;
    background: url("../images/au/kangaroo-white.svg") no-repeat center / contain;
    opacity: .10;
    pointer-events: none;
}
.footer-top, .footer-top p, .footer-top a, .footer-top h4 { color: var(--au-white) !important; }
.footer-top .ft__nav h4 { position: relative; padding-bottom: 10px; }
.footer-top .ft__nav h4::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 40px; height: 3px; background: var(--au-gold); border-radius: 3px;
}
.footer-top a:hover { color: var(--au-gold) !important; }
.footer-top .fa-caret-right { color: var(--au-gold); margin-right: 8px; }

.social-links-box a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; margin: 4px 6px 0 0;
    border-radius: 50%;
    background: rgba(255,255,255,.10);
    color: var(--au-white) !important;
    transition: transform .3s var(--au-ease), background .3s var(--au-ease);
}
.social-links-box a:hover {
    background: var(--au-gold);
    color: var(--au-blue-deep) !important;
    transform: translateY(-3px) scale(1.06);
}

.footer-bottom {
    background: var(--au-blue) !important;
    color: rgba(255,255,255,.8);
}
.footer-bottom a { color: var(--au-gold) !important; }

/* Footer CTA form block + kangaroo silhouette decoration */
.footer-form-wrap { position: relative; overflow: hidden; }
.au-roo-footer {
    position: absolute;
    left: -50px; bottom: -40px;
    width: 260px; height: 260px;
    background: url("../images/au/kangaroo-white.svg") no-repeat center / contain;
    opacity: .05;
    pointer-events: none;
    transform: scaleX(-1); /* face the content */
}
@media (max-width: 767px) { .au-roo-footer { display: none; } }

/* =========================================================================
   7. FORMS — cleaner inputs
   ========================================================================= */
.form-control, .popup-field {
    border-radius: 10px !important;
    border: 1.5px solid #d7e0ea !important;
    transition: border-color .25s var(--au-ease), box-shadow .25s var(--au-ease);
}
.form-control:focus, .popup-field:focus {
    border-color: var(--au-blue) !important;
    box-shadow: 0 0 0 3px rgba(0,51,102,.12) !important;
    outline: none !important;
}

/* Popup accent */
.popup { border-radius: var(--au-radius); border-top: 5px solid var(--au-gold); }
.popup-head strong { color: var(--au-gold); }

/* =========================================================================
   8. MOTION & ACCESSIBILITY
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}
a:focus-visible, button:focus-visible, .btn-style-1:focus-visible, .btn-style-2:focus-visible {
    outline: 3px solid var(--au-gold);
    outline-offset: 2px;
}

/* Selection colour */
::selection { background: var(--au-gold); color: var(--au-blue-deep); }

/* =========================================================================
   9. SCROLLBAR (webkit) — subtle brand touch
   ========================================================================= */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-thumb { background: var(--au-blue-light); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--au-blue); }
