/* ==========================================================
   KEVIN KIRBY LTD — MASTER STYLESHEET
   Font: Barlow (Google Fonts)
   Palette: Navy #0E3193 | Amber #F5A623 | Slate #2C3E50
========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&family=Barlow+Condensed:wght@600;700;800&display=swap');

/* ==========================================================
   CSS VARIABLES
========================================================== */
.details-btn {
    display: flex;
    align-items: center;
    justify-content: center;
	 text-align: center;  
    margin: 0 18px 16px;
    height: 40px !important;
    max-height: 40px !important;
    min-height: 40px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius-sm);
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background var(--transition), transform var(--transition);
    width: calc(100% - 36px);
}
:root {
    --navy:       #0E3193;
    --navy-dark:  #0a2470;
    --navy-light: #1a45c8;
    --amber:      #F5A623;
    --amber-dark: #d4891a;
    --slate:      #2C3E50;
    --slate-mid:  #546278;
    --slate-light:#8899AA;
    --bg:         #F0F2F7;
    --bg-card:    #FFFFFF;
    --border:     #DDE2EC;
    --text:       #1A1F2E;
    --text-muted: #6B7589;
    --success:    #1DB954;
    --danger:     #E53E3E;
    --radius-sm:  6px;
    --radius-md:  10px;
    --radius-lg:  16px;
    --shadow-sm:  0 2px 8px rgba(14,49,147,0.08);
    --shadow-md:  0 6px 20px rgba(14,49,147,0.12);
    --shadow-lg:  0 12px 40px rgba(14,49,147,0.18);
    --transition: 0.22s ease;
}

/* ==========================================================
   RESET & BASE
========================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Barlow', sans-serif;
    background: var(--bg);
    color: var(--text);
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 15px;
    line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    color: var(--slate);
}

h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 6px; }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); margin-bottom: 4px; }
h3 { font-size: 1.15rem; }

/* ==========================================================
   NAVBAR
========================================================== */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background: var(--navy);
    z-index: 1000;
    box-shadow: 0 3px 16px rgba(0,0,0,0.25);
}

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

.logo { height: 56px; width: auto; }

