/* ================================================
   Beauty Ziv — CSS Variables
   פלטת צבעים: זהב + קרם/שמנת (אלגנטי-רך)
   פונט: Rubik
   ================================================ */

:root {
    /* ═══ Primary Colors — Gold ═══ */
    --gold-primary: #D4AF37;
    --gold-light: #E8D48A;
    --gold-dark: #B8960C;
    --gold-glow: rgba(212, 175, 55, 0.3);
    --gold-glow-strong: rgba(212, 175, 55, 0.5);
    --gold-accessible: #8B6F09;  /* WCAG AA: 4.80:1 on white — לטקסט בלבד */
    
    /* ═══ Background Colors — Cream/Ivory ═══ */
    --cream-lightest: #FFFEF9;
    --cream-light: #FDF8F0;
    --cream: #F5EBD7;
    --cream-dark: #EDE0C8;
    --cream-darker: #D4C4A8;
    
    /* ═══ Text Colors ═══ */
    --text-dark: #3D3D3D;
    --text-medium: #5C5C5C;
    --text-light: #666666;   /* WCAG AA: 5.74:1 on white */
    --text-muted: #595959;   /* WCAG AA: 7.00:1 on white */
    
    /* ═══ Accent Colors ═══ */
    --accent-success: #4CAF50;
    --accent-error: #E57373;
    --accent-warning: #FFB74D;
    --accent-info: #64B5F6;
    --accent-whatsapp: #25D366;
    
    /* ═══ UI Colors ═══ */
    --border-light: rgba(212, 175, 55, 0.2);
    --border-medium: rgba(212, 175, 55, 0.4);
    --border-strong: var(--gold-primary);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 4px 25px rgba(212, 175, 55, 0.25);
    
    /* ═══ Card & Surface Colors ═══ */
    --card-bg: #FFFFFF;
    --card-bg-alt: var(--cream-light);
    --card-border: var(--border-light);
    --card-hover-border: var(--gold-primary);
    
    /* ═══ Typography — Rubik ═══ */
    --font-primary: 'Rubik', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Font Sizes — Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.85rem);
    --text-sm: clamp(0.85rem, 0.8rem + 0.25vw, 0.95rem);
    --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
    --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1vw, 2rem);
    --text-3xl: clamp(1.85rem, 1.5rem + 1.5vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2vw, 3.25rem);
    
    /* Font Weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    
    /* Line Heights */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;
    
    /* ═══ Spacing ═══ */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    
    /* ═══ Border Radius ═══ */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* ═══ Transitions ═══ */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* ═══ Z-Index Scale ═══ */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    --z-toast: 800;
    --z-max: 9999;
    
    /* ═══ Layout ═══ */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1200px;
    --header-height: 80px;
    --header-height-mobile: 70px;
}

/* ═══ Dark Mode Support (optional) ═══ */
@media (prefers-color-scheme: dark) {
    :root.auto-dark {
        --cream-lightest: #1a1a1a;
        --cream-light: #222222;
        --cream: #2a2a2a;
        --cream-dark: #333333;
        --text-dark: #f0f0f0;
        --text-medium: #cccccc;
        --text-light: #999999;
        --card-bg: #1e1e1e;
    }
}
/* ================================================
   Beauty Ziv — Base CSS
   Reset, Typography, Utilities
   ================================================ */

/* ═══ CSS Reset (Modern) ═══ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--font-regular);
    line-height: var(--leading-normal);
    color: var(--text-dark);
    background-color: var(--cream-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ═══ Typography ═══ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    color: var(--text-dark);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

/* Display Font — for special headings */
.font-display {
    font-family: var(--font-display);
}

p {
    margin-bottom: var(--space-4);
    color: var(--text-medium);
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--gold-primary);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

a:hover {
    color: var(--gold-dark);
    text-decoration-color: var(--gold-dark);
}

