@charset "UTF-8";
/* CSS Document */
/* 1. Reset box-sizing globally so padding doesn't break widths */
html {
  box-sizing: border-box;
	background-color: #656565
}

*, *::before, *::after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
body {
  font-family: 'Lato', sans-serif;
	font-optical-sizing: auto;
  font-style: normal;
	 margin: 0;                     /* Removes default browser spacing */
              /* Forces body to be at least full screen height */
	min-height: 100vh;  /* Fallback for older browsers */
  min-height: 100dvh; /* Modern mobile-friendly viewport height */
}

/* main container */

.container {
	border: 1px solid #896f00; 
	width: min(100% - 2rem, 1280px); /* 1rem padding on each side, max 1280px wide */
  margin-inline: auto;             /* Centers the container horizontally */
		
}
/* bar with phone */
.topheader-container {
	background-color: #498e68;
	height: 48px;
	width: 100%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding-right: 69px;
	margin: 0px;
}
.phone-link {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: black;
  text-decoration: none;
  margin: 0;
  padding-left: 10px;
}
/* main container */
.header-container {
	background-color: #efefef;
  min-height: 261px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.header-container > h1 {
	font-family: Lato, sans-serif; font-weight: 700;
	font-size: 60px;
	text-align: center;
	color: black;
	margin: 0;
  padding-bottom: 33px;
  line-height: 1;
}
/* navigation bar */
.navbar {
	display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
	gap: 20px;
  padding: 25px 69px 0px 69px;
  margin: 0px;
}
.navbar img {
  max-width: 376px;
  width: 100%;
  height: auto;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
	font-family: Lato, sans-serif; font-weight: 400;
	font-size: 20px;
	color: black;
	text-decoration: none;
	margin: 0;
	
}
.nav-link-active {
	font-family: Lato, sans-serif; font-weight: 400;
	font-size: 20px;
	color: #896f00;
	text-decoration: none;
}
.nav-link:hover {
  color: #896f00;
	text-decoration: underline
}

/* button*/
.appt-button {
font-family: Lato, sans-serif; font-weight: 400;
  background-color: #c6b663; /* Gold/yellow color */
  color: #000000;           /* Black text */
	border: 2px solid #000000;
  text-decoration: none;
  padding: 6px 20px;
  border-radius: 20px;      /* Pill shape */
  font-size: 20px;
}
.appt-button:hover {
	text-decoration: underline
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-link,
.nav-link-active,
.appt-button {
  white-space: nowrap;    /* CHANGE: Keeps "Book Appointment" on one line */
}
/* rule */
.goldrule {
  border: none;            
  height: 3px;            
  background-color: #896f00;  
              
	padding-left: 0px;
	padding-right: 0px;
	width: 100%;
	margin: 0px;
}
/*hamburger menu*/
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #000000;
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* Animates the 3 lines into an "X" when clicked */
.hamburger.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}
/* gradients */
.opacity {
	background-image: linear-gradient(to right, rgba(255,255,255,.3), rgba(255,255,255,0), rgba(255,255,255,0));
}
.grayscale {
 background-color: rgba(0,0,0,.3);
}
/* puts the opacity and grayscale over the image */
.image-overlay {
	position: relative;
  display: block; 
  width: 100%;
	margin:0;
	
}
.image-overlay img {
  display: block;
  width: 100%;
  height: auto;
}
.image-overlay.grayscale::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
	z-index: 1; /* Sits above the image */
}
.image-overlay.opacity::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
  pointer-events: none;
	z-index: 1; /* Sits above the image */
}
/* Text layered on top of image, grayscale, and opacity */
.overlay-text {
	position: absolute;
  z-index: 2;           /* Sits above both ::before and ::after overlays */
	top: 50%;
	padding-left: 69px;
	transform: translateY(-50%);
	width: 50%;
}
.overlay-text h2 {
  font-family: Lato, sans-serif; font-weight: 700;
  font-size: 50px;
  color: #ffffff;    
  margin: 0;
}
.overlay-text p {
  font-family: Lato, sans-serif; font-weight: 400; font-style: italic;
  font-size: 35px;
  color: #ffffff;       
  margin: 0;
}
/* Service grid stuff */
/*Service container*/
.services-content {
	padding: 60px 69px 69px 69px;
	margin-bottom: 0px;
	display: flex;
	flex-direction: column;
	gap: 33px;
	background-color: #efefef;
}
/* GRID AHHH (top two columns*/
.two-col-section {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 69px;
	align-items: center;
	align-items: stretch;
	padding: 0px;
}
/*making sure the image fills the column*/
.col-image img {
  width: 100%;
	height: 100%;
	object-fit: cover;
  display: block;
}
.section-heading {
  font-family: Lato, sans-serif; font-weight: 700;
  font-size: 25px;
  color: #498e68;
  margin: 0 0 8px 0;
}
.section-heading.centered {
  text-align: center;
  margin-bottom: 8px;
}
.subheading {
  font-family: Lato, sans-serif; font-weight: 700;
  font-size: 17px;
  color: #000000;
  margin: 0 0 14px 0;
}
.col-text p {
  font-family: Lato, sans-serif; font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: #30343a;
  margin: 0 0 16px 0;
}
.col-text p:last-child {
  margin-bottom: 0;
}
.section-rule {
  border: none;
  height: 0px;
  border-top: 2px solid #896f00;
  width: 100%;
  margin: 0 0 14px 0;
}

