/* ==========================================
   FIZIOTERAPIA 21
   STYLESHEET KRYESOR
========================================== */

/* 1. VARIABLAT DHE RESET */
:root {
  --green: #183b3a;
  --green-dark: #102d2b;
  --sage: #c5e0d2;
  --sage-dark: #719b85;
  --background: #f7f8f5;
  --light: #eef2ed;
  --white: #ffffff;
  --text: #183b3a;
  --muted: #71817b;
  --border: #dfe5df;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  max-width: 100%;
}

img,
video,
iframe {
  max-width: 100%;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section-label {
  color: #7b8e84;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.overline {
  color: var(--sage-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.text-link {
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 1px solid #9fb5aa;
  font-size: 12px;
  font-weight: 700;
  transition: color 0.2s;
}

.text-link:hover {
  color: var(--sage-dark);
}

/* 2. BUTONAT */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  border: 0;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--sage);
  color: var(--green);
}

.btn-dark {
  background: var(--green);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--sage-dark);
}

/* 3. TOPBAR */
.topbar {
  background: var(--green-dark);
  color: #dce8e2;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.topbar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.topbar a {
  color: var(--sage);
}

/* 4. HEADER DHE NAVIGIMI */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 245, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #183b3a12;
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid #8eaea0;
  border-radius: 50%;
  color: var(--sage-dark);
  font-size: 24px;
}

.brand strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
}

.brand strong b {
  color: var(--sage-dark);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.15em;
  overflow-wrap: anywhere;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  font-weight: 600;
}

.nav > a:not(.nav-button) {
  transition: color 0.2s;
}

.nav > a:hover {
  color: var(--sage-dark);
}

.nav-button {
  padding: 13px 17px;
  border-radius: 3px;
  background: var(--green);
  color: var(--white);
  transition: background 0.2s;
}

.nav-button:hover {
  background: var(--sage-dark);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 25px;
  cursor: pointer;
}

/* 5. HERO / BALLINA */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 650px;
  overflow: hidden;
  background: var(--green);
  color: var(--white);
}

.hero-image {
  position: absolute;
  inset: 0 0 0 32%;
  background-image: url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1800&q=90");
  background-size: cover;
  background-position: center;
  opacity: 0.72;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #173a37 0%,
    rgba(23, 58, 55, 0.96) 30%,
    rgba(23, 58, 55, 0.72) 57%,
    rgba(23, 58, 55, 0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 90px;
}

.eyebrow {
  color: #d7e8df;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.hero h1 {
  margin: 24px 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(44px, 5.5vw, 70px);
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: -0.055em;
}

.hero h1 em {
  color: #b9d9c9;
  font-weight: 400;
}

.hero-content > p {
  max-width: 460px;
  color: #d5e2dc;
  font-size: 14px;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 32px;
}

.hero-buttons .text-link {
  color: var(--white);
  border-color: #ffffff55;
}

.hero-person {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 60px;
}

.person-symbol {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff66;
  border-radius: 50%;
  color: var(--sage);
  font-size: 20px;
}

.hero-person strong,
.hero-person small {
  display: block;
}

.hero-person strong {
  font-size: 12px;
}

.hero-person small {
  color: #c1d3cb;
  font-size: 10px;
}

.hero-number {
  position: absolute;
  right: 4%;
  bottom: 35px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d4e1db;
  font-size: 10px;
}

.hero-number span {
  width: 50px;
  height: 1px;
  background: #ffffff66;
}

/* 6. RRETH NESH */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 2.1fr 1.25fr;
  align-items: start;
  gap: 32px;
}

.intro h2,
.section-heading h2,
.gallery h2,
.contact h2 {
  margin-top: 14px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(36px, 4vw, 51px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.intro h2 em,
.section-heading h2 em,
.gallery h2 em {
  color: var(--sage-dark);
  font-weight: 400;
}

.intro-text {
  padding-top: 35px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.95;
}

.intro-text p + p {
  margin-top: 14px;
}

.intro-text .text-link {
  margin-top: 20px;
  color: var(--green);
}

.credentials {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 60px;
  padding: 24px 28px;
  border: 1px solid var(--border);
}

.credential-icon {
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e5eee8;
  color: var(--sage-dark);
  font-size: 23px;
}

.credentials small,
.credentials strong {
  display: block;
}

.credentials small {
  color: #80918a;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.credentials strong {
  font-family: "Manrope", sans-serif;
  font-size: 13px;
}

.credential-line {
  width: 1px;
  height: 36px;
  margin: 0 12px;
  background: var(--border);
}

.credentials p {
  color: var(--muted);
  font-size: 11px;
}

/* 7. SHERBIMET */
.services {
  background: var(--light);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 42px;
}

.section-heading .overline {
  margin-top: 25px;
}

.heading-description {
  max-width: 310px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-card {
  position: relative;
  min-height: 250px;
  padding: 25px 22px;
  border: 1px solid #e5eae4;
  background: #fafbf8;
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px #23463a0c;
}

.service-number {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #a0b0a8;
  font-size: 10px;
}

.service-icon {
  display: flex;
  align-items: center;
  height: 56px;
  color: var(--sage-dark);
  font-size: 28px;
}

.service-card h3 {
  margin: 12px 0 10px;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

.service-card p {
  color: #7b8983;
  font-size: 11px;
  line-height: 1.85;
}

.featured-card {
  background: #dfeae2;
}

.service-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--green);
  color: var(--white);
}

.service-contact h3 {
  font-size: 19px;
}

.service-contact p {
  margin-bottom: 20px;
  color: #c5d8cf;
}

.service-contact .text-link {
  align-self: flex-start;
  color: #d7e9df;
  border-color: #6c9182;
}

.disclaimer {
  margin-top: 20px;
  color: #87958e;
  font-size: 10px;
}

/* 8. GALERIA */
.gallery-heading {
  display: grid;
  grid-template-columns: 1fr 2fr 1.2fr;
  align-items: end;
  gap: 30px;
  margin-bottom: 38px;
}

.gallery-heading > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: start;
  gap: 14px;
}

.gallery-grid figure {
  position: relative;
  height: 285px;
  margin: 0;
  overflow: hidden;
  background: #e2e9e3;
}

.gallery-grid .gallery-large {
  height: 360px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75);
  transition: transform 0.5s;
}

