/* =========================
   BASE / RESET
========================= */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root{
  --brand: #ff4b4b;
  --brand-dark: #b30000;
  --text: #111;
  --muted: #6b7280;
  --card: #fff;
  --line: #e5e7eb;
  --bg: #f5f5f5;

  --radius: 16px;
  --shadow: 0 10px 25px rgba(0,0,0,0.04);
}

body{
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: #222;
  line-height: 1.6;
}

a{ text-decoration: none; color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible{
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* Skip link */
.skip-link{
  position: absolute;
  top: -40px;
  right: 1rem;
  background: #111;
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  z-index: 5000;
}
.skip-link:focus-visible{ top: 0.5rem; }

/* =========================
   TOP CONTACT BAR
========================= */
.top-bar{
  background: #f3f4f6;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.top-bar-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.35rem 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.top-phone{
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #111;
  font-weight: 600;
}

.top-phone i{
  font-size: 0.9rem;
  color: #111;
}

.top-whatsapp{
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.top-whatsapp:hover{ opacity: 0.9; }

html[dir="rtl"] .top-bar-inner{
  justify-content: flex-start;
}

/* =========================
   HEADER / NAV
========================= */
header{
  background: var(--card);
  color: var(--text);
  position: sticky;
  top: 0;
  z-index: 2000;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

header::before{
  content:"";
  display:block;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
}

.nav-container{
  max-width: 1400px;
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 0.6rem 1rem;
  gap: 0.75rem;
}

.logo-area{ flex: 0 0 auto; min-width: 0; }
.lang-dropdown{ flex: 0 0 auto; }

nav{
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}

nav ul{
  list-style:none;
  display:flex;
  align-items:center;
  gap: 0.25rem;
  font-size: 0.95rem;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}

.logo-area{
  display:flex;
  align-items:center;
  gap:0.5rem;
}
.logo-area img{
  width:48px; height:48px;
  border-radius:50%;
  object-fit:cover;
  flex: 0 0 auto;
}
.logo-text-main{ font-weight:700; font-size:1.1rem; }
.logo-text-sub{ font-size:0.8rem; color: var(--brand); }

nav li a{
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s, transform 0.15s;
  color: var(--text);
  white-space: nowrap;
}
nav li a:hover,
nav li a:focus-visible{
  background: rgba(255,75,75,0.12);
  color: var(--brand-dark);
  transform: translateY(-1px);
}

.nav-toggle{
  display:none;
  font-size:1.7rem;
  cursor:pointer;
  border:none;
  background:transparent;
  color: var(--text);
  line-height:1;
  padding: 0.25rem 0.4rem;
}

/* =========================
   LANGUAGE DROPDOWN
========================= */
.lang-dropdown{
  position: relative;
  z-index: 4000;
}

.lang-toggle{
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fafafa;
  cursor: pointer;
  color: var(--text);
  font: inherit;
  white-space: nowrap;
}
.lang-toggle:hover{ background: #f3f4f6; }

.lang-icon{
  color: #111;
  font-size: 1rem;
  line-height: 1;
}
.lang-caret{
  opacity: .65;
  font-size: .9rem;
}

.lang-list{
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
  padding: .35rem;
  display: none;
}
.lang-list.open{ display:block; }

.lang-item{
  display:flex;
  padding: .55rem .65rem;
  border-radius: 10px;
  color: var(--text);
}
.lang-item:hover{ background: rgba(255,75,75,0.10); }
.lang-item.active{
  background: rgba(255,75,75,0.16);
  color: var(--brand-dark);
  font-weight: 700;
}

html[dir="ltr"] .lang-list{
  left: 0;
  right: auto;
}

/* =========================
   MOBILE LANGUAGE CIRCLES
========================= */
/* =========================
   MOBILE LANGUAGE CIRCLES
========================= */
.lang-circles{
  display: none;
  align-items: center;
  gap: 0.4rem;
  margin-inline-start: 0.5rem;
}

.lang-circle{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;

  /* BASE TEXT TUNING */
  font-size: 0.75rem;
  letter-spacing: 0.2px;

  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

/* RTL fine-tune (Hebrew / Arabic look better without spacing) */
html[dir="rtl"] .lang-circle{
  letter-spacing: 0;
}

.lang-circle:hover,
.lang-circle:focus-visible{
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.10);
}

.lang-circle.active{
  background: rgba(255,75,75,0.14);
  border-color: rgba(255,75,75,0.45);
  color: var(--brand-dark);
}

/* ONLY on small screens */
@media (max-width: 600px){
  .lang-circles{
    display: inline-flex;
  }

  .lang-dropdown{
    display: none !important; /* hard-disable dropdown on mobile */
  }
}

/* =========================
   MAIN / SECTIONS
========================= */
main{
  max-width:1100px;
  margin:0 auto;
  padding: 1.5rem 1rem 3rem;
}

section{
  margin-bottom:3rem;
  background:#fff;
  border-radius: var(--radius);
  padding:1.5rem;
  box-shadow: var(--shadow);
}

section h2{
  font-size:1.5rem;
  margin-bottom:0.8rem;
  position:relative;
}
section h2::after{
  content:"";
  position:absolute;
  bottom:-0.25rem;
  right:0;
  width:60px;
  height:3px;
  border-radius:999px;
  background: linear-gradient(90deg, var(--brand), #ffb347);
}

.card{
  background:#fafafa;
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid #eee;
}
.card h3{
  font-size:1.05rem;
  margin-bottom:0.4rem;
}

.muted{ color:#777; font-size:0.9rem; }
ul{ padding-right:1.2rem; }
li{ margin-bottom:0.25rem; }

.pill{
  display:inline-block;
  background:#ffe4e4;
  color:#a70000;
  padding:0.2rem 0.6rem;
  border-radius:999px;
  font-size:0.8rem;
  margin-inline-start:0.25rem;
}

/* =========================
   HERO
========================= */
.hero{
  display:grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap:1rem;
  align-items:center;
}

.hero-text h1{
  font-size:2rem;
  margin-bottom:0.5rem;
}

.tagline{
  display:inline-block;
  background: var(--brand);
  color:#fff;
  padding:0.15rem 0.6rem;
  border-radius:999px;
  font-size:0.9rem;
  margin-bottom:0.6rem;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:0.5rem;
  margin-top:0.6rem;
}

.hero-media{ text-align:center; }
.hero-media img{
  max-width:260px;
  width:100%;
  border-radius: 1.5rem;
  object-fit:cover;
}

/* =========================
   BUTTONS
========================= */
.btn{
  border-radius:999px;
  padding:0.55rem 1.1rem;
  font-size:0.9rem;
  border:none;
  cursor:pointer;
  transition: transform 0.1s, box-shadow 0.1s, background 0.15s;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:0.25rem;
}

.btn-primary{
  background: var(--brand);
  color:#fff;
  box-shadow: 0 4px 10px rgba(255,75,75,0.4);
}
.btn-primary:hover{
  background:#ff3030;
  transform: translateY(-1px);
}

.btn-outline{
  background:#fff;
  border: 1px solid var(--brand);
  color: var(--brand);
}
.btn-outline:hover{ background:#ffe9e9; }

/* =========================
   GRIDS
========================= */
.two-cols{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:1rem;
}

.contact-grid{
  display:grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap:1rem;
}

/* =========================
   FORMS / MAP
========================= */
input, textarea{
  width:100%;
  padding:0.4rem 0.5rem;
  border-radius:0.5rem;
  border:1px solid #ccc;
  margin-top:0.2rem;
  margin-bottom:0.7rem;
  font-family:inherit;
  font-size:0.9rem;
}
textarea{ resize: vertical; min-height:90px; }

.map-container{
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}

/* Force form fields to stack vertically */
form label {
  display: block;
  margin-top: 0.6rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

form input,
form select,
form textarea {
  display: block;
  width: 100%;
}

/* =========================
   SELECT – match input design
========================= */

/* match your input/textarea sizing + font */
form select {
  width: 100%;
  padding: 0.4rem 2.5rem 0.4rem 0.75rem; /* room for arrow */
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  background: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.2;
  color: #111;

  /* remove default arrows */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* nicer feel */
  box-shadow: none;
}

/* RTL padding (arrow on the left in RTL) */
html[dir="rtl"] form select {
  padding: 0.4rem 0.75rem 0.4rem 2.5rem;
}

/* custom arrow */
form select {
  background-image:
    linear-gradient(45deg, transparent 50%, #111 50%),
    linear-gradient(135deg, #111 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px),
    100% 0;
  background-size:
    6px 6px,
    6px 6px,
    2.5rem 100%;
  background-repeat: no-repeat;
}

/* RTL arrow position */
html[dir="rtl"] form select {
  background-position:
    18px calc(50% - 2px),
    12px calc(50% - 2px),
    0 0;
  background-size:
    6px 6px,
    6px 6px,
    2.5rem 100%;
}

/* focus style like your site */
form select:focus,
form select:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-color: var(--brand);
}

/* disabled placeholder option look */
form select option[disabled] {
  color: #888;
}

/* (optional) hover */
form select:hover {
  border-color: #bdbdbd;
}

/* =========================
   RESPONSIVE (layout)
========================= */
@media (max-width: 900px){
  .nav-container{ padding-inline:0.75rem; }
  .hero{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; }
}

@media (max-width: 480px){
  .nav-container{ gap:0.5rem; }
  .logo-area img{ width:40px; height:40px; }
  .logo-text-main{ font-size:1rem; }
  .hero-text h1{ font-size:1.5rem; }
  .tagline{ font-size:0.8rem; }
  .btn{ width:100%; justify-content:center; }
  .hero-actions{ flex-direction:column; }
  main{ padding: 1rem 0.75rem 2rem; }
  section{ padding:1rem 0.9rem; border-radius: 0.9rem; margin-bottom:2rem; }
  .two-cols{ grid-template-columns:1fr; }
}

/* =========================
   NAV COLLAPSE (fix RU/FR)
========================= */
@media (max-width: 1200px){
  .nav-toggle{ display:block; }

  nav ul{
    position:absolute;
    right:0;
    left:0;
    top:56px;
    background:#fff;
    border-bottom:1px solid var(--line);
    flex-direction:column;
    padding:0.6rem 1rem 1rem;
    display:none;
    gap:0.25rem;
    z-index: 3500;
    white-space: normal;
    overflow: visible;
  }
  nav ul.open{ display:flex; }

  nav li a{
    width:100%;
    padding:0.55rem 0.8rem;
    color:#111;
  }
}

/* =========================
   FOOTER (ICON STYLE) ✅
========================= */
.site-footer{
  background: #f3f4f6;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
}

.footer-row{
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.4rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* LEFT */
.footer-left{
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.footer-copy{
  font-size: 0.85rem;
  color: #666;
}

/* CENTER */
.footer-center{
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: center; /* ✅ makes pills + icons align nicely */
}

/* RIGHT */
.footer-right{
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

/* Circle icon */
.ficon{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ficon:hover,
.ficon:focus-visible{
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.10);
}

/* ✅ FIX: icon + text pill for phone */
.fchip{
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  height: 40px;
  padding: 0 .8rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: #111;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.fchip i{ font-size: 1.05rem; }

.fchip:hover,
.fchip:focus-visible{
  background: #f3f4f6;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.10);
}

/* Text line (address) */
.fline{
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .6rem;
  border-radius: 10px;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
}

.fline:hover,
.fline:focus-visible{
  background: rgba(0,0,0,0.05);
}

.fline i{
  color: #111;
  font-size: 1rem;
}

/* Brand colors */
.ficon.email{ color:#111; border-color: var(--line); background:#fff; }
.ficon.whatsapp{ background:#25D366; color:#fff; border-color: transparent; }
.ficon.instagram{
  background: radial-gradient(circle at 30% 30%, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  color:#fff;
  border-color: transparent;
}
.ficon.tiktok{ background:#000; color:#fff; border-color: transparent; }
.ficon.youtube{ background:#ff0000; color:#fff; border-color: transparent; }
.ficon.facebook{ background:#1877f2; color:#fff; border-color: transparent; }

/* Footer responsive */
@media (max-width: 900px){
  .footer-row{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-center{ justify-content: center; }
}

/* RTL polish */
html[dir="rtl"] .footer-row{ flex-direction: row-reverse; }

@media (max-width: 900px){
  html[dir="rtl"] .footer-row{ flex-direction: column; }
}
