@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;700&display=swap');

body {
    font-family: 'Rubik', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

h1, h2, h3 {
    font-weight: 700;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
}

.btn-primary {
    background-color: #3f51b5;
    border-color: #3f51b5;
    padding: 10px 20px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #303f9f;
    border-color: #303f9f;
}

header h1 {
    color: #3f51b5;
    margin-bottom: 20px;
}

footer {
    color: #6c757d;
    font-size: 14px;
}

.form-control:focus {
    border-color: #3f51b5;
    box-shadow: 0 0 0 0.25rem rgba(63, 81, 181, 0.25);
}

.form-check-input:checked {
    background-color: #3f51b5;
    border-color: #3f51b5;
}

/* הוספת סגנון אחיד לכפתורים בטבלאות */
.table .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
    margin-right: 0.5rem;
    font-weight: 500;
}

.table .btn-primary {
    background-color: #3f51b5;
    border-color: #3f51b5;
}

.table .btn-primary:hover {
    background-color: #303f9f;
    border-color: #303f9f;
}

.table .btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.table .btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}


/* הוספה לקובץ הקיים */

/* סגנונות לדף הבית החדש */
.workshop-card {
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
}

.workshop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.workshop-card.past-workshop {
    opacity: 0.7;
    border: 2px solid #6c757d;
}

.workshop-card.past-workshop .card-header {
    background-color: #6c757d !important;
}

.workshop-card.active-workshop .card-header {
    background-color: #6a5acd;
}

.workshop-card.inactive-workshop {
    opacity: 0.6;
    border: 2px solid #dc3545;
}

.workshop-card.inactive-workshop .card-header {
    background-color: #dc3545 !important;
}

.workshop-status {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.status-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: bold;
}

.status-past {
    background-color: #6c757d;
    color: white;
}

.status-inactive {
    background-color: #dc3545;
    color: white;
}

.status-active {
    background-color: #28a745;
    color: white;
}

.workshop-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.remaining-spots {
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
    margin: 0.5rem 0;
}

