/* =====================
   RESET & BASE
===================== */
* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Trebuchet MS", Arial, sans-serif;
    background: #e5e0d8;
    color: #2b2b2b;

    display: flex;
    flex-direction: column;
}

/* =====================
   HEADER
===================== */
.header {
    background: #1f1f1f;
    padding-top: 15px;
}

.site-title {
    margin: 0;
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #f59e0b;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* =====================
   MENU
===================== */
.menu {
    display: flex;
    justify-content: center;
    padding: 18px 40px;
}

.menu a {
    color: #f59e0b;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
}

.menu a:hover {
    color: #fde68a;
}

/* =====================
   GRID LAYOUT
===================== */
.container {
    flex: 1;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;

    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
}

/* =====================
   PRODUCTS
===================== */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 25px;
}

.product-card {
    background: #f4f1ec;
    border: 3px solid #1f1f1f;
    box-shadow: 6px 6px 0 #1f1f1f;
    padding-bottom: 15px;
    transition: transform 0.2s;
    text-align: center;
}

.product-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0 #1f1f1f;
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 3px solid #1f1f1f;
}

.product-card h3 {
    margin: 15px;
    font-size: 18px;
    text-transform: uppercase;
}

.product-card p {
    margin: 0 15px 10px;
    font-size: 14px;
}

.price {
    display: block;
    margin: 0 15px 15px;
    font-size: 16px;
    font-weight: bold;
    color: #b45309;
}

/* =====================
   BUTTON
===================== */
.btn {
    margin: 0 15px;
    padding: 10px 0;
    background: #f59e0b;
    border: 3px solid #1f1f1f;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 4px 4px 0 #1f1f1f;
}

.btn:hover {
    background: #fde68a;
}

/* =====================
   SIDEBAR
===================== */
.sidebar {
    background: #f4f1ec;
    border: 3px solid #1f1f1f;
    box-shadow: 6px 6px 0 #1f1f1f;
    padding: 20px;
    height: fit-content;
}

.sidebar h3 {
    margin-top: 0;
    text-transform: uppercase;
    border-bottom: 3px solid #1f1f1f;
    padding-bottom: 10px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    margin: 15px 0;
    font-weight: bold;
}

.sidebar i {
    color: #f59e0b;
    margin-right: 10px;
}

/* =====================
   FOOTER
===================== */
.footer {
    background: #1f1f1f;
    color: #f59e0b;
    padding: 30px 20px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    font-weight: bold;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    .footer {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
