/* ============================================================
   Stone Equine — Custom Styles
   Palette: chestnut, warm gold, cream, dark espresso
   ============================================================ */

:root {
  --se-dark:      #3A1F0D;   /* espresso — navbar, footer */
  --se-brown:     #7B4A24;   /* chestnut — primary */
  --se-brown-lt:  #A86B3C;   /* lighter chestnut — hover */
  --se-gold:      #C4923A;   /* warm gold — accents */
  --se-gold-lt:   #E0B46A;   /* light gold */
  --se-cream:     #FAF6F0;   /* background */
  --se-cream-dk:  #F0E8DC;   /* card bg */
  --se-sage:      #6D836A;   /* muted sage — supporting */
  --se-text:      #2E1A0E;   /* body text */
  --se-muted:     #7A6558;   /* muted text */
}

/* ── Base ────────────────────────────────────────────────── */
body {
  font-family: 'Lato', sans-serif;
  color: var(--se-text);
  background-color: #fff;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
}

a {
  color: var(--se-brown);
}
a:hover {
  color: var(--se-brown-lt);
}

/* ── Navbar ──────────────────────────────────────────────── */
.se-navbar {
  background-color: var(--se-dark);
  padding-top: 1rem;
  padding-bottom: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.se-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: 0.02em;
}
.se-brand i {
  color: var(--se-gold);
}

.se-navbar .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  transition: color 0.2s;
}
.se-navbar .nav-link:hover,
.se-navbar .nav-link.active {
  color: var(--se-gold) !important;
}

/* Logo in navbar */
.se-nav-logo {
  height: 56px;
  width: auto;
  display: block;
}

/* Logo in footer */
.se-footer-logo {
  height: 88px;
  width: auto;
  display: block;
}

.se-btn-outline-nav {
  border: 1.5px solid var(--se-gold);
  color: var(--se-gold) !important;
  border-radius: 4px;
  padding: 0.4rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background-color 0.2s, color 0.2s;
}
.se-btn-outline-nav:hover {
  background-color: var(--se-gold);
  color: #fff !important;
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}
.navbar-toggler-icon {
  filter: invert(1);
}

/* ── Hero ────────────────────────────────────────────────── */
.se-hero {
  background-image: url('/assets/images/hero.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.se-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(30, 12, 4, 0.82) 0%,
    rgba(58, 31, 13, 0.72) 55%,
    rgba(58, 31, 13, 0.35) 100%
  );
  pointer-events: none;
}

/* Logo displayed in hero right column */
.se-hero-logo {
  width: 100%;
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.4));
}

.se-hero-eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--se-gold);
  margin-bottom: 1rem;
}

.se-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.se-hero-sub {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.se-btn-primary {
  background-color: var(--se-gold);
  border: none;
  color: var(--se-dark);
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  transition: background-color 0.2s, transform 0.15s;
  text-decoration: none;
  display: inline-block;
}
.se-btn-primary:hover {
  background-color: var(--se-gold-lt);
  color: var(--se-dark);
  transform: translateY(-1px);
}

.se-btn-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  padding: 0.7rem 1.8rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-block;
}
.se-btn-outline:hover {
  border-color: #fff;
  color: #fff;
}

.se-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  margin-top: 2.5rem;
}
.se-hero-badge i {
  color: var(--se-gold);
}

/* ── Section Shared ──────────────────────────────────────── */
.se-section {
  padding: 5rem 0;
}
.se-section-cream {
  background-color: var(--se-cream);
}
.se-section-white {
  background-color: #fff;
}

.se-section-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--se-gold);
  margin-bottom: 0.6rem;
}

.se-section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--se-dark);
  margin-bottom: 0.75rem;
}

.se-section-lead {
  font-size: 1.05rem;
  color: var(--se-muted);
  font-weight: 300;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

.se-divider {
  width: 48px;
  height: 3px;
  background: var(--se-gold);
  border: none;
  margin: 1.25rem auto 2.5rem;
  opacity: 1;
}
.se-divider-left {
  margin-left: 0;
}

/* ── Feature Cards ───────────────────────────────────────── */
.se-feature-card {
  background: #fff;
  border: 1px solid rgba(196,146,58,0.15);
  border-radius: 8px;
  padding: 2.25rem 2rem;
  height: 100%;
  transition: box-shadow 0.25s, transform 0.2s;
  text-align: center;
}
.se-feature-card:hover {
  box-shadow: 0 8px 32px rgba(58,31,13,0.1);
  transform: translateY(-3px);
}

.se-feature-icon {
  width: 68px;
  height: 68px;
  background: var(--se-cream-dk);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  color: var(--se-brown);
}

.se-feature-card h4 {
  font-size: 1.2rem;
  color: var(--se-dark);
  margin-bottom: 0.6rem;
}
.se-feature-card p {
  font-size: 0.95rem;
  color: var(--se-muted);
  margin-bottom: 0;
  line-height: 1.7;
}

/* ── About Teaser / Strip ────────────────────────────────── */
.se-about-strip {
  background: linear-gradient(to right, var(--se-dark), #5C2E10);
  padding: 4.5rem 0;
}
.se-about-strip h2 {
  color: #fff;
}
.se-about-strip .se-section-lead {
  color: rgba(255,255,255,0.75);
  max-width: 100%;
}
.se-about-strip .se-section-label {
  color: var(--se-gold);
}

.se-btn-gold {
  background-color: var(--se-gold);
  color: var(--se-dark);
  font-weight: 700;
  padding: 0.7rem 1.8rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s;
  letter-spacing: 0.04em;
}
.se-btn-gold:hover {
  background-color: var(--se-gold-lt);
  color: var(--se-dark);
}

/* ── Service Cards ───────────────────────────────────────── */
.se-service-card {
  background: var(--se-cream);
  border-left: 4px solid var(--se-gold);
  border-radius: 0 8px 8px 0;
  padding: 1.75rem 1.5rem;
  height: 100%;
}
.se-service-card h5 {
  color: var(--se-dark);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.se-service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.se-service-card ul li {
  padding: 0.25rem 0;
  font-size: 0.95rem;
  color: var(--se-muted);
  padding-left: 1.25rem;
  position: relative;
}
.se-service-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--se-gold);
  font-weight: 700;
}

.se-service-icon {
  font-size: 2rem;
  color: var(--se-brown);
  margin-bottom: 0.75rem;
  display: block;
}

/* ── Photo Gallery ───────────────────────────────────────── */
.se-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 8px;
}

