/* ==========================================
   Root Variables & Base Reset
   ========================================== */
:root {
    --bg-primary: #0b0b0c;
    --bg-secondary: #121214;
    --card-bg: #1a1a1e;
    --text-primary: #f2edf4;
    --text-muted: #9f9da4;
    --accent-gold: #c5a059;
    --accent-gold-rgb: 197, 160, 89;
    --accent-hover: #e0bc7b;
    --toast-bg: #222227;
    --navbar-height: 80px;
    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold) var(--bg-primary);
}

/* הגדרת תמונת הבאנר כרקע קבוע לכל אורך העמוד */
body {
    background-image: linear-gradient(rgba(11, 11, 12, 0.9), rgba(11, 11, 12, 0.94)), url('images/banner.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 3px;
}

h1, h2, h3, .logo-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Custom Animated Cursor (Disabled on Mobile) */
.custom-cursor, .custom-cursor-dot {
    width: 32px;
    height: 32px;
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    mix-blend-mode: difference;
}
.custom-cursor-dot {
    width: 4px;
    height: 4px;
    background-color: var(--accent-gold);
}

@media (max-width: 768px) {
    .custom-cursor, .custom-cursor-dot {
        display: none;
    }
}

/* ==========================================
   Utility Layouts
   ========================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.img-responsive {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ==========================================
   Navigation Bar (Glassmorphism)
   ========================================== */
.navbar {
    height: var(--navbar-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(11, 11, 12, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background-color: rgba(11, 11, 12, 0.95);
    height: 70px;
}

.nav-container {
    max-width: 1400px;
    width: 90%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* עדכון גודל הלוגו למידות מוגדלות */
.logo {
    display: flex;
    align-items: center;
    gap: 14px; /* הגדלנו מעט גם את המרווח בין הלוגו לשם */
}

.logo-img {
    height: 58px; /* הגדלנו מ-44px ל-58px */
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

/* גודל הלוגו בזמן גלילת הדף למטה (כדי שיתאים לבר הניווט הצר) */
.navbar.scrolled .logo-img {
    height: 48px; /* הגדלנו מ-38px ל-48px */
}

.logo-name {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ==========================================
   Responsive Logo Adjustment for Mobile
   ========================================== */

/* שאילתת מדיה למסכים קטנים מ-768 פיקסלים */
@media (max-width: 768px) {
    .logo {
        gap: 8px; /* צמצום המרווח בין הלוגו לטקסט בנייד */
    }

    .logo-img {
        height: 40px !important; /* גובה מותאם ומהודק לנייד המונע גלישה */
    }

    .logo-name {
        font-size: 0.95rem; /* הקטנת השם הראשי של לידיה בנייד */
    }

    .logo-sub {
        font-size: 0.6rem; /* הקטנת תת-הכותרת */
        letter-spacing: 0.02em; /* כיווץ קל של המרווח בין האותיות להתאמה למסך צר */
    }
}

/* התאמה מיוחדת למכשירים צרים במיוחד (כמו iPhone SE - מתחת ל-380 פיקסלים) */
@media (max-width: 380px) {
    .logo-img {
        height: 50px !important;
    }
    .logo-name {
        font-size: 0.85rem;
    }
    .logo-sub {
        font-size: 0.65rem; /* הסתרת תת-הכותרת במסכים צרים במיוחד כדי למנוע דחיסה של התפריט */
    }
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-item {
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.nav-item:hover {
    color: var(--accent-gold);
}

.nav-item:hover::after {
    width: 100%;
}

/* ==========================================
   Dropdown Language Switcher
   ========================================== */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.lang-dropdown-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.translate-icon {
    width: 15px;
    height: 15px;
    stroke: currentColor;
}

/* תוכן הרשימה הנפתחת */
.lang-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background-color: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    min-width: 150px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
    z-index: 1100;
    overflow: visible; /* מאפשר ל-before לבלוט החוצה */
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* הגשר השקוף שמחבר בין הכפתור לטבלה ומקל על מעבר העכבר */
.lang-dropdown-content::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
    background: transparent;
}

/* במחשבים - פתיחה עדינה במעבר עכבר */
@media (min-width: 769px) {
    .lang-dropdown:hover .lang-dropdown-content {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
}

/* מצב פעיל שיכול להתבצע על ידי לחיצה (למשל במובייל) */
.lang-dropdown-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.lang-opt {
    display: block;
    color: var(--text-muted);
    padding: 10px 16px;
    font-size: 0.85rem;
    text-align: left;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.lang-opt:last-child {
    border-bottom: none;
}

.lang-opt:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--accent-gold);
}

.lang-opt.active {
    color: var(--accent-gold);
    font-weight: 600;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-secondary);
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        text-align: center;
    }
    .nav-links.active {
        display: flex;
    }
}

/* ==========================================
   Hero Section & Keyframe Animations
   ========================================== */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: zoomBackground 15s ease-out forwards;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary, .btn-secondary {
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.scroll-down-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
    pointer-events: auto; /* מאפשר לחיצה */
    display: inline-block;
}

.scroll-down-indicator span {
    display: block;
    width: 24px;
    height: 24px;
    border-left: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(-45deg);
    animation: bounceIndicator 2s infinite;
}

@keyframes zoomBackground {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.0); }
}

@keyframes bounceIndicator {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(-45deg); }
    40% { transform: translateY(-10px) rotate(-45deg); }
    60% { transform: translateY(-5px) rotate(-45deg); }
}

/* Text reveal animations on load */
.fade-up-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease-out forwards;
}

.fade-up-text-delayed {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease-out 0.4s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   Scroll-linked Reveal Animations
   ========================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   About Section (Smart Mobile Separation - Enlarged Avatar)
   ========================================== */
.about-section {
    background-color: rgba(18, 18, 20, 0.85);
    backdrop-filter: blur(5px);
}

.about-images-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    width: 100%;
}

.image-wrapper {
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: var(--transition-smooth);
    overflow: hidden;
}

/* עיגול ראשי בדסקטופ (גודל קבוע ומעוצב היטב) */
.main-img {
    width: 85%;
    max-width: 340px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
}

.main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* אפקט ריחוף עדין לעיגול במחשב */
.about-images-container:hover .main-img {
    transform: scale(1.02) rotate(1deg);
}

/* הסתרת אווטאר הנייד במצב דסקטופ */
.about-avatar-wrapper {
    display: none;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-weight: 300;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.credentials {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.cred-item {
    font-size: 0.85rem;
    color: var(--text-primary);
}

.cred-item strong {
    color: var(--accent-gold);
    text-transform: uppercase;
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

/* ==========================================
   Responsive About Section for Tablets & Mobile
   ========================================== */

/* התאמה לטאבלטים - שומר על מבנה מרווח */
@media (max-width: 992px) {
    .about-images-container {
        height: 350px;
    }
}

/* התאמה חכמה לנייד - תמונה מוגדלת לצד הכותרת והמבוא, ושאר הפסקאות רחבות וממורכזות מתחתיהם */
@media (max-width: 768px) {
    .about-section .grid-2 {
        display: block; /* ביטול הגריד הצידי הראשי בנייד להחזרת הרוחב המלא לפסקאות */
    }

    /* הסתרת אזור התמונה הצידי של המחשב */
    .about-images-container {
        display: none;
    }

    /* פריסת מבוא אופקית (אווטאר לצד כותרת + פסקת פתיחה) */
    .about-header-container {
        display: flex;
        align-items: center; /* ממרכז אנכית את התמונה לצד בלוק הכותרת והמבוא */
        justify-content: center;
        gap: 20px; /* רווח נעים בין התמונה לטקסט */
        margin-bottom: 24px;
    }

    /* הצגת האווטאר המוגדל של לידיה בנייד */
    .about-avatar-wrapper {
        display: block;
        flex-shrink: 0; /* מונע מהתמונה להתכווץ */
    }

    /* הגדלנו משמעותית את האווטאר העגול מ-75px ל-120px לנוכחות מרשימה */
    .about-avatar-mobile {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid var(--accent-gold);
        box-shadow: 0 8px 20px rgba(0,0,0,0.35);
        display: block;
    }

    /* יישור טקסט המבוא (הכותרת, השם ופסקת המבוא) לצד האווטאר */
    .about-title-wrapper {
        text-align: left;
        flex: 1; /* תופס את שאר השטח הנותר אופקית */
    }

    /* יישור כל שאר פסקאות הביוגרפיה למרכז בצורה רחבה, נקייה וקריאה מתחת לבלוק המבוא */
    .about-text {
        text-align: center;
    }

    .about-text h2 {
        font-size: 1.3rem; /* התאמה עדינה של גודל הפונט ליד אווטאר של 120px */
        line-height: 1.2;
        margin-bottom: 6px;
    }

    .lead-text {
        font-size: 0.82rem; /* גודל מותאם לפסקת הפתיחה לצד האווטאר */
        margin-top: 4px;
        margin-bottom: 0;
        line-height: 1.4;
        color: var(--accent-gold); /* שינוי גוון קל להדגשת פסקת המבוא */
    }

    .about-text p {
        font-size: 0.85rem;
        margin-bottom: 12px;
        line-height: 1.55;
    }

    .credentials {
        margin-top: 20px;
        padding-top: 15px;
        gap: 16px;
        justify-content: center; /* ממרכז את פרטי המדריך */
    }

    .cred-item {
        font-size: 0.78rem;
    }

    .cred-item strong {
        font-size: 0.68rem;
    }
}
/* ==========================================
   Tours Grid Section
   ========================================== */
.tours-section {
    background-color: transparent;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.tour-card {
    background-color: var(--card-bg);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.tour-img-container {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.tour-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.tour-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 11, 12, 0.8), transparent);
}

.tour-content {
    padding: 28px;
}

.tour-content h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.tour-content p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 24px;
    min-height: 100px;
}

.tour-link {
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    border-color: rgba(197, 160, 89, 0.15);
}

.tour-card:hover .tour-img {
    transform: scale(1.08);
}

.tour-card:hover .tour-link {
    color: var(--text-primary);
}

/* ==========================================
   Article Feature Section & Modal
   ========================================== */
.article-section {
    background-image: linear-gradient(rgba(11, 11, 12, 0.95), rgba(11, 11, 12, 0.95)), url('images/Majdanek.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.article-wrapper {
    max-width: 850px;
    margin: 0 auto;
    padding: 60px 40px;
    background-color: var(--card-bg);
    border: 1px solid rgba(197, 160, 89, 0.1);
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.article-tag {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
}

.article-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.article-wrapper h2 {
    font-size: clamp(1.8rem, 4vw, 2.3rem);
    line-height: 1.2;
    margin-bottom: 20px;
}

.article-preview {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 30px;
}

.btn-text {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-gold);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-text:hover {
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 11, 12, 0.9);
    backdrop-filter: blur(8px);
    z-index: 2000;
    overflow-y: auto;
    padding: 40px 10px;
}

.modal-content {
    background-color: var(--bg-secondary);
    max-width: 750px;
    margin: 40px auto;
    padding: 50px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.8);
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s;
}

.modal.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-modal:hover {
    color: var(--text-primary);
}

.author {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--accent-gold);
    margin: 8px 0 30px 0;
}

.modal-body p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.modal-body blockquote {
    border-left: 2px solid var(--accent-gold);
    padding-left: 20px;
    font-style: italic;
    color: var(--text-primary);
    margin: 30px 0;
}

.modal-body h3 {
    font-size: 1.25rem;
    margin: 30px 0 15px 0;
    color: var(--text-primary);
}

.modal-body ul {
    list-style-type: square;
    padding-left: 20px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.modal-body li {
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
    }
}

/* ==========================================
   Photo Gallery Section
   ========================================== */
.gallery-section {
    background-color: rgba(18, 18, 20, 0.85);
    backdrop-filter: blur(5px);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.filter-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 8px 20px;
    font-size: 0.85rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.gallery-img-wrapper {
    width: 100%;
    height: 100%;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 11, 12, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-hover span {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--accent-gold);
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-hover {
    opacity: 1;
}

.gallery-item:hover .gallery-hover span {
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 11, 12, 0.95);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-img {
    max-width: 85%;
    max-height: 75%;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.lightbox-caption {
    margin-top: 20px;
    font-family: 'Playfair Display', serif;
    color: var(--accent-gold);
    font-size: 1.25rem;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
}

/* ==========================================
   Contact Section & Social Icons Styling
   ========================================== */
.contact-section {
    background-color: transparent;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* מיכל לכפתורי יצירת הקשר המעוצבים כפיליז (תומך גם בשם המחלקה הישן למניעת שגיאות) */
.contact-buttons-container, 
.social-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
}

/* כפתורי הפיליז ליצירת הקשר (תומך גם בשם המחלקה הישן למניעת שגיאות) */
.contact-pill, 
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 28px;
    border-radius: 30px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    width: fit-content;
    cursor: pointer;
}

.contact-pill:hover, 
.whatsapp-btn:hover {
    background-color: rgba(197, 160, 89, 0.15);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    color: var(--accent-gold);
}

/* עיצוב ואחידות האייקונים בתוך הכפתורים (תומך בכל האפשרויות) */
.contact-pill img, 
.contact-pill svg, 
.whatsapp-btn img, 
.wa-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    display: block; /* מונע רווחים מיותרים */
}

.email-icon {
    stroke: var(--text-primary);
    transition: var(--transition-smooth);
}

.contact-pill:hover .email-icon {
    stroke: var(--accent-gold);
}

/* Form Styling */
.contact-form-container {
    background-color: var(--bg-secondary);
    padding: 40px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input, .form-group textarea {
    width: 100%;
    background-color: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 1px var(--accent-gold);
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 30px 20px;
    }
    .contact-pill, 
    .whatsapp-btn {
        width: 100%; /* כפתור רחב בנייד ללחיצה נוחה */
        justify-content: center;
    }
}

/* ==========================================
   Floating WhatsApp Widget
   ========================================== */
/* ==========================================
   Floating WhatsApp Widget (Enlarged Icon)
   ========================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1500;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: var(--transition-smooth);
}

/* הגדלנו את האייקון עצמו מ-32px ל-40px כדי שלא יטבע בעיגול הירוק */
.floating-whatsapp img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

/* התאמה רספונסיבית לניידים וטאבלטים */
@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        left: 20px;
        width: 52px;
        height: 52px;
    }
    
    /* הגדלנו את האייקון בנייד מ-28px ל-34px בהתאמה */
    .floating-whatsapp img {
        width: 50px;
        height: 50px;
    }
}
/* ==========================================
   Footer
   ========================================== */
.site-footer {
    background-color: #050506;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.footer-sub-links {
    font-size: 0.8rem;
}

/* ==========================================
   Toast Notification Styling
   ========================================== */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background-color: var(--toast-bg);
    color: var(--text-primary);
    border-left: 4px solid var(--accent-gold);
    padding: 16px 24px;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    font-size: 0.9rem;
    animation: slideInRight 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(110%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ==========================================
   Lightbox Navigation Arrows
   ========================================== */

/* עיצוב כללי לחצים */
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    font-size: 1.8rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 3100;
    user-select: none;
}

.lightbox-arrow:hover {
    background-color: rgba(197, 160, 89, 0.15);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* חץ שמאלה (תמונה קודמת) */
.prev-arrow {
    left: 40px;
}

/* חץ ימינה (תמונה הבאה) */
.next-arrow {
    right: 40px;
}

/* התאמה רספונסיבית לניידים וטאבלטים */
@media (max-width: 768px) {
    .lightbox-arrow {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
        background-color: rgba(11, 11, 12, 0.6); /* רקע כהה יותר בנייד לנראות טובה */
    }
    .prev-arrow {
        left: 16px;
    }
    .next-arrow {
        right: 16px;
    }
    .lightbox-img {
        max-width: 90%;
        max-height: 65%;
    }
}
/* ==========================================
   Mobile Spacing Fix (About Section)
   ========================================== */

/* התאמה למסכי טאבלט */
@media (max-width: 992px) {
    .about-images-container {
        height: 380px; /* מקטין את גובה מיכל התמונות בטאבלט */
    }
}

/* התאמה למסכי טלפונים ניידים */
@media (max-width: 768px) {
    .about-images-container {
        height: 300px; /* מקטין משמעותית את הגובה הריק בנייד */
    }
    
    /* צמצום הריווח העליון והתחתון של כל האזורים בנייד למראה מהודק */
    .container {
        padding: 40px 0; 
    }
    
    /* צמצום קל של הרווח בין הגריד של התמונות לטקסט */
    .grid-2 {
        gap: 24px; 
    }
}