/*
Theme Name: Israel Production Services
Theme URI: https://israelproductionservices.com
Author: Highlight Films
Author URI: https://highlight.co.il
Description: Cinematic and elegant theme for Israel Production Services
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: ips-theme
*/

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

:root {
  --orange:   #FF5C00;
  --orange-d: rgba(255,92,0,0.15);
  --orange-b: rgba(255,92,0,0.08);
  --bg-deep:  #0a0f1c;
  --bg-dark:  #0e1320;
  --bg-main:  #1a1f2e;
  --bg-card:  #161c2d;
  --bg-alt:   #1a2035;
  --text:     #e8e4d8;
  --text-dim: #9aa0b8;
  --text-sub: #5a6480;
  --border:   rgba(255,92,0,0.15);
  --serif:    'Cormorant Garamond', Georgia, serif;
  --sans:     'Montserrat', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg-main);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange); text-decoration: none; }
a:hover { opacity: 0.8; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: 0.03em;
  color: #f0ecde;
}

p { color: #b8c0d4; line-height: 2; font-size: 13px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
  font-family: var(--sans);
}

.section-title {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 300;
  color: #f0ecde;
  margin-bottom: 40px;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.btn-primary {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--orange);
  color: var(--orange);
  padding: 14px 32px;
  border-radius: 2px;
  background: var(--orange-b);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-primary:hover {
  background: var(--orange);
  color: #fff;
  opacity: 1;
}

.btn-ghost {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 14px 0;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); opacity: 1; }

/* ─── NAVIGATION ────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,15,28,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.site-logo {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--orange);
  text-transform: uppercase;
  line-height: 1.2;
  text-decoration: none;
}
.site-logo span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.32em;
  color: rgba(255,92,0,0.55);
  margin-top: 3px;
  font-family: var(--sans);
}

/* Main nav */
#main-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}
#main-nav ul li { position: relative; }
#main-nav ul li a {
  font-size: 8.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-family: var(--sans);
  padding: 6px 0;
  transition: color 0.2s;
}
#main-nav ul li a:hover,
#main-nav ul li.current-menu-item > a { color: var(--orange); opacity: 1; }

/* Dropdown */
#main-nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-top: 2px solid var(--orange);
  min-width: 260px;
  padding: 6px 0;
  flex-direction: column;
  gap: 0;
  z-index: 9999;
  list-style: none;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
#main-nav ul li:hover > ul,
#main-nav ul li:focus-within > ul { display: flex; }
#main-nav ul li ul li {
  display: block;
  width: 100%;
}
#main-nav ul li ul li a {
  display: block;
  padding: 11px 20px;
  color: var(--text-dim);
  font-size: 8px;
  letter-spacing: 0.18em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  pointer-events: auto;
}
#main-nav ul li ul li a:hover {
  color: var(--orange);
  background: rgba(255,92,0,0.05);
  opacity: 1;
}

.nav-cta {
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--orange);
  color: var(--orange);
  padding: 9px 18px;
  border-radius: 2px;
  font-family: var(--sans);
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--orange); color: #fff; opacity: 1; }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text-dim);
  transition: all 0.3s;
}

