/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0d1b2e;
  --navy2: #152236;
  --gold: #c9a84c;
  --gold-light: #e0c070;
  --white: #ffffff;
  --off-white: #f2f0eb;
  --gray-text: #555;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', sans-serif;
  color: var(--navy);
  background: var(--white);
  direction: rtl;
}

a { text-decoration: none; color: inherit; }

/* === HEADER === */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 0 0 var(--gold);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  direction: rtl;
}

.logo-wrap { display: flex; align-items: center; }

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  align-items: center;
  direction: rtl;
}

nav ul li a {
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  font-weight: 500;
  transition: color 0.2s;
}

nav ul li a:hover,
nav ul li a.active { color: var(--gold); }

nav ul li a.tab-highlight {
  border: 1px solid var(--gold);
  padding: 5px 12px;
  color: var(--gold);
  transition: background 0.2s, color 0.2s;
}

nav ul li a.tab-highlight:hover {
  background: var(--gold);
  color: var(--navy);
}

.nav-phone {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  direction: ltr;
}

.nav-phone:hover { color: var(--gold-light); }

/* === HERO === */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: stretch;
  padding-top: 72px;
  overflow: hidden;
  direction: rtl;
}

/* RIGHT side = text (in RTL, this appears on the right) */
.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5rem 4rem 3rem;
  text-align: right;
}

/* LEFT side = photo (in RTL, appears on the left) */
.hero-left {
  flex: 0 0 42%;
  position: relative;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Gradient blending photo background into navy */
.hero-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left,  var(--navy) 0%,  transparent 35%),
    linear-gradient(to bottom, var(--navy) 0%,  transparent 12%),
    linear-gradient(to top,    var(--navy) 0%,  transparent 18%),
    linear-gradient(to right,  var(--navy) 0%,  transparent 15%);
  pointer-events: none;
}

.hero-subtitle {
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.hero-title {
  font-family: 'Heebo', sans-serif;
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 1.5rem;
  direction: rtl;
  text-align: right;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 0 1.5rem auto;
}

.hero-list {
  list-style: none;
  margin-bottom: 2rem;
}

.hero-list li {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  padding: 0.3rem 0;
}

.hero-list li::before {
  content: '• ';
  color: var(--gold);
}

.hero-tagline {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
}

/* === HERO FORM === */
.hero-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  direction: rtl;
}

.hero-form input {
  flex: 1 1 120px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 12px 14px;
  font-size: 0.85rem;
  font-family: 'Heebo', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  text-align: right;
}

.hero-form input::placeholder { color: rgba(255,255,255,0.4); }
.hero-form input:focus { border-color: var(--gold); }

/* === BUTTON === */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 12px 28px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  font-family: 'Heebo', sans-serif;
  transition: background 0.2s, transform 0.15s;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* === SECTIONS === */
.section { padding: 90px 2rem; }

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Heebo', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-title.light { color: var(--white); }
.section-title.dark { color: var(--navy); }

.section-subtitle {
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin-bottom: 3rem;
  font-style: italic;
}

/* === VISION === */
.vision { background: var(--off-white); text-align: center; }

.vision-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.vision-logo {
  height: 180px;
  width: auto;
  mix-blend-mode: multiply;
  opacity: 0.9;
}

.section-divider-line {
  width: 80px;
  height: 1px;
  background: var(--navy);
  opacity: 0.25;
}

.vision-text {
  max-width: 700px;
  font-size: 1rem;
  line-height: 2;
  color: var(--gray-text);
  text-align: center;
}

/* === PRACTICE AREAS === */
.practice { background: var(--navy2); }

.practice-list {
  list-style: none;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.practice-list li {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.8;
  padding-right: 1.5rem;
  position: relative;
  text-align: right;
}

.practice-list li::before {
  content: '▸';
  color: var(--gold);
  position: absolute;
  right: 0;
}

.practice-list li strong { color: var(--gold); }

/* === MAKING ORDER (BLOG) === */
.making-order { background: var(--navy); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  border: 1px solid rgba(201,168,76,0.25);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
  text-align: right;
}

.blog-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.blog-date {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 0.8rem;
}

.blog-card h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.8rem;
  line-height: 1.5;
  font-weight: 600;
}