.se-gallery-item {
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4/3;
  background: var(--se-cream-dk);
}

.se-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.se-gallery-item:hover img {
  transform: scale(1.04);
}

.se-gallery-item--tall {
  grid-row: span 2;
  aspect-ratio: unset;
}

@media (max-width: 768px) {
  .se-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .se-gallery-item--tall {
    grid-row: span 1;
    aspect-ratio: 4/3;
  }
}

/* ── About Photo ─────────────────────────────────────────── */
.se-about-photo {
  width: 100%;
  max-width: 340px;
  border-radius: 10px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 12px 40px rgba(58,31,13,0.18);
  display: block;
  margin: 0 auto;
}

.se-ultrasound-img {
  width: 100%;
  border-radius: 8px;
  display: block;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ── About Page ──────────────────────────────────────────── */
.se-page-hero {
  background: linear-gradient(135deg, var(--se-dark) 0%, #5C2E10 100%);
  padding: 4rem 0 3.5rem;
}
.se-page-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}
.se-page-hero p {
  color: rgba(255,255,255,0.75);
  font-weight: 300;
}

.se-bio-card {
  background: var(--se-cream);
  border-radius: 10px;
  padding: 2.5rem;
  border: 1px solid rgba(196,146,58,0.2);
}

.se-credential-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--se-cream-dk);
  border: 1px solid rgba(196,146,58,0.3);
  border-radius: 4px;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--se-brown);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* ── Contact Page ────────────────────────────────────────── */
.se-contact-card {
  background: var(--se-cream);
  border-radius: 10px;
  padding: 2.5rem;
  border: 1px solid rgba(196,146,58,0.2);
  height: 100%;
}
.se-contact-card h4 {
  color: var(--se-dark);
  margin-bottom: 1.25rem;
}
.se-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}
.se-contact-item i {
  font-size: 1.25rem;
  color: var(--se-gold);
  margin-top: 0.1rem;
  flex-shrink: 0;
}
.se-contact-item p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--se-muted);
  line-height: 1.6;
}
.se-contact-item a {
  color: var(--se-brown);
  text-decoration: none;
  font-weight: 600;
}
.se-contact-item a:hover {
  text-decoration: underline;
}

.se-contact-cta {
  background: linear-gradient(135deg, var(--se-dark), #5C2E10);
  padding: 4rem 0;
  text-align: center;
}
.se-contact-cta h2 {
  color: #fff;
}
.se-contact-cta p {
  color: rgba(255,255,255,0.75);
}

/* ── 404 ─────────────────────────────────────────────────── */
.se-404 {
  padding: 8rem 0;
  text-align: center;
  background: var(--se-cream);
}
.se-404 h1 {
  font-size: 6rem;
  color: var(--se-brown);
  opacity: 0.3;
  line-height: 1;
}
.se-404 h2 {
  color: var(--se-dark);
}

/* ── Footer ──────────────────────────────────────────────── */
.se-footer {
  background-color: var(--se-dark);
  color: rgba(255,255,255,0.75);
}
.se-footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
.se-footer-tagline {
  color: var(--se-gold);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.se-footer-sub {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  line-height: 1.6;
}
.se-footer-heading {
  color: var(--se-gold);
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.se-footer-links {
  line-height: 2;
}
.se-footer-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.se-footer-links a:hover {
  color: var(--se-gold);
}
.se-footer-contact {
  line-height: 2;
  font-size: 0.9rem;
}
.se-footer-contact a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}
.se-footer-contact a:hover {
  color: var(--se-gold);
}
.se-footer-contact i {
  color: var(--se-gold);
}
.se-footer-service-area {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}
.se-footer-divider {
  border-color: rgba(255,255,255,0.1);
}
.se-footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
