/* ============================
   Low Cost Pet Shots - Main Styles
   File: css/style.css
   Version: 1.1 - Updated with full-button links and hover colors
   ============================ */

/* Global resets */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: url('../img/background.jpg') no-repeat center center fixed;
  background-size: cover;
  overflow-x: hidden;
  color: #321860;
}

.scroll-container {
  width: 100%;
  overflow-y: auto;
}

/* Header styles */
.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 65px;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.topbar-title {
  font-size: 16px;
  font-weight: bold;
  color: #321860;
  display: flex;
  align-items: center;
}

.topbar-title img {
  height: 30px;
  margin-right: 8px;
  display: none;
}

.topbar-title.scrolled img {
  display: inline-block;
}

.nav-menu {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-right: 25px;  
}

.nav-menu a {
  text-decoration: none;
  color: #321860;
  font-weight: 600;
  position: relative;
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #321860;
}

.nav-logo-thumb {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-left: 30px;
  flex-shrink: 0;
}

/* Hero Section */
.hero {
  background-color: rgb(124, 87, 189);
  height: 828px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.main-logo {
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 2;
  position: relative;
  width: 624px;
  max-width: 100%;
  margin-bottom: 12px;
}

.main-title {
  color: rgb(247, 242, 255);
  font-size: 28px;
  font-weight: 700;
  white-space: normal;
}

.subtitle {
  margin-top: 8px;
  font-size: 16px;
  color: rgba(247, 242, 255, 0.7);
}

/* Event Section */
.event-section {
  background: white;
  position: relative;
  padding: 14px;
  margin: -39px auto 0;
  transition: 0.3s;
  z-index: 1;
  max-width: 672px;
  min-width: 672px;
  border-radius: 12px;
}

.day-label {
  color: rgb(50, 24, 96);
  margin: 4px;
  font-family: Circular, sans-serif;
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
}

.day-label.sunday {
  margin-top: 32px;
}

.day-label.blue {
  color: #007BFF;
  margin-top: 32px;
}

.day-description {
  color: rgba(50, 24, 96, 0.7);
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  margin-top: 6px;
}


.event-button {
  flex: 1 1 auto;       /* button fills all remaining width */
  min-width: 0;         /* allow it to shrink if needed */	
  margin: 12px 0;
  border-radius: 100px;
  text-align: center;
  cursor: pointer;
  background: rgb(50, 24, 96);
  transition: background 0.3s;
}

.event-button a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 12.5px 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  border-radius: 100px;
  width: 100%;
}

.event-button:hover {
  background: rgb(71, 34, 137);
}

.event-button.sunday {
  background: rgb(120, 187, 7);
}

.event-button.sunday:hover {
  background: rgb(152, 236, 9);
}

.event-button.blue {
  background: rgb(0, 153, 255);
}

.event-button.blue:hover {
  background: rgb(51, 173, 255);
}

.event-row {
  display: flex;
  align-items: center;  /* vertically center the icon with the button */
  gap: 12px;            /* space between button and icon */
}

.map-link {
  flex: 0 0 40px;       /* fixed slot for the icon */
  line-height: 0;       /* removes extra whitespace around the image */
}

.map-icon {
  width: 40px;
  height: 40px;
  display: block;
}

.contact-text {
  font-size: 14px;
  color: #321860;
  text-align: center;
  margin: 24px 0 12px;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  row-gap: 12px;
  column-gap: 150px;
  justify-content: center;
  margin-bottom: 24px;
}

.contact-button {
  min-width: 157px;
  height: 50px;
  color: #fff;
  background: rgb(251, 112, 65);
  border-radius: 4px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.contact-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  border-radius: 4px;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 0;
}

.contact-button.full-width {
  width: 100%;
  max-width: 350px;
}

.contact-button:hover {
  background: #ff8652;
}


/* --- Prices Page Styles --- */
.scroll-container {
  padding-top: 50px;
}

.price-main-container {
  position: relative;
  padding: 14px;
  margin: 36px auto 0;
  transition: 0.3s;
  z-index: 1;
  max-width: 572px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgb(247, 242, 255);
  border-radius: 8px;
  padding: 25px 15px 9px;
}

.price-options {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.price-box {
  box-shadow: transparent 0px 0px 0px 2px;
  transition: box-shadow 0.15s;
  text-decoration: none;
  color: rgb(50, 24, 96);
  font-family: Circular, sans-serif;
  border: 1px solid rgb(50, 24, 96);
  border-radius: 4px;
  background-color: rgb(200, 178, 238);
  padding: 10px;
  text-align: center;
  width: 150px;
}

.price-box img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 8px;
}

.price-label {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 4px;
}

.price-sub {
  font-size: 12px;
  line-height: 1.3;
}

.price-title {
  width: 620px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: rgb(50, 24, 96);
  line-height: 1.4;
  margin-top: 10px;
  white-space: pre-line;
}

.bounce-text span {
  display: inline-block;
  transform: translateY(0);
  animation: bounce-in 0.8s ease forwards;
}

