/*
Theme Name: Houston Surgeons
Theme URI: https://thehoustonsurgeons.com
Author: The Mar Company
Author URI: https://themarcompany.com
Description: Custom theme for Houston Surgeons PLLC — expert surgical care in Houston.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: houston-surgeons
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0B1C2E;
  --navy-mid:#122742;
  --navy-lt: #1A3657;
  --gold:    #C9A253;
  --gold-lt: #E8C880;
  --off-white:#F7F5F0;
  --text:    #1C1C1C;
  --muted:   #6B7280;
  --radius:  6px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--off-white);
  color: var(--text);
  line-height: 1.6;
}

/* NAV */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #fff;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e8e5de;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 0.75rem;
  text-decoration: none; line-height: 1;
}
.nav-logo img { height: 58px; width: auto; display: block; margin-top: -9px; }
.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 400;
  color: var(--navy); letter-spacing: 0.02em;
  display: block; line-height: 1; padding-top: 4px;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--navy); text-decoration: none;
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--navy) !important;
  padding: 0.5rem 1.25rem; border-radius: var(--radius); font-weight: 600 !important;
}
.nav-cta:hover { background: var(--gold-lt) !important; }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); }

/* HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-mid) 55%, #1d4a70 100%);
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 2rem 2rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; width: 55%;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,162,83,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { max-width: 680px; position: relative; z-index: 1; }
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 300;
  color: #fff; line-height: 1.08; margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--gold-lt); }
.hero-sub {
  font-size: 1.05rem; font-weight: 300;
  color: rgba(247,245,240,0.72);
  max-width: 520px; margin-bottom: 2.5rem; line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; background: var(--gold); color: var(--navy);
  border: none; cursor: pointer; padding: 0.9rem 2rem;
  font-family: 'Inter', sans-serif; font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius); transition: background 0.2s;
}
.btn-primary:hover { background: var(--gold-lt); }
.btn-outline {
  display: inline-block; background: transparent; color: rgba(247,245,240,0.85);
  border: 1px solid rgba(247,245,240,0.35); padding: 0.9rem 2rem;
  font-family: 'Inter', sans-serif; font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius); transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-stats {
  margin-top: auto; padding-top: 3rem;
  display: flex; gap: 3rem; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.stat { border-left: 2px solid var(--gold); padding-left: 1rem; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem; font-weight: 300; color: #fff; line-height: 1;
}
.stat-label {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(247,245,240,0.55); margin-top: 0.25rem;
}

/* SECTIONS */
section { padding: 6rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 300; line-height: 1.2;
  color: var(--navy); margin-bottom: 1.25rem;
}
.section-intro {
  font-size: 1.05rem; font-weight: 300;
  color: var(--muted); line-height: 1.8; max-width: 640px;
}

/* ABOUT */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-visual { position: relative; }
.about-map-wrap { border-radius: 2px; overflow: hidden; aspect-ratio: 4/3; width: 100%; }
.about-features { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.feature-card {
  background: var(--off-white); border-radius: var(--radius);
  padding: 1.25rem; border-left: 3px solid var(--gold);
}
.feature-card h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.25rem; color: var(--navy); }
.feature-card p { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

/* SURGEONS */
.surgeons { background: var(--off-white); }
.surgeons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 3.5rem; }
.surgeon-card {
  background: #fff; border-radius: 2px; overflow: hidden;
  box-shadow: 0 2px 20px rgba(11,28,46,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}
.surgeon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11,28,46,0.13);
}
.surgeon-photo { width: 100%; height: 380px; object-fit: cover; object-position: center top; display: block; }
.surgeon-info { padding: 2rem; }
.surgeon-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem; font-weight: 400; color: var(--navy); margin-bottom: 0.25rem;
}
.surgeon-credentials {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem;
}
.surgeon-bio { font-size: 0.9rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.5rem; }
.surgeon-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  background: var(--off-white); color: var(--navy);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem; border-radius: 2rem; border: 1px solid #e0ddd7;
}