/* קישורי ניווט ותפריט — ללא underline (עיצובי) */
.nav-link,
.footer-links a,
.btn,
.header-logo,
.sidebar-link {
    text-decoration: none !important;
}

strong, b {
    font-weight: var(--font-semibold);
}

small {
    font-size: var(--text-sm);
}

/* ═══ Lists ═══ */
ul, ol {
    list-style: none;
}

/* ═══ Images ═══ */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

img {
    object-fit: cover;
}

/* ═══ Form Elements Reset ═══ */
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

input, select, textarea {
    background-color: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-3) var(--space-4);
    width: 100%;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px var(--gold-glow);
}

input::placeholder, textarea::placeholder {
    color: var(--text-muted);
}

/* ═══ Container ═══ */
.container {
    width: 100%;
    max-width: var(--container-xl);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}

.container-sm { max-width: var(--container-sm); }
.container-md { max-width: var(--container-md); }
.container-lg { max-width: var(--container-lg); }

/* ═══ Section ═══ */
.section {
    padding: var(--space-16) 0;
}

.section-sm {
    padding: var(--space-10) 0;
}

.section-lg {
    padding: var(--space-20) 0;
}

/* ═══ Text Utilities ═══ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.text-gold { color: var(--gold-primary); }
.text-dark { color: var(--text-dark); }
.text-medium { color: var(--text-medium); }
.text-light { color: var(--text-light); }
.text-muted { color: var(--text-muted); }
.text-white { color: #ffffff; }

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }

.font-light { font-weight: var(--font-light); }
.font-regular { font-weight: var(--font-regular); }
.font-medium { font-weight: var(--font-medium); }
.font-semibold { font-weight: var(--font-semibold); }
.font-bold { font-weight: var(--font-bold); }

.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.05em; }
.tracking-wider { letter-spacing: 0.1em; }

/* ═══ Background Utilities ═══ */
.bg-cream { background-color: var(--cream-light); }
.bg-cream-dark { background-color: var(--cream); }
.bg-white { background-color: #ffffff; }
.bg-gold { background-color: var(--gold-primary); }
.bg-gold-light { background-color: var(--gold-light); }

/* ═══ Border Utilities ═══ */
.border { border: 1px solid var(--border-light); }
.border-gold { border-color: var(--gold-primary); }
.border-2 { border-width: 2px; }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* ═══ Shadow Utilities ═══ */
.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow { box-shadow: var(--shadow-medium); }
.shadow-gold { box-shadow: var(--shadow-gold); }

/* ═══ Spacing Utilities ═══ */
.m-0 { margin: 0; }
.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }

.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-6 { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }

.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }

/* ═══ Flexbox Utilities ═══ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* ═══ Grid Utilities ═══ */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ═══ Display Utilities ═══ */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }

/* ═══ Width/Height ═══ */
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

/* ═══ Overflow ═══ */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* ═══ Position ═══ */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* ═══ Visibility ═══ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ═══ Animations ═══ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes scaleIn {
    from { 
        opacity: 0; 
        transform: scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: scale(1); 
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-fadeIn { animation: fadeIn var(--transition-base); }
.animate-fadeInUp { animation: fadeInUp var(--transition-slow); }
.animate-fadeInDown { animation: fadeInDown var(--transition-slow); }
.animate-scaleIn { animation: scaleIn var(--transition-base); }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }

/* ═══ Transition ═══ */
.transition { transition: all var(--transition-base); }
.transition-fast { transition: all var(--transition-fast); }
.transition-slow { transition: all var(--transition-slow); }

/* ═══ Selection ═══ */
::selection {
    background-color: var(--gold-primary);
    color: white;
}

/* ═══ Scrollbar (WebKit) ═══ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-light);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}


/* ═══ Skip Navigation Link (נגישות) ═══ */
.skip-link {
    position: absolute;
    top: -100px;
    right: 0;
    background: var(--gold-primary);
    color: white;
    padding: 12px 24px;
    z-index: 99999;
    font-weight: 700;
    border-radius: 0 0 8px 8px;
    text-decoration: none !important;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #1a1a2e;
    outline-offset: 2px;
}

/* ═══ Focus States (Accessibility) ═══ */
:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 2px;
}

