/* =========================================
   הגדרות בסיס ואיפוס (Reset & Typography)
   ========================================= */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* =========================================
   תפריט ניווט עליון (Navbar)
   ========================================= */
nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr; 
    align-items: center;
    background-color: #ffffff;
    padding: 10px 40px; /* שינוי: הוקטן מ-15 פיקסלים ל-10 פיקסלים */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* הלוגו */
.nav-logo {
    justify-self: start; 
}

.nav-logo img {
    max-height: 70px; /* שינוי: הוקטן מ-100 פיקסלים ל-70 פיקסלים */
    width: auto;
}

/* רשימת הקישורים - ממורכזת בדיוק באמצע */
.nav-links {
    justify-self: center; 
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #b59b74; /* צבע ברונזה/זהב במעבר עכבר */
}

/* כפתור יצירת קשר בתוך התפריט */
.nav-contact-btn {
    background-color: #222;
    color: white !important;
    padding: 8px 20px;
    border-radius: 5px;
    transition: background 0.3s ease !important;
}

.nav-contact-btn:hover {
    background-color: #b59b74 !important;
}
/* =========================================
   אזור פתיחה מרכזי (Hero Section)
   ========================================= */

.hero {
    text-align: center;
    padding: 120px 20px; 
    
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/soha_img/soha.jpeg');
    background-size: cover; 
    
    /* השורה הזו שונתה כדי לשמור על החלק העליון של התמונה! */
    background-position: top center; 
    
    background-repeat: no-repeat; 
}

.hero h1 {
    font-size: 3em;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
    color: #ffffff; /* שינינו ללבן כדי שיבלוט על התמונה */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* הצללה קלה לטקסט */
}

.hero p {
    font-size: 1.3em;
    color: #f0f0f0; /* לבן-אפרפר בהיר */
    margin: 0 0 20px 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-phone {
    display: inline-block;
    font-weight: bold;
    color: #b59b74; /* צבע הברונזה/זהב שלנו נשאר! */
    background-color: rgba(255, 255, 255, 0.9); /* רקע לבן חצי שקוף מאחורי המספר כדי שיבלוט */
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.4em;
    transition: transform 0.3s ease;
}

.hero-phone:hover {
    transform: scale(1.05); /* אפקט גדילה קטן כשעוברים עם העכבר על הטלפון */
}
/* =========================================
   קצת עליי (About Section)
   ========================================= */
.about-section {
    max-width: 800px;
    margin: 60px auto;
    text-align: center;
    padding: 0 10px;
    scroll-margin-top: 100px; /* מונע מהתפריט להסתיר את הכותרת בגלילה */
}

.about-section h2 {
    font-size: 2em;
    color: #222;
    margin-bottom: 20px;
}

.about-section p {
    font-size: 1.1em;
    color: #555;
}

/* =========================================
   גריד סיורים (Tours Categories)
   ========================================= */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1px));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
    justify-content: center;
    scroll-margin-top: 100px;
}

.category-item {
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.category-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-item:hover img {
    transform: scale(1.05); /* אפקט זום עדין במעבר עכבר */
}

.category-title {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    color: #222;
    font-weight: bold;
    font-size: 1.2em;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* =========================================
   טופס יצירת קשר (Contact Section)
   ========================================= */
.contact-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
    scroll-margin-top: 80px;
}

.contact-section h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #222;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, 
.contact-form select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    font-size: 1em;
    font-family: inherit;
}

.contact-form button {
    background-color: #222;
    color: white;
    padding: 15px;
    font-size: 1.2em;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background-color: #b59b74;
}

/* =========================================
   פוטר (Footer)
   ========================================= */
footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

footer a {
    color: #b59b74;
    text-decoration: none;
    margin: 0 10px;
}

/* =========================================
   התאמה למובייל (Mobile Responsive)
   ========================================= */
@media (max-width: 768px) {
    nav {
        display: flex;
        flex-direction: column;
        padding: 15px;
    }
    
    .nav-logo {
        margin-bottom: 15px;
        align-self: center; /* ממקם את הלוגו באמצע במובייל */
    }
    
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-contact-btn {
        margin-top: 10px;
    }
}