/* Desktop nav — centred */
.nav-right {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-right ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-right ul li { position: relative; }

.nav-right ul li a {
    display: block;
    color: rgba(255,255,255,0.88);
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}

.nav-right ul li a:hover,
.nav-right ul li a.active {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

/* Dropdown desktop */
@media (min-width: 993px) {
    .dropdown { position: relative; }

    .dropdown-menu {
        position: absolute;
        top: calc(100% + 4px);
        left: 0;
        background: #fff;
        min-width: 220px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border);
        display: none;
        padding: 8px 0;
        opacity: 0;
        transform: translateY(-6px);
        transition: opacity 0.18s ease, transform 0.18s ease;
        z-index: 999;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    .dropdown-menu li { list-style: none; }

    .dropdown-menu li a {
        display: block;
        padding: 9px 18px;
        color: var(--slate) !important;
        font-size: 13.5px;
        font-weight: 500;
        text-transform: none;
        letter-spacing: 0;
        border-radius: 0;
        transition: background var(--transition), color var(--transition);
    }

    .dropdown-menu li a:hover {
        background: var(--bg);
        color: var(--navy) !important;
    }
}

.dropdown-menu.show { display: block; opacity: 1; transform: translateY(0); }

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.hamburger:hover { background: rgba(255,255,255,0.12); }

/* Mobile nav */
@media (max-width: 992px) {
    .navbar { padding: 0 16px; }
    .hamburger { display: block; }

    .nav-right {
        position: absolute;
        top: 80px; left: 0;
        width: 100%;
        background: var(--navy-dark);
        display: none;
        flex-direction: column;
        justify-content: flex-start;
        padding: 12px 0 20px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
        z-index: 998;
    }

    .nav-right.active { display: flex; }

    .nav-right ul {
        flex-direction: column;
        gap: 2px;
        width: 100%;
        padding: 0 12px;
    }

    .nav-right ul li { width: 100%; }

    .nav-right ul li a {
        padding: 10px 16px;
        border-radius: var(--radius-sm);
        font-size: 15px;
    }

    .dropdown-menu {
        position: static;
        background: rgba(255,255,255,0.07);
        box-shadow: none;
        border: none;
        border-radius: var(--radius-sm);
        padding: 4px 8px;
        display: none;
        width: 100%;
        margin-top: 4px;
    }

    .dropdown-menu li a {
        color: rgba(255,255,255,0.85) !important;
        padding: 8px 12px !important;
        font-size: 13.5px !important;
        text-transform: none !important;
    }

    .dropdown-menu li a:hover {
        background: rgba(255,255,255,0.1) !important;
        color: #fff !important;
    }
}

/* ==========================================================
   PAGE LAYOUT
========================================================== */
.page-layout {
    display: flex;
    align-items: flex-start;
    flex: 1;
}

/* ==========================================================
   SIDEBAR
========================================================== */
.sidebar {
    position: sticky;
    top: 80px;
    flex: 0 0 230px;
    width: 230px;
    background: #fff;
    padding: 24px 16px;
    border-right: 2px solid var(--border);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(14,49,147,0.05);
}

.sidebar h2 {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-light);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.sidebar ul { list-style: none; }
.sidebar li { margin: 2px 0; }

.sidebar a {
    display: block;
    padding: 8px 12px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--slate);
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}

.sidebar a:hover { background: var(--bg); color: var(--navy); }
.sidebar a.active { background: var(--navy); color: #fff; font-weight: 600; }

/* ==========================================================
   MAIN CONTENT
========================================================== */
.main-content, .content {
    flex: 1;
    padding: 32px;
    min-width: 0;
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.section-header h1,
.section-header h2 { margin-bottom: 0; }

/* ==========================================================
   HERO
========================================================== */
.hero {
    position: relative;
    height: 72vh;
    min-height: 420px;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slideshow img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    animation: heroKenBurns 18s infinite;
    animation-fill-mode: both;
}

.hero-slideshow img:nth-child(1) { animation-delay: 0s; }
.hero-slideshow img:nth-child(2) { animation-delay: 6s; }
.hero-slideshow img:nth-child(3) { animation-delay: 12s; }

@keyframes heroKenBurns {
    0%   { opacity: 0; transform: scale(1.06) translate(0,0); }
    12%  { opacity: 1; }
    45%  { opacity: 1; transform: scale(1.14) translate(-2.5%, -2%); }
    58%  { opacity: 0; }
    100% { opacity: 0; transform: scale(1.14) translate(-2.5%, -2%); }
}

.hero-overlay-dark {
	pointer-events: none; 
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(10,36,112,0.55) 0%,
        rgba(0,0,0,0.3) 60%,
        rgba(0,0,0,0.15) 100%
    );
    z-index: 1;
}

.hero-actions {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 12px;
    z-index: 4;
}

.hero-action {
    background: rgba(255,255,255,0.95);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    color: var(--slate);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    transition: transform var(--transition), box-shadow var(--transition), color var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.hero-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.22);
    color: var(--navy);
}

.action-icon { font-size: 1.5rem; line-height: 1; }

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hero-search {
    display: flex;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 640px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.hero-search input {
    flex: 1;
    padding: 16px 20px;
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    border: none;
    outline: none;
    color: var(--text);
}

.hero-search input::placeholder { color: var(--slate-light); }

.hero-search button {
    padding: 0 28px;
    background: var(--amber);
    color: #fff;
    border: none;
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background var(--transition);
    white-space: nowrap;
}

.hero-search button:hover { background: var(--amber-dark); }

/* ==========================================================
   MACHINE / PRODUCT GRID
========================================================== */
.grid, .machine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

/* ==========================================================
   PRODUCT CARD
========================================================== */
.product-card, .machine-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover, .machine-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Card image link */
.product-card > a,
.machine-card > a {
    display: block;
    overflow: hidden;
    height: 275px;
    flex-shrink: 0;
}

.product-card > a img,
.machine-card > a img {
    width: 100%;
    height: 275px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.product-card:hover > a img,
.machine-card:hover > a img {
    transform: scale(1.04);
}

/* Card body — takes all spare height so button stays small */
.product-card .card-body {
    flex: 1;                 /* absorbs all spare vertical space */
    display: flex;
    flex-direction: column;
    padding: 0;
}

/* Machine name */
.product-card .name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--slate);
    margin: 14px 18px 8px;
    line-height: 1.25;
}

/* Details table */
.product-card .details {
    padding: 0 18px 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.product-card .details div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 5px 0;
    border-bottom: 1px solid var(--border);
    gap: 8px;
    font-size: 13px;
}

.product-card .details div:last-child { border-bottom: none; }

.product-card .details div strong {
    color: var(--slate-mid);
    font-weight: 600;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Price highlight */
.price-value {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
}

/* ==========================================================
   MANUFACTURER LOGO STRIP
========================================================== */
.manufacturer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 18px 10px;
    gap: 8px;
    border-top: 1px solid var(--border);
    min-height: 52px;
    flex-shrink: 0;
}

.manufacturer img {
   max-width: 140px;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.8;
    filter: grayscale(20%);
    transition: opacity var(--transition), filter var(--transition);
}

.product-card:hover .manufacturer img,
.machine-card:hover .manufacturer img {
    opacity: 1;
    filter: grayscale(0%);
}

/* ==========================================================
   DETAILS / VIEW BUTTON
========================================================== */
.details-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 18px 16px;
    height: 40px;
    flex-shrink: 0;
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius-sm);
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background var(--transition), transform var(--transition);
    width: calc(100% - 36px);
}

