/* ============================================================
   LAYOUT.CSS
   All structural layout styles — header, navigation,
   footer, sticky elements, page wrapper, mobile menu,
   and the overall page/section shell styles.

   TABLE OF CONTENTS:
   1.  Page Wrapper & Section Shell
   2.  Header / Navbar
   3.  Logo
   4.  Desktop Navigation Links
   5.  Navigation Actions
   6.  Hamburger Button
   7.  Mobile Navigation Overlay
   8.  Sticky Floating Action Buttons
   9.  Back to Top Button
   10. Footer — Main Grid
   11. Footer — Brand Column
   12. Footer — Links Column
   13. Footer — Contact Column
   14. Footer — Hours Column
   15. Footer — Disclaimer & Bottom Bar
   16. Page Hero (inner page banner)
   17. Responsive — Layout
============================================================ */


/* ============================================================
   1. PAGE WRAPPER & SECTION SHELL
   Controls which page is visible and provides the
   base padding to account for the fixed header.
============================================================ */

/* All pages share this class — only .active is shown */
.page {
    display:        none;
    min-height:     100vh;
    padding-top:    var(--header-height);
}

.page.active {
    display:        block;
}

/* Website wrapper — all public pages live here */
#website {
    position:       relative;
}

/* Admin panel wrapper — hidden when on public site */
#adminPanel {
    position:       relative;
}


/* ============================================================
   2. HEADER / NAVBAR
   Fixed top navigation bar. Becomes slightly smaller
   and gains a shadow when the user scrolls down.
============================================================ */

.header {
    position:           fixed;
    top:                0;
    left:               0;
    width:              100%;
    z-index:            var(--z-header);
    padding:            14px 0;

    /* Frosted glass effect */
    background:         rgba(255, 255, 255, 0.95);
    backdrop-filter:    blur(16px);
    -webkit-backdrop-filter: blur(16px);

    /* Start transparent bottom border */
    border-bottom:      1px solid transparent;
    transition:         var(--transition);
}

/* Scrolled state — adds border and shadow */
.header.scrolled {
    border-bottom-color: var(--border);
    box-shadow:          var(--shadow-sm);
    padding:             10px 0;
}

/* Inner flex wrapper */
.nav-wrap {
    display:            flex;
    align-items:        center;
    justify-content:    space-between;
    gap:                20px;
}


/* ============================================================
   3. LOGO
   The Swat Motors logo — icon emblem + text stack.
   Used in header, footer, admin sidebar, and login.
============================================================ */

/* Clickable logo wrapper */
.logo {
    display:            flex;
    align-items:        center;
    gap:                10px;
    cursor:             pointer;
    flex-shrink:        0;
    text-decoration:    none;
    user-select:        none;
}

/* Black square emblem with car SVG */
.logo-emblem {
    width:              42px;
    height:             42px;
    background:         var(--dark);
    border-radius:      10px;
    display:            flex;
    align-items:        center;
    justify-content:    center;
    flex-shrink:        0;
    transition:         var(--transition);
}

.logo-emblem svg {
    width:              26px;
    height:             26px;
}

/* Size variants */
.logo-emblem.large {
    width:              52px;
    height:             52px;
    border-radius:      14px;
}

.logo-emblem.large svg {
    width:              34px;
    height:             34px;
}

/* Text column next to emblem */
.logo-text-wrap {
    display:            flex;
    flex-direction:     column;
    line-height:        1.15;
}

/* Main brand name */
.logo-top {
    font-size:          16px;
    font-weight:        900;
    color:              var(--dark);
    letter-spacing:     -0.3px;
    text-transform:     uppercase;
}

/* Subtitle / trading name */
.logo-sub {
    font-size:          9.5px;
    font-weight:        600;
    color:              var(--primary);
    text-transform:     uppercase;
    letter-spacing:     1.2px;
}

/* Hover effect on logo */
.logo:hover .logo-emblem {
    background:         var(--primary);
}


/* ============================================================
   4. DESKTOP NAVIGATION LINKS
   The main nav links shown on desktop screens.
============================================================ */

.nav-links {
    display:            flex;
    align-items:        center;
    gap:                2px;
}

/* Individual nav link */
.nav-links a {
    color:              var(--text-3);
    text-decoration:    none;
    font-size:          var(--font-size-base);
    font-weight:        500;
    padding:            8px 14px;
    border-radius:      var(--radius-sm);
    transition:         var(--transition);
    position:           relative;
    white-space:        nowrap;
}

