/* ----------------------------------------------
   ROOT + BASE TOKENS — Enhanced modern palette
---------------------------------------------- */
:root {
  --tbp-teal: #24A9AE;
  --tbp-teal-dark: #006165;
  --tbp-teal-light: #7dd7dc;
  --tbp-teal-glow: rgba(36, 169, 174, 0.15);
  --tbp-sand: #F7F2E9;
  --tbp-sand-soft: #faf6f1;
  --tbp-bg: #FAFBFC;
  --tbp-bg-muted: #F0F4F5;
  --tbp-text: #0A1A1F;
  --tbp-text-soft: #4A5F66;
  --tbp-text-muted: #7A8B92;
  
  /* Modern radius system */
  --tbp-radius-xs: 8px;
  --tbp-radius-sm: 12px;
  --tbp-radius: 16px;
  --tbp-radius-lg: 24px;
  --tbp-radius-xl: 32px;
  
  /* Enhanced shadows */
  --tbp-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --tbp-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --tbp-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
  --tbp-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
  
  /* Transitions */
  --tbp-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --tbp-transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  margin: 0;
  background: var(--tbp-bg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  color: var(--tbp-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--tbp-teal-dark);
  text-decoration: none;
  transition: var(--tbp-transition);
}



/* Material Icons */
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

::selection {
  background-color: var(--tbp-teal);
  color: #FFF;
}

/* ----------------------------------------------
   TYPOGRAPHY — Modern hierarchy
---------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  margin: 0 0 0.75rem;
  color: var(--tbp-teal-dark);
  letter-spacing: -0.02em;
  font-weight: 900;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 900;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
}

.tbp-lead {
  font-size: 1.125rem;
  color: var(--tbp-text-soft);
  max-width: 640px;
  margin: 0 0 1.5rem;
  line-height: 1.65;
}




/* ===== TOP BAR ===== */
.tbp-topbar {
  background: #006165;
  color: #ffffff;
  font-size: 0.85rem;
  padding: 6px 0;
}

.tbp-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tbp-topbar-left,
.tbp-topbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.tbp-topbar-link {
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.tbp-topbar-link:hover {
  opacity: 0.8;
}

.tbp-topbar-socials a {
  color: #ffffff;
  display: inline-flex;
  padding: 0 4px;
  font-size: 1.1rem;
  text-decoration: none;
}

.tbp-topbar-status {
  margin-left: 1rem;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
  background: #004d52;
}

.tbp-topbar-status.open {
  background: #15a372;
}

.tbp-topbar-status.closed {
  background: #a33b3b;
}

/* ============================
   TOP BAR RESPONSIVE BEHAVIOUR
   ============================ */

/* Default: show full text on desktop */
.tbp-topbar-link span.text {
  display: inline;
}

/* Hide text on tablet/mobile */
@media (max-width: 768px) {




  .tbp-topbar-link {
    gap: 0; /* tighten spacing */
  }

  .tbp-topbar-link span.text {
    display: none; /* hide email + phone words */
  }

  .tbp-topbar-left {
    gap: 1rem; /* icons spaced nicely */
  }

  /* Shrink socials & status slightly */
  .tbp-topbar-status {
    font-size: 0.75rem;
    padding: 2px 6px;
  }
  body p {
    font-size: 0.91rem;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .tbp-topbar {
    padding: 4px 0;
  }



  .tbp-topbar-right {
    gap: 0.75rem;
  }
}







/* ----------------------------------------------
   CONTAINERS & LAYOUT
---------------------------------------------- */
.tbp-container {
  max-width: 1280px;
  margin-inline: auto;
  padding: 0 clamp(1rem, 5vw, 3rem);
}

.tbp-main {
  min-height: 60vh;
}

/* ----------------------------------------------
   ICON CIRCLES — Glassmorphic effect
---------------------------------------------- */
.tbp-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(247, 242, 233, 0.8));
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--tbp-shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--tbp-transition);
}

