:root {
    --brand-yellow: #ffcc00; 
    --brand-black: #121212;  
    --card-bg: #1e1e1e;      
    --text-light: #f8f9fa;
    --grad: linear-gradient(145deg, #1e1e1e, #121212);
}

body {
    font-family: 'Assistant', sans-serif;
    background-color: var(--brand-black);
    color: var(--text-light);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Hero Section עם Typewriter */
.hero {
    background-color: #000;
    border-bottom: 3px solid var(--brand-yellow);
    padding: 60px 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(255, 204, 0, 0.1);
}

.typewriter h1 {
    color: var(--brand-yellow);
    overflow: hidden;
    border-left: .15em solid var(--brand-yellow);
    white-space: nowrap;
    margin: 0 auto;
    display: inline-block;
    font-weight: 800;
    animation: typing 3.5s steps(30, end), blink-caret .75s step-end infinite;
}

@keyframes typing { from { width: 0 } to { width: 100% } }
@keyframes blink-caret { from, to { border-color: transparent } 50% { border-color: white; } }

/* גריד המתכונים */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 20px;
}

/* כרטיס מתכון Premium */
.recipe-card {
    background: var(--grad);
    border: 1px solid #333;
    border-radius: 35px; 
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.recipe-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-yellow);
    box-shadow: 0 15px 35px rgba(255, 204, 0, 0.2);
}

.recipe-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recipe-card:hover img {
    transform: scale(1.05);
}

.card-info {
    padding: 25px;
    flex-grow: 1;
}

.card-info h3 {
    color: var(--brand-yellow);
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.card-footer {
    padding: 15px 25px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #888;
}

/* התאמה למובייל */
@media (max-width: 768px) {
    .typewriter h1 {
        font-size: 1.8rem !important;
        white-space: normal !important; 
        border-left: none;
        animation: none; 
    }
    
    .recipe-grid {
        grid-template-columns: 1fr; 
        gap: 20px;
        padding: 20px 15px;
    }

    .recipe-card {
        border-radius: 25px;
    }

    .recipe-card img {
        height: 220px;
    }
}

/* --- הגדרות לתפריט הנגישות --- */

.accessibility-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.accessibility-btn {
    background: var(--brand-yellow);
    color: black;
    border: 2px solid #000;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.accessibility-btn:hover {
    transform: scale(1.1);
}

.access-menu-content {
    background: #1a1a1a;
    border: 2px solid var(--brand-yellow);
    border-radius: 20px;
    padding: 20px;
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 220px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.access-menu-content button {
    display: block;
    width: 100%;
    background: #222;
    border: 1px solid #444;
    color: white;
    text-align: right;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 10px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.2s;
}

.access-menu-content button:hover {
    background: #333;
    border-color: var(--brand-yellow);
    color: var(--brand-yellow);
}

/* מצבי נגישות שמופעלים ע"י JS */
.grayscale { 
    filter: grayscale(100%) !important; 
}

.highlight-links a { 
    background-color: #ffff00 !important; 
    color: #000000 !important; 
    text-decoration: underline !important;
    font-weight: bold !important;
}