/* Hover state */
.nav-links a:hover {
    color:              var(--text);
    background:         var(--bg-3);
}

/* Active / current page link */
.nav-links a.active {
    color:              var(--primary);
    font-weight:        600;
}

/* Active underline indicator */
.nav-links a.active::after {
    content:            '';
    position:           absolute;
    bottom:             4px;
    left:               50%;
    transform:          translateX(-50%);
    width:              18px;
    height:             2px;
    background:         var(--primary);
    border-radius:      var(--radius-full);
}


/* ============================================================
   5. NAVIGATION ACTIONS
   Right side of the header — phone number + CTA button.
============================================================ */

.nav-actions {
    display:            flex;
    align-items:        center;
    gap:                10px;
    flex-shrink:        0;
}

/* Phone number link */
.nav-tel {
    font-size:          13px;
    font-weight:        600;
    color:              var(--text-2);
    text-decoration:    none;
    display:            flex;
    align-items:        center;
    gap:                5px;
    padding:            8px 12px;
    border-radius:      var(--radius-sm);
    transition:         var(--transition);
    white-space:        nowrap;
}

.nav-tel:hover {
    background:         var(--bg-3);
    color:              var(--primary);
}


/* ============================================================
   6. HAMBURGER BUTTON
   Mobile menu toggle — three lines that animate
   into an X when the mobile menu is open.
============================================================ */

.ham {
    display:            none;
    flex-direction:     column;
    gap:                5px;
    cursor:             pointer;
    padding:            5px;
    background:         none;
    border:             none;
    z-index:            1001;
    flex-shrink:        0;
}

/* Each line */
.ham span {
    display:            block;
    width:              22px;
    height:             2px;
    background:         var(--dark);
    border-radius:      var(--radius-full);
    transition:         var(--transition);
    transform-origin:   center;
}

/* Open state — top line rotates to form X top */
.ham.open span:nth-child(1) {
    transform:          rotate(45deg) translate(5px, 4px);
}

/* Open state — middle line disappears */
.ham.open span:nth-child(2) {
    opacity:            0;
    transform:          translateX(-8px);
}

/* Open state — bottom line rotates to form X bottom */
.ham.open span:nth-child(3) {
    transform:          rotate(-45deg) translate(5px, -4px);
}


/* ============================================================
   7. MOBILE NAVIGATION OVERLAY
   Full-screen menu shown on mobile when hamburger is clicked.
   Links fade in and the menu slides in from the left.
============================================================ */

.mob-nav {
    display:            none;
    position:           fixed;
    inset:              0;
    background:         #ffffff;
    z-index:            var(--z-mob-nav);
    flex-direction:     column;
    align-items:        center;
    justify-content:    center;
    gap:                8px;
    opacity:            0;
    pointer-events:     none;
    transition:         opacity 0.3s ease;
}

/* Open state */
.mob-nav.open {
    opacity:            1;
    pointer-events:     all;
    display:            flex;
}

/* Close X button inside mobile nav */
.mob-nav-close {
    position:           absolute;
    top:                20px;
    right:              20px;
    width:              40px;
    height:             40px;
    border-radius:      50%;
    background:         var(--bg-3);
    border:             none;
    font-size:          18px;
    cursor:             pointer;
    display:            flex;
    align-items:        center;
    justify-content:    center;
    transition:         var(--transition);
    color:              var(--text-2);
}

.mob-nav-close:hover {
    background:         var(--primary-faint);
    color:              var(--primary);
}

/* Mobile nav links */
.mob-nav a {
    font-size:          22px;
    font-weight:        700;
    color:              var(--text);
    text-decoration:    none;
    padding:            12px 40px;
    border-radius:      var(--radius-md);
    transition:         var(--transition);
    width:              100%;
    max-width:          320px;
    text-align:         center;
}

.mob-nav a:hover {
    color:              var(--primary);
    background:         var(--primary-faint);
}

/* Phone link in mobile nav */
.mob-tel {
    color:              var(--primary) !important;
    font-size:          16px !important;
    font-weight:        600 !important;
    margin-top:         8px;
}

/* WhatsApp link in mobile nav */
.mob-wa {
    color:              #25d366 !important;
    font-size:          16px !important;
    font-weight:        600 !important;
}


/* ============================================================
   8. STICKY FLOATING ACTION BUTTONS
   Fixed WhatsApp and phone buttons on the right side.
   Visible on all pages at all times.
============================================================ */

