/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
    background: var(--color-cream-dark);
    padding: 4rem 3rem 2rem;
    position: relative;
    overflow: hidden;
    margin-top: -2px;
}
.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--color-cream-dark);
}
.footer-wave svg {
    position: absolute;
    top: -59px;
    left: 0;
    width: 100%;
    height: 60px;
}
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 2;
}
.footer-brand p {
    font-size: 0.85rem;
    color: var(--color-forest);
    opacity: 0.7;
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 280px;
}
.footer-title {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--color-forest);
    margin-bottom: 1.2rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a {
    color: var(--color-forest);
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.7;
    transition: all 0.2s ease;
}
.footer-links a:hover { opacity: 1; color: var(--color-sage); }

.social-links { display: flex; gap: 0.8rem; margin-top: 1rem; }
.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-forest);
    transition: all 0.2s ease;
    text-decoration: none;
}
.social-link:hover {
    background: var(--color-sage);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(61, 79, 57, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.footer-copyright {
    font-size: 0.8rem;
    color: var(--color-forest);
    opacity: 0.6;
}
.footer-payments { display: flex; gap: 0.8rem; align-items: center; }
.payment-icon {
    width: 36px;
    height: 24px;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--color-forest);
}

@media (max-width: 1024px) {
    .footer-main { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .footer-main { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 1rem; }
}

/* NEWSLETTER (קשור לפוטר ויכול להופיע בכל עמוד) */
.newsletter-section {
    background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-sage-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-bottom: 6rem;
}
.newsletter-mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.newsletter-title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 2;
}
.newsletter-subtitle {
    opacity: 0.85;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}
.newsletter-form {
    display: flex;
    gap: 0.8rem;
    max-width: 450px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.newsletter-input {
    flex: 1;
    min-width: 220px;
    padding: 0.9rem 1.4rem;
    border: none;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
}
.newsletter-btn {
    padding: 0.9rem 2rem;
    background: var(--color-gold);
    color: var(--color-forest);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font-body);
}
.newsletter-btn:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .newsletter-form { flex-direction: column; }
}

/* FOOTER FALLING ELEMENTS (אפקט פרחים ובועות נופלים) */
.footer-falling {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.footer-element { position: absolute; animation: fallDown linear infinite; }
@keyframes fallDown {
    0% { transform: translateY(-50px) translateX(0) rotate(var(--start-rotate, 0deg)) scale(var(--el-scale, 1)); opacity: 0; }
    8% { opacity: var(--el-opacity, 0.5); }
    50% { transform: translateY(50%) translateX(var(--el-drift, 20px)) rotate(calc(var(--start-rotate) + 90deg)) scale(var(--el-scale, 1)); }
    92% { opacity: var(--el-opacity, 0.5); }
    100% { transform: translateY(110%) translateX(calc(var(--el-drift, 20px) * -1)) rotate(calc(var(--start-rotate) + 180deg)) scale(var(--el-scale, 1)); opacity: 0; }
}