.blog-card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.read-more {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
}

.read-more:hover { color: var(--gold-light); }

/* === LOCATION === */
.location { background: var(--off-white); }

.map-wrap {
  border: 2px solid var(--gold);
  overflow: hidden;
  margin-top: 2rem;
}

/* === CONTACT === */
.contact { background: var(--navy2); }

.contact-inner { max-width: 600px; }

.contact-details {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-details p { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.contact-details a { color: var(--gold); }
.contact-details a:hover { text-decoration: underline; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 13px 16px;
  font-size: 0.9rem;
  font-family: 'Heebo', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  text-align: right;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--gold); }

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.35); }

/* === WILLS SECTION === */
.wills-section { background: var(--navy); }

.wills-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--navy2);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 3.5rem 3rem;
  text-align: center;
  border-radius: 2px;
}

.wills-icon { font-size: 3rem; margin-bottom: 1.2rem; }

.wills-title {
  font-family: 'Heebo', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.wills-desc {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.wills-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.wills-features li {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.wills-features li { color: var(--gold-light); font-weight: 500; }

.wills-cta {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: var(--gold);
  color: var(--navy);
  padding: 18px 24px;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: 'Heebo', sans-serif;
  letter-spacing: 1px;
  border-radius: 10px;
  text-align: center;
  transition: background 0.2s, transform 0.15s;
  margin-bottom: 1.5rem;
}

.wills-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.wills-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  font-style: italic;
}

/* === FOOTER === */
footer {
  background: #060e1a;
  text-align: center;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-social a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}

.footer-social a:hover { color: var(--gold); border-color: var(--gold); }

.footer-contact a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-contact a:hover { color: var(--gold); }

.footer-copy {
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
}

/* === FLOATING BUTTONS === */
.floating-buttons {
  position: fixed;
  bottom: 2rem;
  left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 999;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.fab.whatsapp {
  background: #25d366;
  color: #fff;
}

.fab.accessibility {
  background: var(--navy);
  color: var(--gold);
  border: 2px solid var(--gold);
}

/* === ACCESSIBILITY PANEL === */
.accessibility-panel {
  position: fixed;
  bottom: 7.5rem;
  left: 1.5rem;
  background: var(--navy);
  border: 1px solid var(--gold);
  padding: 1.2rem;
  display: none;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 998;
  min-width: 180px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.accessibility-panel.open { display: flex; }

.accessibility-panel h3 {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
  text-align: center;
}

.accessibility-panel button {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 8px 12px;
  font-size: 0.82rem;
  font-family: 'Heebo', sans-serif;
  cursor: pointer;
  text-align: right;
  transition: background 0.2s, border-color 0.2s;
}

.accessibility-panel button:hover {
  background: rgba(201,168,76,0.15);
  border-color: var(--gold);
}

/* High contrast mode */
body.high-contrast {
  filter: contrast(1.6) brightness(1.1);
}

/* === HAMBURGER === */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { flex-direction: column-reverse; }
  .hero-left { flex: 0 0 360px; width: 100%; }
  .hero-photo { object-position: center 8%; }
  .hero-right { padding: 2.5rem 2rem; }

  .hamburger { display: flex; }

  .nav-container {
    height: 64px;
    padding: 0 1.2rem;
    flex-wrap: nowrap;
  }

  #mainNav {
    display: none;
    position: fixed;
    top: 64px;
    right: 0; left: 0;
    background: var(--navy);
    border-top: 1px solid rgba(201,168,76,0.3);
    z-index: 99;
    padding: 1rem 0;
  }

  #mainNav.open { display: block; }

  #mainNav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  #mainNav ul li a {
    display: block;
    padding: 14px 2rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  #mainNav ul li a.tab-highlight {
    margin: 0.8rem 2rem;
    text-align: center;
    border: 1px solid var(--gold);
  }
}

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.5rem; }
}

/* === CONTRACT SECTION === */
.contract-section { background: var(--navy); }

.contract-iframe-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.35);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.35);
  margin-top: 2rem;
}

.contract-iframe-wrap iframe {
  width: 100%;
  height: 850px;
  border: none;
  display: block;
  background: #fff;
}

@media (max-width: 768px) {
  .contract-iframe-wrap iframe { height: 600px; }
}