.sticky-actions {
    position:           fixed;
    right:              22px;
    bottom:             90px;
    display:            flex;
    flex-direction:     column;
    gap:                10px;
    z-index:            var(--z-sticky);
}

/* Individual FAB */
.sticky-fab {
    width:              50px;
    height:             50px;
    border-radius:      50%;
    border:             none;
    cursor:             pointer;
    display:            flex;
    align-items:        center;
    justify-content:    center;
    font-size:          22px;
    box-shadow:         var(--shadow-md);
    transition:         var(--transition);
    position:           relative;
}

.sticky-fab:hover {
    transform:          scale(1.12) translateY(-2px);
    box-shadow:         var(--shadow-lg);
}

/* WhatsApp button */
.fab-wa {
    background:         #25d366;
    color:              #ffffff;
}

/* Phone button */
.fab-phone {
    background:         var(--primary);
    color:              #ffffff;
}

/* Tooltip on FAB */
.sticky-fab::before {
    content:            attr(title);
    position:           absolute;
    right:              calc(100% + 10px);
    top:                50%;
    transform:          translateY(-50%);
    background:         var(--dark);
    color:              #ffffff;
    padding:            5px 10px;
    border-radius:      var(--radius-sm);
    font-size:          12px;
    font-weight:        500;
    white-space:        nowrap;
    opacity:            0;
    pointer-events:     none;
    transition:         opacity 0.2s ease;
    font-family:        var(--font-family);
}

.sticky-fab:hover::before {
    opacity:            1;
}


/* ============================================================
   9. BACK TO TOP BUTTON
   Circular button fixed at bottom-right.
   Appears when user scrolls more than 500px down.
============================================================ */

.back-top {
    position:           fixed;
    right:              22px;
    bottom:             28px;
    width:              44px;
    height:             44px;
    border-radius:      50%;
    background:         var(--dark);
    color:              #ffffff;
    border:             none;
    cursor:             pointer;
    display:            flex;
    align-items:        center;
    justify-content:    center;
    font-size:          17px;
    box-shadow:         var(--shadow-md);
    z-index:            var(--z-sticky);

    /* Hidden by default */
    opacity:            0;
    pointer-events:     none;
    transform:          translateY(10px);
    transition:         var(--transition);
}

/* Visible state — added by app.js on scroll */
.back-top.show {
    opacity:            1;
    pointer-events:     all;
    transform:          translateY(0);
}

.back-top:hover {
    background:         var(--primary);
    transform:          translateY(-3px);
}


/* ============================================================
   10. FOOTER — MAIN GRID
   Four-column grid layout for the footer content.
============================================================ */

.footer {
    background:         var(--dark);
    padding:            72px 0 0;
}

/* Main four-column grid */
.footer-grid {
    display:            grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
    gap:                36px;
    margin-bottom:      52px;
    padding-bottom:     52px;
    border-bottom:      1px solid rgba(255, 255, 255, 0.07);
}

/* Shared footer column heading */
.footer h4 {
    font-size:          var(--font-size-xs);
    font-weight:        700;
    text-transform:     uppercase;
    letter-spacing:     1.2px;
    color:              #ffffff;
    margin-bottom:      18px;
}


/* ============================================================
   11. FOOTER — BRAND COLUMN
   Left column with logo, description, company number,
   and social media icons.
============================================================ */

/* Logo inside footer */
.footer-logo {
    display:            flex;
    align-items:        center;
    gap:                10px;
    cursor:             pointer;
    margin-bottom:      14px;
    text-decoration:    none;
}

/* Footer logo emblem has red background */
.footer-logo-emblem {
    background:         var(--primary) !important;
}

/* Footer logo text colour */
.footer-logo-top {
    color:              #ffffff !important;
}

/* Brand description paragraph */
.footer-brand p {
    font-size:          13.5px;
    color:              #888888;
    line-height:        1.65;
    margin-bottom:      10px;
    max-width:          280px;
}

/* Company registration number chip */
.company-chip {
    display:            inline-block;
    background:         rgba(255, 255, 255, 0.06);
    border:             1px solid rgba(255, 255, 255, 0.10);
    border-radius:      var(--radius-full);
    padding:            4px 12px;
    font-size:          var(--font-size-sm);
    color:              #777777;
    margin-top:         4px;
}

