Files
Laravel/resources/sass/layouts/_footer.scss
David Melendez e25d53d054 init commit
2026-01-14 22:38:44 +01:00

485 lines
11 KiB
SCSS

// ==========================================================================
// Footer Layout Styles
// Professional Resume Builder - Footer
// ==========================================================================
.main-footer {
background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-gray-800) 100%);
color: var(--color-gray-300);
padding: var(--spacing-4xl) 0 var(--spacing-xl);
margin-top: auto;
.footer-content {
.footer-brand {
margin-bottom: var(--spacing-xl);
.brand-logo {
display: flex;
align-items: center;
margin-bottom: var(--spacing-md);
.brand-icon {
width: 3rem;
height: 3rem;
border-radius: var(--border-radius-lg);
background: var(--brand-gradient);
color: var(--color-white);
display: flex;
align-items: center;
justify-content: center;
margin-right: var(--spacing-md);
font-size: 1.5rem;
box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}
.brand-text {
font-size: 1.5rem;
font-weight: 700;
color: var(--color-white);
}
}
.brand-description {
color: var(--color-gray-400);
line-height: 1.6;
max-width: 300px;
}
}
.footer-links {
.footer-section {
margin-bottom: var(--spacing-xl);
h6 {
color: var(--color-white);
font-weight: 600;
font-size: 1rem;
margin-bottom: var(--spacing-md);
text-transform: uppercase;
letter-spacing: 0.05em;
}
ul {
list-style: none;
padding: 0;
margin: 0;
li {
margin-bottom: 0.5rem;
a {
color: var(--color-gray-400);
text-decoration: none;
font-size: 0.9rem;
transition: all 0.2s ease;
display: inline-flex;
align-items: center;
&:hover {
color: var(--color-white);
transform: translateX(4px);
}
i {
margin-right: 0.5rem;
width: 1rem;
color: var(--brand-primary);
}
}
}
}
}
}
.footer-contact {
.contact-item {
display: flex;
align-items: center;
margin-bottom: var(--spacing-md);
.contact-icon {
width: 2.5rem;
height: 2.5rem;
border-radius: var(--border-radius-md);
background: rgba(102, 126, 234, 0.1);
color: var(--brand-primary);
display: flex;
align-items: center;
justify-content: center;
margin-right: var(--spacing-md);
font-size: 1rem;
}
.contact-info {
.contact-label {
font-size: 0.8rem;
color: var(--color-gray-500);
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 0.125rem;
}
.contact-value {
color: var(--color-gray-300);
font-size: 0.9rem;
margin: 0;
a {
color: inherit;
text-decoration: none;
transition: color 0.2s ease;
&:hover {
color: var(--color-white);
}
}
}
}
}
}
.footer-social {
.social-links {
display: flex;
gap: var(--spacing-sm);
margin-bottom: var(--spacing-lg);
a {
width: 2.75rem;
height: 2.75rem;
border-radius: var(--border-radius-md);
background: rgba(255, 255, 255, 0.1);
color: var(--color-gray-300);
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
font-size: 1.125rem;
transition: all 0.3s ease;
&:hover {
background: var(--brand-primary);
color: var(--color-white);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
&.facebook:hover {
background: #3b5998;
}
&.twitter:hover {
background: #1da1f2;
}
&.linkedin:hover {
background: #0077b5;
}
&.github:hover {
background: #333;
}
&.instagram:hover {
background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}
}
}
.newsletter {
.newsletter-title {
color: var(--color-white);
font-weight: 600;
margin-bottom: var(--spacing-sm);
font-size: 1rem;
}
.newsletter-description {
color: var(--color-gray-400);
font-size: 0.875rem;
margin-bottom: var(--spacing-md);
}
.newsletter-form {
display: flex;
gap: 0.5rem;
.form-control {
flex: 1;
border: 1px solid rgba(255, 255, 255, 0.2);
background: rgba(255, 255, 255, 0.1);
color: var(--color-white);
border-radius: var(--border-radius-md);
padding: 0.75rem 1rem;
&::placeholder {
color: rgba(255, 255, 255, 0.6);
}
&:focus {
border-color: var(--brand-primary);
background: rgba(255, 255, 255, 0.15);
box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}
}
.btn {
background: var(--brand-gradient);
border: none;
color: var(--color-white);
padding: 0.75rem 1.5rem;
border-radius: var(--border-radius-md);
font-weight: 500;
transition: all 0.2s ease;
&:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
}
}
}
}
}
.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.1);
padding-top: var(--spacing-lg);
margin-top: var(--spacing-xl);
.footer-copyright {
color: var(--color-gray-500);
font-size: 0.875rem;
margin: 0;
a {
color: var(--brand-primary);
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
.footer-legal {
.legal-links {
display: flex;
gap: var(--spacing-lg);
list-style: none;
padding: 0;
margin: 0;
a {
color: var(--color-gray-500);
text-decoration: none;
font-size: 0.875rem;
transition: color 0.2s ease;
&:hover {
color: var(--color-white);
}
}
}
}
}
}
// Minimal footer variant
.footer-minimal {
background: var(--color-white);
border-top: 1px solid var(--color-gray-100);
padding: var(--spacing-lg) 0;
.footer-content {
display: flex;
justify-content: space-between;
align-items: center;
.footer-text {
color: var(--color-gray-600);
font-size: 0.875rem;
margin: 0;
}
.footer-links {
display: flex;
gap: var(--spacing-lg);
list-style: none;
padding: 0;
margin: 0;
a {
color: var(--color-gray-600);
text-decoration: none;
font-size: 0.875rem;
transition: color 0.2s ease;
&:hover {
color: var(--brand-primary);
}
}
}
}
}
// Auth footer (for login/register pages)
.auth-footer {
background: transparent;
padding: var(--spacing-lg) 0;
text-align: center;
margin-top: auto;
.footer-text {
color: var(--color-gray-600);
font-size: 0.875rem;
margin-bottom: var(--spacing-md);
}
.footer-links {
display: flex;
justify-content: center;
gap: var(--spacing-lg);
list-style: none;
padding: 0;
margin: 0;
a {
color: var(--brand-primary);
text-decoration: none;
font-size: 0.875rem;
font-weight: 500;
transition: color 0.2s ease;
&:hover {
color: var(--brand-primary-dark);
text-decoration: underline;
}
}
}
}
// Responsive design
@include media-breakpoint-down(lg) {
.main-footer {
.footer-content {
.footer-links {
.footer-section {
margin-bottom: var(--spacing-lg);
}
}
.footer-social {
margin-top: var(--spacing-xl);
.social-links {
justify-content: center;
}
.newsletter-form {
flex-direction: column;
.form-control {
margin-bottom: 0.5rem;
}
.btn {
width: 100%;
}
}
}
}
.footer-bottom {
text-align: center;
.footer-legal {
margin-top: var(--spacing-md);
.legal-links {
justify-content: center;
flex-wrap: wrap;
}
}
}
}
.footer-minimal {
.footer-content {
flex-direction: column;
text-align: center;
gap: var(--spacing-md);
.footer-links {
justify-content: center;
flex-wrap: wrap;
}
}
}
}
@include media-breakpoint-down(md) {
.main-footer {
padding: var(--spacing-2xl) 0 var(--spacing-lg);
.footer-content {
.footer-brand {
text-align: center;
.brand-description {
margin: 0 auto;
}
}
.footer-links {
text-align: center;
}
.footer-contact {
text-align: center;
.contact-item {
justify-content: center;
}
}
}
}
.auth-footer {
.footer-links {
flex-direction: column;
gap: var(--spacing-sm);
}
}
}
// Footer animations
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.footer-animate {
.footer-section {
animation: fadeInUp 0.6s ease-out;
&:nth-child(2) {
animation-delay: 0.1s;
}
&:nth-child(3) {
animation-delay: 0.2s;
}
&:nth-child(4) {
animation-delay: 0.3s;
}
}
}