.tbp-icon-circle:hover {
  transform: translateY(-2px);
  box-shadow: var(--tbp-shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.tbp-icon-circle span.material-symbols-rounded {
  color: var(--tbp-teal);
  font-size: 2.5rem;
}

.tbp-icon-circle-sm {
  width: 44px;
  height: 44px;
  margin-bottom: 0;
  border-radius: 12px;
}

/* Section heading combo */
.tbp-section-heading {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.tbp-section-heading--tight {
  margin-bottom: 1.5rem;
}

.tbp-section-heading > div:last-child {
  flex: 1;
}

/* ----------------------------------------------
   HEADER — Glass morphism with blur
---------------------------------------------- */
.tbp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  transition: var(--tbp-transition);
}

.tbp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tbp-logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  transition: var(--tbp-transition);
}

.tbp-logo:hover {
  opacity: 0.85;
}

.tbp-logo img {
  height: 64px;
}

/* Navigation — Modern underline effect */
.tbp-nav {
  position: relative;
}

.tbp-nav ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tbp-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  font-weight: 500;
  position: relative;
  font-size: 0.9375rem;
  color: var(--tbp-text-soft);
  border-radius: var(--tbp-radius-sm);
  transition: var(--tbp-transition);
}

.tbp-nav a:hover {
  background: var(--tbp-teal-glow);
  color: var(--tbp-teal-dark);
}

.tbp-nav-icon {
  font-size: 1.125rem;
  transition: var(--tbp-transition);
}

.tbp-nav a:hover .tbp-nav-icon {
  transform: scale(1.1);
}

.tbp-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--tbp-text);
  border-radius: var(--tbp-radius-sm);
  transition: var(--tbp-transition);
}

.tbp-nav-toggle:hover {
  background: var(--tbp-bg-muted);
}

@media (max-width: 768px) {
  .tbp-nav-toggle {
    display: block;
  }

  .tbp-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(0rem, 0vw, 0rem)!important;
    align-items: center;
}


  
  .tbp-hero {
    display: grid;
  }
  
  .tbp-hero-image {
    grid-row: 1;
    width: 65px;
    margin: 0 auto;
  }
  
  .tbp-hero-content {
    grid-row: 2;
  }
  

  .tbp-nav ul {
    position: absolute;
    top: 120%;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 0.75rem;
    border-radius: var(--tbp-radius-lg);
    box-shadow: var(--tbp-shadow-xl);
    display: none;
    min-width: 220px;
    border: 1px solid rgba(0, 0, 0, 0.06);
  }

  .tbp-nav ul.is-open {
    display: flex;
    animation: slideDown 0.3s ease;
  }

  .tbp-nav a {
    width: 100%;
    justify-content: flex-start;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----------------------------------------------
   HERO — Immersive with animated gradient
---------------------------------------------- */
.tbp-hero {
  position: relative;
  padding: clamp(5rem, 12vh, 8rem) 0 clamp(4rem, 10vh, 6rem);
  min-height: 85vh;
  background-image: url('../img/takapuna-beach.jpg');
  background-size: cover;
  background-position: center 40%;
  background-attachment: fixed;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Animated gradient overlay */
.tbp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(
      circle at 30% 20%,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(240, 248, 255, 0.85) 35%,
      rgba(200, 235, 245, 0.65) 55%,
      rgba(100, 190, 210, 0.5) 75%,
      rgba(36, 169, 174, 0.4) 100%
    );
  pointer-events: none;
  z-index: 1;
  animation: gradientShift 20s ease-in-out infinite alternate;
}

@keyframes gradientShift {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
  }
}

.tbp-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.tbp-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--tbp-teal-dark);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(36, 169, 174, 0.2);
  box-shadow: var(--tbp-shadow-sm);
  width: fit-content;
}

.tbp-hero-text h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease both;
}

.tbp-hero-text .tbp-lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s 0.1s ease both;
}

/* Hero image with fade in, then heartbeat pulse */
.tbp-hero-image {
  animation: 
    fadeInUp 0.8s 0.2s ease both,
    heartbeat 2s 1.2s ease-in-out infinite;
}

/* Fade in animation (existing) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Heartbeat pulse animation */
@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  7% {
    transform: scale(1.03);
  }
  14% {
    transform: scale(1);
  }
  21% {
    transform: scale(1.03);
  }
  28% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}



@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  10% {
    transform: scale(1.02);
  }
  20% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.02);
  }
  40% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}


/* Optional: Pause on hover */
.tbp-hero-image:hover {
  animation-play-state: paused;
}

