@import url('https://fonts.googleapis.com/css2?family=Open+Sans+Hebrew&display=swap');

:root {
    --bg-main: #151c24;
    --bg-section: #1a212b;
    --bg-card: #263845;
    --text-main: #ffffff;
    --text-muted: #cccccc;
    --accent: #00d9ff;
    --accent-2: #c32b9d;
    --focus: #ffcc00;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans Hebrew', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    direction: rtl;
    text-align: right;
    margin: 0;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a,
button,
input,
select,
textarea {
    font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

/* visually hidden */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* skip link */
.skip-link {
    position: absolute;
    top: -60px;
    right: 12px;
    z-index: 10050;
    background: #000;
    color: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 16px;
}

.skip-link:focus {
    top: 12px;
}

/* hero */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url('/photo/back3.webp') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #1a212b 0%, rgba(21, 28, 36, 0.6) 40%, rgba(21, 28, 36, 0) 100%);
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 40px 20px;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
    color: #ffffff;
    text-shadow: -2px -2px #00BCD4, 2px 2px #c32b9d;
    letter-spacing: 1px;
}

.hero p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 30px;
    text-align: center;
}

.hero-button {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(45deg, #00BCD4, #c32b9d);
    color: #fff;
    font-size: 22px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
    margin: 0 auto;
    text-align: center;
}

.hero-button:hover {
    background: linear-gradient(45deg, #00a5c1, #b2228c);
    transform: scale(1.05);
    box-shadow: 7px 7px 20px rgba(0, 0, 0, 0.5);
}

/* quest value */
.quest-value {
    background: #1a212b;
    color: #ffffff;
    text-align: center;
    padding: 50px 20px;
}

.quest-value h2 {
    font-size: 32px;
    color: #00BCD4;
    margin-bottom: 30px;
}

.quest-value p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 15px auto;
    line-height: 1.6;
}

/* price section */
.quest-price {
    background: #151c24;
    color: #ffffff;
    text-align: center;
    padding: 50px 20px 100px;
}

.quest-price h2 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 18px;
    font-weight: bold;
}

.alpha-price-note {
    margin: 0 0 34px 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.price-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
}

.price-box {
    background: transparent;
    padding: 20px 10px;
    flex: 1;
    text-align: center;
}

.price-box p {
    font-size: 20px;
    margin: 5px 0;
}

.price {
    font-size: 30px !important;
    font-weight: bold;
    color: var(--accent);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.old-price {
    display: inline-block;
    color: #8f98a3;
    text-decoration: line-through;
    font-size: 22px;
    margin: 0;
    vertical-align: middle;
    line-height: 1;
}

.new-price {
    display: inline-block;
    color: #f490f3;
    font-size: 36px;
    font-weight: bold;
    vertical-align: middle;
    line-height: 1;
}

.separator {
    width: 3px;
    height: 106px;
    background: var(--accent);
    flex: 0 0 3px;
}

.map-subtitle {
    font-size: 18px;
    margin: 34px auto 0;
    color: #d6d6d6;
    max-width: 980px;
    line-height: 1.8;
}

.alpha-strip {
    font-size: 14px;
    opacity: 0.75;
}

.alpha-strip strong {
    color: #ffffff;
}

/* CTA */
.cta {
    position: relative;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: url('/photo/back5.webp') no-repeat center top;
    background-size: cover;
    z-index: 0;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.cta h2 {
    font-size: 36px;
    font-weight: bold;
    color: #00BCD4;
    margin-bottom: 20px;
}

.cta p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* FAQ */
.faq {
    background: #1a212b;
    padding: 60px 20px;
    text-align: center;
}

.faq h2 {
    font-size: 32px;
    color: #00BCD4;
    margin-bottom: 30px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #263845;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.faq-item:hover {
    background: #2e3d50;
    transform: scale(1.02);
}

.faq-item.active {
    background: #2e3d50;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 22px;
    text-align: right;
    cursor: pointer;
    padding: 0;
    margin: 0;
    line-height: 1.4;
}

.faq-question::after {
    content: "+";
    float: left;
    font-size: 28px;
    line-height: 1;
    color: var(--accent);
    margin-right: 10px;
}

.faq-question[aria-expanded="true"]::after {
    content: "−";
}

.faq-answer {
    margin-top: 12px;
}

.faq-answer p {
    font-size: 18px;
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

.faq-answer[hidden] {
    display: none;
}

/* map */
.map-section {
    width: 100%;
    background: #1a212b;
    padding: 0;
    margin: 0;
}

.map-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.map-container iframe {
    width: 100vw;
    height: 450px;
    border: none;
    display: block;
}

/* footer */
footer {
    text-align: center;
    padding: 24px 20px;
    background: #263845;
}

footer p {
    margin: 8px 0;
    font-size: 17px;
    line-height: 1.6;
}

footer a {
    color: #ffffff;
    text-decoration: underline;
}

/* legacy compatibility if used elsewhere */
.info-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 20px;
}

.info-block {
    background: linear-gradient(178deg, #28323e, #263845);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    width: 30%;
    min-width: 200px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4);
}

.info-block h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #00ffff;
}

.register {
    text-align: center;
    padding: 50px 20px;
}

.register form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.register input {
    font-family: 'Open Sans Hebrew', sans-serif;
    padding: 12px;
    border: 2px solid;
    border-image-source: linear-gradient(45deg, #8d2fb5, #c32b9d);
    border-image-slice: 1;
    background-color: #1a212b;
    color: #fff;
    font-size: 18px;
    text-align: center;
    border-radius: 5px;
}

.login-button {
    font-family: 'Open Sans Hebrew', sans-serif;
    background: linear-gradient(178deg, #28323e, #263845);
    color: #fff;
    border: 3px solid;
    border-image-source: linear-gradient(45deg, #8d2fb5, #c32b9d);
    border-image-slice: 1;
    padding: 12px 25px;
    font-size: 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4);
}

.login-button:hover {
    background: #444;
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* mobile */
@media screen and (max-width: 768px) {
    .hero {
        min-height: 50vh;
        overflow: hidden;
    }

    .hero-content {
        padding: 10px;
    }

    .hero h1 {
        font-size: 22px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-button {
        font-size: 18px;
        padding: 12px 24px;
        width: auto;
    }

    .quest-value {
        padding: 30px 15px;
    }

    .quest-value h2 {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .quest-value p {
        font-size: 16px;
    }

    .quest-price {
        padding: 35px 15px 70px;
    }

    .quest-price h2 {
        font-size: 22px;
    }

    .alpha-price-note {
        font-size: 16px;
        margin-bottom: 22px;
    }

    .price-container {
        flex-direction: column;
        gap: 10px;
    }

    .separator {
        display: none;
    }

    .price-box {
        width: 100%;
        padding: 12px 10px;
    }

    .price-box p {
        font-size: 16px;
    }

    .price {
        font-size: 24px !important;
        gap: 8px;
    }

    .old-price {
        font-size: 18px;
    }

    .new-price {
        font-size: 28px;
    }

    .map-subtitle,
    .alpha-strip {
        font-size: 16px;
        line-height: 1.6;
    }

    .cta {
        min-height: auto;
        padding: 40px 15px;
    }

    .cta h2 {
        font-size: 22px;
        margin-top: 0;
    }

    .cta p {
        font-size: 16px;
    }

    .faq {
        padding: 40px 15px;
    }

    .faq h2 {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .faq-item {
        padding: 12px;
        margin-bottom: 10px;
    }

    .faq-question {
        font-size: 16px;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .faq-answer p {
        font-size: 14px;
        line-height: 1.4;
    }

    footer p {
        font-size: 15px;
    }
}