.section-rule.centered {
  margin: 0 auto 24px auto;
}
.subheading,
.col-text p.subheading {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #000000;
  margin: 0 0 14px 0;
}
.treatments-subheading {
  padding-left: 20px; 
}
/* GRID AHHH (bottom two columns*/
.treatments-section {
  margin-top: 0px; 
}
.treatments-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto); /* Fills 4 items down left column, then 4 down right */
  column-gap: 56px;
  row-gap: 20px;
 padding-left: 20px;
  margin: 16px 0 0 0;
}
.treatments-grid li {
  font-family: Lato, sans-serif; font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: #30343a;
}
/*footer*/
.footer {
	background-color: #498e68;
	width: 100%;
	height: auto;
	padding: 33px 69px;
	
}
.footer-grid {
	 display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
	padding: 33px 0px 33px 0px;
	
}
.footer-grid h3 {
	font-family: Lato, sans-serif; font-weight: 400;
	font-size: 20px;
	color: #ffffff;
	margin: 0px;
	line-height: 1;
	padding-bottom: 10px;
	width: fit-content;
}
.footer-grid p {
	font-family: Lato, sans-serif; font-weight: 300;
	font-size: 15px;
	color: #ffffff;
	margin: 0px;
	line-height: 1.4;
	width: fit-content;
}
.alignment {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	position: relative;
}
.alignment img {
	display: block;
}
.policies {
	display: flex;
	flex-direction: row;
	gap: 33px;
	justify-content: center;
	margin-inline: auto;
}
.policies p {
	font-family: Lato, sans-serif; font-weight: 300;
	font-size: 13px;
	color: #ffffff;
	margin: 0;
	line-height: 1;
}
/*link stuff*/
.footer-links {
	list-style: none;
  padding: 0;
  margin: 0;
  width: fit-content;
}
.footer-links li {
  margin-bottom: 6px;
}
.footer-links li:last-child {
  margin-bottom: 0;
}
.footer-links a {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.2;
}
.footer-links a:hover {
  text-decoration: underline;
  color: #efefef;
}
/* Styles Terms of Use & Privacy Policy links at the bottom */
.policies p,
.policies a {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: #ffffff;
  text-decoration: none;
  margin: 0;
  line-height: 1;
}
.policies a:hover {
  text-decoration: underline;
}
/*responsive design*/
/* Tablet Screens (1024px and below) */
@media (max-width: 1024px) {
  .topheader-container {
    padding-right: 2rem;
  }

  .navbar {
    padding: 25px 2rem 0px 2rem;
  }

  .nav-menu {
    gap: 18px;
  }

  .navbar img {
    max-width: 260px;
  }
	.overlay-text {
    left: 2rem;
    max-width: 550px;
  }

  .overlay-text h2 {
    font-size: 34px;
	  margin-bottom: 8px;
  }

  .overlay-text p {
    font-size: 22px;
	  line-height: 1.3;
  }
}

