/* =================================
   BUSINESS_TITLE - MAIN STYLES
================================= */

:root {
    --background: #111211;
    --surface: #1a1c1a;
    --surface-light: #242724;
    --text: #f2f2ed;
    --muted: #92968f;
    --accent: #d88b54;
    --border: #30332f;
    --max-width: 1400px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

/* NAVIGATION */

.navbar {
    height: 82px;
    padding: 0 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background: rgba(17, 18, 17, 0.96);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.logo span {
    color: var(--accent);
}

.navbar nav {
    display: flex;
    gap: 35px;
}

.navbar nav a,
.footer-links a {
    font-size: 11px;
    letter-spacing: 1.3px;
    color: var(--muted);
    transition: color 0.2s;
}

.navbar nav a:hover,
.footer-links a:hover {
    color: var(--accent);
}

.cart-button {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 10px 17px;
    font-size: 11px;
    letter-spacing: 1px;
}

.cart-button span {
    color: var(--accent);
    margin-left: 8px;
}

/* HERO */

.hero {
    max-width: var(--max-width);
    margin: auto;
    padding: 95px 7% 110px;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 65px;
}

.hero-content {
    padding: 20px 0;
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--accent);
    margin-bottom: 23px;
}

.hero h1 {
    font-size: clamp(55px, 7vw, 100px);
    line-height: 0.99;
    letter-spacing: -5px;
    font-weight: 800;
    margin-bottom: 30px;
}

.hero-description {
    color: var(--muted);
    max-width: 430px;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 35px;
}

.hero-image {
    height: 520px;
    overflow: hidden;
    background: var(--surface);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

/* BUTTONS */

.primary-button,
.outline-button {
    display: inline-block;
    padding: 16px 25px;
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 700;
    border: 1px solid var(--accent);
    transition: 0.25s;
}

.primary-button {
    background: var(--accent);
    color: #171613;
}

.primary-button:hover {
    background: #edaa75;
    border-color: #edaa75;
    transform: translateY(-2px);
}

.outline-button {
    background: transparent;
    color: var(--text);
}

.outline-button:hover {
    background: var(--accent);
    color: #171613;
}

/* SHOP SECTION */

.shop-section {
    max-width: var(--max-width);
    margin: auto;
    padding: 100px 7%;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 45px;
}

h2 {
    font-size: clamp(35px, 4vw, 53px);
    line-height: 1.1;
    letter-spacing: -2px;
}

.section-description {
    max-width: 290px;
    color: var(--muted);
    font-size: 14px;
}

.filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.filter-button {
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 12px 17px;
    font-size: 10px;
    letter-spacing: 1px;
    transition: 0.2s;
}

.filter-button:hover,
.filter-button.active {
    border-color: var(--accent);
    color: var(--accent);
}

/* PRODUCT GRID */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 22px;
}

.product-card {
    background: var(--surface);
    border: 1px solid transparent;
    transition: 0.25s;
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--border);
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--surface-light);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 22px;
}

.product-category {
    color: var(--accent);
    font-size: 10px;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.product-description {
    font-size: 13px;
    color: var(--muted);
    min-height: 42px;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 22px;
    gap: 10px;
}

.product-price {
    font-size: 17px;
    font-weight: 700;
}

.add-button {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 10px 13px;
    font-size: 10px;
    letter-spacing: 1px;
}

.add-button:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ENGINEERING SECTION */

.engineering-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 550px;
    background: var(--surface);
    margin: 60px 0;
}

.engineering-image {
    min-height: 500px;
    overflow: hidden;
}

.engineering-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.engineering-content {
    padding: 80px 12%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.engineering-content h2 {
    margin-bottom: 25px;
}

.engineering-content > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 30px;
    max-width: 420px;
}

/* DIGITAL SECTION */

.digital-section {
    text-align: center;
    padding: 120px 20px;
    background: #1a1b19;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.digital-section h2 {
    font-size: clamp(40px, 5vw, 65px);
    margin-bottom: 25px;
}

.digital-section > p:not(.eyebrow) {
    color: var(--muted);
    max-width: 470px;
    margin: 0 auto 35px;
    font-size: 14px;
}

.digital-section .eyebrow {
    margin-bottom: 25px;
}

/* CONTACT */

.contact-section {
    padding: 120px 20px;
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 22px;
}

.contact-section > p:not(.eyebrow) {
    color: var(--muted);
    margin: 0 auto 30px;
    max-width: 470px;
    font-size: 14px;
}

/* FOOTER */

