/* ==========================
   Global Styles
========================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #fdf6e3, #f0e2c6); /* soft creamy-gold gradient */
    color: #333;
}

/* ==========================
   Container
========================== */
.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

/* ==========================
   Headers
========================== */
h1, h2 {
    text-align: center;
    color: #b08d57; /* gold */
    margin-bottom: 20px;
}

/* ==========================
   Product Card
========================== */
.product-card {
    background-color: #fff8e7; /* cream/gold card */
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    position: relative;
    overflow: visible; /* allow image zoom beyond card */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

/* ==========================
   Product Info
========================== */
.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #b08d57; /* gold */
}

.meta {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}

.stock {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* ==========================
   Product Image
========================== */
.product-image {
    width: 100%;
    max-width: 320px;
    display: block;
    margin: 25px auto;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
    cursor: zoom-in;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-image:hover {
    transform: scale(1.12);
    box-shadow: 0 28px 65px rgba(0,0,0,0.55);
}

/* ==========================
   Reserve Button
========================== */
.reserve-btn {
    background-color: #b08d57; /* gold */
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.reserve-btn:hover {
    background-color: #d4af7f; /* brighter gold */
    transform: scale(1.05);
}

/* ==========================
   Sparkle Animation
========================== */
@keyframes sparkle {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

.sparkle {
    display: inline-block;
    animation: sparkle 0.4s ease-out;
}

/* ==========================
   Footer / Misc
========================== */
footer {
    text-align: center;
    margin-top: 50px;
    font-size: 0.9rem;
    color: #666;
}

/* ==========================
   Zoom Modal Styles
========================== */
.zoom-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85); /* dark overlay */
}

.zoom-modal .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.5);
    animation: zoom 0.3s ease;
}

@keyframes zoom {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 40px;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: #b08d57; /* gold accent on hover */
}