/* ═══ Print Styles ═══ */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .no-print {
        display: none !important;
    }
}
/* ================================================
   Beauty Ziv — Components CSS
   Buttons, Cards, Forms, Badges, etc.
   ================================================ */

/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    line-height: 1;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    min-height: 48px; /* WCAG touch target */
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Primary Button — Gold */
.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: white;
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Secondary Button — Outline */
.btn-secondary {
    background: transparent;
    color: var(--gold-primary);
    border-color: var(--gold-primary);
}

.btn-secondary:hover {
    background: var(--gold-primary);
    color: white;
}

/* Ghost Button */
.btn-ghost {
    background: transparent;
    color: var(--text-dark);
    border-color: transparent;
}

.btn-ghost:hover {
    background: var(--cream);
    color: var(--gold-dark);
}

/* WhatsApp Button */
.btn-whatsapp {
    background: var(--accent-whatsapp);
    color: white;
    border-color: var(--accent-whatsapp);
}

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

/* Button Sizes */
.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    min-height: 40px;
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
    min-height: 56px;
}

.btn-xl {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-xl);
    min-height: 64px;
}

/* Full Width */
.btn-block {
    width: 100%;
}

/* Icon Only Button */
.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--radius-full);
}

.btn-icon.btn-sm {
    width: 40px;
    height: 40px;
}

.btn-icon.btn-lg {
    width: 56px;
    height: 56px;
}


/* ═══════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════ */

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: all var(--transition-base);
}

.card:hover {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.card-header {
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-light);
}

.card-title {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--text-dark);
    margin: 0;
}

.card-subtitle {
    font-size: var(--text-sm);
    color: var(--text-light);
    margin-top: var(--space-1);
}

.card-body {
    color: var(--text-medium);
}

.card-footer {
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-light);
}

/* Service Card */
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-base);
    cursor: pointer;
}

.service-card:hover {
    border-color: var(--gold-primary);
    transform: translateX(-4px);
    box-shadow: var(--shadow-soft);
}

.service-card-name {
    font-weight: var(--font-medium);
    color: var(--text-dark);
}

.service-card-desc {
    font-size: var(--text-sm);
    color: var(--text-light);
    margin-top: var(--space-1);
}

.service-card-price {
    font-weight: var(--font-bold);
    color: var(--gold-primary);
    font-size: var(--text-lg);
    white-space: nowrap;
}

/* Featured Card */
.card-featured {
    position: relative;
    overflow: hidden;
    border-color: var(--gold-primary);
}

.card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
}


/* ═══════════════════════════════════════════════
   FORM ELEMENTS
   ═══════════════════════════════════════════════ */

.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--text-dark);
    margin-bottom: var(--space-2);
}

.form-label.required::after {
    content: ' *';
    color: var(--accent-error);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    color: var(--text-dark);
    background: var(--card-bg);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: var(--border-medium);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 4px var(--gold-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Form Help Text */
.form-help {
    font-size: var(--text-xs);
    color: var(--text-light);
    margin-top: var(--space-1);
}

/* Form Error */
.form-error {
    border-color: var(--accent-error) !important;
}

.form-error-message {
    font-size: var(--text-xs);
    color: var(--accent-error);
    margin-top: var(--space-1);
}

/* Checkbox & Radio */
.form-check {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    cursor: pointer;
}

.form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-sm);
    cursor: pointer;
    accent-color: var(--gold-primary);
}

.form-check-input[type="radio"] {
    border-radius: var(--radius-full);
}

.form-check-label {
    font-size: var(--text-base);
    color: var(--text-dark);
    cursor: pointer;
}


