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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'IBM Plex Sans Hebrew', sans-serif;
  font-weight: 500;
  background-color: #f2f2f2;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== Layout ========== */
.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 50px 0;
  border-bottom: 1px solid #d1d5db;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 40px;
  color: #1a1a1a;
}

/* ========== Navbar ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  height: 80px;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.navbar-logo img {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-links a {
  display: block;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.nav-links a:hover {
  background-color: #f2f2ff;
}

/* Hamburger */
.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  width: 28px;
  height: 28px;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #333;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    position: relative;
    z-index: 60;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 8px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }

  .nav-links a {
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 0;
  }

  .menu-toggle:checked ~ .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  height: 500px;
  margin-top: 80px;
  display: flex;
  align-items: center;
  background-image: url('../images/background-flower.jpeg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(25,6,25,0.7), rgba(18,17,16,0.0));
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 0 24px;
  max-width: 1024px;
  margin: 0 auto;
  width: 100%;
}

.hero-text {
  text-align: left;
}

.hero-content h1 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.hero-content h2 {
  font-size: 1.875rem;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-content h3 {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7;
  opacity: 0.85;
  max-width: 550px;
}

@media (min-width: 769px) {
  .hero {
    height: 700px;
  }

  .hero-text {
    max-width: 50%;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-content h2 {
    font-size: 3rem;
  }

  .hero-content h3 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.875rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========== Services ========== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-card {
  position: relative;
  height: 300px;
  border-radius: 6px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  transition: opacity 0.3s;
}

.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(25,6,25,0.3), rgba(18,17,16,0.3));
}

.service-card:hover {
  opacity: 0.9;
}

.service-label {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  text-align: center;
  padding: 0 16px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ========== About ========== */
.about-content {
  text-align: center;
}

.about-logo {
  width: 400px;
  height: 100px;
  max-width: 100%;
  margin: 0 auto 30px;
  border: 2px solid #fff;
  object-fit: contain;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  max-width: 640px;
  margin: 0 auto;
}

/* ========== Assessment Form ========== */
.form-card {
  background: #fff;
  max-width: 28rem;
  margin: 0 auto;
  padding: 24px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 8px 12px;
  font-family: 'IBM Plex Sans Hebrew', sans-serif;
  font-size: 0.95rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  color: #1a1a1a;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #C40322;
  box-shadow: 0 0 0 3px rgba(196, 3, 34, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  width: 100%;
  padding: 12px;
  background: #C40322;
  color: #fff;
  font-family: 'IBM Plex Sans Hebrew', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-submit:hover {
  opacity: 0.9;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-message {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-message.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-message.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ========== Contact ========== */
.contact-card {
  background: #fff;
  max-width: 28rem;
  margin: 0 auto;
  padding: 16px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-label {
  font-weight: 600;
  white-space: nowrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
}

.contact-item svg {
  flex-shrink: 0;
  color: #C40322;
}

.contact-item a,
.contact-item span {
  font-size: 0.95rem;
  color: #333;
}

.contact-item a:hover {
  color: #C40322;
}

/* ========== Footer ========== */
.footer {
  padding: 10px 0;
  text-align: center;
  border-top: 1px solid #d1d5db;
  background: transparent;
}

.footer p {
  font-size: 0.85rem;
  color: #666;
}

/* ========== Utilities ========== */
