/* סגנונות כלליים למקטעים */
section {
    margin: 3rem 0;
    padding: 2rem;
    border-radius: 15px;
}

section h2 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

section h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

section p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text-color);
}

section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

section li {
    margin: 0.8rem 0;
    padding-right: 1.5rem;
    position: relative;
    line-height: 1.4;
}

section li:before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    right: 0;
}

/* סגנונות לטקסט תפילה */
.prayer-text {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
    font-style: italic;
}

.prayer-source {
    color: var(--text-muted);
    text-align: left;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* סגנונות לרשתות */
.articles-grid,
.resources-grid,
.adaptations-grid,
.tools-grid,
.contact-grid,
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* סגנונות לפריטי מאמר */
.article-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.article-item:hover {
    transform: translateY(-5px);
}

/* סגנונות למשאבים דיגיטליים */
.resource-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.resource-item:hover {
    transform: translateY(-5px);
}

/* סגנונות לטיפים */
.tips-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tip-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.tip-item:hover {
    transform: translateY(-5px);
}

.tip-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

/* סגנונות לכפתורי קשר */
.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.contact-button:hover {
    background: var(--primary-dark);
}

.contact-button .icon {
    margin-left: 0.5rem;
    font-size: 1.2rem;
}

/* סגנונות לפריטי תהליך */
.process-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.process-item:hover {
    transform: translateY(-5px);
}

/* סגנונות לפסוקים ומקורות */
blockquote {
    background: var(--background-light);
    padding: 1.5rem;
    border-right: 4px solid var(--primary);
    border-radius: 8px;
    margin: 1.5rem 0;
    font-style: italic;
}

blockquote p {
    margin: 0;
    line-height: 1.6;
}

blockquote footer {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: left;
}

/* סגנונות לכותרות קטגוריה */
.category-title {
    color: var(--primary);
    text-align: center;
    margin: 3rem 0 2rem;
    font-size: 2rem;
    position: relative;
}

.category-title:after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 1rem auto 0;
}

/* סגנונות לתיבות מידע */
.info-box {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid var(--primary-light);
}

.info-box h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* סגנונות לרשימות מיוחדות */
.special-list {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin: 1.5rem 0;
}

.special-list li {
    border-bottom: 1px solid var(--background-light);
    padding: 1rem 2rem 1rem 0;
}

.special-list li:last-child {
    border-bottom: none;
}

/* סגנונות לאייקונים */
.icon-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.icon-title span {
    font-size: 2rem;
    margin-left: 1rem;
}

/* התאמות למסכים קטנים */
@media (max-width: 768px) {
    section {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    section h2 {
        font-size: 1.6rem;
    }

    section h3 {
        font-size: 1.3rem;
    }

    .articles-grid,
    .resources-grid,
    .adaptations-grid,
    .tools-grid,
    .contact-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .tips-list {
        grid-template-columns: 1fr;
    }

    .special-list {
        padding: 1rem;
    }

    .contact-button {
        padding: 0.8rem;
    }

    blockquote {
        padding: 1rem;
    }
}

/* אנימציות */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.6s ease-out;
}

/* סגנונות לתגיות */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tag {
    background: var(--background-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary);
}

/* סגנונות לכפתורי פעולה */
.action-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    justify-content: center;
}

.action-button {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    text-align: center;
}

.action-button:hover {
    background: var(--primary-dark);
}

.action-button.secondary {
    background: var(--secondary);
}

.action-button.secondary:hover {
    background: var(--secondary-dark);
}

/* סגנונות לתיבות הדגשה */
.highlight-box {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
    color: var(--primary-dark);
}

.highlight-box h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

/* סגנונות לרשימת שלבים */
.steps-list {
    counter-reset: step;
    margin: 2rem 0;
}

.steps-list li {
    counter-increment: step;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    margin: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
}