.oops-main-container {
  position: relative;
  padding: 14px;
  margin: 36px auto 0;
  transition: 0.3s;
  z-index: 1;
  max-width: 572px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgb(247, 242, 255);
  border-radius: 8px;
  padding: 25px 15px 9px;
}

.oops-main-container a.button {
      display: inline-block;
      padding: 12px 24px;
      background-color: #004466;
      color: white;
      text-decoration: none;
      border-radius: 5px;
      font-weight: bold;
      transition: background-color 0.3s;
    }

.oops-main-container a.button:hover {
      background-color: #006699;
    }
	
.error-id {
  font-size: 14px;
  color: #666;
}	

@keyframes bounce-in {
  0% {
    transform: translateY(-50%);
    opacity: 0;
  }
  50% {
    transform: translateY(10%);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
  }
}

.pricing-scroll-container {
  padding-top: 85px;
}

/* --- Dog Pricing Specific Page Styles --- */

.dog-pricing-container {
  background-color: rgb(247, 242, 255);
  border-radius: 8px;
  padding: 25px 10px;
  margin: 0 auto;
  width: 616px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dog-pricing-list {
  border-radius: 8px;
  padding: 0;
  margin: 0 auto;
  width: 550px;
  display: flex;
  flex-direction: column;
}

.dog-pricing-container img {
  width: 606px;
  height: 606px;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 20px;
}

.dog-pricing-container ul {
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
  color: #321860;
  padding-left: 10px;
}

/* --- Cat Pricing Specific Page Styles --- */

.cat-pricing-container {
  background-color: rgb(247, 242, 255);
  border-radius: 8px;
  padding: 25px 10px;
  margin: 0 auto;
  width: 616px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cat-pricing-list {
  border-radius: 8px;
  padding: 0;
  margin: 0 auto;
  width: 550px;
  display: flex;
  flex-direction: column;
}

.cat-pricing-container img {
  width: 606px;
  height: 606px;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 20px;
}

.cat-pricing-container ul {
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
  color: #321860;
  padding-left: 10px;
}

/* --- Locations Page Container --- */

.locations-container {
  background-color: rgb(247, 242, 255);
  max-width: 672px;
  margin: 50px auto;
  border-radius: 10px;
  padding: 25px;
  color: #321860;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.location-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.location-button {
  background: rgb(200, 178, 238);
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  color: #321860;
  cursor: pointer;
  min-width: 140px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease;
}

.location-button:hover {
  background: rgb(220, 200, 250);
}

/* --- Clinic Register --- */
.register-scroll-container {
  padding-top: 50px;
  width: 100%;
  overflow-y: auto;
}

.register-hero {
  background-color: rgb(124, 87, 189);
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.register-event-section {
  height: auto;
  background: white;
  position: relative;
  padding: 14px;
  margin: -39px auto 0;
  transition: 0.3s;
  z-index: 1;
  max-width: 672px;
  min-width: 672px;
  border-radius: 12px;
}

.register-event-section iframe {
      min-height: 2600px;
      display: block;
}

.lang-selector {
  display: flex;
  align-items: center;
  position: relative;
  top: auto;
  right: auto;
  margin-left: 20px;
  margin-right: 10px; /* 👈 adds space from the right edge */
  background: none;
  padding: 0;
  border: none;
}

  .notranslate {
    translate: no;
  }

.topbar {
  transition: margin-top 0.3s ease-in-out;
}


/* media (max-width: 768px) */

@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 10px;
  }

  .topbar-title {
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 18px;
    margin-bottom: 10px;
  }

  .topbar-title img {
    display: block;
    margin: 0 auto 5px;
    height: 36px;
  }

  .nav-menu {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
  }

  .nav-logo-thumb {
    display: none;
  }

  .event-section {
    width: 90%;
    min-width: unset;
    overflow-wrap: break-word;
  }

  .event-button a {
    word-break: break-word;
    white-space: normal;
    padding-left: 5px;
    padding-right: 5px;
    box-sizing: border-box;
  }
  
  .price-main-container {
  position: relative;
  padding: 14px;
  margin: 36px auto 0;
  transition: 0.3s;
  z-index: 1;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgb(247, 242, 255);
  border-radius: 8px;
  padding: 25px 15px 9px;
}

  .oops-main-container {
  position: relative;
  padding: 14px;
  margin: 36px auto 0;
  transition: 0.3s;
  z-index: 1;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgb(247, 242, 255);
  border-radius: 8px;
  padding: 25px 15px 9px;
}

.dog-pricing-container {
  background-color: rgb(247, 242, 255);
  border-radius: 8px;
  padding: 25px 10px;
  margin: 0 auto;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dog-pricing-container img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 20px;
}

.cat-pricing-container {
  background-color: rgb(247, 242, 255);
  border-radius: 8px;
  padding: 25px 10px;
  margin: 0 auto;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cat-pricing-container img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 20px;
}

.locations-container {
  background-color: rgb(247, 242, 255);
  max-width: 85%;
  margin: 50px auto;
  border-radius: 10px;
  padding: 25px;
  color: #321860;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

}
