/* ============================================
   LAKESIDE SMILES DENTISTRY
   Dr. Romy Pabla · 66 Dunlop St W, Barrie ON
   (249) 444-7742 · lakesidesmilesdentistry.ca
   Opening August 2026
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ---- RESET ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background: #fff; color: #1a1a1a; overflow-x: hidden; }

/* ---- VARIABLES ---- */
:root {
  --navy:       #0d2244;
  --navy-dark:  #081628;
  --navy-mid:   #122d58;
  --gold:       #d4b050;
  --gold-mid:   #b0915a;
  --gold-dark:  #8c6820;
  --gold-light: #d4b678;
  --white:      #ffffff;
  --off-white:  #f8f6f1;
  --text-muted: #444;
  --border-gold: rgba(176,145,90,0.25);
}

/* ============ NAV ============ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,28,58,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-gold);
  padding: 0 5%;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { height: 44px; object-fit: contain; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 11px; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-phone { font-size: 12px; font-weight: 600; color: var(--gold-light); letter-spacing: .05em; }
.nav-cta {
  background: linear-gradient(90deg, var(--gold-mid), var(--gold));
  color: #0a1c3a; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 9px 20px; border-radius: 2px; border: none; cursor: pointer;
  text-decoration: none; transition: opacity .2s;
}
.nav-cta:hover { opacity: .88; }

/* ============ HERO ============ */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(170deg, #081628 0%, #0d2244 30%, #122d58 55%, #1a3a6e 75%, #162f4a 100%);
}
.hero-stars { position: absolute; top: 0; left: 0; right: 0; height: 60%; pointer-events: none; }
.hero-star {
  position: absolute; border-radius: 50%; background: #fff;
  animation: twinkle var(--d, 3s) ease-in-out infinite var(--dl, 0s);
}
@keyframes twinkle { 0%,100%{opacity:.1} 50%{opacity:.8} }
.hero-sun {
  position: absolute; right: 8%; top: 10%; width: 8%; padding-top: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, #fde68a 0%, #f59e0b 35%, rgba(245,158,11,0) 70%);
  box-shadow: 0 0 80px 20px rgba(245,158,11,0.2);
}
.hero-lake {
  position: absolute; bottom: 0; left: 0; right: 0; height: 28%;
  background: linear-gradient(180deg, #1b3f5e 0%, #0e2035 100%);
}
.hero-waterline {
  position: absolute; bottom: 28%; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176,145,90,0.5) 25%, rgba(255,255,255,0.2) 50%, rgba(176,145,90,0.5) 75%, transparent);
}
.hero-shimmer {
  position: absolute; bottom: 0; left: 0; right: 0; height: 28%;
  background: repeating-linear-gradient(90deg, transparent 0%, rgba(176,145,90,0.03) 2%, transparent 4%, transparent 7%, rgba(255,255,255,0.015) 8.5%, transparent 10%);
  animation: shimmer 5s ease-in-out infinite;
}
@keyframes shimmer { 0%,100%{opacity:.5} 50%{opacity:1} }
.gold-top-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold-dark) 15%, var(--gold) 50%, var(--gold-dark) 85%, transparent);
}
.hero-mountains { position: absolute; bottom: 27%; left: 0; width: 100%; height: auto; }
.hero-content {
  position: relative; z-index: 5;
  max-width: 1100px; margin: 0 auto;
  padding: 80px 5% 40px; width: 100%;
  display: flex; align-items: center; gap: 5%;
}
.hero-left { flex: 1; }
.hero-right { flex: 0 0 auto; width: 320px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(212,176,80,0.4);
  background: rgba(140,104,32,0.1);
  padding: 5px 16px; border-radius: 2px; margin-bottom: 20px;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }
.badge-txt { font-size: 10px; font-weight: 700; letter-spacing: .3em; color: var(--gold-light); text-transform: uppercase; }

