/*
Theme Name: Naturo AI - Science Based Nature
Author: Naturo Team
Version: 1.0
Text Domain: naturo
*/

:root {
    --naturo-green: #81B52B;
    --naturo-blue: #1B4E9B;
    --naturo-dark: #0f172a;
    --naturo-light: #f8fafc;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
    direction: rtl;
    text-align: right;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: var(--naturo-light);
    overflow-x: hidden;
}

/* Header & Nav */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1200px;
    margin: auto;
}

nav ul { list-style: none; display: flex; gap: 25px; margin: 0; }
nav a { text-decoration: none; color: var(--naturo-dark); font-weight: 600; transition: var(--transition); }
nav a:hover { color: var(--naturo-green); }

/* Hero Section */
.hero {
    display: flex;
    flex-direction: row-reverse;
    padding: 96px 5% 100px;
    text-align: center;
}

.hero h1 { font-size: 3.5rem;  margin-bottom: 20px; opacity: 0; transform: translateY(30px); }
.hero p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 30px; line-height: 1.8; }

.btn-ai {
    background: linear-gradient(135deg, var(--naturo-green), var(--naturo-blue));
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(27, 78, 155, 0.2);
    transition: var(--transition);
}

.btn-ai:hover { transform: scale(1.05) rotate(-1deg); box-shadow: 0 15px 30px rgba(27, 78, 155, 0.3); }

/* Grid Layouts */
.hero .container { max-width: 1200px; margin: auto; padding: 50px 5%; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-top: 4px solid var(--naturo-green);
}

.card:hover { transform: translateY(-10px); }

/* Animations */
.reveal { opacity: 1 !important; transform: translateY(0) !important; transition: 1s ease-out; }
/* עיצוב ה-Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    background: #fff; /* שקיפות עדינה */
    backdrop-filter: blur(15px); /* אפקט טשטוש זכוכית */
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(129, 181, 43, 0.2); /* פס דק בצבע ירוק-נאטורו */
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

/* לוגו */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {

     height: 100px;
    width: auto;
    border: none;
    box-sizing: unset;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}
.logo-text {
    font-family: 'Heebo', sans-serif;
    font-weight: 900;
    font-size: 24px;
    color: #1B4E9B; /* הכחול של הלוגו */
    margin-right: 10px;
}

/* תפריט */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-menu li a {
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    right: 0;
    background-color: #81B52B; /* הירוק של הלוגו */
    transition: width 0.3s ease;
}

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

.nav-menu li a:hover {
    color: #81B52B;
}

/* כפתור ה-AI ב-Header */
.btn-header-ai {
    background: linear-gradient(135deg, #81B52B 0%, #1B4E9B 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(27, 78, 155, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-header-ai:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 78, 155, 0.3);
}
/* Layouts */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; text-align: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }

.lab-grid {
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    justify-content: space-evenly;
}

/* Section Styles */
.stats-bar { background: var(--naturo-blue); color: white; padding: 0;  }
.stat-num { font-size: 3rem; font-weight: 900; display: inline-block; }
.stat-label { display: block; font-size: 1.1rem; opacity: 0.8; }

.lab-section { padding: 100px 0; }
.section-tag { color: var(--naturo-green); text-transform: uppercase; letter-spacing: 2px; font-weight: bold; }

/* AI Scanner Visual */
.ai-scanner-box {
    position: relative;
    padding: 0;
    background: transparent;
    border-radius: 30px;
    box-shadow: 0 30px 100px rgba(0,0,0,0.15);
    overflow: hidden;
    height: 690px;
    width: 509px;
}

/* קו הסריקה הזוהר והמבריק - Naturo Laser */
.scan-line {
    position: absolute;
    width: 100%;
    /* הגבהנו את הקו קצת כדי שהזוהר ייראה טוב יותר */
    height: 8px; 
    
    /* 1. רקע מעבר צבעים: לבן בוהק במרכז, טורקיז בצדדים */
    background: linear-gradient(to right, 
        rgba(27, 78, 155, 0) 0%,    /* כחול שקוף בצד */
        rgba(0, 255, 255, 0.8) 15%, /* טורקיז חזק */
        rgba(255, 255, 255, 1) 50%,  /* לבן בוהק במרכז */
        rgba(0, 255, 255, 0.8) 85%, /* טורקיז חזק */
        rgba(27, 78, 155, 0) 100%   /* כחול שקוף בצד השני */
    );
    
    /* 2. אפקט הזוהר הראשי - Box Shadow מרובה שכבות */
    box-shadow: 
        0 0 10px rgba(0, 255, 255, 0.7), /* זוהר פנימי טורקיז */
        0 0 20px rgba(0, 255, 255, 0.5), /* זוהר בינוני טורקיז */
        0 0 35px rgba(27, 78, 155, 0.3), /* זוהר חיצוני כחול */
        0 0 5px rgba(255, 255, 255, 0.8) inset; /* הבהק פנימי לבן */
        
    /* מיקום ואנימציה (נשארים אותו דבר) */
    top: 0;
    left: 0;
    animation: scan 3s infinite linear;
    z-index: 5; /* מוודא שהוא מעל התמונה */
}
/* מבנה ה-Scanner Box */


