/* =====================================================================
 * TITLE:        Dina & Dino | Sub-Pages Stylesheet
 * AUTHOR:       Domenico Tomé
 * CREATED:      2026-08-08
 * MODIFIED:     2026-09-17
 * LOCATION:     /pages_style.css
 * DESCRIPTION:  Handles specific layout structures for Map, Bookings, 
 *               and Shop pages without bloating the main stylesheet.
 * ===================================================================== */

/* --- Universal Page Header --- */
.page-header {
    background-size: cover;
    background-position: bottom;
    padding: 160px 5% 80px; 
    text-align: center;
    position: relative;
}
.page-header-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.page-content { background: var(--bg-white); padding: 80px 5%; position: relative; z-index: 10; }
.content-container { max-width: 1200px; margin: 0 auto; }

/* --- Map Layout & Leaflet Utilities --- */
.map-legend { 
    display: flex; 
    gap: 25px; 
    margin-bottom: 20px; 
    justify-content: center;
    font-weight: 600;
    color: var(--text-dark);
}
.legend-item { display: flex; align-items: center; }
.legend-dot { 
    display: inline-block; 
    width: 14px; 
    height: 14px; 
    border-radius: 50%; 
    margin-right: 8px; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.map-wrapper { padding: 20px; border-radius: 20px; margin-bottom: 50px; }
.interactive-map-canvas { width: 100%; height: 550px; border-radius: 15px; z-index: 1; }

.event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.event-card { padding: 25px; border-radius: 15px; position: relative; transition: transform 0.2s; }
.event-card:hover { transform: translateY(-3px); }
.event-date { position: absolute; top: 15px; right: 15px; padding: 6px 12px; border-radius: 15px; font-size: 0.8rem; font-weight: bold; color: white; text-transform: uppercase; }

/* Map Pulse Animation for Shows */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(233, 30, 99, 0); }
    100% { box-shadow: 0 0 0 0 rgba(233, 30, 99, 0); }
}

/* --- Bookings Layout --- */
.flex-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.promo-image { width: 100%; border-radius: 20px; padding: 10px; }
.booking-form-wrap { padding: 35px; border-radius: 20px; }
.custom-form .form-group { margin-bottom: 20px; }
.custom-form label { display: block; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; font-size: 0.95rem; }
.custom-form input, .custom-form textarea { width: 100%; padding: 12px 15px; border: 2px solid var(--border-light); border-radius: 10px; font-family: var(--font-main); outline: none; transition: border-color 0.2s; }
.custom-form input:focus, .custom-form textarea:focus { border-color: var(--brand-cyan); }
.success-message { text-align: center; padding: 40px 20px; }

/* --- Shop Layout --- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.product-card { border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-heavy); }
.product-img-wrap { height: 250px; padding: 20px; background: white; border-bottom: 1px solid var(--border-light); display: flex; justify-content: center; align-items: center; }
.product-img-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-details { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.product-details h3 { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 10px; }
.product-details .price { font-size: 1.4rem; font-weight: 900; color: var(--brand-magenta); }

@media (max-width: 768px) {
    .flex-split { grid-template-columns: 1fr; }
    .page-header { padding: 140px 5% 60px; } 
    .interactive-map-canvas { height: 400px; }
}