/* SERVICES */
.services { background: var(--navy); }
.services .section-title { color: #fff; }
.services .section-intro { color: rgba(247,245,240,0.65); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px;
  margin-top: 3.5rem;
  border: 1.5px solid rgba(201,162,83,0.15); border-radius: var(--radius); overflow: hidden;
}
.service-item {
  background: var(--navy-mid); padding: 2rem 1.75rem;
  transition: background 0.2s; border: 1px solid rgba(255,255,255,0.04);
}
.service-item:hover { background: var(--navy-lt); }
.service-icon { width: 36px; height: 36px; margin-bottom: 1rem; color: var(--gold); }
.service-item h3 { font-size: 0.95rem; font-weight: 600; color: #fff; margin-bottom: 0.5rem; }
.service-item p { font-size: 0.82rem; color: rgba(247,245,240,0.55); line-height: 1.6; }

/* LOCATIONS */
.locations { background: #fff; }
.locations-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3.5rem; }
.location-card {
  border: 1px solid #e8e5de; border-radius: var(--radius);
  padding: 2rem; position: relative; overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.location-card:hover { border-color: var(--gold); box-shadow: 0 4px 24px rgba(201,162,83,0.1); }
.location-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
}
.location-number {
  font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; font-weight: 300;
  color: var(--off-white); position: absolute; top: 0.5rem; right: 1.5rem; line-height: 1;
}
.location-name {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem;
}
.location-facility {
  font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 400;
  color: var(--navy); margin-bottom: 0.5rem; line-height: 1.2;
}
.location-address { font-size: 0.85rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.25rem; }
.location-link {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.4rem; transition: color 0.2s;
}
.location-link:hover { color: var(--gold); }
.location-link::after { content: '\2192'; }

/* CONTACT */
.contact-band { background: var(--navy); padding: 5rem 2rem; }
.contact-inner { max-width: 900px; margin: 0 auto; }
.contact-header { margin-bottom: 2.5rem; }
.contact-info-row { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-bottom: 3rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item-icon {
  width: 40px; height: 40px; min-width: 40px; flex-shrink: 0;
  background: rgba(201,162,83,0.12); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.contact-item-icon svg { color: var(--gold); }
.contact-item-label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.15rem;
}
.contact-item-value { font-size: 1.05rem; color: #fff; font-weight: 300; }
.contact-form-side {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,162,83,0.2);
  border-radius: var(--radius); padding: 2rem;
}
.contact-form-side h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem; font-weight: 300; color: #fff; margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(247,245,240,0.55); margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(247,245,240,0.15); border-radius: var(--radius);
  color: #fff; padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif; font-size: 0.9rem;
  outline: none; transition: border-color 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(247,245,240,0.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--navy); color: #fff; }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* FOOTER */
.site-footer { background: #070f1a; padding: 2rem; text-align: center; }
.site-footer img { height: 48px; margin-bottom: 1rem; }
.site-footer .footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; color: rgba(247,245,240,0.6); margin-bottom: 1rem;
}
.footer-links {
  display: flex; justify-content: center; gap: 2rem;
  list-style: none; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(247,245,240,0.4); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.site-footer .copyright { font-size: 0.75rem; color: rgba(247,245,240,0.25); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .surgeons-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 7rem 1.5rem 2rem; }
  .hero-stats { gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  section { padding: 4rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info-row { flex-direction: column; gap: 1.5rem; }
}

/* ═══ WP OVERRIDE RESETS ═══ */
body.wp-theme-houston-surgeons { margin: 0 !important; padding: 0 !important; background: var(--off-white) !important; font-family: 'Inter', sans-serif !important; }
body.wp-theme-houston-surgeons *, body.wp-theme-houston-surgeons *::before, body.wp-theme-houston-surgeons *::after { box-sizing: border-box; }
body.wp-theme-houston-surgeons .hero { min-height: 100vh !important; background: linear-gradient(155deg, var(--navy) 0%, var(--navy-mid) 55%, #1d4a70 100%) !important; display: flex !important; flex-direction: column !important; justify-content: center !important; padding: 8rem 2rem 2rem !important; position: relative !important; overflow: hidden !important; }
body.wp-theme-houston-surgeons .hero h1 { font-family: 'Cormorant Garamond', serif !important; font-size: clamp(3rem, 6vw, 5.5rem) !important; font-weight: 300 !important; color: #fff !important; line-height: 1.08 !important; margin-bottom: 1.5rem !important; }
body.wp-theme-houston-surgeons .hero h1 em { font-style: italic !important; color: var(--gold-lt) !important; }
body.wp-theme-houston-surgeons .site-nav { position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; z-index: 100 !important; background: #fff !important; border-bottom: 1px solid #e8e5de !important; box-shadow: 0 1px 8px rgba(0,0,0,0.06) !important; }
body.wp-theme-houston-surgeons .nav-brand { font-family: 'Cormorant Garamond', serif !important; font-size: 1.5rem !important; color: var(--navy) !important; }
body.wp-theme-houston-surgeons .section-title { font-family: 'Cormorant Garamond', serif !important; font-size: clamp(2rem, 4vw, 3.25rem) !important; font-weight: 300 !important; color: var(--navy) !important; }
body.wp-theme-houston-surgeons .surgeon-name { font-family: 'Cormorant Garamond', serif !important; font-size: 1.75rem !important; color: var(--navy) !important; }
body.wp-theme-houston-surgeons .services { background: var(--navy) !important; }
body.wp-theme-houston-surgeons .services .section-title { color: #fff !important; }
body.wp-theme-houston-surgeons .contact-band { background: var(--navy) !important; }
body.wp-theme-houston-surgeons .contact-band .section-title { color: #fff !important; }
body.wp-theme-houston-surgeons .contact-band h3 { color: #fff !important; }
body.wp-theme-houston-surgeons .btn-primary { background: var(--gold) !important; color: var(--navy) !important; border-radius: var(--radius) !important; text-decoration: none !important; }
body.wp-theme-houston-surgeons .btn-outline { background: transparent !important; color: rgba(247,245,240,0.85) !important; border: 1px solid rgba(247,245,240,0.35) !important; text-decoration: none !important; }
body.wp-theme-houston-surgeons .surgeon-photo { width: 100% !important; height: 380px !important; object-fit: cover !important; object-position: center top !important; }
body.wp-theme-houston-surgeons .surgeons-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 2.5rem !important; }
body.wp-theme-houston-surgeons .services-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; }
body.wp-theme-houston-surgeons .locations-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; }
body.wp-theme-houston-surgeons .about-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; }
body.wp-theme-houston-surgeons section { padding: 6rem 2rem !important; }
body.wp-theme-houston-surgeons .site-footer { background: #070f1a !important; }

@media (max-width: 900px) {
  body.wp-theme-houston-surgeons .about-grid { grid-template-columns: 1fr !important; }
  body.wp-theme-houston-surgeons .surgeons-grid { grid-template-columns: 1fr !important; }
  body.wp-theme-houston-surgeons .services-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 700px) {
  body.wp-theme-houston-surgeons .services-grid { grid-template-columns: 1fr !important; }
  body.wp-theme-houston-surgeons .locations-grid { grid-template-columns: 1fr !important; }
  body.wp-theme-houston-surgeons section { padding: 4rem 1.5rem !important; }
}
