/*
 * Aericon Foods — client demo overrides
 * Loaded after style.css. Keep theme CSS and Sass unchanged until client approval.
 * Each section names its theme source to support later integration into Sass.
 */

/* 01. Brand colour
 * Source: assets/sass/base/_variable.scss, :root --theme-color.
 * Replace theme green with tomato red; retain the theme's secondary orange.
 */
:root {
    --theme-color: #cf432d;
}

/* Keep top-bar and navigation content centered, away from screen edges.
 * Override the theme's 1600px wide-screen header container.
 */
.header-layout1 {
    --main-container: 1220px;
}

/* 02. Top bar: 40px -> 32px (20% thinner at desktop size).
 * Source: template/headers/_header.scss, .header-top.
 * Its content occupies 28px; reduce vertical padding from 6px to 2px.
 */
.header-layout1 .header-top {
    padding-top: 2px;
    padding-bottom: 2px;
}

/* 03. Main navigation: 100px -> 75px (25% thinner).
 * Source: template/headers/_header.scss, .main-menu and .header-logo.
 * Preserve font size; reduce link padding and fit the larger logo within 75px.
 */
.header-layout1 .main-menu > ul > li > a {
    padding-top: 24.5px;
    padding-bottom: 24.5px;
}

.header-layout1 .header-logo {
    height: 75px;
    padding-top: 6px;
    padding-bottom: 6px;
    display: flex;
    align-items: center;
}

/* 04. Logo sizing: 155px -> 200px; use the transparent logo asset.
 * Sources: template/headers/_header.scss and reset/_mobilemenu.scss.
 * Explicit selectors override the theme's 160px cap on small screens.
 */
.header-layout1 .header-logo img,
.th-menu-wrapper .mobile-logo img {
    width: 200px;
    max-width: 200px;
    height: auto;
}

/* 05. Responsive logo sizing. */
@media (max-width: 575px) {
    .header-layout1 .header-logo img {
        width: 184px;
        max-width: 184px;
    }
}

/* 06. Header Contact Us button follows each demo's primary colour.
 * Source: utilities/_btns.scss, .th-btn.style4 (originally secondary orange).
 * Keep the theme's existing dark hover effect.
 */
.header-layout1 .header-button .th-btn.style4 {
    background-color: var(--theme-color);
}

/* 07. Footer 1: remove the overlap reserved for the deleted newsletter.
 * Source: template/footers/_footer.scss, .footer-layout1.
 */
.footer-layout1 {
    margin-top: 0;
    padding-top: 0;
    /* Subtle theme food outlines over the existing black background. */
    background-image: linear-gradient(rgba(8, 8, 9, 0.55), rgba(8, 8, 9, 0.55)),
        url("../images/footer/food-outline-left.png"),
        url("../images/footer/food-outline-right.png");
    background-position: center, left top, right bottom;
    background-size: cover, 300px auto, 300px auto;
    background-repeat: no-repeat;
}

/* 08. Compact copyright bar after replacing payment icons with legal links.
 * Source: template/footers/_footer.scss. Desktop height: 70 -> 49px
 * (about 30% thinner). Let content wrap on mobile.
 */
.copyright-wrap {
    --body-color: var(--white-color);
    padding: 10.5px 0;
}

.copyright-wrap .footer-links a:hover {
    color: var(--body-color);
    text-decoration: underline;
}
