:root {
    --bg: #000000;
    --text: #ffffff;
    --gold: #b58159; 
    --dark-grey: #111111;
    --font-head: 'Frank Ruhl Libre', serif;
    --font-body: 'Heebo', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); direction: rtl; }

/* HEADER */
#header { position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(0,0,0,0.95); border-bottom: 1px solid #222; }

.header-container-full { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 10px 30px; 
    height: 80px; 
}

.logo { font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; line-height: 1; color: #fff; cursor: pointer; }
.logo .dot { color: var(--gold); }

/* תפריט מחשב */
.desktop-nav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.desktop-nav a { text-decoration: none; color: #fff; font-size: 1rem; font-weight: 400; transition: 0.3s; white-space: nowrap; }
.desktop-nav a:hover { color: var(--gold); }

/* אזור קשר */
.header-contact-area { display: flex; align-items: center; gap: 15px; }
.phone-link { text-decoration: none; color: #fff; display: flex; align-items: center; gap: 5px; font-size: 1.1rem; }
.phone-number { font-weight: bold; letter-spacing: 1px; font-size: 1.2rem; }
.icon-gold { color: var(--gold); }
.social-separator { color: #555; }
.header-socials a { color: #fff; margin: 0 5px; font-size: 1rem; }
.header-socials a:hover { color: var(--gold); }
.nav-contact-btn { border: 1px solid var(--gold); padding: 6px 15px; color: var(--gold) !important; font-weight: bold; text-decoration: none; }
.nav-contact-btn:hover { background: var(--gold); color: #000 !important; }

/* אייקון מובייל (מוסתר במחשב) */
.mobile-menu-icon { display: none; font-size: 1.8rem; color: #fff; cursor: pointer; }

/* תפריט מובייל נפתח */
.mobile-menu-overlay {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
    background: rgba(0,0,0,0.98); z-index: 2000;
    transition: 0.4s ease; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.mobile-menu-overlay.open { right: 0; }
.close-menu { position: absolute; top: 30px; left: 30px; font-size: 2rem; cursor: pointer; color: var(--gold); }
.mobile-nav-links a { 
    display: block; font-size: 1.8rem; color: #fff; text-decoration: none; margin: 20px 0; font-weight: bold; text-align: center; 
}
.mobile-nav-links a:hover { color: var(--gold); }
.mobile-socials { margin-top: 40px; }
.mobile-phone-btn { color: var(--gold); font-size: 1.5rem; text-decoration: none; border: 1px solid var(--gold); padding: 10px 30px; }

/* Views */
.page-view { display: none; animation: fade 0.5s; padding-top: 80px; min-height: 100vh; }
.page-view.active { display: block; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

#view-home { padding-top: 0; }
#hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.video-container { position: absolute; inset: 0; z-index: -1; }
video { width: 100%; height: 100%; object-fit: cover; }
.video-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; text-shadow: 0 5px 20px #000; }
.scroll-down { font-size: 2rem; margin-top: 30px; animation: bounce 2s infinite; cursor: pointer; color: #fff; }
@keyframes bounce { 0%, 100% {transform:translateY(0);} 50% {transform:translateY(-10px);} }

/* Showroom */
.showroom-video-header { position: relative; height: 50vh; overflow: hidden; }
.showroom-video-header video { width: 100%; height: 100%; object-fit: cover; }
.video-overlay-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
.video-overlay-text h1 { font-size: 4rem; text-shadow: 0 5px 20px #000; }
.content-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 20px 80px; }
.text-content-centered { text-align: center; max-width: 800px; margin: 60px auto; font-size: 1.2rem; color: #ccc; }
.showroom-category { margin-bottom: 80px; }
.showroom-category h3 { font-size: 2rem; color: var(--gold); margin-bottom: 20px; border-bottom: 1px solid #333; display: inline-block; }

/* Grid */
.section-dark { padding: 80px 5%; background: #050505; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 3rem; margin-bottom: 10px; }
.gold-line { width: 60px; height: 3px; background: var(--gold); margin: 0 auto; }
.grid-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }
.catalog-card { position: relative; height: 350px; cursor: pointer; overflow: hidden; }
.catalog-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.catalog-card:hover img { transform: scale(1.1); }
.card-label { position: absolute; bottom: 0; width: 100%; padding: 20px; background: rgba(0,0,0,0.8); text-align: center; font-size: 1.5rem; border-top: 2px solid var(--gold); }

/* Galleries */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-grid img { width: 100%; height: 250px; object-fit: cover; transition: 0.3s; }
.masonry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 40px; }
.masonry-grid img { width: 100%; height: 300px; object-fit: cover; }

/* Factory Split */
.split-layout { display: flex; gap: 50px; align-items: center; }
.full-width { width: 100%; text-align: center; }
.check-list { list-style: none; margin-top: 20px; display: inline-block; text-align: right; }
.check-list li { margin-bottom: 10px; color: #aaa; font-size: 1.1rem; }
.check-list li::before { content: '✓'; color: var(--gold); margin-left: 10px; }

/* Product Page */
.product-wrapper { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.back-btn { background: none; border: none; color: #888; font-size: 1.2rem; cursor: pointer; margin-bottom: 30px; display: flex; align-items: center; gap: 10px; }
.product-layout { display: flex; gap: 50px; margin-bottom: 80px; }
.product-info { flex: 1; }
.product-main-image { flex: 1.5; height: 500px; }
.product-main-image img { width: 100%; height: 100%; object-fit: cover; }
.product-info ul { list-style: none; margin-bottom: 30px; }
.product-info li { padding: 10px 0; border-bottom: 1px solid #333; }
.product-info li::before { content: '✓'; color: var(--gold); margin-left: 10px; }
.cta-btn { background: var(--gold); color: #000; border: none; padding: 15px 40px; font-weight: bold; font-size: 1.1rem; cursor: pointer; }

/* Projects & Architects */
.page-header-bg { height: 350px; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; position: relative; margin-bottom: 50px; }
.page-header-bg::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.page-header-bg h1 { position: relative; z-index: 2; font-size: 4rem; text-shadow: 0 5px 20px #000; }
.projects-wrapper { padding: 0 5% 80px; }
.project-folder { cursor: pointer; transition: 0.3s; background: #111; }
.folder-thumb { height: 300px; overflow: hidden; }
.folder-thumb img { width: 100%; height: 100%; object-fit: cover; }
.folder-name { padding: 20px; text-align: center; font-size: 1.4rem; color: var(--gold); }
.architects-layout { display: flex; gap: 60px; margin-top: 50px; }
.text-content { flex: 1.5; font-size: 1.1rem; line-height: 1.8; }
.form-box { flex: 1; background: #1a1a1a; padding: 40px; border: 1px solid #333; }
.form-box input { width: 100%; background: #000; border: 1px solid #333; color: #fff; padding: 15px; margin-bottom: 15px; }
.form-box button { width: 100%; background: var(--gold); border: none; padding: 15px; font-weight: bold; cursor: pointer; }

/* Contact */
.contact-hero { height: 100vh; background: url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?q=80&w=1920') center/cover; display: flex; align-items: center; justify-content: center; }
.contact-card { background: rgba(0,0,0,0.85); backdrop-filter: blur(10px); padding: 50px; width: 100%; max-width: 500px; border: 1px solid var(--gold); text-align: center; }
.luxury-form .input-group { position: relative; margin-bottom: 30px; }
.luxury-form input, .luxury-form select { width: 100%; background: transparent; border: none; border-bottom: 1px solid #555; color: #fff; padding: 10px 0; font-size: 1.1rem; }
.luxury-form input:focus { outline: none; border-color: var(--gold); }
.luxury-form label { position: absolute; right: 0; top: 10px; color: #aaa; pointer-events: none; transition: 0.3s; }
.luxury-form input:focus ~ label, .luxury-form input:valid ~ label { top: -20px; font-size: 0.8rem; color: var(--gold); }
.luxury-form button { background: var(--gold); color: #000; width: 100%; padding: 15px; font-weight: bold; border: none; margin-top: 20px; cursor: pointer; }
.contact-details { margin-top: 30px; display: flex; justify-content: space-around; color: #aaa; }

/* About Split */
.split-screen { display: flex; height: 100vh; }
.split-image { flex: 1; background-size: cover; background-position: center; }
.split-content { flex: 1; padding: 100px; display: flex; flex-direction: column; justify-content: center; background: #111; }
.split-content h2 { font-size: 3.5rem; color: var(--gold); margin-bottom: 30px; }
.split-content p { font-size: 1.2rem; line-height: 1.8; margin-bottom: 20px; color: #ccc; }

footer { padding: 30px; text-align: center; background: #000; border-top: 1px solid #222; margin-top: auto; }

/* --- התאמה למובייל (MEDIA QUERIES) --- */
@media (max-width: 1024px) {
    .header-container-full { padding: 10px 20px; }
    .desktop-nav, .header-contact-area { display: none; } /* הסתרת תפריט וקשר במחשב */
    .mobile-menu-icon { display: block; } /* הצגת המבורגר */
    
    .hero-content h1 { font-size: 2.5rem; }
    .grid-container, .gallery-grid, .masonry-grid, .projects-grid { 
        grid-template-columns: 1fr; /* טור אחד במובייל */
    }
    
    .product-layout { flex-direction: column; }
    .product-main-image { height: 300px; }
    
    .split-screen { flex-direction: column; height: auto; }
    .split-image { height: 300px; }
    .split-content { padding: 40px 20px; }
    
    .architects-layout { flex-direction: column; }
    
    .showroom-video-header h1 { font-size: 2.5rem; }
}