/* --------------------------------------------------
   GLOBAL PAGE STYLE
-------------------------------------------------- */

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #fff7e6, #ffe9cc);
    background-attachment: fixed;
    color: #333;
}

/* A clean centered content wrapper */
.container {
    max-width: 1100px;
    margin: 60px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Headings */
h1, h2, h3 {
    font-weight: 300;
    margin-top: 0;
    color: #333;
}

/* Buttons */
.button,
a.button {
    display: inline-block;
    padding: 10px 18px;
    background: #0078d4;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.button:hover,
a.button:hover {
    background: #005fa3;
}

/* --------------------------------------------------
   GRID LAYOUT FOR ITEMS LIST
-------------------------------------------------- */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* --------------------------------------------------
   ITEM CARD DESIGN
-------------------------------------------------- */

.item-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.15s ease;
}

.item-card:hover {
    transform: translateY(-4px);
}

.item-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #eee;
}

.item-card .info {
    padding: 15px;
}

.item-card .info h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.item-card .info p {
    margin: 0 0 12px 0;
    color: #555;
}

.item-card a {
    display: inline-block;
    padding: 8px 14px;
    background: #0078d4;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.item-card a:hover {
    background: #005fa3;
}

/* --------------------------------------------------
   INDIVIDUAL ITEM PAGE
-------------------------------------------------- */

.item-page {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.item-page img {
    width: 100%;
    max-width: 450px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.item-details {
    flex: 1;
    min-width: 260px;
}

.item-details p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --------------------------------------------------
   FOOTER (OPTIONAL)
-------------------------------------------------- */

footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 0.9rem;
}