.details-btn:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
}

/* ==========================================================
   STOCK RIBBON / BADGE
========================================================== */
.ribbon {
    position: absolute;
    top: 12px; left: 12px;
    padding: 4px 12px;
    font-family: 'Barlow', sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    border-radius: 999px;
    pointer-events: none;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.ribbon-green { background: var(--success); }
.ribbon-red   { background: var(--danger); }

/* ==========================================================
   NO RESULTS
========================================================== */
.no-results {
    font-size: 1rem;
    color: var(--text-muted);
    padding: 40px 0;
    text-align: center;
}

/* ==========================================================
   DETAILS PAGE
========================================================== */
.details-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 32px;
    max-width: 960px;
}

.details-card h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 20px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.gallery img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--transition), transform var(--transition);
}

.gallery img:hover { border-color: var(--navy); transform: scale(1.02); }

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9000;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.close-btn, .prev-btn, .next-btn {
    position: absolute;
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
    line-height: 1;
    z-index: 9001;
}

.close-btn:hover, .prev-btn:hover, .next-btn:hover { background: rgba(255,255,255,0.25); }
.close-btn { top: 20px; right: 20px; font-size: 28px; }
.prev-btn  { left: 20px;  top: 50%; transform: translateY(-50%); }
.next-btn  { right: 20px; top: 50%; transform: translateY(-50%); }

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 20px 0;
}

.details-grid div {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    display: flex;
    gap: 10px;
    background: var(--bg-card);
}

.details-grid div:nth-child(even) { background: var(--bg); }
.details-grid div:last-child { border-bottom: none; }

.details-grid div strong {
    color: var(--slate-mid);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    min-width: 110px;
    flex-shrink: 0;
    padding-top: 2px;
}

.details-card .manufacturer {
    justify-content: flex-start;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    gap: 16px;
    background: var(--bg);
    margin: 16px 0;
}

.details-card .manufacturer strong {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    color: var(--slate);
}

.details-card .manufacturer img {
    max-width: 140px;
    max-height: 48px;
    opacity: 1;
    filter: none;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--slate);
    color: #fff;
    border-radius: var(--radius-sm);
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background var(--transition);
    border: none;
    cursor: pointer;
}