/* ─── HERO ─────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a2540 0%, #0f1a30 50%, #1e2a1a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 40px 80px;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,92,0,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.18;
  z-index: 0;
}

.hero-content { position: relative; z-index: 1; max-width: 760px; }

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
  font-family: var(--sans);
}

.hero-rule {
  width: 36px;
  height: 1px;
  background: var(--orange);
  margin: 0 auto 28px;
  opacity: 0.7;
}

#hero h1 {
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 300;
  line-height: 1.12;
  color: #f4f0e6;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}
#hero h1 em { font-style: italic; color: var(--orange); }

.hero-sub {
  font-size: 9px;
  letter-spacing: 0.28em;
  color: #7888a8;
  text-transform: uppercase;
  line-height: 2.2;
  margin-bottom: 40px;
  font-family: var(--sans);
}

.hero-actions { display: flex; gap: 20px; align-items: center; justify-content: center; flex-wrap: wrap; }

/* ─── STATS STRIP ───────────────────────────────────────────── */
.stats-strip {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 30px 40px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.stat { text-align: center; }
.stat-n {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 300;
  color: var(--orange);
  line-height: 1;
  display: block;
}
.stat-l {
  font-size: 8px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #4a5472;
  margin-top: 8px;
  font-family: var(--sans);
}
.stats-strip-line {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ─── SERVICES GRID ─────────────────────────────────────────── */
.services-section {
  padding: 80px 40px;
  background: var(--bg-card);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.service-card {
  background: var(--bg-card);
  padding: 32px 26px;
  transition: background 0.25s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.service-card:hover { background: #1e2640; opacity: 1; }
.service-icon { font-size: 22px; margin-bottom: 18px; opacity: 0.7; }
.service-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: #d8d2be;
  margin-bottom: 8px;
}
.service-desc {
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: #4a5472;
  line-height: 2;
  text-transform: uppercase;
  font-family: var(--sans);
}
.service-arrow {
  margin-top: 20px;
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 0.1em;
  font-family: var(--sans);
}

/* ─── ABOUT SECTION ─────────────────────────────────────────── */
.about-section {
  padding: 80px 40px;
  background: var(--bg-alt);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  max-width: 100%;
}
.about-badge {
  display: inline-block;
  font-size: 8.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border: 1px solid rgba(255,92,0,0.3);
  color: var(--orange);
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 26px;
  font-family: var(--sans);
}
.about-text h2 { font-size: 36px; margin-bottom: 22px; line-height: 1.25; }
.about-text p { margin-bottom: 18px; }
.about-link {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  border-bottom: 1px solid rgba(255,92,0,0.3);
  padding-bottom: 3px;
  font-family: var(--sans);
}

.about-quote {
  border-left: 1px solid rgba(255,92,0,0.2);
  padding-left: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quote-mark {
  font-family: var(--serif);
  font-size: 64px;
  color: var(--orange);
  line-height: 0.6;
  opacity: 0.3;
  margin-bottom: 16px;
}
.quote-text {
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  color: #8898b8;
  line-height: 1.75;
}
.quote-source {
  font-size: 8px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #3a4462;
  margin-top: 18px;
  font-family: var(--sans);
}

/* ─── NEWS / BLOG ───────────────────────────────────────────── */
.news-section {
  padding: 80px 40px;
  background: var(--bg-main);
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.post-card:hover { border-color: var(--orange); }
.post-card-img { width: 100%; height: 180px; object-fit: cover; background: #1e2640; }
.post-card-body { padding: 24px; }
.post-meta {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4a5472;
  margin-bottom: 10px;
  font-family: var(--sans);
}
.post-card-body h3 {
  font-family: var(--serif);
  font-size: 20px;
  color: #d8d2be;
  margin-bottom: 12px;
  line-height: 1.3;
}
.post-card-body p { font-size: 12px; margin-bottom: 18px; }
.post-link {
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  font-family: var(--sans);
}

/* ─── INNER PAGE ────────────────────────────────────────────── */
.page-hero {
  padding: 160px 40px 80px;
  background: linear-gradient(135deg, #1a2540 0%, #0f1a30 100%);
  text-align: center;
  position: relative;
}
.page-hero::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--orange);
  margin: 28px auto 0;
  opacity: 0.6;
}
.page-hero h1 { font-size: clamp(32px, 4vw, 52px); color: #f4f0e6; }
.page-hero .page-sub {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #7888a8;
  margin-top: 14px;
  font-family: var(--sans);
}

.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 70px 40px;
}
.page-content h2 {
  font-size: 30px;
  margin-top: 50px;
  margin-bottom: 16px;
}
.page-content h3 { font-size: 22px; margin-top: 36px; margin-bottom: 12px; }
.page-content p { margin-bottom: 20px; font-size: 14px; line-height: 2; }
.page-content ul { list-style: none; margin: 0 0 20px; }
.page-content ul li {
  font-size: 13px;
  color: var(--text-sub);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding-left: 18px;
  position: relative;
}
.page-content ul li::before {
  content: '—';
  color: var(--orange);
  position: absolute;
  left: 0;
  font-size: 11px;
}

/* ─── CONTACT ───────────────────────────────────────────────── */
.contact-section {
  padding: 80px 40px;
  background: var(--bg-dark);
  text-align: center;
}
.contact-section p { max-width: 500px; margin: 0 auto 36px; }
.contact-email {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--orange);
  display: block;
  margin-bottom: 30px;
}

/* ─── FOOTER ────────────────────────────────────────────────── */
#site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
}
.footer-main {
  padding: 60px 40px 40px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .site-logo { font-size: 16px; display: inline-block; margin-bottom: 16px; }
.footer-brand p { font-size: 12px; line-height: 1.9; max-width: 240px; }

.footer-col h4 {
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
  font-weight: 400;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  font-size: 11px;
  color: #4a5472;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--text-dim); opacity: 1; }

.footer-bar {
  border-top: 1px solid rgba(255,92,0,0.08);
  padding: 20px 40px;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bar p { font-size: 9px; letter-spacing: 0.15em; color: #2a3048; margin: 0; }
.footer-bar-links { display: flex; gap: 24px; }
.footer-bar-links a { font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: #2a3048; }
.footer-bar-links a:hover { color: #4a5472; opacity: 1; }

/* ─── UTILITIES ─────────────────────────────────────────────── */
.divider-line {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

.wp-block-image { margin: 32px 0; }
.wp-block-image img { border-radius: 3px; }

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  #main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-dark); border-bottom: 1px solid var(--border); padding: 20px; }
  #main-nav.open { display: block; }
  #main-nav ul { flex-direction: column; gap: 4px; }
  #main-nav ul li ul { display: none !important; position: static; border: none; padding-left: 16px; background: transparent; }
  .menu-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-section { grid-template-columns: 1fr; }
  .about-quote { border-left: none; border-top: 1px solid rgba(255,92,0,0.2); padding-left: 0; padding-top: 30px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .stats-strip-line { display: none; }
  .header-inner { padding: 16px 20px; }
  .container { padding: 0 20px; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  #hero h1 { font-size: 36px; }
}
