/* צבעים וכללים כלליים */
:root {
    --bg: #050b1a;
    --bg-alt: #0c1324;
    --card: #111a30;
    --accent: #d4a449;
    --accent-soft: rgba(212, 164, 73, 0.1);
    --text: #f7f7ff;
    --muted: #9aa3c2;
    --border: rgba(255, 255, 255, 0.1);
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Heebo', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top, #102042 0, #050b1a 45%, #02040a 100%);
    color: var(--text);
    direction: rtl;
    text-align: right;
}

/* קונטיינר */

.container {
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

/* כפתורים */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #f1c977);
    color: #1e222f;
    box-shadow: 0 14px 30px rgba(212, 164, 73, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(212, 164, 73, 0.55);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text);
    background: transparent;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.btn.full-width {
    width: 100%;
}

/* כותרת עליונה */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: linear-gradient(to bottom, rgba(5, 11, 26, 0.95), rgba(5, 11, 26, 0.85), rgba(5, 11, 26, 0));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-logo {
    height: 118px;
    width: auto;
    filter: drop-shadow(0 0 18px rgba(0, 0, 0, 0.65));
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    font-size: 0.95rem;
}

.main-nav a {
    color: var(--muted);
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), #f1c977);
    transition: width 0.2s ease;
}

.main-nav a:hover {
    color: var(--text);
}

.main-nav a:hover::after {
    width: 100%;
}

/* תפריט מובייל */

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
}

/* Hero */

.hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    padding-block: 4.5rem 4rem;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 10%, rgba(212,164,73,0.16), transparent 55%),
        radial-gradient(circle at 85% 80%, rgba(51, 181, 255, 0.23), transparent 55%);
    opacity: 0.95;
    pointer-events: none;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 12% 8%;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
    opacity: 0.45;
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 640px;
    z-index: 1;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(3, 9, 22, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--muted);
    backdrop-filter: blur(8px);
}

.hero-label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #55ff9b;
    box-shadow: 0 0 12px rgba(85, 255, 155, 0.7);
}

.hero h1 {
    margin-top: 1.4rem;
    margin-bottom: 0.75rem;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.2;
}

.hero-sub {
    margin: 0;
    color: var(--muted);
    max-width: 32rem;
    font-size: 0.98rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.9rem;
}

/* סקשנים */

.section {
    padding-block: 4.5rem;
}

.section-alt {
    background: radial-gradient(circle at top, #111a30 0, #050b1a 70%);
}

.section-title {
    font-size: 1.9rem;
    margin-bottom: 0.5rem;
}

.section-sub {
    color: var(--muted);
    max-width: 32rem;
    margin-top: 0.4rem;
}

/* לייאאוט שתי עמודות */

.two-cols {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.stat-card {
    padding: 1.2rem 1.1rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(15, 26, 57, 0.9), rgba(6, 12, 29, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--muted);
}

/* כרטיסי שירותים */

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 2rem;
}

.service-card {
    padding: 1.4rem 1.3rem;
    border-radius: 20px;
    background: radial-gradient(circle at top, rgba(212,164,73,0.14), rgba(8, 13, 29, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
    min-height: 180px;
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 0.55rem;
    font-size: 1.05rem;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

/* גלריה */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #050b1a;
    text-decoration: none;
    color: inherit;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.gallery-label {
    position: absolute;
    inset-inline: 0.8rem;
    bottom: 0.75rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(3, 8, 21, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    font-size: 0.82rem;
    text-align: center;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 45%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
    opacity: 0.9;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* צור קשר */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 2.25rem;
    align-items: start;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
}

.contact-list li {
    margin-bottom: 0.45rem;
    font-size: 0.95rem;
}

.contact-list .label {
    color: var(--muted);
    margin-left: 0.2rem;
}

.contact-list a {
    color: var(--text);
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

.contact-form {
    padding: 1.6rem 1.4rem;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(12, 19, 40, 0.96), rgba(5, 11, 26, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.8);
}

.field {
    margin-bottom: 0.9rem;
}

.field label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.field input,
.field textarea {
    width: 100%;
    padding: 0.7rem 0.8rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(5, 11, 26, 0.8);
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(212, 164, 73, 0.65);
    background: rgba(8, 12, 31, 0.95);
}

.form-note {
    margin-top: 0.6rem;
    font-size: 0.75rem;
    color: var(--muted);
}

/* פוטר */

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-block: 1.25rem 1.4rem;
    background: #040814;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--muted);
}

/* אנימציות גלילה */

.animate {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ריספונסיביות */

@media (max-width: 900px) {
    .header-inner {
        height: 72px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        inset-inline: 0;
        top: 72px;
        padding: 0.8rem 1.4rem 1.2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        background: rgba(5, 11, 26, 0.97);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.22s ease, opacity 0.22s ease;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .hero {
        padding-top: 4.2rem;
        padding-bottom: 3.4rem;
        min-height: 78vh;
    }

    .hero::before {
        inset: 16% 6%;
        border-radius: 26px;
    }

    .two-cols,
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .card-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 4rem;
        padding-bottom: 3rem;
        min-height: 72vh;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .card-grid,
    .gallery-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .brand-logo {
        height: 44px;
    }
}
