/*
Theme Name: Asy-Med
Theme URI: https://example.com
Author: Vasile
Description: Tema personalizata pentru Cabinete Medicale Asy-Med, recreata dupa site-ul Wix original.
Version: 1.0
Text Domain: asymed
*/

/* ===================================================
   Asy-Med — stylesheet
   Palette: clinical teal + warm ivory, calm & trustworthy
=================================================== */

:root {
  --teal-900: #aebfc9;
--teal-700: #c3d3db;
--teal-600: #d2e0e6;
--teal-500: #def;
--teal-100: #f5f7f6;
  --ivory: #f5f7f6;
  --paper: #f5f7f6;
  --ink: #737170;
  --header-bg: #f5f7f6;
  --ink-soft: #4d5a58;
  --line: #dfe8e6;
  --accent: #c98a4b;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(15, 61, 62, 0.08);
  --maxw: 1120px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Georgia", "Iowan Old Style", serif;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--teal-900); text-decoration: underline; }

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--header-bg);
  color: #737170;
  font-size: 0.85rem;
}
.topbar a { color: #737170; }
.topbar a { color: #1d2624; }
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: #eafaf9; }
.topbar .phone { font-weight: 700; letter-spacing: 0.02em; color: #737170; font-size: 1.05rem; }
.topbar .social { display: flex; gap: 12px; align-items: center; }
.topbar .social a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #737170;
}
.topbar .social a:hover { background: var(--accent); text-decoration: none; }

/* ---------- Header / nav ---------- */
header.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  gap: 4px;
  flex-shrink: 0;
}
.brand-logo {
  height: 80px;
  width: 215px;
}
.brand .name {
  font-family: "Georgia", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-900);
}
.brand .tag {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #737170;
}
.brand .tag {
  text-transform: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: #737170;
}
nav.primary-nav { position: relative; }
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 1.1rem;
  color: var(--teal-900);
  cursor: pointer;
}

.menu {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.menu > li { position: relative; }
.menu > li > a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.1rem;
}
.menu > li > a:hover,
.menu > li.active > a {
  background: var(--teal-100);
  color: #9e5145;
  text-decoration: none;
}

.submenu {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.15s ease;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.submenu a:hover {
  background: var(--teal-100);
  color: #9e5145;
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  background: #fbfcfc;
  color: #b8443b;
  padding: 64px 0;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  color: #b8443b;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 0.5em;
}
.hero p { font-size: 1.1rem; font-weight: 700; color: #505a58; margin-bottom: 1.5em; }
.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 24px;
}
.hero img {
  border-radius: var(--radius);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-note {
  font-size: 0.7rem;
  font-weight: 400;
  color: #505a58;
  margin-top: -1em;
}
.hero-tight {
  margin-top: -1.6em;
}
.btn {
  display: inline-block;
  background: #b8443b;
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: #963a32; text-decoration: none; transform: translateY(-1px); }
.btn-outline {
  display: inline-block;
  background: #b8443b;
  border: 1.5px solid #b8443b;
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
}
.btn-outline:hover { background: #963a32; text-decoration: none; }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: var(--teal-100);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
.page-header .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: #aa4c41;
  font-weight: 700;
  margin-bottom: 6px;
}
.page-header h1 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2rem); }
.page-header .doctor-name {
  letter-spacing: 0.1em;
  font-size: 1.1rem;
  color: #aa4c41;
  font-weight: 700;
  margin-top: 8px;
}
.page-header .media {
  margin-top: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 360px;
  box-shadow: var(--shadow);
}

/* ---------- Generic sections ---------- */
main { padding: 48px 0 64px; }
.section { margin-bottom: 48px; }
.section h2 { font-size: 1.5rem; border-bottom: 2px solid var(--teal-100); padding-bottom: 10px; }
.lede { font-size: 1.05rem; color: var(--ink-soft); max-width: 70ch; }

.service-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.service-list li {
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-left: 4px solid #aa4c41;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.97rem;
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.specialty-card {
  background: #fbfcfc;;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
.specialty-card:hover { transform: translateY(-3px); }
.specialty-card h3 { font-size: 1.1rem; margin-bottom: 0.3em; }
.specialty-card p { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 14px; }
.specialty-card a.btn-link {
  font-weight: 700;
  font-size: 0.88rem;
  color: #b8443b;;
}
.specialty-card a.btn-link::after { content: " →"; }

.cta-band {
  background: #fbfcfc;
  color: #737170;
  border-radius: var(--radius);
  padding: 28px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border: 1px solid #e0e0e0;
}
.cta-band h2 { color: #737170; margin: 0; font-size: 1.25rem; }
.cta-band p { margin: 4px 0 0; color: #737170; }

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  scroll-margin-top: 190px;
}
.info-card h2 { font-size: 1.2rem; }
.info-card .media {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
}
.hours-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.hours-table td { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.hours-table td:last-child { text-align: right; color: var(--ink-soft); }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 16px;
}
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: #505a58;
  color: #f5f7f6;
  padding: 36px 0 24px;
  font-size: 0.9rem;
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
footer a { color: #f5f7f6; }
footer .social { display: flex; gap: 10px; }
footer .social a {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  align-items: center;
  justify-content: center;
}
footer .social a:hover { background: var(--accent); text-decoration: none; }
footer .copy { color: #d4d8d7; width: 100%; text-align: center; margin-top: 18px; font-size: 0.82rem; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero .container { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .menu-toggle { display: inline-block; }
  nav.primary-nav .menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 10px;
    min-width: 240px;
  }
  nav.primary-nav.open .menu { display: flex; }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
    padding-left: 12px;
  }
  .has-submenu.open .submenu { display: block; }
  .topbar .container { justify-content: center; text-align: center; }
}
.inline-link { text-decoration: none; }
.inline-link:hover { text-decoration: underline; }
.site-top-wrap {
  position: sticky;
  top: 0;
  z-index: 60;
}
#specialitati-sectiune {
  scroll-margin-top: 185px;
}
.collab-row {
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-left: 4px solid #aa4c41;
  border-radius: 8px;
  padding: 24px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #737170;
  margin-bottom: 24px;
}
.collab-row:last-child {
  margin-bottom: 0;
}
.hero-callout {
  border: 1.5px solid #525a58;
  border-radius: 10px;
  padding: 2px 20px 4px;
  margin: -8px 0 16px;
  display: inline-block;
}
.hero-callout p {
  margin-top: 0.3em;
  margin-bottom: 0.3em;
}
