/* פלטת צבעים מבוססת לוגו - גרסה מעודכנת */
:root {
    --logo-green-dark: #0d4d44;  /* הירוק הכהה מהלוגו */
    --logo-red-pure: #d63031;    /* אדום עוצמתי וברור (במקום כתום) */
    --text-white: #ffffff;
    --bg-light: #f4f7f6;
    --shadow: 0 4px 15px rgba(0,0,0,0.25);
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    margin: 0; padding: 0; direction: rtl;
    background-color: var(--bg-light);
}

/* Header */
header {
    background: white;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky; top: 0; z-index: 1000;
}

.header-logo {
    height: 95px; 
    width: auto;
    object-fit: contain;
}

#user-info a {
    text-decoration: none;
    color: var(--logo-green-dark);
    margin-right: 15px;
    font-weight: 600;
}

.btn-register-outline {
    border: 2px solid var(--logo-red-pure);
    padding: 6px 18px;
    border-radius: 20px;
    color: var(--logo-red-pure) !important;
    transition: 0.3s;
}

.btn-register-outline:hover {
    background: var(--logo-red-pure);
    color: white !important;
}

/* Hero Section */
.hero-section {
    background-color: var(--logo-green-dark);
    padding: 80px 5%;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* כיתוב ShareIt באדום נקי */
.hero-brand-name {
    font-size: 5.5rem;
    font-weight: 900;
    color: var(--logo-red-pure);
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 6px 20px;
    border-radius: 25px;
    font-size: 1rem;
    margin-bottom: 35px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.white-text {
    color: var(--text-white);
}

/* המלל המתחלף - קטן יותר, לבן עם מסגרת אדומה */
#changing-text {
    font-size: 3.2rem; /* הקטנה קלה לעומת הכותרת */
    color: white;
    /* אפקט מסגרת (Stroke) באמצעות text-shadow */
    text-shadow: 
        -2px -2px 0 var(--logo-red-pure),  
         2px -2px 0 var(--logo-red-pure),
        -2px  2px 0 var(--logo-red-pure),
         2px  2px 0 var(--logo-red-pure);
    display: inline-block;
    padding-top: 15px;
    transition: opacity 0.5s ease-in-out;
}

/* Location Bar */
#location-bar {
    background: white;
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    color: #444;
}

/* Feed & Cards */
#feed-container { padding: 50px 5%; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.item-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.item-card:hover { transform: translateY(-8px); }

.item-card button {
    width: 100%;
    border: none;
    background: var(--logo-green-dark);
    color: white;
    padding: 16px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
}

.item-card button:hover { background: var(--logo-red-pure); }

/* Footer - שונה ללבן */
footer {
    background: white;
    color: var(--logo-green-dark);
    padding: 40px 5%;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-links a {
    color: var(--logo-green-dark);
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--logo-red-pure);
}