:root { 
    --primary-orange: #e5ae2d; 
    --primary-dark: #2e3638; 
    --white: #ffffff; 
    --light-bg: #f8f9fa;
    --bg-light: #f8f9fa;
}

* { box-sizing: border-box; outline: none !important; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; width: 100%; overflow-x: hidden; font-family: 'Segoe UI', Roboto, sans-serif; background-color: var(--white); }
body { padding-top: 80px; } 

/* סרגל עליון ותפריט */
.top-bar { background: var(--primary-dark); color: #fff; padding: 8px 0; font-size: 0.8rem; text-align: center; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }

header { background: var(--white); position: fixed; top: 0; left: 0; width: 100%; z-index: 9999; box-shadow: 0 2px 15px rgba(0,0,0,0.1); border-bottom: 3px solid var(--primary-orange); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.navbar { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo-wrapper img { height: 60px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }

/* כפתורים כלליים - מראה אחיד */
.btn-cta { 
    background: var(--primary-orange) !important; 
    color: var(--white) !important; 
    padding: 12px 25px; 
    border-radius: 50px; /* מעוגל יפה בכל המסכים */
    border: none; 
    text-decoration: none; 
    font-weight: bold; 
    transition: 0.3s; 
    display: inline-block;
}
.btn-cta:hover { 
    background: var(--primary-dark) !important; 
    color: var(--primary-orange) !important; 
    transform: translateY(-2px); /* אפקט קפיצה קטן במעבר עכבר */
}
/* דסקטופ */
@media (min-width: 769px) {
    .nav-links a, .dropdown-toggle { text-decoration: none; color: var(--primary-dark); font-weight: 700; margin-left: 30px; text-transform: uppercase; font-size: 0.85rem; cursor: pointer; }
    .dropdown { position: relative; display: flex; align-items: center; height: 80px; }
    .dropdown-content { display: none; position: absolute; background: var(--white); min-width: 220px; top: 100%; left: 0; box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-top: 3px solid var(--primary-orange); }
    .dropdown:hover .dropdown-content { display: block; }
    .dropdown-content a { color: var(--primary-dark); padding: 15px 20px; display: block; border-bottom: 1px solid #eee; text-align: left; margin: 0 !important; }
}

/* מובייל */
.menu-icon { font-size: 2.2rem; cursor: pointer; color: var(--primary-dark); display: none; }
@media (max-width: 768px) {
    .top-bar { display: none; }
    .menu-icon { display: block; }
    .navbar { height: 75px; }
    .logo-wrapper img { height: 50px; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 75px; left: 0; width: 100%; background: var(--white); box-shadow: 0 15px 30px rgba(0,0,0,0.1); padding: 10px 0; }
    .nav-links.active { display: flex; }
    .nav-links a, .dropdown-toggle { width: 100%; margin: 0; padding: 18px 40px; font-size: 1.1rem; font-weight: 700; border-bottom: 1px solid #f1f1f1; text-align: left; text-decoration: none; color: var(--primary-dark); display: block; }
    .dropdown { width: 100%; }
    .dropdown-content { display: none; background: #f9f9f9; }
    .dropdown.is-open .dropdown-content { display: block; }
    .dropdown-content a { padding-left: 60px !important; text-transform: capitalize; font-weight: 500; font-size: 1rem; }
    .btn-cta { background: var(--primary-orange) !important; color: white !important; margin: 20px 40px; padding: 16px; border-radius: 50px; text-align: center; }
}

/* --- דף הבית (Home) --- */
.hero-wrap { position: relative; background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero-home.png') center/cover no-repeat; min-height: 85vh; display: flex; align-items: center; color: #fff; }
.hero-content { max-width: 800px; padding: 40px 20px; }
.hero-content h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 10px; line-height: 1.1; }
.hero-content h2 { color: var(--primary-orange); font-size: 2.2rem; margin-bottom: 25px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 40px; line-height: 1.6; }
.btn-main-cta { background-color: var(--primary-orange); color: #fff !important; padding: 18px 40px; border-radius: 50px; font-size: 1.3rem; font-weight: bold; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 8px 20px rgba(229, 174, 45, 0.4); transition: 0.3s; }
.btn-main-cta:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(229, 174, 45, 0.6); }

/* --- דף שירותים (Services) --- */
.page-header { background: var(--primary-dark); color: #fff; padding: 80px 20px; text-align: center; border-bottom: 5px solid var(--primary-orange); }
.page-header h1 { font-size: 3rem; margin-bottom: 15px; }
.service-section { padding: 80px 0; border-bottom: 1px solid #eee; }
.service-section:nth-child(even) { background-color: var(--bg-light); }
.service-container { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.service-content { flex: 1; min-width: 300px; }
.service-content h2 { color: var(--primary-dark); font-size: 2.2rem; margin-bottom: 20px; }
.service-content p { font-size: 1.1rem; line-height: 1.7; color: #555; margin-bottom: 15px; }
.service-content ul { list-style-type: none; padding-left: 0; margin-bottom: 25px; }
.service-content ul li { position: relative; padding-left: 30px; margin-bottom: 10px; font-size: 1.05rem; }
.service-content ul li::before { content: '✔'; position: absolute; left: 0; color: var(--primary-orange); font-weight: bold; }
.service-image { flex: 1; min-width: 300px; }
.service-image img { width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* --- בלוג (Blog) --- */
.blog-header { background: var(--bg-light); padding: 60px 20px; text-align: center; border-bottom: 1px solid #ddd; }
.blog-header h1 { color: var(--primary-dark); font-size: 2.8rem; margin-bottom: 10px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; padding: 60px 0; }
.post-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s; border: 1px solid #eee; }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.post-image { height: 200px; background-color: #ccc; }
.post-content { padding: 25px; }
.post-category { color: var(--primary-orange); font-weight: bold; font-size: 0.85rem; text-transform: uppercase; margin-bottom: 10px; display: block; }
.post-title { font-size: 1.4rem; color: var(--primary-dark); margin-bottom: 15px; line-height: 1.4; }
.post-excerpt { color: #666; margin-bottom: 20px; line-height: 1.6; font-size: 0.95rem; }
.read-more-link { font-weight: bold; color: var(--primary-dark); text-decoration: none; border-bottom: 2px solid var(--primary-orange); padding-bottom: 2px; transition: color 0.3s; }
.read-more-link:hover { color: var(--primary-orange); }

/* --- יצירת קשר (Contact) --- */
.contact-hero { background: var(--primary-dark); color: #fff; padding: 60px 20px; text-align: center; }
.contact-wrapper { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; padding: 80px 0; }
.form-box { background: #fff; padding: 40px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-top: 5px solid var(--primary-orange); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: bold; margin-bottom: 8px; color: var(--primary-dark); }
.form-control { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 1rem; font-family: inherit; }
.form-control:focus { outline: none; border-color: var(--primary-orange); }
.alert { padding: 15px; border-radius: 4px; margin-bottom: 20px; font-weight: bold; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.info-box h3 { font-size: 2rem; margin-bottom: 20px; color: var(--primary-dark); }
.info-item { display: flex; align-items: flex-start; margin-bottom: 25px; }
.info-icon { font-size: 1.5rem; color: var(--primary-orange); margin-right: 15px; }
.info-text strong { display: block; font-size: 1.1rem; color: var(--primary-dark); margin-bottom: 5px; }

/* --- פוטר (Footer) --- */
.site-footer { background-color: var(--primary-dark); color: #e0e0e0; padding: 70px 0 20px; border-top: 5px solid var(--primary-orange); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 50px; }
.footer-col h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background-color: var(--primary-orange); }
.footer-about p { line-height: 1.6; margin-bottom: 20px; font-size: 0.95rem; }
.footer-logo img { height: 50px; background: #fff; padding: 5px; border-radius: 4px; margin-bottom: 15px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #e0e0e0; text-decoration: none; font-size: 0.95rem; transition: color 0.3s ease, padding-left 0.3s ease; display: inline-block; }
.footer-links a:hover { color: var(--primary-orange); padding-left: 5px; }
.footer-contact-item { display: flex; align-items: flex-start; margin-bottom: 15px; font-size: 0.95rem; line-height: 1.5; }
.footer-contact-item span { color: var(--primary-orange); margin-right: 10px; font-size: 1.1rem; }
.footer-bottom { text-align: center; padding-top: 25px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; color: #aaa; }

/* התאמות מובייל כלליות */
@media (max-width: 992px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
    .hero-wrap { min-height: 70vh; text-align: center; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content h2 { font-size: 1.6rem; }
    .btn-main-cta { width: 100%; justify-content: center; font-size: 1.1rem; }
    .contact-wrapper { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-col h4::after { width: 60px; }
}
/* FAQ Accordion Styles */
.faq-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 15px;
    padding: 15px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.faq-item summary {
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--primary-dark);
    cursor: pointer;
    list-style: none; /* מסתיר את החץ המקורי בהרבה דפדפנים */
    position: relative;
    padding-right: 30px;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-orange);
    font-size: 1.5rem;
}
.faq-item[open] summary::after {
    content: '-';
}
.faq-item p {
    margin-top: 15px;
    color: #555;
    line-height: 1.6;
    border-top: 1px solid #eee;
    padding-top: 15px;
}