/* קו הסריקה המואר */



















































































@keyframes scan {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* שכבות התמונה - מיקום אחת על השנייה */
.image-layers {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-layers .scan-layer {
    position: absolute;
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease; /* מעבר חלק */
}

/* בסיס - הלוגו הנקי */
.layer-base {
    opacity: 1;
    z-index: 1;
}

/* תוצאה - הלוגו עם המשולש - מופיע רק בסנכרון עם הסורק */
.layer-result {
    opacity: 0; /* מוסתר בהתחלה */
    z-index: 2; /* מעל הבסיס */
    /* אנימציה מסונכרנת עם ה-scan */
    animation: inflammation-reveal 4s infinite linear; 
}

/* המפתח לאפקט - אנימציית סינכרון */
@keyframes inflammation-reveal {
    /* 0% עד 50%: הסורק יורד בחלק העליון - לא רואים את התוצאה */
    0%, 50% { opacity: 0; }
    
    /* 55% עד 75%: הסורק הגיע לאזור הבטן/משולש - התוצאה מופיעה (Glow) */
    55% { opacity: 1; filter: drop-shadow(0 0 10px #ff1f1f); } /* מוסיף Glow אדום ל"wow" */
    
    /* 75% עד 100%: הסורק ממשיך לרדת - התוצאה נשארת או נעלמת לאט */
    75%, 100% { opacity: 0; } 
}
@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

/* Animations Logic */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-80px); }
.reveal-right { transform: translateX(80px); }

.active {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #1B4E9B 0%, #0a1f3d 100%);
    color: white;
    padding: 80px;
    border-radius: 40px;
    text-align: center;
    margin: 80px auto;
}

.compact-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 30px auto 0;
}

.compact-form input {
    flex: 1;
    padding: 15px 25px;
    border-radius: 50px;
    border: none;
}




/* מובייל */
@media (max-width: 768px) {
    .main-navigation { display: none; } /* במציאות כאן תצטרך JS לפתיחת התפריט */
    .logo-text { display: none; }
}




/*GALLERY*/
/* Story Timeline Section */
.story-timeline-section {
    padding: 100px 0;
    background: radial-gradient(circle at top right, #eefceb, #ffffff);
    overflow: hidden; /* מונע סקרול-בר אופקי של הדף */
}

/* מיכל הגלילה האופקית */
.timeline-scroll-container {
    position: relative;
    width: 100%;
    max-width: 100%;
		margin: 30px auto;
    overflow-x: auto; /* מאפשר סקרול אופקי עם העכבר/אצבע */
    scroll-behavior: smooth; /* גלילה חלקה */
    -webkit-overflow-scrolling: touch; /* גלילה חלקה ב-iOS */
}

/* הפס עליו נעים האלמנטים */
.timeline-track {
    display: flex;
    width: max-content; /* הרוחב הכולל של כל הפריטים */
    padding: 0;
    gap: 10px; /* רווח בין פריטים */
}

/* כל פריט בציר הזמן */
.timeline-item {
    width: 248px; /* רוחב קבוע לכל פריט */
    flex-shrink: 0; /* מונע מהם להתכווץ */
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    opacity: 0.6; /* כבוי בהתחלה */
    transform: scale(0.9); /* מוקטן בהתחלה */
}

/* פריט פעיל (המרכזי) */
.timeline-item.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 15px 30px rgba(129, 181, 43, 0.1);
    border-top: 4px solid var(--naturo-green);
}

/* עיצוב הויזואלי */
.step-visual {
    width: 200px;
   
    margin: 0 auto 20px;
  
    overflow: hidden;
   
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
   
}

.step-visual img {
    height: 500px;
}

/* אפקט ויזואלי לבעיה - Glitch */
.glitch-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
   
    animation: glitch 2s infinite;
    opacity: 0.5;
}

@keyframes glitch {
    0% { transform: translate(0,0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
    100% { transform: translate(0,0); }
}

/* אפקט ויזואלי ל-AI סריקה */
.ai-scanner-sim {
    position: relative; width: 100%; height: 100%;
}

.ai-scanner-sim .scan-line {
    position: absolute; width: 100%; height: 2px;
    background: var(--naturo-green);
    top: 0; left: 0;
    box-shadow: 0 0 10px var(--naturo-green);
    animation: scan-sim 2s infinite linear;
}

@keyframes scan-sim {
    0% { top: 0; }
    100% { top: 100%; }
}

/* אפקט ויזואלי לפתרון - Glow */
.glow-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
   
    animation: glow 3s infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* חצי ניווט */
.timeline-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--naturo-blue);
    transition: var(--transition);
    z-index: 10;
}

.timeline-nav:hover { background: var(--naturo-light); color: var(--naturo-green); }
.timeline-nav.prev { right: 10px; }
.timeline-nav.next { left: 10px; }