/* ═══════════════════════════════════════════════
   BADGES
   ═══════════════════════════════════════════════ */

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-full);
}

.badge-gold {
    background: var(--gold-light);
    color: var(--gold-dark);
}

.badge-success {
    background: rgba(76, 175, 80, 0.15);
    color: var(--accent-success);
}

.badge-warning {
    background: rgba(255, 183, 77, 0.15);
    color: var(--accent-warning);
}

.badge-error {
    background: rgba(229, 115, 115, 0.15);
    color: var(--accent-error);
}

.badge-promo {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    animation: pulse 2s ease-in-out infinite;
}


/* ═══════════════════════════════════════════════
   ALERTS
   ═══════════════════════════════════════════════ */

.alert {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-md);
    border-right: 4px solid;
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    border-color: var(--accent-success);
    color: var(--accent-success);
}

.alert-warning {
    background: rgba(255, 183, 77, 0.1);
    border-color: var(--accent-warning);
    color: #b45309;
}

.alert-error {
    background: rgba(229, 115, 115, 0.1);
    border-color: var(--accent-error);
    color: var(--accent-error);
}

.alert-info {
    background: rgba(100, 181, 246, 0.1);
    border-color: var(--accent-info);
    color: var(--accent-info);
}


/* ═══════════════════════════════════════════════
   AVATAR / PROFILE IMAGE
   ═══════════════════════════════════════════════ */

.avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--gold-primary);
}

.avatar-sm { width: 32px; height: 32px; }
.avatar-md { width: 48px; height: 48px; }
.avatar-lg { width: 80px; height: 80px; }
.avatar-xl { width: 120px; height: 120px; }
.avatar-2xl { width: 180px; height: 180px; }

.avatar-glow {
    box-shadow: 0 0 25px var(--gold-glow);
}


/* ═══════════════════════════════════════════════
   DIVIDERS
   ═══════════════════════════════════════════════ */

.divider {
    height: 1px;
    background: var(--border-light);
    margin: var(--space-6) 0;
}

.divider-gold {
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.divider-text {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    color: var(--text-light);
    font-size: var(--text-sm);
}

.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-light);
}


/* ═══════════════════════════════════════════════
   LOADER / SPINNER
   ═══════════════════════════════════════════════ */

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--border-light);
    border-top-color: var(--gold-primary);
    border-radius: var(--radius-full);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner-sm { width: 16px; height: 16px; border-width: 2px; }
.spinner-lg { width: 40px; height: 40px; border-width: 4px; }


/* ═══════════════════════════════════════════════
   TOOLTIP
   ═══════════════════════════════════════════════ */

.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-2) var(--space-3);
    background: var(--text-dark);
    color: white;
    font-size: var(--text-xs);
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: var(--z-tooltip);
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 8px);
}


/* ═══════════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════════ */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: var(--z-modal-backdrop);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: scale(0.95) translateY(20px);
    transition: transform var(--transition-base);
}

.modal-backdrop.active .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--text-dark);
    margin: 0;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--cream);
    color: var(--text-dark);
}

.modal-body {
    padding: var(--space-6);
    overflow-y: auto;
    max-height: calc(90vh - 140px);
}

.modal-footer {
    padding: var(--space-4) var(--space-6);
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: var(--space-3);
    justify-content: flex-end;
}


/* ═══════════════════════════════════════════════
   TABS
   ═══════════════════════════════════════════════ */

.tabs {
    display: flex;
    gap: var(--space-1);
    border-bottom: 2px solid var(--border-light);
    margin-bottom: var(--space-6);
}