.hero-logo { width: 260px; margin-bottom: 20px; filter: brightness(1.1) drop-shadow(0 4px 24px rgba(0,0,0,0.5)); }
.hero-tagline {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 18px; color: rgba(255,255,255,0.5);
  margin-bottom: 24px; letter-spacing: .04em;
}
.hero-opening-label {
  font-size: 10px; font-weight: 700; letter-spacing: .3em;
  color: rgba(176,145,90,0.6); text-transform: uppercase; margin-bottom: 6px;
}
.hero-opening-date {
  font-family: 'Cormorant Garamond', serif; font-weight: 700;
  font-size: 44px; color: #fff; line-height: 1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4); margin-bottom: 28px;
}
.hero-opening-date span { color: var(--gold-light); }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(90deg, var(--gold-mid), var(--gold));
  color: #0a1c3a; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 13px 24px; border-radius: 2px; border: none; cursor: pointer; transition: opacity .2s;
}
.btn-primary:hover { opacity: .88; }
.btn-secondary {
  background: transparent; color: var(--gold-light);
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 13px 24px; border-radius: 2px;
  border: 1px solid rgba(212,176,80,0.4); cursor: pointer; transition: border-color .2s;
}
.btn-secondary:hover { border-color: rgba(212,176,80,0.8); }