/* Social icons row */
.footer-social {
    display:            flex;
    gap:                8px;
    margin-top:         18px;
}

/* Individual social icon */
.soc-ico {
    width:              36px;
    height:             36px;
    background:         rgba(255, 255, 255, 0.06);
    border:             1px solid rgba(255, 255, 255, 0.10);
    border-radius:      50%;
    display:            flex;
    align-items:        center;
    justify-content:    center;
    color:              #888888;
    text-decoration:    none;
    font-size:          13px;
    transition:         var(--transition);
    cursor:             pointer;
}

.soc-ico:hover {
    background:         var(--primary);
    color:              #ffffff;
    border-color:       var(--primary);
    transform:          translateY(-2px);
}


/* ============================================================
   12. FOOTER — LINKS COLUMN
   Quick navigation links.
============================================================ */

.footer-links ul {
    list-style:         none;
}

.footer-links ul li {
    margin-bottom:      9px;
}

.footer-links ul li a {
    color:              #888888;
    text-decoration:    none;
    font-size:          13.5px;
    transition:         var(--transition);
    display:            flex;
    align-items:        center;
    gap:                5px;
    line-height:        1.4;
}

.footer-links ul li a:hover {
    color:              var(--primary);
    padding-left:       4px;
}


/* ============================================================
   13. FOOTER — CONTACT COLUMN
   Address, phone, email, and WhatsApp links.
============================================================ */

.footer-contact p {
    font-size:          13.5px;
    color:              #888888;
    margin-bottom:      11px;
    display:            flex;
    align-items:        flex-start;
    gap:                8px;
    line-height:        1.5;
}

/* Icon column inside paragraph */
.footer-ico {
    flex-shrink:        0;
    font-size:          14px;
    line-height:        1.5;
}

/* Links inside contact column */
.footer-contact a {
    color:              #888888;
    text-decoration:    none;
    transition:         var(--transition);
}

.footer-contact a:hover {
    color:              var(--primary);
}


/* ============================================================
   14. FOOTER — HOURS COLUMN
   Opening hours list with day and time on each row.
============================================================ */

.footer-hours ul {
    list-style:         none;
}

.footer-hours ul li {
    display:            flex;
    justify-content:    space-between;
    align-items:        center;
    font-size:          13px;
    color:              #888888;
    padding:            6px 0;
    border-bottom:      1px solid rgba(255, 255, 255, 0.05);
    gap:                12px;
}

.footer-hours ul li:last-child {
    border-bottom:      none;
}

/* Time value (right side) */
.footer-hours ul li span:last-child {
    color:              #bbbbbb;
    font-weight:        500;
    white-space:        nowrap;
}


/* ============================================================
   15. FOOTER — DISCLAIMER & BOTTOM BAR
============================================================ */

/* Disclaimer section */
.footer-disclaimer {
    padding:            22px 0;
    border-bottom:      1px solid rgba(255, 255, 255, 0.07);
    margin-bottom:      0;
}

.footer-disclaimer h4 {
    font-size:          var(--font-size-xs);
    color:              #666666;
    margin-bottom:      6px;
    text-transform:     uppercase;
    letter-spacing:     1px;
}

.footer-disclaimer p {
    font-size:          12.5px;
    color:              #666666;
    line-height:        1.65;
    max-width:          900px;
}

/* Bottom copyright bar */
.footer-bottom {
    padding:            18px 0;
    display:            flex;
    align-items:        center;
    justify-content:    space-between;
    flex-wrap:          wrap;
    gap:                12px;
}

.footer-bottom p {
    font-size:          12.5px;
    color:              #666666;
    line-height:        1.4;
}

/* Dealers Hub highlight */
.dh-tag {
    color:              var(--primary);
    font-weight:        600;
}

/* Right-side links */
.footer-bottom-links {
    display:            flex;
    align-items:        center;
    gap:                16px;
}

.footer-bottom-links a {
    color:              #666666;
    text-decoration:    none;
    font-size:          12.5px;
    transition:         var(--transition);
}

.footer-bottom-links a:hover {
    color:              var(--primary);
}

/* Secret admin link — nearly invisible */
.admin-secret-link {
    opacity:            0.25;
    font-size:          14px;
    transition:         var(--transition);
}

.admin-secret-link:hover {
    opacity:            1;
}


/* ============================================================
   16. PAGE HERO
   The banner at the top of inner pages (About, Stock,
   Sell, Contact). Shows breadcrumb-style title + subtitle.
============================================================ */