.tab-btn {
    padding: var(--space-3) var(--space-5);
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    color: var(--text-light);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-btn:hover {
    color: var(--gold-primary);
}

.tab-btn.active {
    color: var(--gold-primary);
    border-bottom-color: var(--gold-primary);
}

.tab-content {
    display: none;
    animation: fadeIn var(--transition-base);
}

.tab-content.active {
    display: block;
}


/* ═══════════════════════════════════════════════
   SKELETON LOADING
   ═══════════════════════════════════════════════ */

.skeleton {
    background: linear-gradient(
        90deg,
        var(--cream) 25%,
        var(--cream-dark) 50%,
        var(--cream) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

.skeleton-text {
    height: 1em;
    margin-bottom: var(--space-2);
}

.skeleton-title {
    height: 1.5em;
    width: 60%;
    margin-bottom: var(--space-3);
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
}
/* ================================================
   Beauty Ziv — Layout CSS
   Header, Footer, Navigation, Main Layout
   ================================================ */

/* ═══════════════════════════════════════════════
   PAGE LAYOUT
   ═══════════════════════════════════════════════ */

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    padding-top: var(--header-height);
}

@media (max-width: 767px) {
    .main-content {
        padding-top: var(--header-height-mobile);
    }
}


/* ═══════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--cream-lightest);
    border-bottom: 1px solid var(--border-light);
    z-index: var(--z-sticky);
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-soft);
    background: rgba(255, 254, 249, 0.95);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: var(--container-xl);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-4);
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
}

.header-logo-image {
    height: 50px;
    width: auto;
}

.header-logo-text {
    display: flex;
    flex-direction: column;
}

.header-logo-name {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--gold-accessible, #8B6F09);
    letter-spacing: 0.1em;
    line-height: 1;
}

.header-logo-tagline {
    font-size: var(--text-xs);
    color: var(--text-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav-link {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--text-medium);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--gold-accessible, #8B6F09);
    background: rgba(212, 175, 55, 0.08);
}

.nav-link.active {
    color: var(--gold-accessible, #8B6F09);
    background: rgba(212, 175, 55, 0.12);
    font-weight: var(--font-semibold);
}

.nav-link-cta {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: white !important;
    font-weight: var(--font-semibold);
    padding: var(--space-2) var(--space-5);
}

.nav-link-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    order: -1; /* מעביר לצד ימין (ב-RTL = התחלת הדף) */
}

@media (max-width: 991px) {
    .header {
        height: var(--header-height-mobile);
    }
    
    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cream-lightest);
        border-bottom: 1px solid var(--border-light);
        flex-direction: column;
        padding: var(--space-4);
        gap: var(--space-2);
        box-shadow: var(--shadow-medium);
        z-index: 999;
    }
    
    .header-nav.open {
        display: flex;
    }
    
    .nav-link {
        width: 100%;
        padding: var(--space-3) var(--space-4);
        text-align: center;
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(212,175,55,0.15);
        touch-action: manipulation;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}


/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */

.footer {
    background: var(--text-dark);
    color: white;
    padding: var(--space-12) 0 var(--space-6);
    margin-top: auto;
}

.footer-container {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Brand */
.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--gold-primary);
    letter-spacing: 0.1em;
    margin-bottom: var(--space-3);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

/* Footer Links */
.footer-section-title {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--gold-primary);
    margin-bottom: var(--space-4);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--space-2);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-primary);
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-sm);
}

.footer-contact-item i {
    color: var(--gold-primary);
    width: 20px;
    text-align: center;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact-item a:hover {
    color: var(--gold-primary);
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--gold-primary);
    transform: translateY(-3px);
}

