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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Nunito", sans-serif;
    background: var(--cream);
    color: var(--text);
}

/* ── NAV ── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--pink);
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: "Pacifico", cursive;
    font-size: 1.5rem;
    color: var(--pink-d);
    text-decoration: none;
}

.nav-links a {
    text-decoration: none;
    font-weight: 700;
    color: var(--text);
    margin-inline-start: 24px;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--lav-d);
}

/* ── HAMBURGER BUTTON ── */
.hamburger-btn {
    background: none;
    border: 2px solid var(--lav-d);
    border-radius: 8px;
    padding: 6px 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 36px;
    transition: background 0.2s;
}

.hamburger-btn:hover {
    background: var(--lavender);
}

.hamburger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--lav-d);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── NAV DRAWER ── */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 200;
    backdrop-filter: blur(2px);
}

.nav-overlay.open {
    display: block;
}

.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(280px, 80vw);
    height: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    z-index: 300;
    display: flex;
    flex-direction: column;
    padding: 24px 28px;
    gap: 8px;
    transform: translateX(110%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 32px var(--shadow);
}

.nav-drawer.open {
    transform: translateX(0);
}

.drawer-close {
    align-self: flex-start;
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text);
    margin-bottom: 16px;
    padding: 0;
}

.drawer-link {
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text);
    padding: 14px 0;
    border-bottom: 1px solid var(--lavender);
    transition: color 0.2s;
}

.drawer-link:hover {
    color: var(--lav-d);
}

/* ── HERO ── */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 64px 48px;
    background:
        radial-gradient(ellipse at 20% 30%, var(--pink) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 70%, var(--lavender) 0%, transparent 55%),
        radial-gradient(ellipse at 60% 10%, var(--mint) 0%, transparent 45%),
        var(--cream);
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 560px;
}

/* ── HERO GALLERY SLIDESHOW ── */
.hero-gallery {
    flex: 0 0 380px;
    position: relative;
    height: 460px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow);
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.hero-dot.active {
    background: #fff;
    transform: scale(1.25);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(0, 0, 0, 0.35);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    backdrop-filter: blur(4px);
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.hero-arrow-prev {
    left: 10px;
}

.hero-arrow-next {
    right: 10px;
}

.hero-arrow svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-badge {
    display: inline-block;
    background: var(--mint);
    color: var(--mint-d);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: "Pacifico", cursive;
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 1.1;
    color: var(--pink-d);
    text-shadow: 3px 3px 0 var(--lavender);
    margin-bottom: 20px;
}

.hero p {
    max-width: 560px;
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 40px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--pink-d);
    color: #fff;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px 32px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(45, 120, 200, 0.4);
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(45, 120, 200, 0.5);
}

/* ── HERO SOCIAL BUTTONS ── */
.hero-social-row {
    display: flex;
    gap: 14px;
    margin-top: 22px;
    justify-content: center;
}

.hero-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero-social-btn svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.hero-social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ── SECTION SHARED ── */
section {
    padding: 80px 24px;
}

.section-inner {
    max-width: 960px;
    margin: 0 auto;
}

.section-title {
    font-family: "Pacifico", cursive;
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: #4a6080;
    margin-bottom: 52px;
}

/* ── ABOUT ── */
#about {
    background: var(--section-alt);
}

#about .section-title {
    color: var(--lav-d);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.palette {
    font-size: 9rem;
    line-height: 1;
    filter: drop-shadow(0 8px 24px var(--shadow));
    animation: float 4s ease-in-out infinite;
}

.about-logo {
    max-width: 260px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 24px var(--shadow));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-16px);
    }
}

/* ── SERVICES ── */
#services {
    background: var(--cream);
}

#services .section-title {
    color: var(--pink-d);
}

.cards {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 20px;
}

.card {
    flex: 0 1 180px;
}

.card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow);
    transition:
        transform 0.25s,
        box-shadow 0.25s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px var(--shadow);
}

.card-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--lav-d);
}

.card p {
    font-size: 0.95rem;
    color: #4a6080;
    line-height: 1.6;
}

/* ── CONTACT ── */
#contact {
    background: var(--section-alt);
}