/* Respect user preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tbp-hero-image {
    animation: fadeInUp 0.8s 0.2s ease both;
  }
}

.tbp-hero-image img {
  border-radius: var(--tbp-radius-xl);
  transition: var(--tbp-transition);
}



@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 880px) {
  .tbp-hero {
    min-height: auto;
    padding: 3rem 0 4rem;
    background-attachment: scroll;
  }

  .tbp-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }


.tbp-hero-text {
  box-sizing: border-box;
  padding: 15px;
}
  
  .tbp-hero-text h1 {
    font-size: 2rem;
  }

  .tbp-hero-text .tbp-lead,
  .tbp-lead {
    font-size: 1rem;
  }


}

/* ----------------------------------------------
   BUTTONS — Modern with subtle effects
---------------------------------------------- */
.tbp-btn {
  padding: 8px 15px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--tbp-teal) 0%, var(--tbp-teal-dark) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(36, 169, 174, 0.3);
  transition: var(--tbp-transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  margin-bottom: 8px;
  border: thin solid var(--tbp-teal);
}
.ghost {
  background: rgba(255,255,255,0.2);
  color: var(--tbp-teal-dark);
}
.tbp-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: var(--tbp-transition);
}

.tbp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(36, 169, 174, 0.4);
}

.tbp-btn:hover::before {
  opacity: 1;
}

.tbp-btn:active {
  transform: translateY(0);
}

.tbp-btn .material-symbols-rounded {
  font-size: 1.25rem;
}

/* ----------------------------------------------
   SECTIONS — Enhanced spacing
---------------------------------------------- */
.tbp-section {
  padding: clamp(4rem, 8vh, 6rem) 0;
}

.bgcol {
  background: linear-gradient(135deg, #E9F0F1 0%, #F7F2E9 50%, #ffffff 100%);
  border-top: 1px solid #d8eceb;
}




/* Two-column layout */
.tbp-two-col {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.tbp-two-col--left {
  grid-template-columns: 1fr 1.1fr;
}

.tbp-two-col-media img {
  border-radius: var(--tbp-radius-xl);
  /* box-shadow: var(--tbp-shadow-lg); */
  transition: var(--tbp-transition);
}

.tbp-two-col-media img:hover {
  transform: scale(1.02);
  /* box-shadow: var(--tbp-shadow-xl); */
}

.tbp-two-col-text p {
  margin-bottom: 1.25rem;
}

@media (max-width: 880px) {
  .tbp-two-col,
  .tbp-two-col--left {
    grid-template-columns: 1fr;
    gap: 2rem;
  }



  .tbp-btn {
    display: block;
    text-align: center;
  }


}

/* ----------------------------------------------
   SERVICE CARDS — Neumorphic design
---------------------------------------------- */
.tbp-three-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.tbp-card {
  background: #fff;
  padding: 2rem 1.75rem;
  border-radius: var(--tbp-radius-lg);
  box-shadow: var(--tbp-shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--tbp-transition);
  position: relative;
  overflow: hidden;
}

.tbp-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tbp-teal), var(--tbp-teal-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--tbp-transition);
}

.tbp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tbp-shadow-xl);
  border-color: rgba(36, 169, 174, 0.1);
}

.tbp-card:hover::before {
  transform: scaleX(1);
}

.tbp-card h3 {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.tbp-card p {
  color: var(--tbp-text-soft);
  line-height: 1.65;
  margin: 0;
}

/* ----------------------------------------------
   EVENTS — Modern card design
---------------------------------------------- */
.tbp-featured-event {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  padding: 2.5rem;
  background: #fff;
  border-radius: var(--tbp-radius-xl);
  box-shadow: var(--tbp-shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--tbp-transition);
}

.tbp-featured-event:hover {
  box-shadow: var(--tbp-shadow-xl);
}

.tbp-featured-event-image img {
  border-radius: var(--tbp-radius-lg);
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  box-shadow: var(--tbp-shadow-md);
}

.tbp-featured-event-content h3 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

/* Meta row */
.tbp-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.5rem;
}

.tbp-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--tbp-text-soft);
  padding: 0.5rem 0.875rem;
  background: var(--tbp-bg-muted);
  border-radius: var(--tbp-radius-sm);
  font-weight: 500;
}

.tbp-meta-item--small {
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
}

.tbp-meta-item .material-symbols-rounded {
  font-size: 1.125rem;
  color: var(--tbp-teal-dark);
}

