diff --git a/index.html b/index.html index 86ebd26..4a68d56 100644 --- a/index.html +++ b/index.html @@ -534,6 +534,38 @@ + + + + + + + + Performance + + + + + + Accessibility + + + + + + Best Practices + + + + + + SEO Score + + + + + + diff --git a/styles.css b/styles.css index 9513f9f..a194f81 100644 --- a/styles.css +++ b/styles.css @@ -798,3 +798,62 @@ footer { animation: none; } } + +/* Metrics Banner */ +.metrics-banner { + background-color: var(--color-coffee-dark); + color: var(--color-cream); + padding-block: 4rem; + position: relative; + z-index: 2; +} + +.metric-item { + display: flex; + flex-direction: column; + align-items: center; + gap: 1rem; + padding: 1rem; + transition: transform 0.3s ease; +} + +.metric-item:hover { + transform: translateY(-5px); +} + +.gauge { + width: 100px; + height: 100px; + border-radius: 50%; + background: conic-gradient(var(--color-secondary) var(--percent), rgba(255,255,255,0.1) 0); + position: relative; + display: flex; + align-items: center; + justify-content: center; + box-shadow: 0 0 20px rgba(0,0,0,0.2); +} + +.gauge::before { + content: attr(data-score); + position: absolute; + width: 84%; + height: 84%; + background-color: var(--color-coffee-dark); + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + font-weight: 800; + font-size: 1.75rem; + color: var(--color-cream); + font-family: var(--font-sans); +} + +.metric-label { + font-weight: 600; + text-transform: uppercase; + letter-spacing: 0.05em; + font-size: 0.9rem; + opacity: 0.9; + text-align: center; +}