/* =========================================
   INDEX / HOME PAGE SPECIFIC STYLES
   ========================================= */

/* Hero Enhancements for Landing Page */
.hero {
    position: relative;
    overflow: hidden;
}

/* Ensure smooth entrance animation on home sections */
.premium-services,
.custom-creations,
.slider-section,
.reviews-section,
.find-us {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Home hero specific spacing */
@media (max-width: 768px) {
    .hero {
        padding-top: 140px;
        padding-bottom: 60px;
    }
}

/* =========================================
   Jex-Spec Dynamics (number plate options)

   Moved out of the inline <style> block that front/index.php printed on every
   home-page request (~290 lines re-sent to every visitor, never cacheable).
   ========================================= */

.plate-options-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.15rem;
    color: #4b5563;
    background: rgba(255, 255, 255, 0.85);
    padding: 20px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    line-height: 1.5;
}

.plate-options-header strong {
    color: var(--secondary-color);
    font-weight: 800;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 1150px) {
    .options-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .options-grid { grid-template-columns: 1fr; }
}

.option-card {
    background: #ffffff;
    padding: 48px 30px 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.35s ease, border-color 0.35s ease,
                opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 66, 43, 0.08);
    color: #333;
    display: flex;
    flex-direction: column;
}

.option-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(26, 66, 43, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.option-card:hover {
    box-shadow: 0 20px 50px rgba(26, 66, 43, 0.14);
    border-color: rgba(26, 66, 43, 0.22);
}

.option-card:hover::before { opacity: 1; }

.option-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.option-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.option-card-title-wrapper {
    min-height: 60px;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.floating-badge-bar {
    position: absolute;
    top: 14px;
    right: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
    z-index: 10;
}

.badge-icon-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.badge-icon-pill.popular {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: #fff;
    animation: pulse-popular 2.5s infinite ease-in-out;
}

.badge-icon-pill.fitness {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: #062312;
}

.premium-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex-grow: 1;
}

.premium-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}

.premium-list li::before {
    display: none !important; /* neutralise the global bullet from styles.css */
}

.premium-list li svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    margin-top: 1px;
}

.icon-vibrant-check {
    stroke: #00b25c;
    filter: drop-shadow(0 0 5px rgba(0, 230, 118, 0.5));
}

.icon-vibrant-cross {
    stroke: #e0102f;
    filter: drop-shadow(0 0 5px rgba(255, 23, 68, 0.5));
}

/* Legend under the option cards */
.plate-legend {
    text-align: center;
    margin: -20px 0 50px;
}

.plate-legend-pill {
    display: inline-block;
    background: #ffffff;
    padding: 10px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(26, 66, 43, 0.1);
    font-size: 0.92rem;
    color: #444;
}

.plate-legend-icon        { font-weight: bold; font-size: 1.05rem; }
.plate-legend-icon.popular { color: #d2321a; }
.plate-legend-icon.fitness { color: #0d7a72; }

/* Opening-hours table on the home page */
.schedule-closed {
    color: #c62233;
    font-weight: 600;
}

.find-us-map iframe {
    border: 0;
    display: block;
}