.footer-social a.facebook:hover { background: #1877f2; }
.footer-social a.instagram:hover { background: #e1306c; }
.footer-social a.whatsapp:hover { background: #25d366; }
.footer-social a.tiktok:hover { background: #000; border: 1px solid #fff; }

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    padding-top: var(--space-6);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-xs);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: center;
}

.footer-dev-credit {
    color: rgba(255, 255, 255, 0.35);
    font-size: var(--text-xs);
}

.footer-dev-link {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-dev-link:hover {
    color: var(--gold-primary);
}

.footer-legal {
    display: flex;
    gap: var(--space-4);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-xs);
}

.footer-legal a:hover {
    color: var(--gold-primary);
}

@media (max-width: 767px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}


/* ═══════════════════════════════════════════════
   PAGE HERO
   ═══════════════════════════════════════════════ */

.page-hero {
    background: linear-gradient(135deg, var(--cream-light), var(--cream));
    padding: var(--space-12) 0;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.page-hero-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--text-dark);
    margin-bottom: var(--space-2);
}

.page-hero-subtitle {
    font-size: var(--text-lg);
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.page-hero-gold {
    color: var(--gold-primary);
}


/* ═══════════════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════════════ */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) 0;
    font-size: var(--text-sm);
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--gold-primary);
}

.breadcrumb-separator {
    color: var(--text-muted);
}

.breadcrumb-current {
    color: var(--text-dark);
    font-weight: var(--font-medium);
}


/* ═══════════════════════════════════════════════
   FLOATING ELEMENTS
   ═══════════════════════════════════════════════ */

/* WhatsApp Float Button */
.float-whatsapp {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 60px;
    height: 60px;
    background: var(--accent-whatsapp);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
    text-decoration: none;
}

.float-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.float-whatsapp::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-full);
    border: 2px solid var(--accent-whatsapp);
    animation: pulse 2s ease-in-out infinite;
    opacity: 0.5;
}

/* Accessibility Widget Button */
.float-accessibility {
    position: fixed;
    bottom: var(--space-6);
    left: var(--space-6);
    width: 56px;
    height: 56px;
    background: #1565c0;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: var(--z-fixed);
    cursor: pointer;
    border: 2px solid white;
    transition: all var(--transition-base);
}

.float-accessibility:hover {
    transform: scale(1.1);
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: calc(var(--space-6) + 70px);
    right: var(--space-6);
    width: 44px;
    height: 44px;
    background: var(--gold-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow-gold);
    z-index: var(--z-fixed);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
}

@media (max-width: 767px) {
    .float-whatsapp,
    .float-accessibility {
        bottom: calc(var(--space-4) + env(safe-area-inset-bottom, 16px));
    }

    .float-whatsapp {
        right: var(--space-4);
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }

    .float-accessibility {
        left: var(--space-4);
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .scroll-to-top {
        bottom: calc(var(--space-4) + env(safe-area-inset-bottom, 16px) + 60px);
    }

    /* מעבר חלק ל-idle state */
    .float-whatsapp,
    .float-accessibility {
        transition: opacity 0.35s ease, transform 0.35s ease,
                    box-shadow var(--transition-base), color var(--transition-base);
    }

    /* Idle — דעיכה ומיקוד */
    .float-whatsapp.float-idle,
    .float-accessibility.float-idle {
        opacity: var(--float-idle-opacity, 0.25);
        transform: scale(0.72);
        pointer-events: auto; /* תמיד לחיץ — WCAG */
    }
}


/* ═══════════════════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════════════════ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: white;
    padding: var(--space-4) var(--space-6);
    z-index: var(--z-toast);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-banner-container {
    max-width: var(--container-lg);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 250px;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.9);
}

.cookie-banner-text a {
    color: var(--gold-primary);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: var(--space-3);
}

.cookie-accept {
    background: var(--gold-primary);
    color: var(--text-dark);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-md);
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
}

.cookie-accept:hover {
    background: var(--gold-light);
}

.cookie-decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    padding: var(--space-2) var(--space-4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.cookie-decline:hover {
    color: white;
    border-color: white;
}


/* ═══════════════════════════════════════════════
   GRID LAYOUTS
   ═══════════════════════════════════════════════ */

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .content-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .content-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .content-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Sidebar Layout */
.layout-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 1024px) {
    .layout-sidebar {
        grid-template-columns: 280px 1fr;
    }
    
    .layout-sidebar-reverse {
        grid-template-columns: 1fr 280px;
    }
}

.sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-4));
    align-self: start;
}