.steps-list li:before {
    content: counter(step);
    background: var(--primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
}

/* סגנונות לתיבות ציטוט */
.quote-box {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    position: relative;
}

.quote-box:before {
    content: """;
    font-size: 4rem;
    color: var(--primary-light);
    position: absolute;
    right: 1rem;
    top: -1rem;
}

.quote-box p {
    font-style: italic;
    margin: 0;
    padding: 0 3rem;
}

.quote-source {
    text-align: left;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* סגנונות למקורות והמלצות */
.sources-intro {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.source-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.source-item:hover {
    transform: translateY(-5px);
}

/* סגנונות לתפילות וסגולות */
.prayers-intro {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

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

.prayer-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.prayer-item:hover {
    transform: translateY(-5px);
}

/* סגנונות למדריך מעשי */
.guide-intro {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

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

.guide-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.guide-item:hover {
    transform: translateY(-5px);
}

/* סגנונות להדרכה אישית */
.guidance-intro {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

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

.guidance-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.guidance-item:hover {
    transform: translateY(-5px);
}

/* סגנונות למנהגי קהילות */
.traditions-intro {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

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

.tradition-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.tradition-item:hover {
    transform: translateY(-5px);
}

/* סגנונות להלכות */
.halacha-intro {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

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

.halacha-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.halacha-item:hover {
    transform: translateY(-5px);
}

/* סגנונות להדרכה לנישואין */
.marriage-intro {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

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

.marriage-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.marriage-item:hover {
    transform: translateY(-5px);
}

/* סגנונות להתפתחות אישית */
.growth-intro {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

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

.growth-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.growth-item:hover {
    transform: translateY(-5px);
}

/* סגנונות לכותרות ראשיות */
h1 {
    color: var(--primary);
    text-align: center;
    margin: 2rem 0;
    font-size: 2.5rem;
    position: relative;
}

h1:after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 1rem auto 0;
}

/* סגנונות לתפריט ניווט */
nav {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background: var(--background-light);
    color: var(--primary);
}

nav a.active {
    background: var(--primary);
    color: white;
}

/* סגנונות לכפתורי פעולה */
.action-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    text-align: center;
    margin: 1rem;
}

.action-button:hover {
    background: var(--primary-dark);
}

/* סגנונות לפוטר */
footer {
    background: var(--background-light);
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
    border-radius: 15px 15px 0 0;
}

footer p {
    color: var(--text-muted);
    margin: 0;
}

/* התאמות למסכים קטנים */
@media (max-width: 768px) {
    nav {
        padding: 0.5rem;
    }

    nav a {
        display: block;
        margin: 0.5rem 0;
    }

    h1 {
        font-size: 2rem;
    }

    .action-button {
        display: block;
        margin: 1rem auto;
    }
}

/* אנימציות נוספות */
@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.nav a {
    animation: slideIn 0.3s ease-out forwards;
}

/* סגנונות לתמונות */
.image-container {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* סגנונות לטבלאות */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

th, td {
    padding: 1rem;
    text-align: right;
    border-bottom: 1px solid var(--background-light);
}

th {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: bold;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background: var(--background-light);
}

/* סגנונות לעמוד תפילות וסגולות */
.prayers-page {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95));
    padding: 2rem;
}

.prayers-intro {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.prayers-intro h2 {
    color: var(--primary-dark);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.prayers-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.prayer-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.prayer-section h3 {
    color: var(--primary);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.prayer-section h3:after {
    content: "🙏";
    display: block;
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.prayer-item {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prayer-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.prayer-title {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: bold;
}

.prayer-text {
    font-family: "Times New Roman", serif;
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    color: var(--text-color);
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    border: 1px solid var(--primary-light);
}

.prayer-source {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: left;
    font-style: italic;
    margin-top: 1rem;
}

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

.segula-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.segula-item:hover {
    transform: translateY(-5px);
}

.segula-item h4 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.segula-item ul {
    text-align: right;
    list-style-position: inside;
}

.segula-item li {
    margin: 0.8rem 0;
    padding-right: 1.5rem;
    position: relative;
}

.segula-item li:before {
    content: "✨";
    position: absolute;
    right: 0;
    color: var(--primary);
}

.special-times {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 3rem 0;
}

.special-times h3 {
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 2rem;
}

.times-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.time-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.time-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.time-item ul {
    list-style: none;
    padding: 0;
}

.time-item li {
    margin: 0.5rem 0;
    color: var(--text-color);
}

.prayer-tips {
    margin-top: 3rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tip-box {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.tip-box:hover {
    transform: translateY(-5px);
}

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.tip-title {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.tip-text {
    color: var(--text-color);
    line-height: 1.6;
}

/* התאמות למסכים קטנים */
@media (max-width: 768px) {
    .prayers-intro {
        padding: 2rem;
    }

    .prayers-intro h2 {
        font-size: 1.8rem;
    }

    .prayers-intro p {
        font-size: 1.1rem;
    }

    .prayer-text {
        font-size: 1.1rem;
        padding: 1rem;
    }

    .segulot-grid,
    .times-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }

    .prayer-section {
        padding: 1.5rem;
    }

    .prayer-item {
        padding: 1.5rem;
    }
}

/* סגנונות לעמוד מדריך מעשי */
.guide-page {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95));
    padding: 2rem;
}

.guide-intro {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.guide-intro h2 {
    color: var(--primary-dark);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.guide-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.guide-section {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.guide-section h3 {
    color: var(--primary);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.guide-section h3:after {
    content: "📝";
    display: block;
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.guide-steps {
    counter-reset: step;
    margin: 2rem 0;
}

.guide-step {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    position: relative;
    counter-increment: step;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.guide-step:before {
    content: counter(step);
    background: var(--primary);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -10px;
    top: -10px;
    font-weight: bold;
}

.guide-step h4 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    padding-right: 2rem;
}

.guide-step p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.guide-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.guide-tip {
    background: white;
    padding: 1.8rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.guide-tip:hover {
    transform: translateY(-5px);
}

.guide-tip-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.guide-tip h4 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.guide-resources {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    padding: 2.5rem;
    border-radius: 15px;
    margin: 3rem 0;
}

.guide-resources h3 {
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 2rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.resource-item {
    background: white;
    padding: 1.8rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.resource-item:hover {
    transform: translateY(-5px);
}

.resource-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.resource-title {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.guide-summary {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.guide-summary h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.guide-summary ul {
    text-align: right;
    max-width: 800px;
    margin: 0 auto;
}

.guide-summary li {
    margin: 1rem 0;
    padding-right: 2rem;
    position: relative;
}

.guide-summary li:before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    right: 0;
    font-weight: bold;
}

/* התאמות למסכים קטנים */
@media (max-width: 768px) {
    .guide-intro {
        padding: 2rem;
    }

    .guide-intro h2 {
        font-size: 1.8rem;
    }

    .guide-intro p {
        font-size: 1.1rem;
    }

    .guide-section {
        padding: 1.5rem;
    }

    .guide-step {
        padding: 1.5rem;
    }

    .guide-step h4 {
        font-size: 1.2rem;
    }

    .guide-tips,
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .guide-tip,
    .resource-item {
        padding: 1.5rem;
    }
}

/* סגנונות לעמוד הלכות */
.halacha-page {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95));
    padding: 2rem;
}

.halacha-intro {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.halacha-intro h2 {
    color: var(--primary-dark);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.halacha-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.halacha-section {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.halacha-section h3 {
    color: var(--primary);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.halacha-section h3:after {
    content: "📜";
    display: block;
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.halacha-list {
    counter-reset: halacha;
    margin: 2rem 0;
}

.halacha-item {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    position: relative;
    counter-increment: halacha;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.halacha-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.halacha-item:before {
    content: counter(halacha);
    background: var(--primary);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -10px;
    top: -10px;
    font-weight: bold;
}

.halacha-title {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    padding-right: 2rem;
    font-weight: bold;
}

.halacha-content {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.halacha-source {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
    text-align: left;
    margin-top: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--background-light);
}

.halacha-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.halacha-category {
    background: white;
    padding: 1.8rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.halacha-category:hover {
    transform: translateY(-5px);
}

.category-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.category-title {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.important-notes {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    padding: 2.5rem;
    border-radius: 15px;
    margin: 3rem 0;
}

.important-notes h3 {
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 2rem;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.note-item {
    background: white;
    padding: 1.8rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.note-item:hover {
    transform: translateY(-5px);
}

.note-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.note-title {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.halacha-summary {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.halacha-summary h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.halacha-summary ul {
    text-align: right;
    max-width: 800px;
    margin: 0 auto;
}

.halacha-summary li {
    margin: 1rem 0;
    padding-right: 2rem;
    position: relative;
}

.halacha-summary li:before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    right: 0;
    font-weight: bold;
}

/* התאמות למסכים קטנים */
@media (max-width: 768px) {
    .halacha-intro {
        padding: 2rem;
    }

    .halacha-intro h2 {
        font-size: 1.8rem;
    }

    .halacha-intro p {
        font-size: 1.1rem;
    }

    .halacha-section {
        padding: 1.5rem;
    }

    .halacha-item {
        padding: 1.5rem;
    }

    .halacha-title {
        font-size: 1.2rem;
    }

    .halacha-categories,
    .notes-grid {
        grid-template-columns: 1fr;
    }

    .halacha-category,
    .note-item {
        padding: 1.5rem;
    }
}