459 lines
11 KiB
CSS
459 lines
11 KiB
CSS
/* css/pages/_about.css */
|
|
|
|
/* ==========================================================================
|
|
About Us Page Specific Styles (Redesign)
|
|
========================================================================== */
|
|
|
|
/**
|
|
* This file contains styles used exclusively on the "Our team, mission, vision & core values" page.
|
|
*
|
|
* 1. Leadership Team Section
|
|
* 2. Our Core Values Section
|
|
* 3. Mission and Vision Section
|
|
* 4. Call to Action (FAQ) Section
|
|
* 5. Mobile Styles for the page
|
|
*/
|
|
|
|
/* ==========================================================================
|
|
1. Leadership Team Section
|
|
========================================================================== */
|
|
|
|
.team-section {
|
|
padding: 48px 80px 96px;
|
|
background-color: #FFFFFF;
|
|
text-align: center;
|
|
}
|
|
|
|
.team-section .page-header-section {
|
|
padding: 0;
|
|
margin-bottom: 64px;
|
|
}
|
|
|
|
.team-grid {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 32px;
|
|
flex-wrap: wrap;
|
|
max-width: 1280px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.member-card {
|
|
position: relative;
|
|
width: 326px;
|
|
height: 400px;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
color: #FFFFFF;
|
|
background-size: cover;
|
|
background-position: center;
|
|
transition: transform 0.3s ease-in-out;
|
|
}
|
|
|
|
.member-card::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 60%;
|
|
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
|
|
z-index: 1;
|
|
transition: opacity 0.3s ease-in-out;
|
|
}
|
|
|
|
.member-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: #2D738C;
|
|
opacity: 0;
|
|
z-index: 2;
|
|
transition: opacity 0.3s ease-in-out;
|
|
}
|
|
|
|
.member-content {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 24px;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 3;
|
|
}
|
|
|
|
.member-socials {
|
|
display: flex;
|
|
gap: 32px;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transform: translateY(10px);
|
|
transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
|
|
}
|
|
|
|
.member-socials a {
|
|
color: #FFFFFF;
|
|
font-size: 32px;
|
|
text-decoration: none;
|
|
transition: color 0.2s ease, transform 0.2s ease;
|
|
}
|
|
|
|
.member-socials a:hover {
|
|
color: #FA7850;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.member-info {
|
|
text-align: center;
|
|
transform: translateY(115px);
|
|
transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
}
|
|
|
|
.member-card h4 {
|
|
margin: 0 0 4px 0;
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
line-height: 29px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.member-card .role {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
color: #FFE16E;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* Hover effects only for devices that support it (desktops) */
|
|
@media (hover: hover) {
|
|
.member-card:hover::before {
|
|
opacity: 0.8;
|
|
}
|
|
.member-card:hover::after {
|
|
opacity: 0;
|
|
}
|
|
.member-card:hover .member-socials {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transform: translateY(0);
|
|
transition: opacity 0.3s 0.1s ease, transform 0.3s 0.1s ease, visibility 0s 0s;
|
|
}
|
|
.member-card:hover .member-info {
|
|
transform: translateY(40px);
|
|
}
|
|
}
|
|
|
|
|
|
#member-kristijan { background-image: url('../../images/about_kristijan.webp'); }
|
|
#member-lea { background-image: url('../../images/about_lea.webp'); }
|
|
#member-marko { background-image: url('../../images/about_marko.webp'); }
|
|
#member-marija { background-image: url('../../images/about_marija.webp'); }
|
|
#member-monika { background-image: url('../../images/about_monika.webp'); }
|
|
|
|
|
|
/* ==========================================================================
|
|
2. Our Core Values Section
|
|
========================================================================== */
|
|
|
|
.core-values-section {
|
|
padding: 80px 80px 120px;
|
|
background-color: #F9FAFB;
|
|
}
|
|
|
|
.core-values-section > .page-header-section {
|
|
padding: 0;
|
|
margin-bottom: 64px;
|
|
background: transparent;
|
|
text-align: center;
|
|
}
|
|
|
|
.core-values-section > .page-header-section h2 {
|
|
font-size: 36px;
|
|
font-weight: 600;
|
|
line-height: 44px;
|
|
letter-spacing: -0.02em;
|
|
color: #101828;
|
|
}
|
|
|
|
.core-values-section > .page-header-section p {
|
|
font-size: 20px;
|
|
line-height: 30px;
|
|
color: #667085;
|
|
max-width: 768px;
|
|
margin: 20px auto 0;
|
|
}
|
|
|
|
.values-container {
|
|
max-width: 1062px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 64px;
|
|
}
|
|
|
|
.value-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 24px;
|
|
}
|
|
|
|
.value-row:nth-child(even) {
|
|
flex-direction: row-reverse;
|
|
}
|
|
|
|
.value-image {
|
|
flex-basis: 519px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.value-image img {
|
|
width: 100%;
|
|
height: 270px;
|
|
border-radius: 16px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.value-content {
|
|
flex: 1;
|
|
text-align: left;
|
|
max-width: 519px;
|
|
}
|
|
|
|
.value-content h3 {
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
line-height: 1.2;
|
|
color: #101828;
|
|
margin: 0 0 16px 0;
|
|
}
|
|
|
|
.value-content p {
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
color: #667085;
|
|
margin: 0;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
3. Mission and Vision Section
|
|
========================================================================== */
|
|
|
|
.mission-vision-section {
|
|
padding: 96px 80px;
|
|
background-color: #FFFFFF;
|
|
}
|
|
|
|
.mission-vision-section .page-header-section {
|
|
margin-bottom: 48px;
|
|
padding: 0;
|
|
}
|
|
|
|
.mission-vision-section .page-header-section h2 {
|
|
font-size: 36px;
|
|
font-weight: 600;
|
|
color: #101828;
|
|
text-align: center;
|
|
}
|
|
|
|
.mission-vision-grid {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 40px;
|
|
max-width: 1060px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.mission-box,
|
|
.vision-box {
|
|
position: relative;
|
|
flex: 1;
|
|
height: 200px;
|
|
background: #F9FAFB;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.box-content {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 40px;
|
|
box-sizing: border-box;
|
|
text-align: center;
|
|
transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
|
|
}
|
|
|
|
.box-content p {
|
|
font-family: 'Inter', sans-serif;
|
|
font-size: 18px;
|
|
line-height: 1.2;
|
|
color: #667085;
|
|
margin: 0;
|
|
}
|
|
|
|
.box-content img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.mission-icon-content,
|
|
.vision-icon-content {
|
|
padding: 0;
|
|
}
|
|
|
|
/* --- Animation Logic --- */
|
|
.mission-text-content { opacity: 1; transform: translateY(0); }
|
|
.mission-icon-content { opacity: 0; transform: translateY(20px); }
|
|
.vision-text-content { opacity: 0; transform: translateY(20px); }
|
|
.vision-icon-content { opacity: 1; transform: translateY(0); }
|
|
|
|
@media (hover: hover) {
|
|
.mission-vision-grid.show-vision .mission-text-content { opacity: 0; transform: translateY(-20px); }
|
|
.mission-vision-grid.show-vision .mission-icon-content { opacity: 1; transform: translateY(0); }
|
|
.mission-vision-grid.show-vision .vision-text-content { opacity: 1; transform: translateY(0); }
|
|
.mission-vision-grid.show-vision .vision-icon-content { opacity: 0; transform: translateY(-20px); }
|
|
}
|
|
|
|
/* ==========================================================================
|
|
4. Call to Action (FAQ) Section
|
|
========================================================================== */
|
|
|
|
.faq-cta-section {
|
|
padding: 96px 80px;
|
|
background-color: #FFFFFF;
|
|
}
|
|
|
|
.faq-cta-container {
|
|
max-width: 1280px;
|
|
margin: 0 auto;
|
|
padding: 40px 32px;
|
|
background-color: #F9FAFB;
|
|
border-radius: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 32px;
|
|
}
|
|
|
|
.avatar-group {
|
|
display: flex;
|
|
position: relative;
|
|
width: 120px;
|
|
height: 56px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.avatar {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 50%;
|
|
border: 2px solid #FFFFFF;
|
|
position: absolute;
|
|
object-fit: cover;
|
|
}
|
|
.avatar:nth-child(1) { left: 0; z-index: 1;}
|
|
.avatar:nth-child(2) { left: 50%; transform: translateX(-50%); z-index: 2;}
|
|
.avatar:nth-child(3) { right: 0; z-index: 1;}
|
|
|
|
.avatar.large {
|
|
width: 56px;
|
|
height: 56px;
|
|
}
|
|
|
|
.faq-cta-container h3 {
|
|
font-size: 20px;
|
|
font-weight: 500;
|
|
color: #101828;
|
|
margin: 0;
|
|
margin-top: -8px;
|
|
}
|
|
|
|
.faq-cta-container p {
|
|
font-size: 18px;
|
|
line-height: 28px;
|
|
color: #667085;
|
|
margin: -24px 0 0 0;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
5. Mobile Styles for About Us Page
|
|
========================================================================== */
|
|
@media (max-width: 1024px) {
|
|
.team-grid { max-width: 700px; }
|
|
.values-container { gap: 64px; }
|
|
.value-row { gap: 32px; }
|
|
.value-image { flex-basis: 45%; min-width: 0; }
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.team-section,
|
|
.core-values-section,
|
|
.mission-vision-section,
|
|
.faq-cta-section {
|
|
padding: 64px 24px;
|
|
}
|
|
|
|
.team-section .page-header-section { margin-bottom: 48px; }
|
|
.team-grid { flex-direction: column; align-items: center; gap: 24px; }
|
|
.member-card { width: 100%; max-width: 326px; height: 400px; }
|
|
|
|
/* Core Values on Mobile */
|
|
.core-values-section .page-header-section { margin-bottom: 48px; }
|
|
.core-values-section > .page-header-section h2 { font-size: 32px; line-height: 40px; }
|
|
.core-values-section > .page-header-section p { font-size: 18px; line-height: 28px; }
|
|
|
|
.values-container { gap: 48px; }
|
|
.value-row, .value-row:nth-child(even) { flex-direction: column; gap: 24px; }
|
|
.value-row .value-content { order: 1; }
|
|
.value-row .value-image { order: 2; }
|
|
.value-image { width: 100%; flex-basis: auto; }
|
|
.value-content { text-align: center; max-width: 100%; }
|
|
.value-content h3 { font-size: 24px; line-height: 32px; }
|
|
.value-content p { font-size: 16px; line-height: 26px; }
|
|
|
|
/* Mission and Vision on Mobile */
|
|
.mission-vision-grid { flex-direction: column; gap: 24px; }
|
|
.mission-box, .vision-box { cursor: default; height: auto; padding: 32px; }
|
|
|
|
.box-content {
|
|
position: static;
|
|
transform: none !important;
|
|
opacity: 1 !important;
|
|
padding: 0;
|
|
}
|
|
.mission-box, .vision-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
.mission-icon-content, .vision-icon-content {
|
|
order: 1;
|
|
opacity: 1 !important; /* Ensure icons are visible */
|
|
transform: none !important;
|
|
}
|
|
.mission-text-content, .vision-text-content {
|
|
order: 2;
|
|
opacity: 1 !important; /* Ensure text is visible */
|
|
transform: none !important;
|
|
}
|
|
|
|
.faq-cta-container { padding: 32px; }
|
|
.faq-cta-container h3 { font-size: 18px; }
|
|
.faq-cta-container p { font-size: 16px; line-height: 24px; }
|
|
} |