/* =====================================================
   RonTravel — rontravel.co.il
   עיצוב נקי ומודרני · RTL
   ===================================================== */

:root {
  --primary: #0e7490;        /* טורקיז כהה */
  --primary-dark: #155e75;
  --primary-light: #ecfeff;
  --accent: #f59e0b;         /* כתום־ענבר לכפתורי פעולה */
  --accent-dark: #d97706;
  --whatsapp: #22c55e;
  --text: #0f172a;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --border: #e2e8f0;
  --radius: 18px;
  --shadow: 0 4px 24px rgba(15, 23, 42, .07);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, .13);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.25; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===== כפתורים ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 28px; border: none; border-radius: 999px;
  font-family: inherit; font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); padding: 11px 26px; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; font-size: 1.05rem; }
.btn-whatsapp:hover { background: #16a34a; }
.btn-whatsapp svg { width: 22px; height: 22px; }

/* ===== לוגו ===== */
.logo { display: flex; align-items: center; gap: 11px; }
.logo-mark { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 3px 10px rgba(14, 116, 144, .3); }
.logo-text { font-size: 1.45rem; font-weight: 800; letter-spacing: -.5px; }
.logo-text span { color: var(--primary); }

/* ===== תפריט עליון ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.scrolled { border-color: var(--border); box-shadow: 0 2px 16px rgba(15,23,42,.06); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 74px; }

.nav { display: flex; gap: 28px; margin-inline-start: auto; }
.nav a { font-weight: 500; color: var(--text-muted); transition: color .2s; position: relative; }
.nav a:hover { color: var(--primary); }
.nav a::after {
  content: ''; position: absolute; bottom: -6px; right: 0; width: 0; height: 2px;
  background: var(--primary); border-radius: 2px; transition: width .25s;
}
.nav a:hover::after { width: 100%; }

.header-cta { padding: 10px 22px; font-size: .95rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ===== Hero ===== */
.hero { position: relative; padding: 100px 0 80px; overflow: hidden; color: #fff; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 46, 58, .78), rgba(10, 46, 58, .55) 55%, rgba(10, 46, 58, .72)),
    url('../images/hero.jpg') center / cover no-repeat;
}
.hero-content { text-align: center; }

.hero-badge {
  display: inline-block; padding: 8px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px);
  color: #fff; font-weight: 600; font-size: .92rem;
  margin-bottom: 24px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 18px; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.highlight {
  background: linear-gradient(120deg, #67e8f9, #fcd34d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255,255,255,.92);
  max-width: 620px; margin: 0 auto 40px; text-shadow: 0 1px 12px rgba(0,0,0,.3);
}

/* תיבת חיפוש */
.search-box {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 14px; align-items: end;
  background: #fff; border-radius: var(--radius); padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3); max-width: 900px; margin: 0 auto;
  text-align: right; color: var(--text);
}
.search-field label { display: block; font-size: .82rem; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; }
.search-field input, .search-field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 12px;
  font-family: inherit; font-size: .98rem; background: var(--bg-soft); transition: border-color .2s;
}
.search-field input:focus, .search-field select:focus { outline: none; border-color: var(--primary); background: #fff; }
.search-btn { padding: 13px 32px; white-space: nowrap; }

.hero-stats { display: flex; justify-content: center; gap: clamp(28px, 6vw, 70px); margin-top: 48px; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.6rem; font-weight: 800; color: #fff; }
.stat span { font-size: .9rem; color: rgba(255,255,255,.8); }

/* ===== סקשנים כלליים ===== */
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-tag {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: var(--primary-light); color: var(--primary-dark);
  font-weight: 700; font-size: .88rem; margin-bottom: 14px;
}
.section-head p { color: var(--text-muted); margin-top: 10px; font-size: 1.05rem; }

/* גרדיאנטים — fallback למקרה שתמונה לא נטענת */
.grad-1 { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.grad-2 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.grad-3 { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.grad-4 { background: linear-gradient(135deg, #10b981, #0e7490); }

/* ===== יעדים ===== */
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.dest-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dest-card:hover .dest-img { transform: scale(1.06); }
.dest-img-wrap, .dest-card { position: relative; }
.dest-img {
  height: 175px;
  background-size: cover; background-position: center;
  transition: transform .4s ease;
}
.dest-card > .dest-img { border-radius: var(--radius) var(--radius) 0 0; }
.dest-info { padding: 18px 20px 20px; position: relative; background: #fff; }
.dest-info h3 { font-size: 1.08rem; margin-bottom: 4px; }
.dest-info p { color: var(--text-muted); font-size: .88rem; margin-bottom: 10px; }
.dest-price { font-size: .9rem; color: var(--text-muted); }
.dest-price strong { color: var(--primary); font-size: 1.15rem; margin-inline-start: 4px; }

/* ===== דילים ===== */
.deals { background: var(--bg-soft); }
.deals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.deal-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.deal-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.featured-deal { border: 2.5px solid var(--accent); }
.deal-img {
  height: 185px; position: relative;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  background-size: cover; background-position: center;
}
.deal-tag {
  position: absolute; top: 14px; right: 14px;
  background: #fff; color: var(--text); font-weight: 700; font-size: .8rem;
  padding: 5px 14px; border-radius: 999px; box-shadow: var(--shadow);
}
.deal-tag.hot { background: var(--accent); color: #fff; }
.deal-body { padding: 22px; }
.deal-rating { color: var(--accent); font-size: .95rem; margin-bottom: 8px; }
.deal-rating small { color: var(--text-muted); margin-inline-start: 6px; }
.deal-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.deal-body > p { color: var(--text-muted); font-size: .92rem; margin-bottom: 18px; }
.deal-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.deal-price s { color: var(--text-muted); font-size: .88rem; display: block; }
.deal-price strong { font-size: 1.35rem; color: var(--text); }
.deal-price small { color: var(--text-muted); margin-inline-start: 3px; }

/* ===== סקשן מפוצל (דירות / מלונות) ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-text { order: 2; }
.split.reverse .split-visual { order: 1; }
.split-text h2 { margin-bottom: 16px; }
.split-text > p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 22px; }

.check-list { list-style: none; margin-bottom: 28px; }
.check-list li { display: flex; align-items: center; gap: 11px; padding: 6px 0; font-weight: 500; }
.check-list li::before {
  content: '✓'; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary-dark);
  font-weight: 800; font-size: .8rem;
  display: inline-flex; align-items: center; justify-content: center;
}

.split-visual { position: relative; min-height: 380px; }
.visual-card {
  position: absolute; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 78%; height: 320px; top: 0; right: 0;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  background-size: cover; background-position: center;
}
.visual-card.small { width: 52%; height: 200px; top: auto; bottom: 0; right: auto; left: 0; z-index: 2; border: 5px solid #fff; }
.visual-caption {
  position: absolute; bottom: 0; right: 0; left: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  color: #fff; padding: 34px 18px 14px; display: flex; flex-direction: column;
}
.visual-caption strong { font-size: 1rem; }
.visual-caption span { font-size: .85rem; opacity: .9; }

.hotels { background: var(--bg-soft); }

/* ===== למה אנחנו ===== */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature {
  text-align: center; padding: 34px 22px; border-radius: var(--radius);
  background: #fff; border: 1.5px solid var(--border); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.feature-icon {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 18px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: .92rem; }

/* ===== המלצות ===== */
.testimonials { background: linear-gradient(180deg, #fff, var(--primary-light) 140%); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.testi-stars { color: var(--accent); margin-bottom: 12px; letter-spacing: 2px; }
.testi-card p { color: var(--text); margin-bottom: 20px; font-size: .98rem; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem;
}
.testi-author small { display: block; color: var(--text-muted); }

/* ===== צור קשר ===== */
.contact-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 28px; padding: clamp(30px, 5vw, 60px); color: #fff;
  box-shadow: var(--shadow-lg);
}
.contact-text h2 { margin-bottom: 14px; }
.contact-text > p { opacity: .92; margin-bottom: 26px; font-size: 1.05rem; }
.contact-details { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; font-size: .95rem; opacity: .92; }
.contact-details > span, .contact-details > a { display: flex; align-items: center; gap: 9px; }
.contact-details > a:hover { text-decoration: underline; }
.contact-details svg { width: 18px; height: 18px; flex-shrink: 0; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea {
  padding: 14px 16px; border: none; border-radius: 12px;
  font-family: inherit; font-size: .98rem; background: rgba(255,255,255,.96);
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(245,158,11,.5); }
.form-success { display: none; background: rgba(255,255,255,.15); padding: 12px; border-radius: 12px; text-align: center; font-weight: 600; }
.form-success.show { display: block; }

/* ===== פוטר ===== */
.footer { background: #0f172a; color: #cbd5e1; padding: 50px 0 30px; }
.footer-inner { display: flex; flex-direction: column; gap: 28px; align-items: center; text-align: center; }
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 11px; }
.footer-logo .logo-mark { width: 38px; height: 38px; }
.footer-brand p { margin-top: 12px; font-size: .92rem; color: #94a3b8; }
.footer .logo-text { color: #fff; }
.footer .logo-text span { color: #38bdf8; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: #cbd5e1; font-size: .95rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-copy { border-top: 1px solid #1e293b; padding-top: 22px; width: 100%; font-size: .85rem; color: #64748b; }

/* ===== אנימציית הופעה בגלילה ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== רספונסיביות ===== */
@media (max-width: 1024px) {
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .deals-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .search-box { grid-template-columns: 1fr 1fr; }
  .search-btn { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .nav {
    position: fixed; top: 74px; right: 0; left: 0;
    background: #fff; flex-direction: column; gap: 0;
    padding: 12px 24px; box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform .3s ease;
    border-bottom: 1px solid var(--border);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav a:last-child { border-bottom: none; }
  .nav a::after { display: none; }
  .nav-toggle { display: flex; margin-inline-start: auto; }
  .header-cta { display: none; }

  .split, .contact-card { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-text { order: 1; }
  .split.reverse .split-visual { order: 2; }
  .split-visual { min-height: 320px; }
  .testi-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .hero { padding: 70px 0 56px; }
  .section { padding: 60px 0; }
}

@media (max-width: 520px) {
  .dest-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .search-box { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .stat strong { font-size: 1.3rem; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-text { font-size: 1.25rem; }
}
