/* =======================================
   ZK BEAUTY SPOT – CLINICAL BLUE PREMIUM
   ======================================= */

:root {
  --primary-color: #8bbadf; /* Sky blue accent */
  --primary-hover: #6ea7d3;
  --accent-gold: #c9a76a;
  --text-dark: #2f3a45;
  --text-medium: #55626e;
  --bg-light: #f8f9fa; /* pearl white */
  --bg-soft: #e9f1f6; /* light clinic blue */
  --header-blue: #b0d0e5; /* soft blue for header/footer */
  --footer-blue: #a6c9e1; /* slightly deeper footer blue */
  --card-bg: #ffffff;
  --border-soft: rgba(0,0,0,0.08);
}

/* -------- GLOBAL -------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* -------- HEADER -------- */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--header-blue);
  backdrop-filter: blur(8px);
  z-index: 1000;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 12px 20px;
}

.logo {
  max-height: 70px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.5)) brightness(1.2);
  transition: all 0.3s ease;
}

.logo:hover {
  filter: drop-shadow(0 0 16px rgba(255,255,255,0.6)) brightness(1.4);
}

.nav a {
  color: #0f2635;
  margin-left: 22px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--accent-gold);
}

/* -------- HERO -------- */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.88);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.25);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  max-width: 800px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

.hero p {
  font-size: 1.1rem;
  color: #f3f8fb;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* -------- BUTTONS -------- */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn.primary {
  background: var(--primary-color);
  color: #fff;
}

.btn.primary:hover {
  background: var(--primary-hover);
}

.btn.outline {
  border: 2px solid #fff;
  color: #fff;
}

.btn.outline:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

/* -------- SECTIONS -------- */
.section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.section-title {
  font-size: 2.1rem;
  color: var(--text-dark);
  margin-bottom: 40px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* -------- PRODUCTS -------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}

.product-card {
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background-color: var(--bg-soft);
  border-bottom: 1px solid #d7e4ec;
}

.product-info {
  padding: 25px;
}

.product-info h3 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.product-info p {
  color: var(--text-medium);
  margin-bottom: 10px;
}

.product-info .price {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
}

.btn.small {
  margin-top: 10px;
  font-size: 0.9rem;
}

/* -------- CONSULT -------- */
.consult-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  align-items: center;
}

.consult-image img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.08);
}

.consult-content h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.consult-content p {
  margin-bottom: 20px;
  color: var(--text-medium);
}

input, textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: rgba(0,0,0,0.45);
}

input:focus,
textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 8px rgba(139,186,223,0.25);
}

button {
  background: var(--primary-color);
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: var(--primary-hover);
}

/* -------- VIDEOS -------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 25px;
}

iframe {
  width: 100%;
  height: 280px;
  border-radius: 14px;
  border: none;
  box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}

/* -------- ABOUT -------- */
.about-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: center;
}

.about-text p {
  margin-bottom: 15px;
  color: var(--text-medium);
}

.about-img img {
  object-fit: contain;
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 10px;
  max-height: 250px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}

/* -------- CERTIFICATES -------- */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.cert-card {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.06);
}

.cert-card img {
  width: 100%;
  object-fit: contain;
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 10px;
  max-height: 220px;
}

.cert-card h3 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.cert-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

/* -------- TRUST -------- */
.trust {
  background: linear-gradient(180deg, #edf4f8 0%, #e6eef2 100%);
  text-align: center;
  padding: 100px 20px;
  border-top: 1px solid #d5e1ea;
  border-bottom: 1px solid #d5e1ea;
}

.trust .section-title span {
  color: var(--primary-color);
}

.trust-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.trust-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 25px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.trust-item .icon {
  color: var(--primary-color);
  font-size: 1.4rem;
}

.trust-item p {
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 500;
}

.trust-note {
  font-size: 1.05rem;
  color: var(--text-medium);
  margin-top: 30px;
  font-style: italic;
}

/* -------- CONTACT -------- */
.contact {
  background: #fdfdfd;
  text-align: center;
  padding: 100px 20px;
}

.contact form {
  max-width: 500px;
  margin: 0 auto;
}

/* -------- FOOTER -------- */
.footer {
  background: var(--footer-blue);
  text-align: center;
  padding: 50px 20px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-logo {
  max-height: 80px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.4)) brightness(1.3);
  margin-bottom: 10px;
}

.footer p {
  color: #0f2635;
  font-size: 0.95rem;
}

.footer .tagline {
  color: var(--accent-gold);
  font-weight: 500;
}

/* -------- ANIMATIONS -------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------- RESPONSIVE -------- */
@media (max-width: 768px) {

  /* מונע גלילה הצידה סופית */
  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  /* HEADER – סידור למובייל */
  .header-inner {
    padding: 10px 14px;
    gap: 10px;
  }

  .logo {
    max-height: 50px;
  }

  /* תפריט עליון – כן מוצג, קטן ומסודר */
  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .nav a {
    margin: 0;
    font-size: 0.85rem;
  }

  /* HERO */
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* sections */
  .section {
    padding: 70px 15px;
  }

  /* וידוא שאין אלמנט רחב מדי */
  img,
  video,
  iframe {
    max-width: 100%;
    height: auto;
  }
}
