869 lines
16 KiB
CSS
869 lines
16 KiB
CSS
/* ==========================================================================
|
|
Home Page Specific Styles
|
|
========================================================================== */
|
|
|
|
/**
|
|
* Ta datoteka vsebuje stile, ki se uporabljajo izključno na domači strani.
|
|
*
|
|
* 1. Hero Section
|
|
* 2. Partners Section
|
|
* 3. Meet the Team Section
|
|
* 4. Activities Section
|
|
* 5. Latest News Section
|
|
* 6. Testimonials Section
|
|
* 7. Become Part Section (vključno z obrazcem)
|
|
* 8. FAQ Section
|
|
* 9. Stili za domačo stran na mobilnih napravah
|
|
*/
|
|
|
|
/* 1. Hero Section */
|
|
|
|
.hero-section {
|
|
position: relative;
|
|
height: 880px;
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hero-background {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 1;
|
|
background: url('../../images/HeroSection-img1.webp') no-repeat center center/cover; /* POPRAVLJENO */
|
|
filter: blur(2px);
|
|
}
|
|
|
|
.hero-image-left, .hero-image-right {
|
|
display: none;
|
|
}
|
|
|
|
.hero-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
background: rgba(45, 115, 140, 0.64);
|
|
z-index: 2;
|
|
}
|
|
|
|
.hero-content {
|
|
position: relative;
|
|
z-index: 3;
|
|
color: #FFFFFF;
|
|
width: 100%;
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
padding: 0 24px;
|
|
}
|
|
|
|
.hero-content .badge-group {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 8px 24px;
|
|
gap: 12px;
|
|
background: rgba(255, 255, 255, 0.4);
|
|
border-radius: 24px;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.hero-content .message {
|
|
font-weight: 400;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.hero-content h1 {
|
|
font-weight: 700;
|
|
font-size: 60px;
|
|
line-height: 72px;
|
|
letter-spacing: -0.02em;
|
|
margin: 0 0 24px 0;
|
|
}
|
|
|
|
.hero-content p {
|
|
font-size: 20px;
|
|
line-height: 30px;
|
|
margin: 0 0 72px 0;
|
|
}
|
|
|
|
/* 2. Partners Section */
|
|
.partners-section {
|
|
background: #FFFFFF;
|
|
padding: 64px 0;
|
|
}
|
|
.partners-container {
|
|
max-width: 1280px;
|
|
margin: 0 auto;
|
|
padding: 0 24px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 64px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.partners-container img {
|
|
max-height: 56px;
|
|
width: auto;
|
|
object-fit: contain;
|
|
}
|
|
|
|
/* 3. Meet the Team Section */
|
|
|
|
.meet-the-team-section {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 128px 0;
|
|
gap: 40px;
|
|
background: #FFFFFF;
|
|
}
|
|
|
|
.video-container {
|
|
position: relative;
|
|
width: 619px;
|
|
height: 360px;
|
|
}
|
|
|
|
.video-thumbnail {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.video-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(127.76deg, rgba(19, 49, 60, 0.92) -13.16%, rgba(39, 77, 90, 0.08) 98.5%);
|
|
backdrop-filter: blur(6px);
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.team-content {
|
|
width: 619px;
|
|
}
|
|
|
|
.team-content h2 {
|
|
font-size: 36px;
|
|
font-weight: 600;
|
|
line-height: 44px;
|
|
letter-spacing: -0.02em;
|
|
color: #101828;
|
|
margin: 0 0 20px 0;
|
|
}
|
|
|
|
.team-content p {
|
|
font-size: 20px;
|
|
line-height: 30px;
|
|
color: #667085;
|
|
margin: 0 0 56px 0;
|
|
}
|
|
|
|
/* 4. Activities Section */
|
|
|
|
.activities-section {
|
|
padding: 128px 80px;
|
|
background: #F9FAFB;
|
|
}
|
|
|
|
.activities-header {
|
|
text-align: center;
|
|
margin-bottom: 96px;
|
|
}
|
|
|
|
.activities-header h2 {
|
|
font-size: 36px;
|
|
font-weight: 600;
|
|
line-height: 44px;
|
|
letter-spacing: -0.02em;
|
|
color: #101828;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.activities-header p {
|
|
font-size: 20px;
|
|
line-height: 30px;
|
|
color: #667085;
|
|
max-width: 768px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.activities-content {
|
|
display: flex;
|
|
gap: 109px;
|
|
max-width: 1232px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.activities-nav {
|
|
width: 302px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.activities-nav ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 40px;
|
|
}
|
|
|
|
.activities-nav li {
|
|
font-size: 20px;
|
|
color: #646E82;
|
|
cursor: pointer;
|
|
position: relative;
|
|
padding-left: 48px;
|
|
}
|
|
.activities-nav li::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 24px;
|
|
height: 2px;
|
|
background-color: #646E82;
|
|
}
|
|
|
|
.activities-nav li.active {
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
color: #000000;
|
|
}
|
|
|
|
.activity-details {
|
|
width: 821px;
|
|
}
|
|
|
|
.activity-details p {
|
|
font-size: 20px;
|
|
line-height: 30px;
|
|
color: #667085;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.activity-details img {
|
|
width: 100%;
|
|
height: 400px;
|
|
object-fit: cover;
|
|
border-radius: 24px;
|
|
}
|
|
|
|
/* 5. Latest News Section */
|
|
|
|
.latest-news-section {
|
|
padding: 128px 0;
|
|
background: #2D738C;
|
|
text-align: center;
|
|
}
|
|
|
|
.news-header {
|
|
margin-bottom: 64px;
|
|
}
|
|
|
|
.news-header h2 {
|
|
font-size: 36px;
|
|
font-weight: 600;
|
|
line-height: 44px;
|
|
letter-spacing: -0.02em;
|
|
color: #FFFFFF;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.news-header p {
|
|
font-size: 20px;
|
|
line-height: 30px;
|
|
color: #FFFFFF;
|
|
max-width: 768px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.news-articles {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 32px;
|
|
margin-bottom: 64px;
|
|
}
|
|
|
|
/* 6. Testimonials Section */
|
|
|
|
.testimonials-section {
|
|
padding: 128px 80px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 24px;
|
|
}
|
|
|
|
.testimonials-intro {
|
|
width: 411px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.testimonials-intro h2 {
|
|
font-size: 36px;
|
|
font-weight: 600;
|
|
line-height: 44px;
|
|
letter-spacing: -0.02em;
|
|
color: #101828;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.testimonials-intro p {
|
|
font-size: 20px;
|
|
line-height: 30px;
|
|
color: #667085;
|
|
}
|
|
|
|
.testimonials-columns {
|
|
display: flex;
|
|
gap: 24px;
|
|
width: 846px;
|
|
height: 800px;
|
|
overflow-y: scroll;
|
|
padding-right: 15px;
|
|
}
|
|
.testimonials-columns::-webkit-scrollbar {
|
|
width: 5px;
|
|
}
|
|
.testimonials-columns::-webkit-scrollbar-thumb {
|
|
background: #D0D5DD;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.testimonial-column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 48px;
|
|
width: 411px;
|
|
}
|
|
.column-offset {
|
|
margin-top: 80px;
|
|
}
|
|
|
|
/* 7. Become Part Section */
|
|
|
|
.become-part-section {
|
|
padding: 128px 0;
|
|
background: #F9FAFB;
|
|
text-align: center;
|
|
}
|
|
|
|
.become-part-header {
|
|
margin-bottom: 64px;
|
|
}
|
|
|
|
.become-part-header h2 {
|
|
font-size: 36px;
|
|
font-weight: 600;
|
|
line-height: 44px;
|
|
letter-spacing: -0.02em;
|
|
color: #101828;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.become-part-header p {
|
|
font-size: 20px;
|
|
line-height: 30px;
|
|
color: #646E82;
|
|
}
|
|
|
|
.team-photo {
|
|
width: 1232px;
|
|
height: 400px;
|
|
object-fit: cover;
|
|
border-radius: 24px;
|
|
margin: 0 auto 96px;
|
|
display: block;
|
|
}
|
|
|
|
.contact-form-container {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.contact-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
text-align: left;
|
|
}
|
|
|
|
.form-row {
|
|
display: flex;
|
|
gap: 32px;
|
|
}
|
|
|
|
.form-group {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.form-group label {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: #344054;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.form-group input,
|
|
.form-group textarea,
|
|
.form-group select {
|
|
padding: 12px 16px;
|
|
border: 1px solid #D0D5DD;
|
|
border-radius: 8px;
|
|
box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
|
|
font-size: 16px;
|
|
background: #FFFFFF;
|
|
color: #646E82;
|
|
font-family: 'Inter', sans-serif;
|
|
}
|
|
.form-group input::placeholder,
|
|
.form-group textarea::placeholder {
|
|
color: #646E82;
|
|
}
|
|
|
|
.phone-input {
|
|
display: flex;
|
|
border: 1px solid #D0D5DD;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
|
|
}
|
|
.phone-input select {
|
|
border: none;
|
|
border-right: 1px solid #D0D5DD;
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
}
|
|
.phone-input input {
|
|
border: none;
|
|
flex-grow: 1;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.checkbox-group {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
.checkbox-group input {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
.checkbox-group label {
|
|
margin: 0;
|
|
color: #646E82;
|
|
}
|
|
.checkbox-group label a {
|
|
color: #2D738C;
|
|
}
|
|
|
|
.contact-form button {
|
|
width: 100%;
|
|
padding: 12px 20px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
/* 8. FAQ Section */
|
|
|
|
.faq-section {
|
|
padding: 128px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.faq-header {
|
|
margin-bottom: 64px;
|
|
}
|
|
|
|
.faq-header h2 {
|
|
font-size: 36px;
|
|
font-weight: 600;
|
|
line-height: 44px;
|
|
letter-spacing: -0.02em;
|
|
color: #101828;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.faq-header p {
|
|
font-size: 20px;
|
|
line-height: 30px;
|
|
color: #667085;
|
|
max-width: 768px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.faq-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 64px 32px;
|
|
max-width: 1232px;
|
|
margin: 0 auto 64px;
|
|
text-align: left;
|
|
}
|
|
|
|
.faq-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
.faq-icon-container {
|
|
width: 48px;
|
|
height: 48px;
|
|
background: rgba(39, 77, 90, 0.08);
|
|
border-radius: 24px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: #2D738C;
|
|
font-size: 22px;
|
|
}
|
|
|
|
.faq-item h3 {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
color: #101828;
|
|
margin: 0;
|
|
}
|
|
|
|
.faq-item p {
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
color: #667085;
|
|
margin: 0;
|
|
}
|
|
|
|
.faq-footer {
|
|
max-width: 1232px;
|
|
margin: 0 auto;
|
|
padding: 40px 32px;
|
|
background: #F9FAFB;
|
|
border-radius: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
.faq-footer h3 {
|
|
font-size: 20px;
|
|
font-weight: 500;
|
|
color: #101828;
|
|
margin: 16px 0 0 0;
|
|
}
|
|
|
|
.faq-footer p {
|
|
font-size: 18px;
|
|
color: #667085;
|
|
margin: 0 0 32px 0;
|
|
}
|
|
.avatar-group {
|
|
display: flex;
|
|
position: relative;
|
|
width: 120px;
|
|
height: 56px;
|
|
}
|
|
.avatar {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 50%;
|
|
border: 1.5px solid #FFFFFF;
|
|
position: absolute;
|
|
top: 8px;
|
|
object-fit: cover;
|
|
}
|
|
.avatar:nth-child(1) { left: 0; z-index: 3;}
|
|
.avatar:nth-child(2) { left: 50%; transform: translateX(-50%); top:0; z-index: 2;}
|
|
.avatar:nth-child(3) { right: 0; z-index: 1;}
|
|
.avatar.large {
|
|
width: 56px;
|
|
height: 56px;
|
|
}
|
|
|
|
|
|
/* ==========================================================================
|
|
9. Mobile Home Page Styles
|
|
========================================================================== */
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
/* Mobile Hero Section */
|
|
.hero-section {
|
|
height: 600px;
|
|
margin-top: 0;
|
|
align-items: flex-start;
|
|
}
|
|
.hero-background {
|
|
background: url('../../images/HeroSection-img1.webp') no-repeat center center/cover; /* POPRAVLJENO */
|
|
}
|
|
.hero-content {
|
|
padding: 64px 24px;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
.hero-content h1 {
|
|
font-size: 40px;
|
|
line-height: 48px;
|
|
letter-spacing: -0.03em;
|
|
}
|
|
.hero-content p {
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
margin-bottom: 64px;
|
|
}
|
|
.hero-content .badge-group {
|
|
border-radius: 37px;
|
|
}
|
|
|
|
/* Mobile Partners Section */
|
|
.partners-section {
|
|
padding: 40px 24px;
|
|
}
|
|
.partners-container {
|
|
gap: 32px;
|
|
justify-content: center;
|
|
}
|
|
.partners-container img {
|
|
max-height: 40px;
|
|
flex-basis: 40%;
|
|
}
|
|
|
|
/* Mobile Meet the Team Section */
|
|
.meet-the-team-section {
|
|
flex-direction: column;
|
|
padding: 64px 24px;
|
|
gap: 40px;
|
|
}
|
|
.video-container, .team-content {
|
|
width: 100%;
|
|
max-width: 327px;
|
|
}
|
|
.video-container {
|
|
height: 190px;
|
|
}
|
|
|
|
.team-content h2 {
|
|
font-size: 32px;
|
|
line-height: 40px;
|
|
text-align: center;
|
|
}
|
|
.team-content p {
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
margin-bottom: 32px;
|
|
}
|
|
.team-content .btn-secondary {
|
|
margin: 0 auto;
|
|
display: block;
|
|
width: 124px;
|
|
height: 44px;
|
|
}
|
|
|
|
/* Mobile Activities Section */
|
|
.activities-section {
|
|
padding: 64px 0;
|
|
}
|
|
.activities-header {
|
|
padding: 0 24px;
|
|
margin-bottom: 48px;
|
|
}
|
|
.activities-header h2 {
|
|
font-size: 32px;
|
|
line-height: 40px;
|
|
}
|
|
.activities-header p {
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
}
|
|
.activities-content {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 32px;
|
|
padding: 0 24px;
|
|
}
|
|
.activities-nav {
|
|
width: 100%;
|
|
max-width: 326px;
|
|
gap: 32px;
|
|
}
|
|
.activities-nav ul {
|
|
width: 100%;
|
|
gap: 16px;
|
|
}
|
|
.activities-nav li {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 16px;
|
|
background: rgba(208, 213, 221, 0.5);
|
|
border-radius: 8px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #000;
|
|
}
|
|
.activities-nav li::before {
|
|
display: none;
|
|
}
|
|
.activities-nav li.active::after {
|
|
content: ' ';
|
|
display: inline-block;
|
|
border: solid black;
|
|
border-width: 0 2px 2px 0;
|
|
padding: 4px;
|
|
transform: rotate(45deg);
|
|
-webkit-transform: rotate(45deg);
|
|
}
|
|
.activities-nav .btn-primary-orange {
|
|
align-self: center;
|
|
}
|
|
.activity-details {
|
|
width: 100%;
|
|
max-width: 327px;
|
|
}
|
|
.activity-details p {
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
}
|
|
.activity-details img {
|
|
height: 300px;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
/* Mobile Latest News Section */
|
|
.latest-news-section {
|
|
padding: 64px 24px;
|
|
}
|
|
.news-header, .news-articles {
|
|
margin-bottom: 48px;
|
|
}
|
|
.news-header h2 {
|
|
font-size: 32px;
|
|
line-height: 40px;
|
|
}
|
|
.news-header p {
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
}
|
|
.news-articles {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 48px;
|
|
}
|
|
|
|
/* Mobile Testimonials Section */
|
|
.testimonials-section {
|
|
flex-direction: column;
|
|
padding: 64px 0;
|
|
align-items: center;
|
|
gap: 32px;
|
|
}
|
|
.testimonials-intro {
|
|
width: 100%;
|
|
padding: 0 24px;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
}
|
|
.testimonials-intro h2 {
|
|
font-size: 32px;
|
|
line-height: 40px;
|
|
}
|
|
.testimonials-intro p {
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
}
|
|
.testimonials-columns {
|
|
display: flex;
|
|
flex-direction: row;
|
|
width: 100%;
|
|
height: auto;
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
padding: 0 24px;
|
|
box-sizing: border-box;
|
|
scroll-snap-type: x mandatory;
|
|
}
|
|
.testimonials-columns::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
.testimonial-column {
|
|
display: contents;
|
|
}
|
|
.column-offset {
|
|
margin-top: 0;
|
|
}
|
|
|
|
/* Mobile Become Part Section */
|
|
.become-part-section {
|
|
padding: 64px 16px;
|
|
}
|
|
.become-part-header {
|
|
margin-bottom: 48px;
|
|
}
|
|
.become-part-header h2 {
|
|
font-size: 32px;
|
|
line-height: 40px;
|
|
}
|
|
.become-part-header p {
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
}
|
|
.team-photo {
|
|
width: 100%;
|
|
height: auto;
|
|
margin-bottom: 48px;
|
|
}
|
|
.contact-form-container {
|
|
width: 100%;
|
|
padding: 0;
|
|
}
|
|
.form-row {
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
}
|
|
|
|
/* Mobile FAQ Section */
|
|
.faq-section {
|
|
padding: 64px 16px;
|
|
}
|
|
.faq-header {
|
|
margin-bottom: 48px;
|
|
}
|
|
.faq-header h2 {
|
|
font-size: 32px;
|
|
line-height: 40px;
|
|
}
|
|
.faq-header p {
|
|
font-size: 18px;
|
|
line-height: 28px;
|
|
}
|
|
.faq-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 40px;
|
|
padding: 0 8px;
|
|
}
|
|
.faq-item {
|
|
align-items: center;
|
|
}
|
|
.faq-item h3, .faq-item p {
|
|
text-align: center;
|
|
}
|
|
.faq-footer {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
padding: 32px 20px;
|
|
}
|
|
} |