.page-hero {
    padding:            64px 0 44px;
    text-align:         center;
    background:         linear-gradient(
                            160deg,
                            #ffffff 60%,
                            #fff5f5 100%
                        );
    border-bottom:      1px solid var(--border);
    position:           relative;
    overflow:           hidden;
}

/* Subtle decorative glow behind hero */
.page-hero::before {
    content:            '';
    position:           absolute;
    top:                -60px;
    right:              -60px;
    width:              300px;
    height:             300px;
    background:         radial-gradient(
                            circle,
                            rgba(204, 0, 0, 0.05) 0%,
                            transparent 70%
                        );
    pointer-events:     none;
}

/* Page hero heading */
.page-hero h1 {
    font-size:          clamp(30px, 4vw, 52px);
    font-weight:        900;
    letter-spacing:     -1.5px;
    margin-bottom:      12px;
    color:              var(--text);
    position:           relative;
}

/* Page hero subtitle */
.page-hero p {
    font-size:          16px;
    color:              var(--text-3);
    max-width:          560px;
    margin:             0 auto;
    line-height:        1.65;
    position:           relative;
}


/* ============================================================
   17. RESPONSIVE — LAYOUT
   Adjusts header, footer, and navigation for smaller screens.
============================================================ */

/* ── Large Tablet / Small Desktop ── */
@media (max-width: 1100px) {

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap:                28px;
    }
}

/* ── Tablet ── */
@media (max-width: 900px) {

    .page-hero {
        padding:            48px 0 32px;
    }

    .page-hero h1 {
        font-size:          clamp(26px, 4vw, 40px);
    }
}

/* ── Mobile ── */
@media (max-width: 768px) {

    /* Hide desktop nav and actions */
    .nav-links,
    .nav-actions {
        display:            none;
    }

    /* Show hamburger */
    .ham {
        display:            flex;
    }

    /* Mobile nav becomes visible */
    .mob-nav {
        display:            none; /* shown via JS .open class */
    }

    /* Sticky FABs move closer to edge */
    .sticky-actions {
        right:              14px;
        bottom:             80px;
    }

    .sticky-fab {
        width:              46px;
        height:             46px;
        font-size:          20px;
    }

    /* Back to top */
    .back-top {
        right:              14px;
        bottom:             22px;
        width:              40px;
        height:             40px;
        font-size:          15px;
    }

    /* Footer */
    .footer {
        padding-top:        52px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap:                32px;
        margin-bottom:      36px;
        padding-bottom:     36px;
    }

    .footer-brand p {
        max-width:          100%;
    }

    .footer-bottom {
        flex-direction:     column;
        align-items:        flex-start;
        gap:                10px;
    }

    .footer-bottom-links {
        gap:                12px;
    }

    /* Page hero */
    .page-hero {
        padding:            40px 0 28px;
    }
}

/* ── Small Mobile ── */
@media (max-width: 480px) {

    /* Header */
    .header {
        padding:            12px 0;
    }

    .header.scrolled {
        padding:            8px 0;
    }

    /* Logo text */
    .logo-top {
        font-size:          14px;
    }

    .logo-sub {
        font-size:          8.5px;
    }

    .logo-emblem {
        width:              36px;
        height:             36px;
    }

    .logo-emblem svg {
        width:              22px;
        height:             22px;
    }

    /* Mobile nav links */
    .mob-nav a {
        font-size:          18px;
        padding:            10px 28px;
    }

    /* Page hero */
    .page-hero h1 {
        font-size:          clamp(24px, 5vw, 34px);
        letter-spacing:     -1px;
    }

    .page-hero p {
        font-size:          14px;
    }

    /* Footer hours */
    .footer-hours ul li {
        font-size:          12px;
    }
}

/* ============================================================
   MOBILE BOTTOM NAVIGATION BAR
   Only visible on mobile screens.
============================================================ */

.mob-bottom-nav {
    display:            none;
    position:           fixed;
    bottom:             0;
    left:               0;
    right:              0;
    height:             64px;
    background:         #ffffff;
    border-top:         1.5px solid var(--border);
    z-index:            var(--z-header);
    align-items:        stretch;
    box-shadow:         0 -4px 20px rgba(0,0,0,0.08);

    /* Safe area for iPhone home bar */
    padding-bottom:     env(safe-area-inset-bottom, 0px);
}