/* ============ CHAT WIDGET ============ */
.chat-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(176,145,90,0.3);
  border-radius: 12px; overflow: hidden; backdrop-filter: blur(10px);
}
.chat-header {
  background: linear-gradient(90deg, rgba(176,145,90,0.2), rgba(176,145,90,0.1));
  padding: 12px 16px; display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(176,145,90,0.2);
}
.chat-avatar { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.chat-name { font-size: 12px; font-weight: 600; color: #fff; }
.chat-status { font-size: 10px; color: #6ee7b7; }
.chat-messages {
  padding: 14px; display: flex; flex-direction: column;
  gap: 10px; height: 210px; overflow-y: auto;
}
.msg { max-width: 85%; font-size: 12px; line-height: 1.5; padding: 8px 12px; border-radius: 10px; }
.msg.bot { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); align-self: flex-start; border-radius: 2px 10px 10px 10px; }
.msg.user { background: linear-gradient(90deg, #b0915a, #c4a060); color: #0a1c3a; align-self: flex-end; font-weight: 500; border-radius: 10px 10px 2px 10px; }
.chat-input-row { display: flex; gap: 8px; padding: 10px 14px; border-top: 1px solid rgba(176,145,90,0.15); }
.chat-input {
  flex: 1; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(176,145,90,0.2); border-radius: 6px;
  padding: 7px 10px; font-size: 12px; color: #fff;
  font-family: 'Montserrat', sans-serif; outline: none;
}
.chat-input::placeholder { color: rgba(255,255,255,0.3); }
.chat-send {
  background: linear-gradient(135deg, var(--gold-mid), var(--gold));
  border: none; border-radius: 6px; width: 32px; height: 32px;
  cursor: pointer; color: #0a1c3a; font-size: 14px; flex-shrink: 0;
}

/* ============ SECTIONS ============ */
section { padding: 80px 5%; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 10px; font-weight: 700; letter-spacing: .3em; color: var(--gold-mid); text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 38px; color: var(--navy); line-height: 1.1; margin-bottom: 16px; }
.gold-rule { display: flex; align-items: center; gap: 10px; margin-bottom: 36px; }
.gold-rule::before { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(176,145,90,0.4)); }
.gold-rule::after  { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(176,145,90,0.4), transparent); }
.rule-diamond { width: 6px; height: 6px; background: var(--gold-mid); transform: rotate(45deg); flex-shrink: 0; }

/* ============ SERVICES ============ */
.services-section { background: var(--off-white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 16px; }
.svc-card {
  background: #fff; border: 1px solid rgba(176,145,90,0.15);
  border-radius: 8px; padding: 24px 20px; transition: all .2s;
}
.svc-card:hover { border-color: rgba(176,145,90,0.5); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(176,145,90,0.1); }
.svc-icon { font-size: 28px; margin-bottom: 12px; }
.svc-name { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.svc-desc { font-size: 12px; color: #666; line-height: 1.6; }

/* ============ ABOUT ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img-wrap { position: relative; }
.dr-photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; border-radius: 8px; display: block; }
.about-tag {
  position: absolute; bottom: -16px; right: -16px;
  background: linear-gradient(135deg, var(--gold-mid), var(--gold));
  color: #0a1c3a; padding: 16px 20px; border-radius: 6px;
  text-align: center; box-shadow: 0 8px 24px rgba(176,145,90,0.3);
}
.about-tag-icon { font-size: 22px; display: block; margin-bottom: 4px; }
.about-tag-label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.about-text p { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.about-highlights { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.highlight { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--navy); font-weight: 500; }
.highlight::before { content: '✦'; color: var(--gold-mid); font-size: 10px; flex-shrink: 0; }

/* ============ CONTACT ============ */
.contact-section { background: var(--navy); }
.contact-section .section-title { color: #fff; }
.contact-section .section-label { color: var(--gold-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon-wrap {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(176,145,90,0.15); border: 1px solid rgba(176,145,90,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.contact-item-label { font-size: 10px; font-weight: 700; letter-spacing: .15em; color: rgba(176,145,90,0.7); text-transform: uppercase; margin-bottom: 4px; }
.contact-item-value { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.6; }
.contact-highlight { color: var(--gold-light); font-weight: 600; }

.contact-form { background: rgba(255,255,255,0.05); border: 1px solid rgba(176,145,90,0.2); border-radius: 8px; padding: 28px; }
.form-title { font-size: 14px; font-weight: 600; color: var(--gold-light); margin-bottom: 20px; }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-label { font-size: 11px; font-weight: 600; letter-spacing: .1em; color: rgba(255,255,255,0.5); text-transform: uppercase; }
.form-input {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(176,145,90,0.2);
  border-radius: 4px; padding: 10px 14px; font-size: 13px; color: #fff;
  font-family: 'Montserrat', sans-serif; outline: none; transition: border-color .2s;
}
.form-input:focus { border-color: rgba(176,145,90,0.5); }
.form-input::placeholder { color: rgba(255,255,255,0.25); }
select.form-input { background: var(--navy); color: #fff; }
.form-btn {
  width: 100%; background: linear-gradient(90deg, var(--gold-mid), var(--gold));
  color: #0a1c3a; font-size: 11px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; padding: 13px; border: none;
  border-radius: 4px; cursor: pointer; margin-top: 4px; transition: opacity .2s;
}
.form-btn:hover { opacity: .88; }

/* ============ FOOTER ============ */
footer { background: var(--navy-dark); padding: 28px 5%; border-top: 1px solid rgba(176,145,90,0.15); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { height: 38px; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.3); letter-spacing: .04em; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 11px; color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }

/* ============ FLOATING CHAT ============ */
.chat-bubble { position: fixed; bottom: 28px; right: 28px; z-index: 200; }
.chat-bubble-btn {
  width: 58px; height: 58px; border-radius: 50%;
  border: 2px solid rgba(176,145,90,0.5); cursor: pointer;
  box-shadow: 0 4px 20px rgba(176,145,90,0.45);
  overflow: hidden; padding: 0; background: none; transition: transform .2s;
}
.chat-bubble-btn:hover { transform: scale(1.08); }
.chat-bubble-btn img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.chat-bubble-badge {
  position: absolute; top: 0; right: 0;
  width: 15px; height: 15px; background: #22c55e;
  border-radius: 50%; border: 2px solid var(--navy-dark);
  animation: blink 2s ease-in-out infinite;
}
.chat-popup {
  position: absolute; bottom: 70px; right: 0; width: 310px;
  background: var(--navy); border: 1px solid rgba(176,145,90,0.3);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5); display: none;
}
.chat-popup.open { display: block; }
.chat-close { background: none; border: none; color: rgba(255,255,255,0.5); font-size: 20px; cursor: pointer; line-height: 1; }

/* ============ RESPONSIVE ============ */
@media (max-width: 720px) {
  .hero-content { flex-direction: column; padding-top: 90px; }
  .hero-right { width: 100%; }
  .hero-logo { width: 200px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-phone { display: none; }
  .about-tag { right: 0; bottom: -12px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-opening-date { font-size: 32px; }
}