.gallery-grid figure:hover img {
  transform: scale(1.05);
}

.gallery-grid figure::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, #142d2d99);
  content: "";
}

.gallery-grid figcaption {
  position: absolute;
  z-index: 2;
  bottom: 17px;
  left: 18px;
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
}

.gallery-tip {
  margin-top: 18px;
  color: var(--muted);
  font-size: 11px;
}

.gallery-tip code {
  padding: 2px 5px;
  border-radius: 2px;
  background: #e8eee8;
}

/* 9. KONTAKTI */
.contact {
  background: var(--green);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 80px;
}

.contact .section-label {
  color: #b5cfc2;
}

.contact .overline {
  margin-top: 42px;
  color: #b5d6c6;
}

.contact h2 {
  font-size: clamp(43px, 5vw, 62px);
}

.contact h2 em {
  color: #b9d9c9;
  font-weight: 400;
}

.contact-description {
  max-width: 390px;
  margin-top: 24px;
  color: #c5d8cf;
  font-size: 13px;
  line-height: 1.9;
}

.contact-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}

.initials {
  width: 43px;
  height: 43px;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid #749789;
  border-radius: 50%;
  color: #c6e1d2;
  font-size: 12px;
}

.contact-person strong,
.contact-person small {
  display: block;
}

.contact-person strong {
  font-size: 12px;
}

.contact-person small {
  color: #9cb9ab;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.contact-panel {
  min-width: 0;
  padding: 34px;
  background: #f8faf7;
  color: var(--green);
}

.panel-label {
  color: #758880;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.contact-panel h3 {
  margin-top: 17px;
  font-family: "Manrope", sans-serif;
  font-size: 23px;
  letter-spacing: -0.04em;
}

.contact-panel > p:not(.panel-label) {
  margin: 5px 0 22px;
  color: #7b8a83;
  font-size: 11px;
}

.contact-panel form {
  display: flex;
  flex-direction: column;
}

.contact-panel label {
  margin: 12px 0 6px;
  font-size: 10px;
  font-weight: 700;
}

.contact-panel input,
.contact-panel select,
.contact-panel textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #dfe7df;
  border-radius: 2px;
  outline: none;
  background: var(--white);
  color: var(--green);
  font-size: 12px;
}

.contact-panel input:focus,
.contact-panel select:focus,
.contact-panel textarea:focus {
  border-color: #7ca890;
}

.contact-panel textarea {
  resize: vertical;
}

.contact-panel .btn {
  width: 100%;
  margin-top: 20px;
}

.form-hint {
  margin-top: 12px;
  color: #8a9991;
  font-size: 9px;
  line-height: 1.7;
}

/* 10. LOKACIONI DHE GOOGLE MAPS */
.location {
  background: var(--light);
}

.location-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 35px;
}

