1a4d41def6
Hero System: - Design 1 (Card Overlay): Semi-transparent card over full image - Design 2 (Two-Column Split): Text left, image right - Homepage switches: Card < 1450px, Split >= 1450px - Alt page (/home-page-alt/) uses Card design only Image Transform System: - New PHP helper for on-demand image cropping via ImageMagick - Caches transformed images with mtime-based invalidation - Supports crop percentage (positive=right, negative=left) Hero Improvements: - Full-width split layout with image hugging right edge - Card design: responsive positioning with breakpoints at 1400/1650/1800px - Cropped logo variant (bottom 35px removed for cleaner look) - Golden hour hero image with 30-35% right crop Footer: - Added temporary "HOME PAGE ALT" link for client comparison 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
293 lines
5.5 KiB
SCSS
Executable File
293 lines
5.5 KiB
SCSS
Executable File
/**
|
|
* Site Footer Styles
|
|
*
|
|
* @package HomeProz
|
|
*/
|
|
|
|
.site-footer {
|
|
background-color: var(--color-bg-card);
|
|
border-top: 1px solid var(--color-border);
|
|
margin-top: auto;
|
|
}
|
|
|
|
.footer-container {
|
|
padding-top: 3rem;
|
|
padding-bottom: 1.5rem;
|
|
}
|
|
|
|
.footer-inner {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 2rem;
|
|
|
|
@media (min-width: 768px) {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
grid-template-columns: 1.5fr 1fr 1.25fr 1fr;
|
|
gap: 2rem;
|
|
}
|
|
}
|
|
|
|
// Footer Columns
|
|
.footer-column {
|
|
min-width: 0;
|
|
}
|
|
|
|
.footer-heading {
|
|
font-family: var(--font-body);
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: var(--color-text);
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
// About Column
|
|
.footer-about {
|
|
.footer-logo {
|
|
margin-bottom: 1rem;
|
|
|
|
img {
|
|
max-height: 50px;
|
|
width: auto;
|
|
}
|
|
|
|
.site-title {
|
|
font-family: var(--font-display);
|
|
font-size: 1.25rem;
|
|
color: var(--color-text);
|
|
}
|
|
}
|
|
|
|
.footer-tagline {
|
|
font-size: 0.875rem;
|
|
color: var(--color-text-muted);
|
|
margin-bottom: 1.25rem;
|
|
line-height: 1.6;
|
|
}
|
|
}
|
|
|
|
// Social Links
|
|
.footer-social {
|
|
display: flex;
|
|
gap: 1rem;
|
|
|
|
a {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 40px;
|
|
height: 40px;
|
|
background-color: var(--color-bg-dark);
|
|
border-radius: 0.25rem;
|
|
color: var(--color-text-muted);
|
|
|
|
&:hover {
|
|
background-color: var(--color-accent);
|
|
color: white;
|
|
}
|
|
|
|
svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Footer Menu
|
|
.footer-links {
|
|
.footer-menu {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.menu-item {
|
|
margin-bottom: 0.75rem;
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
a {
|
|
color: var(--color-text-muted);
|
|
font-size: 0.9375rem;
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
color: var(--color-accent-light);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Contact List
|
|
.contact-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.contact-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 0.75rem;
|
|
margin-bottom: 1rem;
|
|
font-size: 0.9375rem;
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
svg {
|
|
flex-shrink: 0;
|
|
color: var(--color-accent);
|
|
margin-top: 0.125rem;
|
|
}
|
|
|
|
a {
|
|
color: var(--color-text-muted);
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
color: var(--color-accent-light);
|
|
}
|
|
}
|
|
|
|
span {
|
|
color: var(--color-text-muted);
|
|
}
|
|
}
|
|
|
|
// Office Hours
|
|
.footer-hours {
|
|
.hours-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.hours-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
margin-bottom: 0.5rem;
|
|
font-size: 0.875rem;
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.hours-day {
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.hours-time {
|
|
color: var(--color-text);
|
|
text-align: right;
|
|
}
|
|
}
|
|
|
|
// Credentials Section
|
|
.footer-credentials {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
padding-top: 2rem;
|
|
margin-top: 2rem;
|
|
border-top: 1px solid var(--color-border);
|
|
}
|
|
|
|
.footer-logos {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.credential-logo {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--color-text-muted);
|
|
opacity: 0.7;
|
|
|
|
svg {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
}
|
|
|
|
.footer-license {
|
|
margin: 0;
|
|
font-size: 0.75rem;
|
|
color: var(--color-sold);
|
|
text-align: center;
|
|
}
|
|
|
|
// Temporary Alt Page Link
|
|
.footer-temp-link {
|
|
text-align: center;
|
|
padding: 1rem 0;
|
|
margin-top: 1.5rem;
|
|
border-top: 2px dashed var(--color-accent);
|
|
border-bottom: 2px dashed var(--color-accent);
|
|
|
|
a {
|
|
display: inline-block;
|
|
padding: 0.75rem 2rem;
|
|
background-color: var(--color-accent);
|
|
color: white;
|
|
font-size: 0.875rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.1em;
|
|
text-decoration: none;
|
|
border-radius: 0.25rem;
|
|
|
|
&:hover {
|
|
background-color: var(--color-accent-hover);
|
|
color: white;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Footer Bottom
|
|
.footer-bottom {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding-top: 1.5rem;
|
|
margin-top: 2rem;
|
|
border-top: 1px solid var(--color-border);
|
|
text-align: center;
|
|
|
|
@media (min-width: 768px) {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
font-size: 0.8125rem;
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.copyright {
|
|
color: var(--color-sold);
|
|
}
|
|
|
|
.footer-credits a {
|
|
color: var(--color-text-muted);
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
color: var(--color-accent-light);
|
|
}
|
|
}
|
|
}
|