/* Individual nav item */
.mob-bottom-item {
    flex:               1;
    display:            flex;
    flex-direction:     column;
    align-items:        center;
    justify-content:    center;
    gap:                3px;
    text-decoration:    none;
    cursor:             pointer;
    transition:         var(--transition);
    padding:            8px 4px;
    border:             none;
    background:         none;
    position:           relative;
}

.mob-bottom-item:hover {
    background:         var(--bg-2);
}

/* Icon */
.mob-bottom-ico {
    font-size:          20px;
    line-height:        1;
    transition:         var(--transition);
}

/* Label */
.mob-bottom-lbl {
    font-size:          10px;
    font-weight:        600;
    color:              var(--text-muted);
    transition:         var(--transition);
    font-family:        var(--font-family);
}

/* Active state */
.mob-bottom-item.active .mob-bottom-lbl {
    color:              var(--primary);
}

.mob-bottom-item.active::before {
    content:            '';
    position:           absolute;
    top:                0;
    left:               20%;
    right:              20%;
    height:             2.5px;
    background:         var(--primary);
    border-radius:      0 0 3px 3px;
}

.mob-bottom-item.active .mob-bottom-ico {
    transform:          translateY(-2px);
}

/* Call CTA — red highlight */
.mob-bottom-cta .mob-bottom-ico {
    width:              42px;
    height:             42px;
    background:         var(--gradient-red);
    border-radius:      50%;
    display:            flex;
    align-items:        center;
    justify-content:    center;
    font-size:          18px;
    box-shadow:         var(--shadow-red);
    margin-top:         -16px;
    border:             3px solid #fff;
}

.mob-bottom-cta .mob-bottom-lbl {
    color:              var(--primary);
    font-weight:        700;
}

/* Show only on mobile */
@media (max-width: 768px) {
    .mob-bottom-nav {
        display:        flex;
    }

    /* Push page content up so it's not hidden behind nav */
    .page {
        padding-bottom: 70px;
    }

    /* Move sticky FABs up */
    .sticky-actions {
        bottom:         82px;
    }

    .back-top {
        bottom:         82px;
    }
}

@media (min-width: 769px) {
    .mob-bottom-nav {
        display:        none !important;
    }
}

/* ============================================================
   LOGO IMAGE STYLES
   Replaces the SVG emblem with your real logo image
============================================================ */

/* Main logo image */
.logo-img {
    width:              auto;
    max-width:          220px;
    object-fit:         contain;
    display:            block;
    transition:         var(--transition);
}

/* Hover effect */
.logo:hover .logo-img,
.footer-logo:hover .logo-img {
    opacity:            0.85;
    transform:          scale(1.02);
}

/* Footer white logo */
.logo-img-footer {
    height:             42px;
    /* Filter makes any logo white
       Use this if you only have one logo file */
    /* filter: brightness(0) invert(1); */
}

/* Shrink slightly on scroll */
.header.scrolled .logo-img {
    height:             38px;
}

/* Mobile sizes */
@media (max-width: 768px) {
    .logo-img {
        height:         38px;
        max-width:      160px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height:         32px;
        max-width:      140px;
    }
}

/* ============================================================
   LOGO IMAGE STYLES
   Replaces the SVG emblem with your real logo image
============================================================ */

.logo-img {
    height:             80px;
    width:              auto;
    max-width:          500px;
    object-fit:         contain;
    display:            block;
    transition:         var(--transition);
}

/* Hover effect */
.logo:hover .logo-img,
.footer-logo:hover .logo-img {
    opacity:            0.9;
    transform:          scale(1.02);
}

/* Footer white logo */
.logo-img-footer {
    height:             50px;
    max-width:          260px;
}

/* Shrink slightly on scroll — but still big */
.header.scrolled .logo-img {
    height:             48px;
}

/* Admin login page logo — extra large */
.admin-login-page .pt-logo-img,
.login-card img {
    height:             75px !important;
    max-width:          300px !important;
}

/* Page transition logo */
.pt-logo-img {
    height:             65px !important;
    max-width:          280px !important;
}

/* Tablet */
@media (max-width: 768px) {
    .logo-img {
        height:         48px;
        max-width:      240px;
    }

    .header.scrolled .logo-img {
        height:         42px;
    }

    .logo-img-footer {
        height:         44px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .logo-img {
        height:         42px;
        max-width:      200px;
    }

    .header.scrolled .logo-img {
        height:         38px;
    }

    .logo-img-footer {
        height:         40px;
    }
}