/* ============================================================
   global.css — Shared Styles for All Pages
   Gowtham Advanced Physiotherapy
   Link this on EVERY page alongside the page-specific CSS
============================================================ */

/* ── CSS VARIABLES ── */
:root {
  --blue:  #102542;
  --coral: #f87060;
  --grey:  #cdd7d6;
  --beige: #b3a394;
  --white: #ffffff;
  --deep:  #0a192e;
  --light: #f4f7f6;
  --mid:   #5a6a7a;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: 'Outfit', sans-serif;
  background: var(--white);
  color: var(--blue);
  cursor: none;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--coral); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: fixed; width: 38px; height: 38px;
  border: 1.5px solid var(--coral); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s, border-color .25s;
}

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 60px; transition: all .4s; background: transparent;
}
nav.scrolled,
nav.solid {
  background: var(--blue);
  padding: 14px 60px;
  box-shadow: 0 6px 30px rgba(16,37,66,.25);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif; font-size: 20px;
  font-weight: 600; letter-spacing: .07em; color: var(--white);
  text-decoration: none; display: flex; align-items: center; gap: 10px; cursor: none;
}
.nav-logo .sub {
  font-size: 9px; font-weight: 400; letter-spacing: .18em;
  text-transform: uppercase; opacity: .65; display: block; margin-top: 1px;
}
.logo-diamond {
  width: 15px; height: 15px;
  background: var(--coral); transform: rotate(45deg); flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-size: 12px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .1em; color: var(--white); text-decoration: none;
  cursor: none; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--coral); transition: width .3s;
}
.nav-links a:hover::after,
.nav-links a.act::after { width: 100%; }
.btn-book {
  cursor: none; border: 2px solid var(--coral); padding: 10px 22px;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: .12em;
  background: var(--coral); color: var(--white); border-radius: 3px; transition: all .3s;
}
.btn-book:hover { background: transparent; color: var(--coral); }

/* Hamburger (mobile) */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: none; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; }

/* Mobile nav overlay */
.mob-nav {
  display: none; position: fixed; inset: 0; z-index: 490;
  background: var(--blue); flex-direction: column;
  align-items: center; justify-content: center; gap: 22px;
}
.mob-nav.open { display: flex; }
.mob-nav a {
  font-family: 'Cormorant Garamond', serif; font-size: 36px;
  font-weight: 300; color: var(--white); text-decoration: none;
  cursor: none; transition: color .2s;
}
.mob-nav a:hover { color: var(--coral); }
.mob-close {
  position: absolute; top: 22px; right: 22px;
  background: none; border: none; font-size: 28px; color: var(--white); cursor: none;
}
.mob-book {
  margin-top: 8px; padding: 13px 36px;
  background: var(--coral); color: var(--white); border: none; border-radius: 3px;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: .1em; cursor: none;
}

/* ── PAGE BANNER ── */
.page-banner {
  min-height: 64vh; display: flex; align-items: flex-end;
  position: relative; overflow: hidden; padding: 130px 60px 72px;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(16,37,66,.96) 0%, rgba(16,37,66,.65) 70%, rgba(16,37,66,.3) 100%);
  z-index: 1;
}
.page-banner img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.pb-inner { position: relative; z-index: 2; }
.pb-inner .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 3px; color: var(--coral); margin-bottom: 18px;
}
.pb-inner .eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--coral); }
.pb-inner h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(46px, 6.5vw, 88px); font-weight: 300;
  color: var(--white); line-height: .96;
}
.pb-inner h1 em { color: var(--coral); font-style: italic; }
.pb-inner p {
  font-size: 16px; color: rgba(205,215,214,.85);
  max-width: 540px; margin-top: 18px; line-height: 1.72;
}

/* ── SHARED TYPOGRAPHY & LABELS ── */
.sec-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 3px; color: var(--coral); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.sec-label::before { content: ''; width: 20px; height: 2px; background: var(--coral); }
.sec-label.center  { justify-content: center; }
.sec-label.light   { color: rgba(205,215,214,.75); }
.sec-label.light::before { background: rgba(205,215,214,.75); }

.sec-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 3.5vw, 52px); font-weight: 400;
  line-height: 1.08; margin-bottom: 18px;
}
.sec-h2 em    { color: var(--coral); font-style: italic; }
.sec-h2.white { color: var(--white); }

/* ── SHARED BUTTONS ── */
.btn-primary {
  cursor: none; padding: 13px 32px;
  background: var(--coral); color: var(--white);
  border: 2px solid var(--coral);
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: .12em; border-radius: 3px; transition: all .3s;
}
.btn-primary:hover { background: transparent; color: var(--coral); }

.btn-outline-w {
  cursor: none; padding: 13px 32px;
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.38);
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: .12em; border-radius: 3px; transition: all .3s;
}
.btn-outline-w:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

.btn-outline-d {
  cursor: none; padding: 13px 32px;
  background: transparent; color: var(--blue);
  border: 2px solid rgba(16,37,66,.35);
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: .12em; border-radius: 3px; transition: all .3s;
}
.btn-outline-d:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .72s ease, transform .72s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: .1s; }
.rd2 { transition-delay: .22s; }
.rd3 { transition-delay: .34s; }
.rd4 { transition-delay: .46s; }

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--coral); padding: 64px 60px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.cta-strip h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3.5vw, 44px); font-weight: 300;
  color: var(--white); line-height: 1.1; margin-bottom: 8px;
}
.cta-strip p { font-size: 15px; color: rgba(255,255,255,.87); }
.btn-cta {
  padding: 15px 36px; background: var(--blue); color: var(--white); border: none;
  border-radius: 3px; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: .12em; cursor: none;
  transition: background .3s; white-space: nowrap;
}
.btn-cta:hover { background: var(--deep); }

/* ── FOOTER ── */
footer { background: var(--deep); color: var(--white); padding: 72px 60px 36px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px;
  padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 34px;
}
.fb p { font-size: 13px; color: rgba(255,255,255,.48); line-height: 1.75; margin: 12px 0 18px; max-width: 268px; }
.fb address { font-style: normal; font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.8; }
.fc h4 { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 2.5px; color: var(--coral); margin-bottom: 16px; }
.fc ul { list-style: none; }
.fc ul li { margin-bottom: 9px; }
.fc ul li a { font-size: 13px; color: rgba(255,255,255,.52); text-decoration: none; cursor: none; transition: color .25s; }
.fc ul li a:hover { color: var(--white); }
.hours-list { list-style: none; }
.hours-list li { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.48); padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.hours-list li:last-child { border-bottom: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,.3); flex-wrap: wrap; gap: 10px; }
.foot-soc { display: flex; gap: 9px; margin-top: 18px; }
.foot-soc a {
  width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: rgba(255,255,255,.5); text-decoration: none; cursor: none; transition: all .3s;
}
.foot-soc a:hover { border-color: var(--coral); color: var(--coral); }

/* ── GLOBAL RESPONSIVE ── */
@media (max-width: 820px) {
  nav { padding: 14px 20px; }
  nav.scrolled, nav.solid { padding: 12px 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .page-banner { padding: 110px 22px 52px; }
  .cta-strip { padding-left: 22px; padding-right: 22px; }
  footer { padding: 52px 22px 28px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}