.tbp-no-events {
  margin-top: 1.5rem;
  color: var(--tbp-text-muted);
  font-size: 1rem;
  text-align: center;
  padding: 3rem 1.5rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--tbp-radius-lg);
}

/* Past events */
.tbp-past-title {
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.tbp-past-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.tbp-past-card {
  background: #fff;
  border-radius: var(--tbp-radius-lg);
  overflow: hidden;
  box-shadow: var(--tbp-shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--tbp-transition);
  cursor: pointer;
}

.tbp-past-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--tbp-shadow-xl);
}

.tbp-past-card img {
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.tbp-past-info {
  padding: 1.25rem;
}

.tbp-past-info h4 {
  margin: 0.5rem 0 0;
  font-size: 1.125rem;
}

@media (max-width: 768px) {
  .tbp-featured-event {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
}

/* ----------------------------------------------
   CONTACT SECTION — Refined & Streamlined
---------------------------------------------- */

.tbp-contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .tbp-contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.tbp-contact-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--tbp-radius-lg);
  padding: 2rem;
  box-shadow: var(--tbp-shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tbp-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: var(--tbp-radius-sm);
  transition: var(--tbp-transition);
  border: 1px solid transparent;
}

.tbp-contact-item:hover {
  background: rgba(36, 169, 174, 0.04);
  border-color: rgba(36, 169, 174, 0.1);
}

.tbp-contact-item > div:last-child {
  flex: 1;
}

.tbp-contact-item p {
  margin: 0;
  line-height: 1.55;
  font-size: 0.9375rem;
}

.tbp-contact-item strong {
  color: var(--tbp-text);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 0.35rem;
  opacity: 0.8;
}

.tbp-contact-item a {
  font-weight: 500;
  color: var(--tbp-teal-dark);
  word-break: break-all;
}

/* Map card - More compact */
.tbp-contact-map {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--tbp-radius-lg);
  box-shadow: var(--tbp-shadow-md);
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.tbp-map-frame {
  width: 100%;
  height: 450px;
  border-radius: var(--tbp-radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tbp-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 600px) {
  .tbp-contact-card {
    padding: 1.5rem;
  }
  
  .tbp-contact-item {
    padding: 0.625rem;
  }
  
  .tbp-map-frame {
    height: 300px;
  }
}

/* ----------------------------------------------
   FOOTER — Minimal modern
---------------------------------------------- */
.tbp-footer {
  background: linear-gradient(135deg, #0A1A1F 0%, #042028 100%);
  color: #d3e1e4;
  padding: 2.5rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

.tbp-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(36, 169, 174, 0.3), transparent);
}

.tbp-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  padding-bottom: 2rem;
}

.tbp-footer-block p {
  margin: 0.25rem 0;
  color: rgba(255, 255, 255, 0.7);
}

.tbp-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
  padding: 0.375rem 0;
  transition: var(--tbp-transition);
}

.tbp-footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.tbp-footer-links a .material-symbols-rounded {
  font-size: 1.125rem;
}

@media (max-width: 720px) {
  .tbp-footer-inner {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.tbp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ----------------------------------------------
   MODAL — Modern overlay (continued)
---------------------------------------------- */
.tbp-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}

.tbp-modal[aria-hidden="false"] {
  display: block;
}

.tbp-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}

.tbp-modal-dialog {
  position: relative;
  z-index: 1001;
  max-width: 540px;
  margin: clamp(2rem, 8vh, 5rem) auto;
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--tbp-radius-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.tbp-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: var(--tbp-bg-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--tbp-transition);
  color: var(--tbp-text-soft);
}

.tbp-modal-close:hover {
  background: var(--tbp-teal-glow);
  color: var(--tbp-teal-dark);
  transform: rotate(90deg);
}

.tbp-modal-close .material-symbols-rounded {
  font-size: 1.25rem;
}

.tbp-modal-header {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
  padding-right: 2rem;
}

.tbp-modal-header h2 {
  margin-bottom: 0.5rem;
}

.tbp-modal-header p {
  color: var(--tbp-text-soft);
  margin: 0;
  font-size: 0.9375rem;
}

/* ----------------------------------------------
   FORM STYLES — Modern inputs
---------------------------------------------- */
.tbp-form-row {
  margin-bottom: 3px;
}