/* Mobile Screens (960px and below) */
@media (max-width: 960px) {
  .topheader-container {
    height: 40px;
    padding-right: 1rem;
  }

  .phone-link {
    font-size: 16px;
  }

  .header-container {
    min-height: 190px;
  }

  .navbar {
    flex-wrap: wrap;
    padding: 16px 1rem 0px 1rem;
  }

  .navbar img {
    max-width: 170px;
  }
.logo-link {
    order: 1;
  }

  .nav-actions {
    order: 2;
    gap: 12px;
  }
	.appt-button {
    font-size: 14px;
    padding: 6px 14px;
  }
  /* Shows the hamburger icon on mobile */
  .hamburger {
    display: flex;
  }

  /* Hides the menu links by default on mobile */
  .nav-menu {
	  order: 3;
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #efefef;
    border-top: 1px solid #d4d4d4;
    padding: 16px 1rem;
    margin-top: 14px;
    gap: 16px;
    text-align: right;
	  align-items: flex-end;
  }

  /* Reveals the menu links when JavaScript adds the ".open" class */
  .nav-menu.open {
    display: flex !important;
  }

  .header-container > h1 {
    font-size: 42px;
    padding-bottom: 24px;
  }
	.services-content {
    padding: 40px 2rem 48px 2rem;
    margin-bottom: 0px;
    gap: 33px;
  }

  .two-col-section {
    grid-template-columns: 1fr; /* Stacks image and text into 1 column */
    gap: 24px;
  }
	.col-image img {
    height: auto; /* Lets image display full natural height when stacked on mobile */
  }
  /* Puts the horse photo ABOVE the Animal Chiropractic text on mobile so both sections match */
  .two-col-section.reverse-mobile .col-image {
    order: -1;
  }
  .treatments-grid {
    grid-template-columns: 1fr; /* Stacks bullets into 1 clean column on mobile */
    grid-auto-flow: row;
    grid-template-rows: auto;
    row-gap: 16px;
  }
	.footer {
    padding: 33px 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr; /* 2 columns = 2 rows total */
    gap: 32px 24px;
    padding: 28px 0px 48px 0px;
  }

  .footer-grid h3 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .image-overlay img {
    min-height: 260px;
    object-fit: cover;
    object-position: center; /* Keeps the main subject centered when cropped */
	  max-width: none;
  }
	.overlay-text {
    left: .75rem;
    right: .75rem;
		width: auto;
    max-width: none;
  }

  .overlay-text h2 {
    font-size: clamp(20px, 5vw, 26px);
    margin-bottom: 6px;
  }

  .overlay-text p {
    font-size: clamp(13px, 3.5vw, 16px);
    line-height: 1.35;
  }
}
@media (max-width: 640px) {
  .services-content {
    padding: 32px 1rem 40px 1rem;
    margin-bottom: 0px;
  }

  .section-heading {
    font-size: 26px;
  }
	.appt-button {
    font-size: 9px;
    padding: 5px 12px;
    border-width: 1.5px; /* Keeps the black outline from looking too thick at smaller sizes */
  }
	.footer {
    padding: 24px 1rem;
  }

  .footer > a img,
  .footer > img {
    max-width: 200px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr; /* Keeps 2x2 grid (2 rows) on phones */
    gap: 24px 16px;
    padding: 24px 0px 32px 0px;
  }

  .footer-grid h3 {
    font-size: 19px;
    padding-bottom: 8px;
  }

  .footer-links a,
  .footer-grid p {
    font-size: 13px;
    overflow-wrap: anywhere; /* Prevents long email address from overflowing column width */
  }

  /* Bottom bar with Facebook icon & policies */
  .alignment {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .policies {
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-inline: 0;
    gap: 12px 20px;
  }
}
/*smoolle phonnes*/
@media (max-width: 420px) {
  .navbar img {
    max-width: 135px;
  }

  .appt-button {
    font-size: 12px;
    padding: 5px 10px;
  }
}
.lato-light { font-family: Lato, sans-serif; font-weight: 300; }
.lato-light-italic { font-family: Lato, sans-serif; font-weight: 300; font-style: italic; }
.lato-regular { font-family: Lato, sans-serif; font-weight: 400; }
.lato-bold { font-family: Lato, sans-serif; font-weight: 700; }
.lato-bold-italic { font-family: Lato, sans-serif; font-weight: 700; font-style: italic; }
.lato-black { font-family: Lato, sans-serif; font-weight: 900; }