Optimizacija hero sekcije: poravnava linkov in zmanjšanje razmakov
Deploy to Development and Production / deploy (push) Successful in 5m32s
Details
Deploy to Development and Production / deploy (push) Successful in 5m32s
Details
This commit is contained in:
parent
acbde88357
commit
e3dadc2306
238
css/style.css
238
css/style.css
|
|
@ -2280,6 +2280,20 @@ footer {
|
|||
line-height: 1.2
|
||||
}
|
||||
|
||||
.mediation-main-title {
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.mediation-main-title h1 {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
|
||||
.mediation-main-title .mediation-hero-lead {
|
||||
font-size: clamp(0.5rem, 2vw, 0.95rem);
|
||||
padding: 0 0.5rem;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.mediation-hero-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
@ -2312,13 +2326,17 @@ footer {
|
|||
.mediation-hero-card {
|
||||
padding: 1.6rem 1.4rem;
|
||||
margin: 0;
|
||||
margin-top: 0.5rem;
|
||||
max-width: none;
|
||||
width: 100%;
|
||||
gap: 1.1rem;
|
||||
border-left-width: 4px;
|
||||
box-shadow: 0 18px 40px rgba(15, 25, 40, 0.12)
|
||||
}
|
||||
|
||||
.cta-button-hero {
|
||||
font-size: 0.95rem;
|
||||
padding: 0.9rem;
|
||||
}
|
||||
|
||||
.mediation-hero-card ul {
|
||||
gap: 0.6rem
|
||||
|
|
@ -3926,32 +3944,18 @@ footer {
|
|||
.mediation-hero-container {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
max-width: 1120px;
|
||||
max-width: 1400px;
|
||||
margin: 0 auto;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
|
||||
gap: 5rem;
|
||||
grid-template-columns: 1.2fr 0.8fr;
|
||||
gap: 4rem;
|
||||
align-items: flex-start
|
||||
}
|
||||
|
||||
.mediation-hero-text {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.mediation-hero-text p {
|
||||
color: #464d5b;
|
||||
line-height: 1.85;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.mediation-hero-kicker {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.4rem;
|
||||
align-self: flex-start;
|
||||
padding: 0.4rem 1.1rem;
|
||||
border-radius: 999px;
|
||||
background: rgba(251, 99, 57, 0.14);
|
||||
|
|
@ -3959,7 +3963,31 @@ footer {
|
|||
font-size: 0.72rem;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
font-weight: 600
|
||||
font-weight: 600;
|
||||
grid-column: 1 / -1;
|
||||
justify-self: flex-start;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.mediation-main-title {
|
||||
grid-column: 1 / -1;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.mediation-main-title h1 {
|
||||
margin: 0 0 0.8rem 0;
|
||||
}
|
||||
|
||||
.mediation-main-title .mediation-hero-lead {
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
font-size: clamp(0.65rem, 1.2vw, 1.15rem);
|
||||
line-height: 1.6;
|
||||
max-width: 100%;
|
||||
padding: 0 2rem;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.mediation-hero h1 {
|
||||
|
|
@ -3986,35 +4014,38 @@ footer {
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.4rem;
|
||||
margin-top: 2.2rem
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mediation-hero-card h3 {
|
||||
margin: 0;
|
||||
font-size: 1.25rem;
|
||||
color: #1f2530
|
||||
color: #1f2530;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.mediation-hero-card ul {
|
||||
.mediation-card-links {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
margin: 1.5rem 0 0 0;
|
||||
display: grid;
|
||||
gap: 0.9rem
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.mediation-hero-card li a {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.6rem;
|
||||
.mediation-card-links li {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.mediation-card-links li a {
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
color: #3f4551;
|
||||
font-weight: 600;
|
||||
transition: color 0.2s ease
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
.mediation-hero-card li a:hover {
|
||||
color: var(--primary-color)
|
||||
.mediation-card-links li a:hover {
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
/* Spodnja vrstica z dvema okvirčkoma */
|
||||
|
|
@ -7781,15 +7812,45 @@ html, body {
|
|||
}
|
||||
|
||||
.mediation-main-title {
|
||||
grid-column: 1 / -1;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.mediation-main-title h1 {
|
||||
margin: 0 0 1rem 0;
|
||||
}
|
||||
|
||||
.mediation-main-title .mediation-hero-lead {
|
||||
margin: 1rem auto 0;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
font-size: clamp(0.9rem, 1.5vw, 1.15rem);
|
||||
line-height: 1.6;
|
||||
max-width: 100%;
|
||||
padding: 0 2rem;
|
||||
}
|
||||
|
||||
.mediation-hero-content {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mediation-hero-content p {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.mediation-hero-right {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
align-items: stretch;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.cta-button-hero {
|
||||
width: 100%;
|
||||
display: block;
|
||||
text-align: center;
|
||||
max-width: 70ch; /* Povečana širina za boljšo poravnavo */
|
||||
}
|
||||
|
||||
.mediation-hero-split {
|
||||
|
|
@ -8355,104 +8416,49 @@ html, body {
|
|||
}
|
||||
}
|
||||
|
||||
/* Desktop layout for title with button */
|
||||
/* Desktop layout - mediation-main-title simplified */
|
||||
@media (min-width: 769px) {
|
||||
.mediation-main-title {
|
||||
align-items: center !important;
|
||||
}
|
||||
|
||||
.mediation-main-title .cta-button {
|
||||
margin-top: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobile layout - button below title */
|
||||
@media (max-width: 768px) {
|
||||
.mediation-main-title {
|
||||
flex-direction: column !important;
|
||||
align-items: stretch !important;
|
||||
}
|
||||
|
||||
.mediation-main-title > div:first-child {
|
||||
min-width: 100% !important;
|
||||
}
|
||||
|
||||
.mediation-main-title > div:last-child {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mediation-main-title .cta-button {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Hero section restructure - left content, right button + card */
|
||||
.mediation-hero-container {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 400px;
|
||||
gap: 4rem;
|
||||
align-items: start;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.mediation-hero-text {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.mediation-hero-text h1 {
|
||||
font-size: 2.5rem;
|
||||
line-height: 1.2;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.mediation-hero-text .mediation-hero-lead {
|
||||
font-size: 1.1rem;
|
||||
line-height: 1.7;
|
||||
color: #454b57;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.mediation-hero-right {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: sticky;
|
||||
top: 120px;
|
||||
}
|
||||
|
||||
/* Mobile adjustments for new structure */
|
||||
@media (max-width: 992px) {
|
||||
/* Mobile layout - mediation-main-title simplified */
|
||||
@media (max-width: 768px) {
|
||||
.mediation-hero-container {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 2.5rem;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.mediation-hero-right {
|
||||
position: static;
|
||||
.mediation-main-title {
|
||||
grid-column: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.mediation-hero-text h1 {
|
||||
|
||||
.mediation-hero-kicker {
|
||||
grid-column: 1;
|
||||
justify-self: flex-start;
|
||||
}
|
||||
|
||||
.mediation-main-title h1 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.mediation-hero-text .mediation-hero-lead {
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 520px) {
|
||||
.mediation-hero-text h1 {
|
||||
font-size: 1.75rem;
|
||||
.mediation-main-title .mediation-hero-lead {
|
||||
font-size: clamp(0.6rem, 2.5vw, 1.05rem);
|
||||
padding: 0 1rem;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.mediation-hero-text .mediation-hero-lead {
|
||||
font-size: 0.95rem;
|
||||
.mediation-hero-content {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.mediation-hero-right {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.cta-button-hero {
|
||||
max-width: 100%;
|
||||
padding: 1rem;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -105,14 +105,18 @@
|
|||
<main>
|
||||
<section class="mediation-hero">
|
||||
<div class="mediation-hero-container">
|
||||
<!-- LEVI DEL: Besedilo -->
|
||||
<div class="mediation-hero-text" data-aos="fade-up">
|
||||
<span class="mediation-hero-kicker">REŠUJEMO NESPORAZUME IN KREPIMO VKLJUČEVANJE</span>
|
||||
|
||||
<!-- Kicker čez oba stolpca -->
|
||||
<span class="mediation-hero-kicker">REŠUJEMO NESPORAZUME IN KREPIMO VKLJUČEVANJE</span>
|
||||
|
||||
<!-- Naslov in podnaslov čez oba stolpca -->
|
||||
<div class="mediation-main-title">
|
||||
<h1>Medkulturno posredovanje</h1>
|
||||
<p class="mediation-hero-lead">Strokovna pomoč za jasno komunikacijo in sodelovanje med institucijami ter posamezniki iz različnih jezikovnih in kulturnih okolij</p>
|
||||
|
||||
<p style="margin-top: 2rem;">Komunikacija z družinami in otroki z drugačnim jezikovnim ali kulturnim ozadjem pogosto povzroča <strong>nesporazume</strong>, še posebej <strong>v vrtcih in šolah</strong>. Ko otrok ne razume jezika, težko sodeluje, motivacija upade, napredek se upočasni, starši pa težko vzpostavijo ustrezne dnevne ali učne rutine.</p>
|
||||
</div>
|
||||
|
||||
<!-- LEVI STOLPEC: Uvodni odstavek in Pogoste težave -->
|
||||
<div class="mediation-hero-content" data-aos="fade-up">
|
||||
<p>Komunikacija z družinami in otroki z drugačnim jezikovnim ali kulturnim ozadjem pogosto povzroča <strong>nesporazume</strong>, še posebej <strong>v vrtcih in šolah</strong>. Ko otrok ne razume jezika, težko sodeluje, motivacija upade, napredek se upočasni, starši pa težko vzpostavijo ustrezne dnevne ali učne rutine.</p>
|
||||
|
||||
<h3 style="color: var(--primary-color); margin-top: 2rem; margin-bottom: 1rem;">Pogoste težave</h3>
|
||||
<ul class="hero-bullets">
|
||||
|
|
@ -123,18 +127,18 @@
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- DESNI DEL: Gumb in kartica -->
|
||||
<!-- DESNI STOLPEC: Gumb in kartica -->
|
||||
<div class="mediation-hero-right" data-aos="fade-left">
|
||||
<a href="https://calendly.com/amra-kuresepi" target="_blank" class="cta-button" style="width: 100%; text-align: center; margin-bottom: 2rem;">Rezervirajte termin</a>
|
||||
<a href="https://calendly.com/amra-kuresepi" target="_blank" class="cta-button cta-button-hero">Rezervirajte termin</a>
|
||||
|
||||
<div class="mediation-hero-card">
|
||||
<h3 style="text-align: center;">Hiter pregled vsebine</h3>
|
||||
<ul style="list-style: none; padding: 0; display: grid; gap: 1rem; margin-top: 1.5rem;">
|
||||
<li><a href="#individualno" style="text-decoration: none; color: inherit; font-weight: 600;">→ Načini posredovanja</a></li>
|
||||
<li><a href="#oblike" style="text-decoration: none; color: inherit; font-weight: 600;">→ Vrste po namenu</a></li>
|
||||
<li><a href="#sodelujem" style="text-decoration: none; color: inherit; font-weight: 600;">→ S kom sodelujem</a></li>
|
||||
<li><a href="#potek" style="text-decoration: none; color: inherit; font-weight: 600;">→ Potek in cena</a></li>
|
||||
<li><a href="#zakaj" style="text-decoration: none; color: inherit; font-weight: 600;">→ Zakaj izbrati Prosberry</a></li>
|
||||
<h3>Hiter pregled vsebine</h3>
|
||||
<ul class="mediation-card-links">
|
||||
<li><a href="#individualno">→ Načini posredovanja</a></li>
|
||||
<li><a href="#oblike">→ Vrste po namenu</a></li>
|
||||
<li><a href="#sodelujem">→ S kom sodelujem</a></li>
|
||||
<li><a href="#potek">→ Potek in cena</a></li>
|
||||
<li><a href="#zakaj">→ Zakaj izbrati Prosberry</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -146,19 +150,17 @@
|
|||
<div class="mediation-hero-shape shape-c"></div>
|
||||
</section>
|
||||
|
||||
<!-- Rešitev in Rezultat sekcija pod hero -->
|
||||
<!-- Nova sekcija za Rešitev in Rezultat -->
|
||||
<section class="content-section" style="background: #fff; padding: 60px 2rem;">
|
||||
<div class="container" style="max-width: 1200px; margin: 0 auto;">
|
||||
<div style="max-width: 900px; margin: 0 auto;">
|
||||
<h3 style="color: var(--primary-color); margin-bottom: 1rem;">Rešitev</h3>
|
||||
<p>Ponujam medkulturno posredovanje med slovenščino in albanščino – <strong>strokovno prenašanje informacij in pojasnjevanje kulturnih razlik za jasno in učinkovito komunikacijo med posamezniki in institucijami</strong>.</p>
|
||||
<p style="margin-top: 1rem;"><strong>👉 Ne gre za dobesedni prevod. Gre za strokovno razlago <strong>pravil, postopkov in odgovornosti</strong>.</strong></p>
|
||||
|
||||
<h3 style="color: var(--primary-color); margin-top: 2rem; margin-bottom: 1rem;">Rezultat</h3>
|
||||
<p>Storitev zagotavlja jasno razumevanje, manj napetosti, <strong>hitrejše dogovore ter učinkovito sodelovanje</strong>.</p>
|
||||
<p>Na voljo je <strong>vrtcem, šolam, javnim ustanovam, nevladnim organizacijam in mednarodnim projektom</strong>.</p>
|
||||
<p style="margin-top: 1rem;"><strong>👉 Medkulturno posredovanje je primerno tam, kjer dobesedni prevod ni dovolj, sodni prevod pa ni zahtevan.</strong></p>
|
||||
</div>
|
||||
<h3 style="color: var(--primary-color); margin-bottom: 1rem;">Rešitev</h3>
|
||||
<p>Ponujam medkulturno posredovanje med slovenščino in albanščino – <strong>strokovno prenašanje informacij in pojasnjevanje kulturnih razlik za jasno in učinkovito komunikacijo med posamezniki in institucijami</strong>.</p>
|
||||
<p style="margin-top: 1rem;"><strong>👉 Ne gre za dobesedni prevod. Gre za strokovno razlago pravil, postopkov in odgovornosti.</strong></p>
|
||||
|
||||
<h3 style="color: var(--primary-color); margin-top: 2rem; margin-bottom: 1rem;">Rezultat</h3>
|
||||
<p>Storitev zagotavlja jasno razumevanje, manj napetosti, <strong>hitrejše dogovore ter učinkovito sodelovanje</strong>.</p>
|
||||
<p>Na voljo je <strong>vrtcem, šolam, javnim ustanovam, nevladnim organizacijam in mednarodnim projektom</strong>.</p>
|
||||
<p style="margin-top: 1rem;"><strong>👉 Medkulturno posredovanje je primerno tam, kjer dobesedni prevod ni dovolj, sodni prevod pa ni zahtevan.</strong></p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue