/* 
 * רוני מוטורס - עיצוב דף נחיתה
 * צבעים: 
 * - צבע דומיננטי (Accent): #FFC700
 * - רקע כהה (Dark): #1A1A1D
 * - רקע בהיר (Light): #F7F7F9
 * - Success: #27AE60
 * - Error: #E74C3C
 * - WhatsApp: #25D366
 */

:root {
    --color-accent: #FFC700;
    --color-dark: #1A1A1D;
    --color-light: #F7F7F9;
    --color-success: #27AE60;
    --color-error: #E74C3C;
    --color-whatsapp: #25D366;
    --font-main: 'Heebo', sans-serif;
    --font-heading: 'Montserrat', 'Heebo', sans-serif;
    --border-radius: 16px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --section-spacing: 4rem;
    --card-spacing: 1.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    height: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-light);
    color: var(--color-dark);
    line-height: 1.6;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.container {
    width: 95%;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* טיפוגרפיה */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2rem;
    color: var(--color-accent);
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    text-decoration: underline;
}

/* כפתורים */
.btn {
    display: inline-block;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
}

/* עיצוב שדה טלפון מקצועי */
.phone-input-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* עיצוב מיוחד לשדה טלפון מאוחד */
.phone-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.phone-input-wrapper #modal-phone-number {
    flex: 1;
    padding-left: 3rem; /* מרווח לחץ הקידומת בצד שמאל */
    padding-right: 1rem;
    font-family: 'Courier New', monospace;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.phone-input-wrapper .phone-prefix-dropdown {
    position: absolute;
    left: 0.5rem;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: auto;
}

.phone-prefix-dropdown {
    position: relative;
    width: auto;
}

.prefix-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 199, 0, 0.15);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--color-accent);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(255, 199, 0, 0.2);
}

.prefix-selector:hover {
    background: rgba(255, 199, 0, 0.1);
    color: var(--color-accent);
    transform: scale(1.1);
}

.prefix-selector.active {
    background: rgba(255, 199, 0, 0.2);
    color: var(--color-accent);
    transform: scale(1.1) rotate(180deg);
}

.prefix-selector:active {
    transform: scale(0.95);
}

.prefix-display {
    color: inherit;
    transition: var(--transition);
}

.prefix-display.selected {
    color: var(--color-accent);
    font-weight: 600;
}

.prefix-arrow {
    transition: var(--transition);
    color: var(--color-accent);
    font-weight: bold;
    transform: scale(1.2);
}

.prefix-selector.active .prefix-arrow {
    transform: rotate(180deg);
    color: var(--color-accent);
}

.prefix-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: auto;
    min-width: 120px;
    background: white;
    border: 2px solid var(--color-accent);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 200px;
    overflow-y: auto;
    backdrop-filter: blur(10px);
    text-align: center;
    direction: rtl;
    transform-origin: top left;
}

.prefix-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.prefix-option {
    padding: 0.875rem 1rem;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 1px solid #f1f3f4;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-dark);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.prefix-option:last-child {
    border-bottom: none;
}

.prefix-option:hover {
    background: linear-gradient(135deg, rgba(255, 199, 0, 0.1) 0%, rgba(255, 199, 0, 0.05) 100%);
    color: var(--color-accent);
    font-weight: 600;
}

.prefix-option.selected {
    background: linear-gradient(135deg, var(--color-accent) 0%, #ffd700 100%);
    color: white;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.prefix-option:active {
    transform: scale(0.98);
}

#modal-phone-number {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8f9fa;
    color: #6c757d;
    position: relative;
}

#modal-phone-number:enabled,
#modal-phone-number:not([disabled]) {
    background: white;
    border-color: var(--color-accent);
    color: var(--color-dark);
    box-shadow: 0 2px 8px rgba(255, 199, 0, 0.1);
}

#modal-phone-number:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255, 199, 0, 0.15), 0 4px 12px rgba(255, 199, 0, 0.2);
    transform: translateY(-1px);
}

#modal-phone-number:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* רספונסיביות */
@media (max-width: 768px) {
    .prefix-selector {
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .prefix-option {
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    #modal-phone-number {
        padding: 1rem;
        font-size: 1.1rem;
    }
}
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    width: 100%;
    margin-bottom: 0.75rem;
}

/* אפקטי שגיאה לשדות */
.field-error {
    border-color: #E74C3C !important;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2) !important;
    background-color: rgba(231, 76, 60, 0.05) !important;
}

.field-error:focus {
    border-color: #E74C3C !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.3) !important;
}

/* אנימציית רטט לשדות */
@keyframes fieldShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* אנימציית רטט להודעות שגיאה */
@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
    20%, 40%, 60%, 80% { transform: translateX(3px); }
}

.primary-btn {
    background-color: var(--color-accent);
    color: var(--color-dark);
    font-weight: 700;
}

.primary-btn:hover {
    background-color: #e6b400;
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: var(--color-whatsapp);
    color: white;
}

.secondary-btn:hover {
    background-color: #1da851;
    transform: translateY(-2px);
}