#contact .section-title {
    color: var(--mint-d);
}

.contact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.contact-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s;
}

.contact-phone:hover {
    color: var(--pink-d);
}

.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
    color: #fff;
}

.social-btn:hover {
    transform: translateY(-3px);
}

.social-btn svg {
    width: 22px;
    height: 22px;
    fill: #fff;
    flex-shrink: 0;
}

.btn-instagram {
    background: linear-gradient(135deg,
            #f09433 0%,
            #e6683c 25%,
            #dc2743 50%,
            #cc2366 75%,
            #bc1888 100%);
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.35);
}

.btn-facebook {
    background: #1877f2;
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.35);
}

.btn-whatsapp {
    background: #25d366;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-tiktok {
    background: #010101;
    box-shadow: 0 6px 20px rgba(1, 1, 1, 0.3);
}

/* ── FOOTER ── */
footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 28px 24px;
    font-size: 0.9rem;
}

footer span {
    color: var(--pink);
}

/* ── RESPONSIVE ── */

/* Tablet and below: stack hero */
@media (max-width: 860px) {
    .hero {
        flex-direction: column;
        gap: 40px;
        padding: 56px 24px;
        min-height: unset;
    }

    .hero-gallery {
        flex: none;
        width: 100%;
        max-width: 420px;
        height: 320px;
    }
}

/* Small tablet / large phone */
@media (max-width: 640px) {
    nav {
        padding: 12px 16px;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    /* Hide text labels in nav buttons, keep only icons */
    .lang-btn span:not(#langLabel) {
        display: none;
    }

    #langLabel {
        display: inline;
    }

    /* Shrink lang/theme/share buttons */
    .lang-btn {
        padding: 5px 9px;
        font-size: 0.8rem;
    }

    section {
        padding: 56px 16px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-visual {
        order: -1;
    }

    .about-logo {
        max-width: 160px;
    }

    .cards {
        flex-wrap: wrap;
    }

    .card {
        flex: 1 1 140px;
    }

    .hero {
        padding: 40px 16px;
        gap: 28px;
    }

    .hero-gallery {
        max-width: 100%;
        height: 260px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .hero-cta {
        font-size: 0.95rem;
        padding: 12px 24px;
    }
}

/* Small phones */
@media (max-width: 400px) {
    .nav-logo {
        font-size: 1rem;
    }

    .lang-btn {
        padding: 4px 7px;
        font-size: 0.75rem;
    }

    /* On very small screens hide the theme label text entirely */
    #themeLabel {
        display: none;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .social-btn {
        padding: 11px 18px;
        font-size: 0.9rem;
    }

    .contact-phone {
        font-size: 1.2rem;
    }

    .card {
        flex: 1 1 100%;
    }
}

/* ── LANG SWITCHER ── */
.lang-switcher,
.theme-switcher {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-btn {
    background: none;
    border: 2px solid var(--lav-d);
    color: var(--lav-d);
    border-radius: 999px;
    padding: 5px 12px;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition:
        background 0.2s,
        color 0.2s;
}

.lang-btn:hover {
    background: var(--lav-d);
    color: #fff;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    background: var(--card-bg);
    border: 2px solid var(--lavender);
    border-radius: 14px;
    box-shadow: 0 8px 32px var(--shadow);
    overflow: hidden;
    min-width: 150px;
    z-index: 200;
}

.lang-switcher.open .lang-dropdown,
.theme-switcher.open .lang-dropdown {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    transition: background 0.15s;
    border: none;
    background: none;
    width: 100%;
    text-align: start;
    font-family: "Nunito", sans-serif;
}

.lang-option:hover {
    background: var(--cream);
}

.lang-option.active {
    color: var(--pink-d);
    background: var(--lavender);
}

/* ── FONT OVERRIDES PER LANGUAGE ── */
/* Hebrew — Heebo */
html[lang="he"] body {
    font-family: "Heebo", sans-serif;
}

html[lang="he"] .section-title {
    font-family: "Heebo", sans-serif;
    font-weight: 700;
}

html[lang="he"] .lang-btn,
html[lang="he"] .lang-option,
html[lang="he"] .hero-cta {
    font-family: "Heebo", sans-serif;
}