.tbp-form-row label {
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
  display: block;
  color: var(--tbp-text);
  font-weight: 500;
}

.tbp-form-row input,
.tbp-form-row textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: var(--tbp-radius);
  border: 1.5px solid #E0E7E9;
  font-family: inherit;
  font-size: 0.9375rem;
  transition: var(--tbp-transition);
  background: #fff;
  color: var(--tbp-text);
}

.tbp-form-row input:focus,
.tbp-form-row textarea:focus {
  border-color: var(--tbp-teal);
  outline: none;
  box-shadow: 0 0 0 4px var(--tbp-teal-glow);
  background: #fff;
}

.tbp-form-row input::placeholder,
.tbp-form-row textarea::placeholder {
  color: var(--tbp-text-muted);
}

.tbp-form-row textarea {
  resize: vertical;
  min-height: 100px;
}

.tbp-form-row input[type="file"] {
  padding: 0.75rem 1rem;
  cursor: pointer;
}

.tbp-form-row input[type="file"]::file-selector-button {
  padding: 0.5rem 1rem;
  border: none;
  background: var(--tbp-bg-muted);
  color: var(--tbp-text);
  border-radius: var(--tbp-radius-sm);
  cursor: pointer;
  font-weight: 500;
  transition: var(--tbp-transition);
  margin-right: 1rem;
}

.tbp-form-row input[type="file"]::file-selector-button:hover {
  background: var(--tbp-teal-glow);
  color: var(--tbp-teal-dark);
}

.tbp-form-note {
  margin-top: 0.75rem;
  color: var(--tbp-teal-dark);
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  background: var(--tbp-teal-glow);
  border-radius: var(--tbp-radius-sm);
  border-left: 3px solid var(--tbp-teal);
}

body.tbp-modal-open {
  overflow: hidden;
}

/* ----------------------------------------------
   EVENT DESCRIPTION RICH TEXT
---------------------------------------------- */
.tbp-event-description {
  color: var(--tbp-text-soft);
  line-height: 1.7;
}

.tbp-event-description p {
  margin: 0px;
}

.tbp-event-description p:last-child {
  margin-bottom: 0;
}

.tbp-event-description ul,
.tbp-event-description ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.tbp-event-description li {
  margin-bottom: 0.5rem;
}

.tbp-event-description strong {
  color: var(--tbp-text);
  font-weight: 600;
}

.tbp-event-description a {
  color: var(--tbp-teal-dark);
  text-decoration: underline;
  text-decoration-color: rgba(36, 169, 174, 0.3);
  text-underline-offset: 2px;
  transition: var(--tbp-transition);
}

.tbp-event-description a:hover {
  text-decoration-color: var(--tbp-teal);
}

.tbp-event-description--small {
  font-size: 0.9375rem;
  margin-top: 0.75rem;
}

/* ----------------------------------------------
   UTILITY CLASSES
---------------------------------------------- */
.tbp-text-center {
  text-align: center;
}

.tbp-mt-0 { margin-top: 0; }
.tbp-mt-1 { margin-top: 0.5rem; }
.tbp-mt-2 { margin-top: 1rem; }
.tbp-mt-3 { margin-top: 1.5rem; }
.tbp-mt-4 { margin-top: 2rem; }

.tbp-mb-0 { margin-bottom: 0; }
.tbp-mb-1 { margin-bottom: 0.5rem; }
.tbp-mb-2 { margin-bottom: 1rem; }
.tbp-mb-3 { margin-bottom: 1.5rem; }
.tbp-mb-4 { margin-bottom: 2rem; }

/* ----------------------------------------------
   SCROLL ANIMATIONS (optional enhancement)
---------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .tbp-scroll-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .tbp-scroll-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----------------------------------------------
   RESPONSIVE UTILITIES
---------------------------------------------- */
@media (max-width: 640px) {
  .tbp-modal-dialog {
    margin: 0;
    padding: 1.5rem;
  }

  .tbp-three-grid {
    grid-template-columns: 1fr;
  }

  .tbp-hero-kicker {
    font-size: 0.8125rem;
  }
}

/* ----------------------------------------------
   PRINT STYLES
---------------------------------------------- */
@media print {
  .tbp-header,
  .tbp-footer,
  .tbp-btn,
  .tbp-nav,
  .tbp-modal {
    display: none !important;
  }

  .tbp-hero {
    background: none;
    padding: 2rem 0;
  }

  .tbp-section {
    page-break-inside: avoid;
  }
}