/* הדר (Hero Section) */
.hero-section {
    background-color: var(--color-dark);
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section .subtitle {
    color: var(--color-light);
    font-size: 1.1rem;
    max-width: 90%;
    margin: 0 auto 1.5rem;
}

.highlight-click {
    color: #FFC700;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    transition: all 0.3s ease;
    animation: pulse-glow 2s infinite;
}

.highlight-click:hover {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 199, 0, 0.5);
    transform: scale(1.05);
}

@keyframes pulse-glow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(255, 199, 0, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(255, 199, 0, 0.6);
    }
}

.logo-container {
    margin-bottom: 1.5rem;
}

.logo {
    width: 250px;
    height: auto;
}

.cta-button {
    margin: 1.5rem 0 0.5rem;
}

.hero-section .btn {
    max-width: 300px;
    margin: 0 auto;
    font-size: 1.1rem;
    padding: 0.9rem 1.5rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 199, 0, 0.7);
    }
    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(255, 199, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 199, 0, 0);
    }
}

/* כרטיס ליד */
.lead-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    position: relative;
}

/* טופס */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

input, textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(255, 199, 0, 0.2);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.error-message {
    color: var(--color-error);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-height: 1.2rem;
}

/* הודעת תודה */
.thank-you-message {
    text-align: center;
    display: none;
    padding: 2rem 1rem;
}

.thank-you-message h3 {
    color: var(--color-success);
    margin-bottom: 1rem;
}

.form-subtitle {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
    font-weight: 500;
}



/* אנימציות לטופס הקיים */
.lead-card {
    transition: all 0.3s ease;
}

.lead-card.highlight {
    box-shadow: 0 0 30px rgba(255, 199, 0, 0.5);
    transform: scale(1.02);
}

/* מודל הצעת מחיר מתקדם */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
    animation: modalFadeIn 0.3s ease-out;
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    animation: modalSlideIn 0.3s ease-out forwards;
}

.modal-header {
    background: linear-gradient(135deg, #FFC700, #FFD700);
    color: #1A1A1D;
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #1A1A1D;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
}

.modal-step {
    display: none;
}

.modal-step.active {
    display: block;
    animation: stepFadeIn 0.3s ease-out;
}

.modal-step h3 {
    color: #1A1A1D;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.modal-step .form-group {
    margin-bottom: 1.5rem;
}

.modal-step .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1A1A1D;
    font-weight: 600;
}

.modal-step .form-group input,
.modal-step .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.modal-step .form-group input:focus,
.modal-step .form-group textarea:focus {
    border-color: #FFC700;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 199, 0, 0.1);
}

.modal-step .form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
}

.modal-step .form-actions .btn {
    flex: 1;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.modal-step .form-actions .primary-btn {
    background-color: #FFC700;
    color: #1A1A1D;
}

.modal-step .form-actions .primary-btn:hover {
    background-color: #FFD700;
    transform: translateY(-2px);
}

.modal-step .form-actions .secondary-btn {
    background-color: #6C757D;
    color: white;
}

.modal-step .form-actions .secondary-btn:hover {
    background-color: #5A6268;
    transform: translateY(-2px);
}



/* הודעת תודה במודל */
#modal-thank-you {
    display: none;
    text-align: center;
    padding: 2rem;
}

#modal-thank-you.active {
    display: block;
    animation: stepFadeIn 0.3s ease-out;
}

#modal-thank-you h3 {
    color: #28a745;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

#modal-thank-you p {
    color: #6C757D;
    font-size: 1.1rem;
}

.whatsapp-section {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    border: 2px solid #e1e5e9;
}

.whatsapp-section p {
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--color-dark);
}