.remaining-spots.full {
    background: linear-gradient(45deg, #dc3545, #c82333);
}

.hero-section {
	background: linear-gradient(135deg, #c5a29a 0%, #e3d3cf 100%);

/*    background: linear-gradient(135deg, #6a5acd 0%, #9370db 100%);*/
    color: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
    border-radius: 0 0 50px 50px;
}

.workshop-details {
    font-size: 0.9rem;
}

.workshop-details i {
    width: 20px;
}

/* עדכון כפתור הרישום */
.register-btn {
    background: linear-gradient(45deg, #6a5acd, #9370db);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.register-btn:hover {
    background: linear-gradient(45deg, #5a4abf, #8a5fd3);
    transform: translateY(-2px);
    color: white;
}

.register-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

/* רספונסיביות */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .workshop-card {
        margin-bottom: 20px;
    }
    
    .workshop-status {
        top: 10px;
        right: 10px;
    }
    
    .status-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}


@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;700&display=swap');

body {
    font-family: 'Rubik', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

h1, h2, h3 {
    font-weight: 700;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
}

.btn-primary {
    background-color: #3f51b5;
    border-color: #3f51b5;
    padding: 10px 20px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #303f9f;
    border-color: #303f9f;
}

header h1 {
    color: #3f51b5;
    margin-bottom: 20px;
}

footer {
    color: #6c757d;
    font-size: 14px;
}

.form-control:focus {
    border-color: #3f51b5;
    box-shadow: 0 0 0 0.25rem rgba(63, 81, 181, 0.25);
}

.form-check-input:checked {
    background-color: #3f51b5;
    border-color: #3f51b5;
}

/* הוספת סגנון אחיד לכפתורים בטבלאות */
.table .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
    margin-right: 0.5rem;
    font-weight: 500;
}

.table .btn-primary {
    background-color: #3f51b5;
    border-color: #3f51b5;
}

.table .btn-primary:hover {
    background-color: #303f9f;
    border-color: #303f9f;
}

.table .btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.table .btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* סגנונות לדף הבית החדש */
.workshop-card {
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
}

.workshop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.workshop-card.past-workshop {
    opacity: 0.7;
    border: 2px solid #6c757d;
}

.workshop-card.past-workshop .card-header {
    background-color: #6c757d !important;
}

.workshop-card.active-workshop .card-header {
    background-color: #6a5acd;
}

.workshop-card.inactive-workshop {
    opacity: 0.6;
    border: 2px solid #dc3545;
}

.workshop-card.inactive-workshop .card-header {
    background-color: #dc3545 !important;
}

.workshop-status {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.status-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: bold;
}

.status-past {
    background-color: #6c757d;
    color: white;
}

.status-inactive {
    background-color: #dc3545;
    color: white;
}

.status-active {
    background-color: #28a745;
    color: white;
}

.workshop-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.remaining-spots {
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
    margin: 0.5rem 0;
}

.remaining-spots.full {
    background: linear-gradient(45deg, #dc3545, #c82333);
}

.hero-section {
    background: linear-gradient(135deg, #6a5acd 0%, #9370db 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
    border-radius: 0 0 50px 50px;
}

.workshop-details {
    font-size: 0.9rem;
}

.workshop-details i {
    width: 20px;
}

/* עדכון כפתור הרישום */
.register-btn {
    background: linear-gradient(45deg, #6a5acd, #9370db);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.register-btn:hover {
    background: linear-gradient(45deg, #5a4abf, #8a5fd3);
    transform: translateY(-2px);
    color: white;
}

.register-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

/* סגנונות לדף סדנה בודדת */
.icon-feature {
    font-size: 2rem;
    color: #6a5acd;
    margin-bottom: 15px;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: #6a5acd;
}

.social-icon {
    font-size: 1.5rem;
    margin: 0 10px;
    color: #6a5acd;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #5a4abf;
}

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.feature-list i {
    color: #6a5acd;
    margin-left: 10px;
}

.header-info-badge {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    margin: 0.25rem;
}

.waze-btn {
    display: inline-flex;
    align-items: center;
    background-color: #33ccff;
    border-color: #33ccff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s;
}

.waze-btn:hover {
    background-color: #00aaff;
    border-color: #00aaff;
    color: white;
}

.waze-logo {
    height: 24px;
    margin-left: 8px;
}

/* רספונסיביות */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .workshop-card {
        margin-bottom: 20px;
    }
    
    .workshop-status {
        top: 10px;
        right: 10px;
    }
    
    .status-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .header-info-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;700&display=swap');

body {
    font-family: 'Rubik', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

h1, h2, h3 {
    font-weight: 700;
}

.card {
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: none;
    transition: transform 0.3s;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    border-radius: 15px 15px 0 0 !important;
}

.btn-primary {
    background-color: #6a5acd;
    border-color: #6a5acd;
    padding: 10px 20px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #5a4abf;
    border-color: #5a4abf;
}

header h1 {
    color: #3f51b5;
    margin-bottom: 20px;
}

footer {
    color: #6c757d;
    font-size: 14px;
}

.form-control:focus {
    border-color: #3f51b5;
    box-shadow: 0 0 0 0.25rem rgba(63, 81, 181, 0.25);
}

.form-check-input:checked {
    background-color: #3f51b5;
    border-color: #3f51b5;
}

/* הוספת סגנון אחיד לכפתורים בטבלאות */
.table .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
    margin-right: 0.5rem;
    font-weight: 500;
}

.table .btn-primary {
    background-color: #3f51b5;
    border-color: #3f51b5;
}

.table .btn-primary:hover {
    background-color: #303f9f;
    border-color: #303f9f;
}

.table .btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.table .btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* סגנונות לדף הבית החדש */
.hero-section {
    background: linear-gradient(135deg, #6a5acd 0%, #4a3aad 100%);
    color: white;
    padding: 100px 0;
    margin-bottom: 0;
}

.hero-section h1 {
    color: white;
}

.icon-feature {
    font-size: 2rem;
    color: #6a5acd;
    margin-bottom: 15px;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: #6a5acd;
}

.social-icon {
    font-size: 1.5rem;
    margin: 0 10px;
    color: #6a5acd;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #5a4abf;
}

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.feature-list i {
    color: #6a5acd;
    margin-left: 10px;
}

.header-info-badge {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    margin: 0.25rem;
}

.waze-btn {
    display: inline-flex;
    align-items: center;
    background-color: #33ccff;
    border-color: #33ccff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s;
}

.waze-btn:hover {
    background-color: #00aaff;
    border-color: #00aaff;
    color: white;
}

.waze-logo {
    height: 24px;
    margin-left: 8px;
}

/* סגנונות לכרטיסי הסדנאות */
.workshop-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.workshop-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.workshop-card .card-header {
    background: linear-gradient(135deg, #6a5acd 0%, #4a3aad 100%);
    border: none;
    padding: 1.5rem;
    border-radius: 0 0 15px 15px;
}

/* מיכל התמונה */
.workshop-image-container {
    position: relative;
    height: 180px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.workshop-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.workshop-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.placeholder-logo {
    max-width: 120px;
    max-height: 120px;
    opacity: 0.6;
    filter: grayscale(50%);
}

.placeholder-logo.grayscale {
    filter: grayscale(100%);
    opacity: 0.4;
}

.workshop-details i {
    margin-left: 8px;
    width: 16px;
}

.remaining-spots {
    background-color: #e8f5e8;
    color: #155724;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    min-width: 200px;
}

.remaining-spots.full {
    background-color: #f8d7da;
    color: #721c24;
}

.register-btn {
    display: inline-block;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 200px;
}

.register-btn:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.register-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.register-btn:disabled:hover {
    background: #6c757d;
    transform: none;
}

/* סגנונות לסדנאות שעברו */
.past-workshop {
    opacity: 0.8;
}

.past-workshop .card-header {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
}

/* קו הפרדה בין סדנאות */
.workshops-divider {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #6a5acd 50%, transparent 100%);
    margin: 3rem 0;
}

.past-workshops-title {
    color: #6c757d;
}

.past-workshops-title:after {
    background-color: #6c757d;
}

@media (max-width: 576px) {
    .header-info-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.8rem;
    }
    
    .workshop-image-container {
        height: 150px;
    }
    
    .placeholder-logo {
        max-width: 80px;
        max-height: 80px;
    }
    
    .remaining-spots,
    .register-btn {
        min-width: auto;
        width: 100%;
    }
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* אם אין תמונת רקע, השאר את הרקע המקורי */
.hero-section:not([style*="background-image"]) {
    /*background: linear-gradient(135deg, #6a5acd 0%, #4a3aad 100%);*/
	background: linear-gradient(135deg, #c5a29a 0%, #e3d3cf 100%);

}

.hero-section .btn-light {
    background-color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.9);
    color: #333;
    font-weight: 600;
}

.hero-section .btn-light:hover {
    background-color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero-section .site-logo {
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}



/* --- Overrides for "past" states (append at END of file) --- */

/* תגית המלאי כשעבר – רקע c5a29a וטקסט כהה נגיש */
.remaining-spots.past {
    background: #ccbf96 !important;   /* ורוד-חולי */
    color: #2b2b2b  !important;        /* חום כהה נגיש (AA/AAA) */
    text-shadow: none !important;
    border: 1px solid rgba(0,0,0,0.1);
}

/* הכפתור "צפייה בפרטים" כשעבר – רקע c5a29a וטקסט כהה */
.register-btn.past {
    background: #c5a29a !important;
    color: #2b1e1b !important;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: none;
}

/* אייקון בתוך הכפתור ישאב את צבע הטקסט */
.register-btn.past i,
.register-btn.past .bi {
    color: currentColor !important;
}

/* מצב ריחוף ולחיצה – כהות קלה לשמירה על נגישות */
.register-btn.past:hover,
.register-btn.past:focus {
    background: #b58e85 !important;   /* כהות עדינה */
    color: #1e1412 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    text-decoration: none;
    outline: none;
}

.register-btn.past:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

/* אם יש לך גם data-attributes – זה יעזור במקרה שאין class="past" */
a.register-btn[data-is-past="true"] {
    background: #c5a29a !important;
    color: #2b1e1b !important;
    border: 1px solid rgba(0,0,0,0.08);
}
a.register-btn[data-is-past="true"]:hover,
a.register-btn[data-is-past="true"]:focus {
    background: #b58e85 !important;
    color: #1e1412 !important;
}

/* אופציונלי: אם יש badge נלווה ל"עבר" ואתה רוצה להשוות גוון */
.status-past {
    background-color: #c5a29a !important;
    color: #2b1e1b !important;
}
