AI update: בצע שני שיפורים בדף הדמו של שרית הספרית: 1) הוסף פופ-אפ מכירה שנפתח אוטומטית כ-5 שניות אחרי כניסת המבקר לדף, ונגיש גם דר
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
--color-accent-light: #A67C00;
|
||||
--color-sage: #A8B5A0;
|
||||
--color-white: #FFFFFF;
|
||||
--color-danger: #C53030;
|
||||
|
||||
--font-body: 'Heebo', sans-serif;
|
||||
|
||||
@@ -415,22 +416,28 @@ button {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.hero-scissors {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
.hero-image-container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
margin: 0 auto;
|
||||
background: var(--color-cream);
|
||||
border-radius: 50%;
|
||||
box-shadow: 0 20px 60px rgba(61, 50, 41, 0.1);
|
||||
border-radius: var(--radius-lg);
|
||||
overflow: hidden;
|
||||
box-shadow: 0 20px 60px rgba(61, 50, 41, 0.2);
|
||||
}
|
||||
|
||||
.scissors-icon {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
color: var(--color-accent);
|
||||
.hero-image {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
aspect-ratio: 6 / 7;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.hero-image-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(180deg, transparent 60%, rgba(61, 50, 41, 0.2) 100%);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.hero-decorations {
|
||||
@@ -449,7 +456,7 @@ button {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
top: 10%;
|
||||
inset-inline-start: 20%;
|
||||
inset-inline-start: -10%;
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
@@ -457,7 +464,7 @@ button {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
bottom: 20%;
|
||||
inset-inline-end: 15%;
|
||||
inset-inline-end: -5%;
|
||||
background: var(--color-sage);
|
||||
opacity: 0.5;
|
||||
}
|
||||
@@ -466,7 +473,7 @@ button {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
top: 60%;
|
||||
inset-inline-start: 10%;
|
||||
inset-inline-start: -15%;
|
||||
background: var(--color-accent);
|
||||
opacity: 0.3;
|
||||
}
|
||||
@@ -480,14 +487,14 @@ button {
|
||||
}
|
||||
|
||||
.deco-line-1 {
|
||||
top: 25%;
|
||||
top: 5%;
|
||||
inset-inline-end: 5%;
|
||||
transform: rotate(-30deg);
|
||||
}
|
||||
|
||||
.deco-line-2 {
|
||||
bottom: 30%;
|
||||
inset-inline-start: 5%;
|
||||
bottom: 10%;
|
||||
inset-inline-start: -5%;
|
||||
transform: rotate(20deg);
|
||||
}
|
||||
|
||||
@@ -508,14 +515,8 @@ button {
|
||||
padding-inline: var(--space-xl);
|
||||
}
|
||||
|
||||
.hero-scissors {
|
||||
width: 240px;
|
||||
height: 240px;
|
||||
}
|
||||
|
||||
.scissors-icon {
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
.hero-image-container {
|
||||
max-width: 450px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -556,10 +557,10 @@ button {
|
||||
}
|
||||
|
||||
.service-card {
|
||||
padding: var(--space-lg);
|
||||
background: var(--color-white);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: 0 2px 20px rgba(61, 50, 41, 0.05);
|
||||
overflow: hidden;
|
||||
transition: transform var(--transition-medium), box-shadow var(--transition-medium);
|
||||
}
|
||||
|
||||
@@ -568,6 +569,27 @@ button {
|
||||
box-shadow: 0 10px 40px rgba(61, 50, 41, 0.1);
|
||||
}
|
||||
|
||||
.service-image {
|
||||
width: 100%;
|
||||
height: 180px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.service-image img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform var(--transition-medium);
|
||||
}
|
||||
|
||||
.service-card:hover .service-image img {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.service-content {
|
||||
padding: var(--space-lg);
|
||||
}
|
||||
|
||||
.service-icon {
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
@@ -604,9 +626,88 @@ button {
|
||||
}
|
||||
}
|
||||
|
||||
/* Gallery */
|
||||
.gallery {
|
||||
padding: var(--space-2xl) 0;
|
||||
}
|
||||
|
||||
.gallery-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: var(--space-md);
|
||||
}
|
||||
|
||||
.gallery-item {
|
||||
position: relative;
|
||||
border-radius: var(--radius-lg);
|
||||
overflow: hidden;
|
||||
aspect-ratio: 4 / 3;
|
||||
}
|
||||
|
||||
.gallery-item-large {
|
||||
aspect-ratio: 6 / 5;
|
||||
}
|
||||
|
||||
.gallery-item img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform var(--transition-medium);
|
||||
}
|
||||
|
||||
.gallery-item:hover img {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.gallery-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
padding: var(--space-md);
|
||||
background: linear-gradient(180deg, transparent 50%, rgba(61, 50, 41, 0.7) 100%);
|
||||
opacity: 0;
|
||||
transition: opacity var(--transition-fast);
|
||||
}
|
||||
|
||||
.gallery-item:hover .gallery-overlay {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.gallery-overlay span {
|
||||
color: var(--color-white);
|
||||
font-weight: 500;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
@media (min-width: 600px) {
|
||||
.gallery-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: var(--space-lg);
|
||||
}
|
||||
|
||||
.gallery-item-large {
|
||||
grid-column: span 2;
|
||||
aspect-ratio: 16 / 7;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 900px) {
|
||||
.gallery-grid {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
|
||||
.gallery-item-large {
|
||||
grid-column: span 1;
|
||||
grid-row: span 2;
|
||||
aspect-ratio: auto;
|
||||
}
|
||||
}
|
||||
|
||||
/* About */
|
||||
.about {
|
||||
padding: var(--space-2xl) 0;
|
||||
background: var(--color-cream);
|
||||
}
|
||||
|
||||
.about-layout {
|
||||
@@ -624,36 +725,24 @@ button {
|
||||
|
||||
.about-frame {
|
||||
position: relative;
|
||||
width: 260px;
|
||||
height: 260px;
|
||||
}
|
||||
|
||||
.about-pattern {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 8px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 20px;
|
||||
background: var(--color-cream);
|
||||
max-width: 320px;
|
||||
border-radius: var(--radius-lg);
|
||||
overflow: hidden;
|
||||
box-shadow: 0 20px 60px rgba(61, 50, 41, 0.15);
|
||||
}
|
||||
|
||||
.about-pattern span {
|
||||
background: var(--color-warm);
|
||||
border-radius: var(--radius-sm);
|
||||
opacity: 0.15;
|
||||
}
|
||||
|
||||
.about-pattern span:nth-child(5) {
|
||||
background: var(--color-accent);
|
||||
opacity: 0.25;
|
||||
.about-image {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
aspect-ratio: 5 / 6;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.about-badge {
|
||||
position: absolute;
|
||||
bottom: -10px;
|
||||
inset-inline-end: -10px;
|
||||
bottom: var(--space-md);
|
||||
inset-inline-end: var(--space-md);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
@@ -718,11 +807,6 @@ button {
|
||||
.about-visual {
|
||||
padding: var(--space-lg);
|
||||
}
|
||||
|
||||
.about-badge {
|
||||
bottom: -20px;
|
||||
inset-inline-end: -20px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Reviews */
|
||||
@@ -978,6 +1062,276 @@ button {
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
/* Floating CTA Button */
|
||||
.floating-cta {
|
||||
position: fixed;
|
||||
bottom: var(--space-lg);
|
||||
inset-inline-end: var(--space-md);
|
||||
z-index: 80;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-sm);
|
||||
padding: var(--space-sm) var(--space-md);
|
||||
background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-warm) 100%);
|
||||
color: var(--color-white);
|
||||
border-radius: var(--radius-full);
|
||||
box-shadow: 0 4px 20px rgba(139, 105, 20, 0.4);
|
||||
font-weight: 500;
|
||||
font-size: 0.9rem;
|
||||
transition: transform var(--transition-fast), box-shadow var(--transition-fast);
|
||||
animation: pulse-glow 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.floating-cta:hover {
|
||||
transform: translateY(-3px) scale(1.02);
|
||||
box-shadow: 0 8px 30px rgba(139, 105, 20, 0.5);
|
||||
}
|
||||
|
||||
.floating-cta:focus-visible {
|
||||
outline: 3px solid var(--color-warm);
|
||||
outline-offset: 3px;
|
||||
}
|
||||
|
||||
.floating-cta svg {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
@keyframes pulse-glow {
|
||||
0%, 100% {
|
||||
box-shadow: 0 4px 20px rgba(139, 105, 20, 0.4);
|
||||
}
|
||||
50% {
|
||||
box-shadow: 0 4px 30px rgba(139, 105, 20, 0.6);
|
||||
}
|
||||
}
|
||||
|
||||
/* Popup */
|
||||
.popup-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 150;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: var(--space-md);
|
||||
background: rgba(61, 50, 41, 0.6);
|
||||
backdrop-filter: blur(4px);
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: opacity var(--transition-fast), visibility var(--transition-fast);
|
||||
}
|
||||
|
||||
.popup-overlay.is-visible {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.popup {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-width: 520px;
|
||||
max-height: 90vh;
|
||||
overflow-y: auto;
|
||||
background: var(--color-white);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: 0 20px 60px rgba(61, 50, 41, 0.3);
|
||||
transform: scale(0.95) translateY(20px);
|
||||
transition: transform var(--transition-medium);
|
||||
}
|
||||
|
||||
.popup-overlay.is-visible .popup {
|
||||
transform: scale(1) translateY(0);
|
||||
}
|
||||
|
||||
.popup-close {
|
||||
position: absolute;
|
||||
top: var(--space-sm);
|
||||
inset-inline-end: var(--space-sm);
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: var(--color-bg);
|
||||
border-radius: 50%;
|
||||
color: var(--color-text-light);
|
||||
transition: background var(--transition-fast), color var(--transition-fast);
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.popup-close:hover {
|
||||
background: var(--color-cream);
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.popup-close:focus-visible {
|
||||
outline: 2px solid var(--color-accent);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.popup-close svg {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.popup-content {
|
||||
padding: var(--space-xl);
|
||||
}
|
||||
|
||||
.popup-icon {
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
margin: 0 auto var(--space-md);
|
||||
color: var(--color-accent);
|
||||
}
|
||||
|
||||
.popup-icon svg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.popup-title {
|
||||
text-align: center;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 600;
|
||||
color: var(--color-text);
|
||||
margin-block-end: var(--space-lg);
|
||||
}
|
||||
|
||||
.popup-options {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-sm);
|
||||
margin-block-end: var(--space-lg);
|
||||
}
|
||||
|
||||
.popup-option {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-md);
|
||||
padding: var(--space-md);
|
||||
background: var(--color-bg);
|
||||
border-radius: var(--radius-md);
|
||||
border: 2px solid transparent;
|
||||
transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
|
||||
}
|
||||
|
||||
.popup-option:hover {
|
||||
border-color: var(--color-warm);
|
||||
background: var(--color-cream);
|
||||
transform: translateX(-4px);
|
||||
}
|
||||
|
||||
.popup-option:focus-visible {
|
||||
outline: 2px solid var(--color-accent);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.popup-option-code:hover {
|
||||
border-color: var(--color-sage);
|
||||
}
|
||||
|
||||
.popup-option-full:hover {
|
||||
border-color: var(--color-accent);
|
||||
}
|
||||
|
||||
.popup-option-icon {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: var(--color-white);
|
||||
border-radius: var(--radius-md);
|
||||
color: var(--color-accent);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.popup-option-icon svg {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.popup-option-content {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.popup-option-content h3 {
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
color: var(--color-text);
|
||||
margin-block-end: 2px;
|
||||
}
|
||||
|
||||
.popup-option-content p {
|
||||
font-size: 0.85rem;
|
||||
color: var(--color-text-light);
|
||||
}
|
||||
|
||||
.popup-option-arrow {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
color: var(--color-warm);
|
||||
flex-shrink: 0;
|
||||
transition: transform var(--transition-fast);
|
||||
}
|
||||
|
||||
.popup-option:hover .popup-option-arrow {
|
||||
transform: translateX(-4px);
|
||||
}
|
||||
|
||||
.popup-warning {
|
||||
display: flex;
|
||||
gap: var(--space-sm);
|
||||
padding: var(--space-md);
|
||||
background: rgba(197, 48, 48, 0.08);
|
||||
border-radius: var(--radius-md);
|
||||
border-inline-start: 4px solid var(--color-danger);
|
||||
margin-block-end: var(--space-md);
|
||||
}
|
||||
|
||||
.popup-warning svg {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
color: var(--color-danger);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.popup-warning p {
|
||||
font-size: 0.9rem;
|
||||
color: var(--color-text);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.popup-warning strong {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.popup-extras {
|
||||
text-align: center;
|
||||
padding: var(--space-md);
|
||||
background: var(--color-cream);
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
.popup-extras p {
|
||||
font-size: 0.9rem;
|
||||
color: var(--color-text-light);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.popup-extras a {
|
||||
color: var(--color-accent);
|
||||
font-weight: 500;
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 2px;
|
||||
}
|
||||
|
||||
.popup-extras a:hover {
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
/* Reveal Animation */
|
||||
.reveal {
|
||||
opacity: 0;
|
||||
@@ -995,4 +1349,9 @@ a:focus-visible,
|
||||
button:focus-visible {
|
||||
outline: 2px solid var(--color-accent);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
/* Body scroll lock when popup is open */
|
||||
body.popup-open {
|
||||
overflow: hidden;
|
||||
}
|
||||
Reference in New Issue
Block a user