/* ORO רישוי בניה – Main Stylesheet */

html { scroll-behavior: smooth; }
body { font-family: 'Alef', sans-serif; color: #314832; }

/* Hero overlay */
.hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(149, 182, 135, 0.34) 0%,
        rgba(176, 206, 161, 0.28) 100%
    );
}


/* Hero headline */
.hero-title {
    font-family: 'Alef', sans-serif;
    font-size: clamp(2.2rem, 5.5vw, 5rem);
    font-weight: 700;
    line-height: 1.15;
    color: #ded8c9;
    letter-spacing: 0.01em;
}

.hero-title .accent {
    color: #c0b59e;
    font-weight: 400;
    display: block;
    font-size: 0.55em;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-title .underline-gold {
    display: inline-block;
    border-bottom: 3px solid #c0b59e;
    padding-bottom: 6px;
}

/* Divider line */
.hero-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(to left, #c0b59e, transparent);
    margin: 1.5rem auto;
}

/* Fade in animations */
.fade-in { animation: fadeIn 1.6s ease-in-out both; }
.fade-in-slow { animation: fadeIn 2.4s ease-in-out both; animation-delay: 0.4s; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Nav */
.nav-scrolled {
    background-color: rgba(255, 252, 248, 0.97);
    box-shadow: 0 2px 20px rgba(49, 72, 50, 0.1);
    padding-top: 0;
    padding-bottom: 0;
}
.nav-scrolled .container {
    min-height: 64px;
}
.nav-logo-slot {
    display: flex;
    align-items: stretch;
    justify-content: center;
    height: 100%;
    width: 72px;
}
.nav-logo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
}
.nav-logo[hidden] {
    display: none !important;
}
.nav-logo-image {
    height: 100%;
    width: auto;
    max-width: none;
}
.nav-scrolled .nav-link  { color: #314832; }
.nav-scrolled .logo-text { color: #314832; }
#logo-strip.logo-strip-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Projects carousel – mobile touch */
#projects-scroll {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}
#projects-scroll > div {
    scroll-snap-align: center;
}

/* Modal – full screen on mobile */
@media (max-width: 768px) {
    #proj-modal > div {
        max-width: 100% !important;
        border-radius: 0 !important;
        height: 100vh;
        overflow-y: auto;
    }
}

/* Touch targets */
button, a[href] {
    min-height: 44px;
    min-width: 44px;
}

/* Honeypot field */
.ohnohoney {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}