.location-heading h2 {
  margin-top: 14px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(36px, 4vw, 51px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.location-heading h2 em {
  color: var(--sage-dark);
  font-family: Georgia, serif;
  font-weight: 400;
}

.location-description {
  max-width: 340px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.location-description p:first-child {
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
}

.location-button {
  margin-top: 16px;
  text-align: center;
}

.location-map {
  width: 100%;
  height: 420px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #e2e9e3;
  box-shadow: 0 12px 35px #23463a0c;
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 11. FOOTER */
.footer {
  padding-top: 30px;
  background: var(--green-dark);
  color: #d6e2dc;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 27px;
}

.footer-brand strong {
  color: var(--white);
}

.footer-brand small {
  color: #a0b6aa;
}

.footer-top > p,
.footer-top > a:last-child,
.footer-top > a:not(.brand) {
  font-size: 11px;
}

.footer-top > p {
  color: #a9beb3;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 0;
  border-top: 1px solid #ffffff1a;
  color: #8da69a;
  font-size: 9px;
}

/* 12. TABLET */
@media (min-width: 651px) and (max-width: 950px) {
  .nav {
    gap: 12px;
    font-size: 11px;
  }

  .nav-button {
    padding: 11px 12px;
  }

  .intro-grid {
    grid-template-columns: 1fr 2fr;
  }

  .intro-text {
    grid-column: 2;
    padding-top: 0;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-heading {
    grid-template-columns: 1fr 2fr;
  }

  .gallery-heading > p {
    grid-column: 2;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid .gallery-large {
    grid-column: span 2;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .contact-panel {
    padding: 25px;
  }
}

/* 13. TELEFONA */
@media (max-width: 650px) {
  html {
    scroll-padding-top: 76px;
  }

  .container {
    width: calc(100% - 34px);
  }

  .section {
    padding: 72px 0;
  }

  .topbar {
    font-size: 9px;
  }

  .topbar-inner {
    min-height: 33px;
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
    padding: 6px 0;
    text-align: center;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand {
    gap: 8px;
  }

  .brand-icon {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }

  .brand strong {
    font-size: 12px;
  }

  .brand small {
    font-size: 7px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 15px 22px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--background);
  }

  .nav.open {
    display: flex;
  }

  .nav > a:not(.nav-button) {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-button {
    margin-top: 14px;
    text-align: center;
  }

  /* HERO NE TELEFON */
  .hero {
    min-height: 620px;
    align-items: flex-end;
  }

  .hero-image {
    inset: 0;
    background-position: 60% center;
    opacity: 0.55;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      #173a37ed,
      #173a37a6
    );
  }

  .hero-content {
    padding-top: 90px;
    padding-bottom: 75px;
  }

  .hero h1 {
    font-size: clamp(40px, 11vw, 56px);
  }

  .hero-content > p {
    font-size: 13px;
  }

  .hero-buttons {
    gap: 18px;
  }

  .hero-person {
    margin-top: 42px;
  }

  .hero-number {
    display: none;
  }

  /* RRETH NESH NE TELEFON */
  .intro-grid {
    display: block;
  }

  .intro-grid > div:nth-child(2) {
    margin-top: 28px;
  }

  .intro h2,
  .section-heading h2,
  .gallery h2 {
    font-size: 37px;
  }

  .intro-text {
    padding-top: 22px;
  }

  .credentials {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 35px;
    padding: 18px;
  }

  .credential-line {
    display: none;
  }

  .credentials p {
    width: 100%;
    padding-left: 48px;
    font-size: 10px;
  }

  /* SHERBIMET NE TELEFON */
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }

  .heading-description {
    margin-top: 20px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .service-card {
    min-height: 245px;
    padding: 19px 14px;
  }

  .service-card h3 {
    font-size: 14px;
  }

  .service-card p {
    font-size: 10px;
  }

  .service-number {
    top: 14px;
    right: 12px;
  }

  /* GALERIA NE TELEFON */
  .gallery-heading {
    display: block;
  }

  .gallery-heading > div:nth-child(2) {
    margin-top: 23px;
  }

  .gallery-heading > p {
    margin-top: 17px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .gallery-grid figure,
  .gallery-grid .gallery-large {
    height: 210px;
  }

  .gallery-grid .gallery-large {
    grid-column: span 2;
    height: 260px;
  }

  .gallery-grid figcaption {
    bottom: 10px;
    left: 10px;
    font-size: 10px;
  }
  /* KONTAKTI NE TELEFON */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .contact .overline {
    margin-top: 30px;
  }

  .contact h2 {
    font-size: 44px;
  }

  .contact-panel {
    padding: 24px 19px;
  }

  .contact-panel input,
  .contact-panel select,
  .contact-panel textarea {
    min-height: 44px;
    font-size: 16px;
  }

  .contact-panel textarea {
    min-height: 100px;
  }

  .contact-panel .btn {
    min-height: 46px;
    font-size: 13px;
  }

  /* LOKACIONI NE TELEFON */
  .location-heading {
    display: block;
  }

  .location-description {
    margin-top: 22px;
  }

  .location-map {
    height: 320px;
  }

  .location-button {
    width: 100%;
  }

  /* FOOTER NE TELEFON */
  .footer-top {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .footer-top > p {
    order: 3;
    width: 100%;
    margin: 0;
  }

  .footer-bottom {
    flex-direction: column;
    overflow-wrap: anywhere;
  }
}

/* 14. TELEFONA TE VEGJEL */
@media (max-width: 380px) {
  .container {
    width: calc(100% - 24px);
  }

  .brand strong {
    font-size: 11px;
  }

  .brand small {
    font-size: 6px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-buttons {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact h2 {
    font-size: 36px;
  }

  .contact-panel {
    padding: 20px 14px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 205px;
  }

  .location-map {
    height: 280px;
  }
}