/* ----------------------------------------------
   PAGINATION STYLES
---------------------------------------------- */
.tbp-pagination {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.tbp-pagination-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.tbp-pagination-number,
.tbp-pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 1rem;
  border-radius: var(--tbp-radius);
  background: #fff;
  color: var(--tbp-text);
  font-weight: 500;
  font-size: 0.9375rem;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  transition: var(--tbp-transition);
  text-decoration: none;
  gap: 0.375rem;
}

.tbp-pagination-number:hover,
.tbp-pagination-btn:hover {
  background: var(--tbp-teal-glow);
  border-color: var(--tbp-teal);
  color: var(--tbp-teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--tbp-shadow-sm);
}

.tbp-pagination-number.is-active {
  background: linear-gradient(135deg, var(--tbp-teal), var(--tbp-teal-dark));
  color: #fff;
  border-color: var(--tbp-teal-dark);
  box-shadow: var(--tbp-shadow-md);
  cursor: default;
  pointer-events: none;
}

.tbp-pagination-btn {
  font-weight: 600;
  padding: 0 1.25rem;
}

.tbp-pagination-btn .material-symbols-rounded {
  font-size: 1.25rem;
}

.tbp-pagination-prev .material-symbols-rounded {
  margin-right: -0.25rem;
}

.tbp-pagination-next .material-symbols-rounded {
  margin-left: -0.25rem;
}

.tbp-pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  color: var(--tbp-text-muted);
  font-weight: 500;
  user-select: none;
}

/* Pagination info */
.tbp-pagination-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--tbp-text-soft);
  padding: 0.75rem 1.25rem;
  background: var(--tbp-bg-muted);
  border-radius: var(--tbp-radius);
}

.tbp-pagination-divider {
  color: var(--tbp-text-muted);
  opacity: 0.5;
}

/* Mobile responsive */
@media (max-width: 640px) {
  .tbp-pagination-list {
    gap: 0.375rem;
  }

  .tbp-pagination-number,
  .tbp-pagination-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 0.875rem;
    font-size: 0.875rem;
  }

  .tbp-pagination-btn span:not(.material-symbols-rounded) {
    display: none;
  }

  .tbp-pagination-btn .material-symbols-rounded {
    margin: 0 !important;
  }

  .tbp-pagination-info {
    font-size: 0.8125rem;
    padding: 0.625rem 1rem;
  }
}



.tbp-hours ul {
  margin: 10px 0;
  padding-left: 0;
  list-style: none;
}

.tbp-hours li {
  padding: 4px 0;
  color: #143a40;
}

.tbp-hours li.today {
  font-weight: 600;
  color: #006165;
}

.tbp-open-status {
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-block;
  background: #f2faf9;
  color: #143a40;
}

.tbp-open-status.open {
  background: #d9f7e6;
  color: #00733b;
}

/* ============================
   CTA JOIN SECTION
   ============================ */

   .tbp-cta-join {
    padding: 60px 0;
    border-top: 1px solid #d8eceb;
  }
  
  .tbp-cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  
  .tbp-cta-text h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #006165;
  }
  
  .tbp-cta-text p {
    font-size: 1.1rem;
    color: #143a40;
    margin: 0;
  }
  
  .tbp-cta-form {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
  }
  
  .tbp-cta-form .tbp-form-row {
    margin-bottom: 16px;
  }
  
  .tbp-cta-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #143a40;
  }
  
  .tbp-cta-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cddddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
  }
  
  .tbp-cta-btn {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  
  .tbp-cta-note {
    margin-top: 12px;
    font-size: 0.85rem;
    opacity: 0.7;
  }
  
  /* Mobile layout */
  @media (max-width: 768px) {
    .tbp-cta-inner {
      grid-template-columns: 1fr;
    }
  }
  

  /* ============================
   PARTNERS SECTION
   ============================ */

.tbp-partners {
  padding: 60px 0;
}

.tbp-partners-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
}

.tbp-partner {
  background: #ffffff;
  padding: 20px 28px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.tbp-partner img {
  max-width: 120px;
  height: auto;
  display: block;
  opacity: 0.9;
  transition: opacity .2s ease;
}

.tbp-partner:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
}

