improve footer

This commit is contained in:
2025-04-09 20:41:48 +04:00
parent c4c7d9f2a8
commit 3657f84f41
+104 -27
View File
@@ -644,11 +644,12 @@ img {
margin-top: 40px; margin-top: 40px;
margin-left: 250px; margin-left: 250px;
width: calc(100% - 250px); width: calc(100% - 250px);
padding: 30px 20px; padding: 50px 30px 30px;
background-color: var(--footer-bg); background-color: #f8f8f8;
text-align: center; border-top: 1px solid #e0e0e0;
box-sizing: border-box; box-sizing: border-box;
align-self: stretch; align-self: stretch;
color: #444;
} }
.footer-columns { .footer-columns {
@@ -656,14 +657,17 @@ img {
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-between; justify-content: space-between;
text-align: left; text-align: left;
margin-bottom: 30px; margin-bottom: 40px;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
} }
.footer-column { .footer-column {
flex: 1; flex: 1;
min-width: 200px; min-width: 200px;
padding: 0 15px; padding: 0 20px;
margin-bottom: 20px; margin-bottom: 30px;
} }
.footer-column:first-child { .footer-column:first-child {
@@ -674,9 +678,21 @@ img {
.footer-title { .footer-title {
font-size: 18px; font-size: 18px;
font-weight: 600; font-weight: 700;
margin-bottom: 15px; margin-bottom: 20px;
color: #333; color: #333;
position: relative;
padding-bottom: 10px;
}
.footer-title::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 40px;
height: 3px;
background-color: var(--primary-red);
} }
.footer-links { .footer-links {
@@ -686,25 +702,35 @@ img {
} }
.footer-links li { .footer-links li {
margin-bottom: 8px; margin-bottom: 12px;
} }
.footer-links a { .footer-links a {
color: #555; color: #555;
text-decoration: none; text-decoration: none;
font-size: 14px; font-size: 15px;
transition: color 0.2s; transition: all 0.2s;
display: inline-block;
position: relative;
} }
.footer-links a:hover { .footer-links a:hover {
color: var(--primary-red); color: var(--primary-red);
transform: translateX(5px);
}
.footer-links a i {
margin-right: 8px;
} }
.footer-copyright { .footer-copyright {
padding-top: 20px; padding-top: 25px;
border-top: 1px solid #e0e0e0; border-top: 1px solid #e0e0e0;
font-size: 14px; font-size: 14px;
color: #666; color: #666;
max-width: 1200px;
margin: 0 auto;
text-align: center;
} }
.footer-copyright a { .footer-copyright a {
@@ -719,42 +745,93 @@ img {
} }
.footer-logo { .footer-logo {
margin-bottom: 20px; margin-bottom: 25px;
align-self: flex-start; align-self: flex-start;
} }
.footer-logo img { .footer-logo img {
height: 100px; height: 90px;
transition: transform 0.3s;
}
.footer-logo img:hover {
transform: scale(1.05);
} }
.footer-social { .footer-social {
display: flex; display: flex;
justify-content: center; justify-content: center;
margin-bottom: 20px; align-items: center;
align-self: center; margin-bottom: 25px;
gap: 20px;
} }
.footer-social a { .footer-social a {
margin: 0 15px; display: flex;
font-size: 28px; align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 50%;
background-color: #fff;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
color: var(--text-color); color: var(--text-color);
transition: transform 0.2s; font-size: 20px;
transition: all 0.3s;
} }
.footer-social a:hover { .footer-social a:hover {
transform: scale(1.2); transform: translateY(-5px);
} box-shadow: 0 5px 15px rgba(0,0,0,0.1);
.footer-contact {
font-size: 18px;
font-weight: 600;
margin-bottom: 10px;
align-self: flex-start;
} }
.footer-email { .footer-email {
font-size: 16px; font-size: 16px;
align-self: flex-start; align-self: flex-start;
margin-bottom: 5px;
}
.footer-email a {
color: #555;
text-decoration: none;
transition: color 0.2s;
}
.footer-email a:hover {
color: var(--primary-red);
}
@media (max-width: 1000px) {
.footer {
margin-left: 0;
width: 100%;
padding: 40px 20px 20px;
}
.footer-columns {
flex-direction: column;
align-items: center;
}
.footer-column {
text-align: center;
margin-bottom: 30px;
width: 100%;
max-width: 400px;
}
.footer-column:first-child {
align-items: center;
}
.footer-title::after {
left: 50%;
transform: translateX(-50%);
}
.footer-links a:hover {
transform: none;
}
} }
/* Dark Mode Toggle */ /* Dark Mode Toggle */