/**
 * Kosher Kingdom – Hero / landing layout (JosieFarms-style)
 * Use with Elementor or add HTML that uses these classes.
 */

/* ----- Top bar (dark green) ----- */
.kk-hero-topbar {
    background: #1e4620;
    color: #fff;
    padding: 10px 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 14px;
}

.kk-hero-topbar a {
    color: #fff;
    text-decoration: none;
    opacity: 0.95;
}

.kk-hero-topbar a:hover {
    opacity: 1;
}

.kk-hero-topbar-social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.kk-hero-topbar-contact {
    display: flex;
    align-items: center;
    gap: 24px;
}

.kk-hero-topbar-contact span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ----- Main header (white nav) ----- */
.kk-hero-header {
    background: #fff;
    padding: 16px 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.kk-hero-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.5rem;
}

.kk-hero-logo img {
    height: 42px;
    width: auto;
}

.kk-hero-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.kk-hero-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}

.kk-hero-nav a:hover {
    color: #1e4620;
}

/* ----- Yellow CTA button (header + hero) ----- */
.kk-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e8b923;
    color: #1a1a1a;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.kk-hero-btn:hover {
    background: #d4a61c;
    color: #1a1a1a;
    transform: translateY(-1px);
}

/* ----- Hero banner (full-width image + overlay) ----- */
.kk-hero-banner {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-color: #2d5a2f;
}

.kk-hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.75) 45%, transparent 70%);
    pointer-events: none;
}

.kk-hero-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
    padding: 48px 24px 48px 5%;
}

.kk-hero-prehead {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4a7c4e;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.kk-hero-headline {
    color: #1a2e1b;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 16px 0;
}

.kk-hero-text {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.kk-hero-content .kk-hero-btn {
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .kk-hero-topbar {
        flex-direction: column;
        text-align: center;
    }
    .kk-hero-nav {
        display: none; /* Use hamburger in theme if needed */
    }
    .kk-hero-banner {
        min-height: 420px;
    }
    .kk-hero-banner::before {
        background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
    }
    .kk-hero-content {
        padding: 32px 20px;
    }
}