.back-btn:hover { background: var(--navy); color: #fff; }

/* ==========================================================
   CONTACT FORM
========================================================== */
.contact-form {
    max-width: 640px;
    background: var(--bg-card);
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.contact-form h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 4px;
}

.contact-form > p { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }

.contact-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--slate-mid);
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 18px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    color: var(--text);
    transition: border-color var(--transition), background var(--transition);
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--navy);
    background: #fff;
}

.contact-form button,
.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.contact-form button:hover, .submit-btn:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
}

.captcha-box {
    background: var(--bg);
    border: 1.5px solid var(--border);
    padding: 14px 16px;
    margin-bottom: 18px;
    border-radius: var(--radius-sm);
}

.captcha-box input { margin-bottom: 0 !important; }

#map {
    width: 100%;
    height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    margin: 20px 0;
}

.contact-details {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    margin-top: 20px;
}

.contact-details h3 { color: var(--navy); margin-bottom: 12px; }
.contact-details p { font-size: 14px; color: var(--slate-mid); line-height: 1.7; }

/* ==========================================================
   SEARCH RESULT PAGE
========================================================== */
.result-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    flex: 1;
}

.result-box {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    width: 90%;
    max-width: 460px;
}

.result-box .success {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 8px;
}

.result-box .error {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--danger);
    margin-bottom: 8px;
}

/* ==========================================================
   TERMS & ABOUT
========================================================== */
.content-body {
    max-width: 780px;
    width: 100%;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 36px;
}

.content-body h1, .content-body h2 { color: var(--navy); margin-bottom: 12px; }
.content-body h2 { margin-top: 28px; }

.content-body p, .content-body li {
    font-size: 14.5px;
    color: var(--slate-mid);
    line-height: 1.75;
    margin-bottom: 10px;
}

.content-body ul { padding-left: 20px; }
.content-body li { margin-bottom: 8px; }

.content-body img.responsive {
    max-width: 100%;
    border-radius: var(--radius-md);
    margin: 16px auto;
    display: block;
}

/* ==========================================================
   FOOTER
========================================================== */
.footer {
    background: var(--navy-dark);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 36px 48px;
    color: rgba(255,255,255,0.85);
    width: 100%;
    margin-top: auto;
    gap: 20px;
}

.footer-column { flex: 1 1 220px; }

.footer-column h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.45);
    margin-bottom: 14px;
}

.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 7px; }
.footer-column a { color: rgba(255,255,255,0.75); font-size: 14px; transition: color var(--transition); }
.footer-column a:hover { color: #fff; }
.footer-column p { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.65); margin-bottom: 6px; }

.footer-copy {
    text-align: center;
    padding: 14px;
    font-size: 12px;
    background: rgba(0,0,0,0.25);
    color: rgba(255,255,255,0.4);
    width: 100%;
    letter-spacing: 0.02em;
}

/* ==========================================================
   MANUFACTURER CAROUSEL
========================================================== */
.manufacturer-carousel-container {
    width: 100%;
    margin: 40px 0 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    padding: 12px 0;
}

.carousel-track { display: flex; width: max-content; }

.carousel-track img {
    width: 130px;
    height: 72px;
    object-fit: contain;
    margin: 0 16px;
    filter: grayscale(30%);
    opacity: 0.75;
    transition: filter 0.3s, opacity 0.3s;
}

.carousel-track img:hover { filter: grayscale(0%); opacity: 1; }

/* ==========================================================
   RESPONSIVE
========================================================== */
@media (max-width: 900px) {
    .sidebar { display: none; }
    .main-content, .content { padding: 20px 16px; }
    .footer { padding: 28px 20px; }
}

@media (max-width: 600px) {
    .hero { height: 62vh; min-height: 340px; }
    .hero-actions { top: 12px; right: 12px; }
    .hero-search { flex-direction: column; }
    .hero-search button { padding: 14px; }
    .grid, .machine-grid { grid-template-columns: 1fr; }
    .details-card { padding: 20px 16px; }
    .contact-form { padding: 24px 18px; }
    .footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .details-grid { grid-template-columns: 1fr; }
}