.tbp-partner:hover img {
  opacity: 1;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .tbp-partner {
    padding: 16px;
  }

  .tbp-product-card {
    max-width: 100%!important;
  }


}


.tbp-latest-dog {
  padding: 70px 20px;
  text-align: center;
  background: #f7fbfb;
}

.tbp-dog-card {
  max-width: 360px;
  margin: auto;
}

.tbp-dog-image-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
}

.tbp-dog-feature {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform .3s ease;
}

.tbp-dog-feature:hover {
  transform: scale(1.06);
}

.tbp-dog-name {
  margin-top: 18px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #006165;
}


.tbp-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.tbp-page-btn {
  padding: 8px 16px;
  background: #24A9AE;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95rem;
}

.tbp-page-number {
  font-weight: 600;
  color: #143a40;
}


/* ----------------------------------------------
   FEATURED PRODUCTS — GRID
---------------------------------------------- */
.tbp-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 30px;
}


/* ----------------------------------------------
   PRODUCT CARD
---------------------------------------------- */
.tbp-product-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 33%;
}

.tbp-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.10);
}


/* ----------------------------------------------
   PRODUCT IMAGE
---------------------------------------------- */
.tbp-product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: #f6f9f9;
  overflow: hidden;
}

.tbp-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ----------------------------------------------
   LABEL BADGES
---------------------------------------------- */
.tbp-product-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tbp-label-new {
  background: #24A9AE; /* TBP Teal */
}

.tbp-label-popular {
  background: #FF9800; /* Amber */
}

.tbp-label-sellingfast {
  background: #EF4444; /* Red urgency */
}

.tbp-label-limited {
  background: #6D28D9; /* Purple highlight */
}


/* ----------------------------------------------
   PRODUCT INFO / TEXT
---------------------------------------------- */
.tbp-product-info {
  padding: 18px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.tbp-product-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #143a40;
}

.tbp-product-description {
  flex-grow: 1;
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.45rem;
  color: #4a5f63;
}


/* ----------------------------------------------
   PRICE + ENQUIRE BUTTON ROW
---------------------------------------------- */
.tbp-product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.tbp-product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #143a40;
}

.tbp-product-enquire {
  padding: 10px 18px;
  font-size: 0.9rem;
  border-radius: 6px;
}


/* ----------------------------------------------
   PAGINATION (from previous step)
---------------------------------------------- */
.tbp-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.tbp-page-btn {
  padding: 8px 16px;
  background: #24A9AE;
  color: #fff;
  border-radius: 6px;
  font-size: 0.95rem;
  text-decoration: none;
}

.tbp-page-number {
  font-weight: 600;
  color: #143a40;
}

.btn-small-edit {
  background: #24A9AE;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-small-edit:hover {
  background: #1e8f93;
}
.tbp-alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-weight: 600;
}
.tbp-alert-danger {
  background: #ffe4e4;
  color: #b30000;
  border: 1px solid #ffbaba;
}
.tbp-form-modern {
  display: flex;
  gap: 40px;
  margin-top: 20px;
  margin-bottom: 40px;
}

.tbp-form-col {
  flex: 1;
}

.tbp-form-group {
  margin-bottom: 20px;
}

.tbp-form-row-split {
  display: flex;
  gap: 20px;
}

.tbp-form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #143a40;
}

.tbp-form-group input[type="text"],
.tbp-form-group input[type="number"],
.tbp-form-group input[type="file"],
.tbp-form-group select,
.tbp-form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c9dcdc;
  border-radius: 6px;
  font-size: 1rem;
}

.tbp-form-actions {
  margin-top: 20px;
}
.tbp-form-modern {
  display: flex;
  gap: 40px;
  margin-top: 20px;
  margin-bottom: 40px;
}

.tbp-form-col {
  flex: 1;
}

.tbp-form-group {
  margin-bottom: 20px;
}

.tbp-form-row-split {
  display: flex;
  gap: 20px;
}

.tbp-form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #143a40;
}

.tbp-form-group input[type="text"],
.tbp-form-group input[type="number"],
.tbp-form-group input[type="file"],
.tbp-form-group select,
.tbp-form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c9dcdc;
  border-radius: 6px;
  font-size: 1rem;
}

.tbp-form-actions {
  margin-top: 20px;
}
.weather {
  color: var(--tbp-bg);
  cursor: pointer;
}