.whatsapp-btn {
    background: var(--color-whatsapp);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i {
    font-size: 1.2rem;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from { 
        transform: scale(0.9) translateY(-20px);
        opacity: 0;
    }
    to { 
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes stepFadeIn {
    from { 
        opacity: 0;
        transform: translateX(20px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

/* פוטר */
footer {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 2rem 0;
    margin-top: auto;
    font-size: 0.875rem;
    text-align: center;
}

.footer-links {
    margin: 1rem 0;
}

.footer-links a {
    color: var(--color-light);
    margin: 0 0.5rem;
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.security-badge img {
    display: inline-block;
}

/* סגנונות סקציות */
section {
    padding: 3rem 0;
    margin-bottom: var(--section-spacing);
}

section h2 {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

section h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--color-accent);
    margin: 0.7rem auto 0;
}

.section-subtitle {
    text-align: center;
    margin: -1rem auto 2rem;
    max-width: 700px;
    color: #555;
}

/* אזור סוגי תקלות */
.issues-section {
    background-color: var(--color-light);
}

.issues-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--card-spacing);
    margin-top: 2rem;
}

.issue-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.issue-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.issue-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.issue-card h3 {
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.issue-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.urgency-badge {
    background: linear-gradient(135deg, #E74C3C, #C0392B);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    animation: pulse-urgency 2s infinite;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

@keyframes pulse-urgency {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(231, 76, 60, 0.5);
    }
}

/* אזור תמונות רכבים */
.car-photos-section {
    background-color: white;
}

.photo-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.image-placeholder {
    background-color: #eee;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #666;
    padding: 1rem;
    text-align: center;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.image-placeholder p {
    margin-bottom: 0;
}

/* אזור תהליך קנייה */
.process-section {
    background-color: var(--color-light);
}

.process-timeline {
    position: relative;
    margin-top: 3rem;
}

.process-timeline:before {
    content: '';
    position: absolute;
    right: 25px; /* RTL adjustment */
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-accent);
    opacity: 0.5;
}

.process-step {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--color-dark);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-left: 2rem; /* RTL adjustment */
    z-index: 1;
}

.step-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    flex-grow: 1;
}

.step-content h3 {
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.special-images {
    margin-top: 1.5rem;
}

.payment-image, 
.tow-image {
    height: 150px;
    margin-top: 1rem;
    border-radius: 8px;
}

/* אזור יתרונות */
.benefits-section {
    background-color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--card-spacing);
    margin-top: 2rem;
}

.benefit-card {
    background: var(--color-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 199, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: var(--color-dark);
}

.benefit-card h3 {
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.benefit-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* אזור FAQ */
.faq-section {
    background-color: var(--color-light);
}

.faq-list {
    max-width: 800px;
    margin: 2rem auto 0;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(255, 199, 0, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.faq-toggle {
    font-size: 1rem;
    color: var(--color-accent);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.25rem 1.25rem;
    max-height: 500px;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* מדיה קוורי למסכים גדולים יותר */
@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .container {
        width: 90%;
    }
    
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-group:nth-child(2) {
        grid-column: span 2;
    }
    
    .form-actions {
        display: flex;
        gap: 1rem;
    }
    
    .btn {
        margin-bottom: 0;
    }
    
    .lead-card {
        padding: 2.5rem;
    }
    
    .issues-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline:before {
        right: 35px;
    }
}

/* דפי מדיניות פרטיות ותנאי שימוש */
.privacy-content,
.terms-content {
    padding: 2rem;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.privacy-content section,
.terms-content section {
    margin-bottom: 2rem;
}

.privacy-content h2,
.terms-content h2 {
    color: var(--color-dark);
    margin-bottom: 1rem;
    font-weight: 700;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 0.5rem;
}

.privacy-content ul,
.terms-content ul {
    padding-right: 1.5rem;
    margin-bottom: 1.5rem;
}

.privacy-content li,
.terms-content li {
    margin-bottom: 0.5rem;
}

.privacy-content strong,
.terms-content strong {
    color: var(--color-dark);
}

.back-link {
    margin-top: 2rem;
    display: block;
    text-align: center;
}

.back-link a {
    color: var(--color-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-accent);
    border-radius: 8px;
    transition: var(--transition);
}

.back-link a:hover {
    background-color: var(--color-accent);
    color: var(--color-dark);
    text-decoration: none;
}

@media (min-width: 1024px) {
    .container {
        width: 80%;
        max-width: 1200px;
    }
    
    .logo {
        width: 250px;
    }
    
    .lead-card {
        padding: 3rem;
    }
    
    .issues-grid,
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .photo-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .process-timeline:before {
        right: 45px;
    }
    
    .hero-section {
        padding: 4rem 0 3rem;
    }
    
    .hero-section .subtitle {
        font-size: 1.3rem;
    }
    
    section {
        padding: 5rem 0;
    }
}

/* כפתור גלילה חכם */
.scroll-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFC700, #FFD700);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 199, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-toggle.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-toggle:hover {
    background: linear-gradient(135deg, #FFD700, #FFC700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 199, 0, 0.4);
}

.scroll-toggle:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 199, 0, 0.3);
}

.scroll-toggle.scroll-to-top .scroll-icon {
    transform: rotate(180deg);
}

.scroll-icon {
    width: 20px;
    height: 20px;
    color: #333;
    transition: transform 0.3s ease;
}

/* התאמה למובייל */
@media (max-width: 768px) {
    .scroll-toggle {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .scroll-icon {
        width: 18px;
        height: 18px;
    }
}

/* סקציית עדויות לקוחות */
.testimonials-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #FFC700;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: #333;
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: #1A1A1D;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

/* התאמה למובייל */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* סקציית סטטיסטיקות */
.stats-section {
    background: linear-gradient(135deg, #1A1A1D, #2C2C30);
    color: white;
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFC700;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 199, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.9rem;
    color: #ccc;
    opacity: 0.8;
}

/* התאמה למובייל */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Image optimization styles */
.gallery-image,
.process-image,
.benefit-image {
    aspect-ratio: attr(width) / attr(height);
    object-fit: cover;
    width: 100%;
    height: auto;
}

/* Improved font loading */
@font-face {
    font-family: 'Heebo';
    font-display: swap;
    src: local('Heebo');
}

@font-face {
    font-family: 'Montserrat';
    font-display: swap;
    src: local('Montserrat');
}