.footer {
    padding: 45px 7% 25px;
    border-top: 1px solid var(--border);
}

.footer-top,
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-top {
    padding-bottom: 40px;
}

.footer-top p,
.footer-bottom p {
    color: var(--muted);
    font-size: 12px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 25px;
}

/* CART */

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 200;
    display: none;
    justify-content: flex-end;
}

.cart-overlay.open {
    display: flex;
}

.cart-panel {
    width: 100%;
    max-width: 430px;
    height: 100%;
    background: var(--surface);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.cart-header h2 {
    font-size: 28px;
}

.close-button {
    color: var(--text);
    background: transparent;
    border: none;
    font-size: 32px;
}

#cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item p {
    font-size: 14px;
}

.cart-item small {
    color: var(--muted);
}

.remove-item {
    color: var(--accent);
    background: transparent;
    border: none;
    font-size: 12px;
}

.cart-footer {
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.cart-footer p {
    margin-bottom: 20px;
    font-weight: 700;
}

.checkout-button {
    width: 100%;
    cursor: pointer;
}

/* RESPONSIVE DESIGN */

@media (max-width: 900px) {

    .navbar {
        padding: 0 4%;
    }

    .navbar nav {
        gap: 15px;
    }

    .hero {
        padding: 70px 5%;
        gap: 30px;
    }

    .hero-image {
        height: 400px;
    }

    .shop-section {
        padding: 75px 5%;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .engineering-content {
        padding: 55px 8%;
    }
}

@media (max-width: 600px) {

    .navbar {
        height: auto;
        min-height: 75px;
        flex-wrap: wrap;
        padding: 17px 5%;
        gap: 15px;
    }

    .navbar nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding: 8px 0;
        gap: 22px;
    }

    .navbar nav a {
        white-space: nowrap;
        font-size: 9px;
    }

    .logo {
        font-size: 17px;
    }

    .cart-button {
        padding: 8px 12px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 65px 6%;
        gap: 35px;
    }

    .hero h1 {
        font-size: 65px;
        letter-spacing: -3px;
    }

    .hero-image {
        height: 320px;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .product-info {
        padding: 18px;
    }

    .engineering-section {
        grid-template-columns: 1fr;
    }

    .engineering-image {
        min-height: 300px;
        height: 300px;
    }

    .engineering-content {
        padding: 55px 7%;
    }

    .digital-section,
    .contact-section {
        padding: 85px 7%;
    }

    .footer {
        padding: 35px 6% 20px;
    }

    .footer-top,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* =========================================
   SHOP - PRODUCT CARD REFINEMENT
========================================= */

.product-grid {
    gap: 24px;
}

.product-card {
    background: #151615;
    border: 1px solid #292b29;
    overflow: hidden;
    transition: transform 0.3s ease,
                border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #d88b54;
}

.product-image {
    overflow: hidden;
    background: #202220;
    aspect-ratio: 4 / 5;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-info {
    padding: 22px;
}

.product-category {
    letter-spacing: 2px;
    font-size: 11px;
    text-transform: uppercase;
    color: #d88b54;
    margin-bottom: 12px;
}

.product-info h3 {
    margin-bottom: 12px;
}

.product-info h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.product-info h3 a:hover {
    color: #d88b54;
}

.product-description {
    line-height: 1.7;
    color: #999d99;
}

.product-bottom {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #292b29;
}

.add-button {
    transition: background 0.25s ease,
                color 0.25s ease,
                border-color 0.25s ease;
}

.add-button:hover {
    background: #d88b54;
    color: #111211;
    border-color: #d88b54;
}

/* SHOP FILTER REFINEMENT */

.filter-button {
    transition: all 0.25s ease;
}

.filter-button:hover {
    border-color: #d88b54;
    color: #d88b54;
}
/* =========================================
   FOOTER REFINEMENT
========================================= */

.footer-middle {
    display: flex;
    justify-content: flex-end;
    gap: 100px;
    padding: 45px 0;
    border-bottom: 1px solid #292b29;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-column h4 {
    color: #d88b54;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.footer-column a {
    color: #999d99;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #d88b54;
}

.footer-bottom {
    padding-top: 25px;
}

@media (max-width: 600px) {
    .footer-middle {
        justify-content: flex-start;
        gap: 65px;
    }
}
/* CLICKABLE PRODUCT INFORMATION */

.product-info-link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.product-info-link:hover h3 {
    color: #d88b54;
}

.product-info-link .product-bottom {
    margin-bottom: 18px;
}