575 lines
16 KiB
CSS
575 lines
16 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: 40px 0 0;
|
|
margin-bottom: 64px;
|
|
background: transparent;
|
|
}
|
|
|
|
.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 {
|
|
/* Extra top padding so the title never looks like it touches the band above.
|
|
Full-width soft gradient band (spans edge-to-edge, never "cut on the sides"). */
|
|
padding: 116px 80px 100px;
|
|
background: linear-gradient(180deg, #EAF3F6 0%, #F6FBFC 62%, #FFFFFF 100%);
|
|
}
|
|
|
|
.mission-vision-section .page-header-section {
|
|
margin-bottom: 48px;
|
|
padding-top: 8px;
|
|
/* Drop the inherited cream .page-header-section band so the title sits directly
|
|
on the section's blue gradient (no white rectangle behind it). */
|
|
background: transparent;
|
|
}
|
|
|
|
.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: #FFFFFF;
|
|
border: 1px solid #E4EEF2;
|
|
box-shadow: 0 6px 18px rgba(16, 24, 40, 0.05);
|
|
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;
|
|
}
|
|
/* The mission/vision icons are unnecessary on mobile — show text only. */
|
|
.mission-icon-content, .vision-icon-content {
|
|
display: none;
|
|
}
|
|
.mission-text-content, .vision-text-content {
|
|
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; }
|
|
}
|
|
/* ==========================================================================
|
|
Full-bleed auto-rotating team hero (under the About Us title)
|
|
========================================================================== */
|
|
.about-hero {
|
|
position: relative; left: 50%; transform: translateX(-50%);
|
|
width: 100vw; min-height: clamp(440px, 60vw, 640px);
|
|
/* Align text to the upper area so it sits above people's faces, not over them. */
|
|
display: flex; align-items: flex-start; justify-content: center; text-align: center;
|
|
overflow: hidden; margin: 0 0 8px;
|
|
}
|
|
.about-hero-slide {
|
|
position: absolute; inset: 0; z-index: 1;
|
|
background-size: cover; background-position: center;
|
|
opacity: 0; transition: opacity 1.4s ease;
|
|
}
|
|
.about-hero-slide.is-active { opacity: 1; }
|
|
.about-hero-overlay {
|
|
position: absolute; inset: 0; z-index: 2; pointer-events: none;
|
|
background: linear-gradient(180deg, rgba(45, 115, 140, 0.58) 0%, rgba(24, 74, 94, 0.66) 100%);
|
|
}
|
|
/* Title + text overlaid on the rotating images (like the landing hero) */
|
|
.about-hero-content {
|
|
position: relative; z-index: 3;
|
|
max-width: 900px; padding: 64px 24px; color: #FFFFFF;
|
|
}
|
|
.about-hero-eyebrow {
|
|
display: inline-block; text-transform: uppercase; letter-spacing: 0.08em;
|
|
font-size: 14px; font-weight: 700; color: #FFCBB0; margin-bottom: 14px;
|
|
text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
|
|
}
|
|
.about-hero-content h1 {
|
|
font-size: clamp(30px, 5vw, 48px); line-height: 1.15; font-weight: 700;
|
|
color: #FFFFFF; margin: 0 0 18px; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.32);
|
|
}
|
|
.about-hero-lead {
|
|
font-size: clamp(16px, 2vw, 19px); line-height: 1.5;
|
|
color: rgba(255, 255, 255, 0.92); margin: 0 auto; max-width: 680px;
|
|
text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.about-hero-slide { transition: none; }
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Appreciation to members & friends (photo carousel + names)
|
|
========================================================================== */
|
|
.appreciation-section { padding: 84px 24px 96px; background: #FFFFFF; text-align: center; overflow: hidden; }
|
|
.appreciation-section h2 { font-size: clamp(34px, 5vw, 54px); font-weight: 700; letter-spacing: -0.02em; color: #101828; margin: 0 0 16px; }
|
|
.appr-lead { font-size: clamp(17px, 2vw, 21px); line-height: 1.5; color: #667085; max-width: 760px; margin: 0 auto; }
|
|
|
|
/* Apple-style scrolling photo marquee */
|
|
.appr-marquee {
|
|
position: relative; left: 50%; transform: translateX(-50%);
|
|
width: 100vw; overflow: hidden;
|
|
/* extra vertical room so the enlarged focal card is not clipped */
|
|
margin-bottom: 48px; padding: 40px 0;
|
|
-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
|
|
mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
|
|
}
|
|
.appr-track {
|
|
display: flex; align-items: center; width: max-content;
|
|
animation: appr-scroll 70s linear infinite;
|
|
}
|
|
.appr-marquee:hover .appr-track { animation-play-state: paused; }
|
|
.appr-card {
|
|
flex: 0 0 auto; margin-right: 24px;
|
|
width: clamp(240px, 27vw, 380px);
|
|
height: clamp(170px, 19vw, 270px);
|
|
border-radius: 20px; overflow: hidden; background: #EAF1F4;
|
|
box-shadow: 0 12px 30px rgba(16, 24, 40, 0.14);
|
|
/* base state before JS focal-scaling kicks in */
|
|
transform: scale(0.82); transform-origin: center center;
|
|
will-change: transform, filter;
|
|
filter: brightness(0.62);
|
|
}
|
|
.appr-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
|
|
@keyframes appr-scroll {
|
|
from { transform: translateX(0); }
|
|
to { transform: translateX(-50%); }
|
|
}
|
|
.appr-intro { margin-bottom: 40px; }
|
|
|
|
.appreciation-names {
|
|
max-width: 940px; margin: 0 auto;
|
|
column-count: 4; column-gap: 44px;
|
|
}
|
|
.appr-name {
|
|
display: flex; align-items: baseline; gap: 10px;
|
|
break-inside: avoid; padding: 10px 2px;
|
|
font-size: 15px; font-weight: 500; color: #475467;
|
|
border-bottom: 1px solid #EEF1F4;
|
|
transition: color 0.15s ease;
|
|
}
|
|
.appr-name::before {
|
|
content: ""; flex: 0 0 auto;
|
|
width: 5px; height: 5px; border-radius: 50%;
|
|
background: #2D738C; opacity: 0.5; transform: translateY(-2px);
|
|
}
|
|
.appr-name:hover { color: #101828; }
|
|
.appr-name:hover::before { opacity: 1; }
|
|
@media (max-width: 900px) { .appreciation-names { column-count: 3; column-gap: 32px; } }
|
|
@media (max-width: 600px) { .appreciation-names { column-count: 2; column-gap: 24px; } }
|
|
|
|
.appr-thanks {
|
|
max-width: 720px; margin: 48px auto 0; text-align: center;
|
|
font-size: 17px; line-height: 29px; color: #475467;
|
|
}
|
|
.appr-thanks strong { display: block; margin-top: 10px; color: #101828; font-weight: 600; }
|
|
.appreciation-note { font-size: 13px; color: #98A2B3; margin: 26px auto 0; font-style: italic; }
|