:root {
  --bg: #ffffff;
  --text: #000000;
  --card-bg: #f7f7f7;
  --card-border: #0099FF;
}

.dark-mode {
  --bg: #1a1a1a;
  --text: #e6e6e6;
  --card-bg: #2a2a2a;
  --card-border: #66b3ff;
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}
/* AD */
.ad-center {
    text-align: center;
    margin: 20px 0;
}




/* ACTIVITY CARD */

.activity-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: inherit;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.activity-card img {
    width: 60px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

.alpha-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0;
}

.alpha-button {
    padding: 4px 8px;
    background: #95dcf6;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
}

.alpha-button.active {
    background: #0099FF;
    color: #fff;
}


/* -- beach card -- */
/* BEACH VIBE CARDS 🌊🏖️ */

.beach-card {
    border: 2px solid #ffc857;          /* warm sand */
    border-radius: 4px;
    padding: 12px 4px;
    margin: 10px 0;
    background: linear-gradient(135deg, #fff7e6, #e0f7ff);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    display: block;
}

/* tighten top spacing */
.beach-card h2 {
    margin-top: 4px;
    margin-bottom: 6px;
    font-size: 1.15rem;
}

/* fun header with emoji */
.beach-card h2::before {
    content: "🏖️ ";
}

.beach-card strong {
    color: #005f73;                      /* deep sea */
}

/* map button with sunny feel */
.beach-card .map-button {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #ffb703;
    color: #222;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.beach-card .map-button::before {
    content: "📍 ";
}

.beach-card .map-button:hover {
    background: #fb8500;
}
.beaches-page-title {
    margin-top: 0;
    margin-bottom: 6px; /* adjust to taste */
    font-weight: 600;
    font-size: 1.1rem;
    color: #0099FF;
}

/* Center the Travel Time column in beach tables */
.beach-table td:nth-child(2),
.beach-table th:nth-child(2) {
    text-align: center;
}

/*  -- card -- */
.card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.card-content p {
    margin: 4px 0;
}

.biz-card h3 {
    margin-top: 0;
}
.biz-search-container {
    background: #f7faff;                 /* soft light-blue tint */
    border: 1px solid #d0e2ff;           /* subtle blue border */
    border-radius: 10px;
    padding: 5px 10px;
    margin: 5px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    max-width: 900px;                    /* keeps it elegant */
    margin-left: auto;
    margin-right: auto;
}

.biz-search-container h5 {
    margin: 5px 0;
    text-align: center;
    color: #003366;                      /* deep NS blue */
    font-weight: 600;
}

.biz-search-container form input[type="text"] {
    padding: 5px 7px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 250px;
    font-size: 15px;
}

.biz-search-container form button {
    padding: 10px 12px;
    background: #0055aa;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.2s ease;
}

.biz-search-container form button:hover {
    background: #003f7d;
}


/*--- CATEGORY  ----*/
/* CATEGORY BAR */
.category-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}
.category-bar.collapsed {
    display: none;
}

.cat-button {
    display: inline-block;
    padding: 6px 12px;
    background: #eee;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    border: 1px solid #ccc;
}

.cat-button:hover {
    background: #ddd;
}

.cat-button.active {
    background: #0099FF;
    color: #fff;
    border-color: #0077cc;
}

.category-highlight {
    font-weight: 600;
    color: #2a6ebb;   /* or whatever your theme colour is */
    text-decoration: none;
}

/* Footer */
footer {
    background: #FFFFFF;
    padding: 10px;
    text-align: center;
    margin-top: 10px;
}

.content-box {
    max-width: 800px;
    margin: 20px auto;
    padding: 10px;
    border: 2px solid #00cc00;
    border-radius: 12px;
    background: #ffffff;
}
.logo-block {
    text-align: left;
    margin-bottom: 10px; /* space before next section */
}

img.logo {
    max-width: 200px;   /* or 180px, 160px — whatever feels right */
    height: auto;
    display: block;
    margin: 0 auto 10px auto;
}

.logo-tagline {
    font-size: 16px;
    color: #0099FF;
    margin: 0;
    text-align: center;
}

/*Floating Back-To-Top Button*/
    #myBtn {
        position: fixed;
        bottom: 10px;
        float: right;
        right: 18.5%;
        left: 77.25%;
        max-width: 30px;
        width: 100%;
        font-size: 14px;
        border-color: rgba(50, 55, 211, 0.913);
        background-color: rgb(238, 241, 243);
        padding: 2.5px;
        border-radius: 5px;

    }
/*On Hover Color Change*/
    #myBtn:hover {
        background-color: #7dbbf1;
    }
 
.listing-form {
    max-width: 600px;
    margin: auto;
    font-family: system-ui, sans-serif;
    line-height: 1.5;
}

.form-intro {
    background: #b2daf8;
    padding: 15px 20px;
    border-left: 4px solid #2a6fa8;
    margin-bottom: 25px;
    border-radius: 6px;
}

.form-section label {
    display: block;
    margin-bottom: 14px;
    font-weight: 600;
    font-size: 1.05em;
}

.form-section label input {
    display: block;
    width: 90%;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid #d0d4d8;
    border-radius: 6px;
    font-size: 1em;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-section label input:focus {
    border-color: #2a6fa8;
    box-shadow: 0 0 0 3px rgba(42, 111, 168, 0.2);
    outline: none;
}


.form-error {
    background: #ffe6e6;
    border-left: 4px solid #cc0000;
    padding: 12px 18px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-weight: 600;
}
/************ global ***********/
/* GLOBAL WRAPPER */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* FRONT PAGE BLOCKS */
.fp-block {
    max-width: 400px;
    margin: 12px auto;        /* centers + tight spacing */
    padding: 8px 10px;
    background: #c9ecf8;
    border-left: 6px solid #3a7bd5;
    border-radius: 6px;
    box-sizing: border-box;
}

/* HEADERS INSIDE BLOCKS */
.fp-block h5 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1rem;
    color: #0099FF;
}

/* DESKTOP LAYOUT */
.fp-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;          /* space between blocks */
    margin: 10px auto;
    max-width: 800px;  /* keeps it tidy */
}

/* EACH BLOCK */
.fp-block {
    max-width: 400px;
    flex: 1 1 300px;    /* grow, shrink, minimum width */
    background: #c9ecf8;
    padding: 8px 10px;
    border-left: 6px solid #3a7bd5;
    border-radius: 6px;
    box-sizing: border-box;
}
.fp-image {
    width: 90%;
    max-width: 400px;
    border-radius: 6px;
    margin: 10px auto 0 auto;
    display: block;
}
.center-me {
    text-align: center;
}

#submit-ref {
    display: inline-block;
    text-align: center;
}



/************* hfx destination ***********/
.hfx_destination {
  max-width: 220px;
  margin: 0 auto;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  font-size: 0.9rem;
  overflow: hidden;
}

.hfx_destination-title {
  padding: 6px 8px;
  background: #f5f5f5;
  font-weight: bold;
  text-align: center;
}

.hfx_destination-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hfx_destination-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 8px;
  border-top: 1px solid #eee;
}

.hfx_from {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.hfx_time {
  white-space: nowrap;
  text-align: right;
}

.category-highlight {
    background: #e2ecf4;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

/* HRM community colour tokens */
.from-halifax .hfx_from {
  background-color: #D9FCFF;
}

.from-dartmouth .hfx_from {
  background-color: #DDF9DF;
}

.from-bedford .hfx_from {
  background-color: #96EEFE;
}

.from-lsackville .hfx_from {
  background-color: #A6EEAB;
}

.from-mtuniacke .hfx_from {
  background-color: #FDDCCE;
}


/* Colour mapping to your original table */
.from-halifax .hfx_from {
  background-color: #D9FCFF;
}

.from-dartmouth .hfx_from {
  background-color: #DDF9DF;
}

.from-bedford .hfx_from {
  background-color: #96EEFE;
}

.from-lsackville .hfx_from {
  background-color: #A6EEAB;
}

.from-mtuniacke .hfx_from {
  background-color: #FDDCCE;
}

.hfx_time {
  text-align: right;
  white-space: nowrap;
}

/* ------------------------ hidden content -- */
.hidden-item {
    display: none;
}

.toggle-grid-btn {
    margin-top: 10px;
    padding: 8px 14px;
    background: #eee;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 6px;
}

.toggle-grid-btn:hover {
    background: #ddd;
}

/************************** Hidden panel */
.menu-panel {
    display: none;
    background: #fff;
    padding: 20px;
    border-top: 1px solid #ccc;
    width: 100%;
    box-sizing: border-box;
}

/* Two columns */
.menu-panel {
    display: none;
}

.menu-panel.open {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.menu-column {
    display: flex;
    flex-direction: column;
}

.menu-column a {
    padding: 8px 0;
    color: #0099FF;
    text-decoration: none;
    font-size: 16px;
}

.menu-column a:hover {
    text-decoration: underline;
}

/**************************** HIKING CARDS 🥾🪨🌲 */

.hiking-card {
    border: 2px solid #556b2f;          /* earthy green */
    border-radius: 14px;
    padding: 10px 14px;
    margin: 10px 0;
    background: linear-gradient(135deg, #f7fff0, #e8f5e1); /* soft forest tones */
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

/* tighten top spacing */
.hiking-card h2 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 1.15rem;
}

/* add rock + boot emoji */
.hiking-card h2::before {
    content: "🥾🪨 ";
}

/* label color */
.hiking-card strong {
    color: #2f4f4f; /* deep forest green/grey */
}

/* map button with rugged feel */
.hiking-card .map-button {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #6b8e23; /* olive green */
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.hiking-card .map-button::before {
    content: "📍 ";
}

.hiking-card .map-button:hover {
    background: #556b2f;
}
.hiking-page-title {
    margin: 0 0 6px 0;
    font-weight: 600;
    font-size: 1.1rem;
    color: #556b2f;
}
.hiking-attributes {
    margin-top: 10px;
}

.attribute-tags {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.attribute-tag {
    background: #eef5ff;
    border: 1px solid #c7d8ff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.85em;
    color: #003366;
    white-space: nowrap;
}

/*         ------- maple syrup card ------- */
.maple-syrup-card {
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #f69312d2;
    padding: 15px;
    border-radius: 8px;
    box-sizing: border-box;
    background: #fff;
    transition: 0.2s;
    width: 100%;
    max-width: 500px;
}

/*  --------------MINI CARDS---------- */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 0;
  margin-bottom: 0.15rem; /* ? needs a unit */
}

.mini-card {
  background: #f7f7f7;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #0099FF;
}

.mini-card h4 {
  font-size: 1.0rem; /* adjust as needed */
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.mini-card p {
  font-size: 0.95rem; /* adjust as needed */
  margin: 0 0 0.25rem 0;
  text-align: center;
}

.mini-card p:last-child {
  margin-bottom: 0;
}
.mini-card:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}
/* Modern Header Layout */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

/* Logo block */
.logo-left {
    display: flex;
    flex-direction: column;
}

.logo {
    max-width: 180px;
    height: auto;
}

/* Hamburger icon */
.hamburger {
    width: 30px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    background: #0099FF;
    margin: 6px 0;
    border-radius: 2px;
}
.menu-column a strong {
    color: #0056b3;
    font-weight: 700;
    text-decoration: underline;
}

/*------------- TEXT------------ */
.center {
  text-align: center;
}

.province-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 1rem;
}

.province-table th {
    background: #90f9ab;
    padding: 10px;
    text-align: left;
    border-bottom: 2px solid #ccc;
}

.province-table td {
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.province-table tr:hover {
    background: #fafafa;
}

.province-table a {
    color: #0056b3;
    text-decoration: none;
}

.province-table a:hover {
    text-decoration: underline;
}


/* seperator in a page */
.thin-separator {
    border: none;
    border-top: 2px solid #04a311; /* Thin line */
    margin: 3px 0; /* Space around it */
    opacity: 0.5;
}

/* ----region---- */
.region-filter {
    margin: 20px 0;
    text-align: center;
}

.region-button {
    display: inline-block;
    padding: 8px 14px;
    margin: 4px;
    background: #eee;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.region-button:hover {
    background: #ddd;
}

.region-button.active {
    background: #0077cc;
    color: #fff;
}

/* return to community button */
.return-inline {
    margin-left: 12px;
    font-size: 0.8rem;
    opacity: 0.75;
}

.return-inline a {
    text-decoration: none;
    color: #555;
}

.return-inline a:hover {
    text-decoration: underline;
    opacity: 1;
}

/* ================================
   COUNTRY INDEX � CARD LAYOUT
   ================================ */

.country-card {
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
	box-sizing: border-box;
    background: #fff;
    transition: 0.2s;
    width: 100%;
    max-width: 500px;
}

.country-card:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.country-card.inactive {
    opacity: 0.25;
}

.flag-wrapper img {
    width: 80px;
    height: auto;
    display: block;
}

.country-info {
    flex: 1;
}

.country-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 4px;
}

.country-capital,
.country-region,
.country-iso {
    font-size: 14px;
    margin-bottom: 3px;
}

.country-link {
    display: inline-block;
    margin-top: 6px;
    padding: 6px 12px;
    background: #0077cc;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.country-coming-soon {
    margin-top: 6px;
    font-style: italic;
    color: #777;
}
	
/* -----GOLF CARD----- */
.golf-card {
    border: 2px solid transparent;
    padding: 12px;
    margin: 12px 0;
    border-radius: 10px;
    background: #9de59d;
}

/*--- golf region color add ----*/
/* Western � Purple */
.western {
    border-color: #800080;
}

/* South Shore � Orange */
.south-shore {
    border-color: #F28C28;
}

/* Valley � Light Blue (#0099FF) */
.valley {
    border-color: #0099FF;
}

/* HRM � Gold */
.hrm {
    border-color: #D4AF37;
}

/* Northern � Olive */
.northern {
    border-color: #808000;
}

/* Eastern � Tan */
.eastern {
    border-color: #D2B48C;
}

/* Cape Breton � Dark Blue */
.cape-breton {
    border-color: #003366;
}



.golf-name {
    font-size: 20px;
    color: #009900;
    margin-bottom: 8px;
}

.golf-meta div,
.golf-contact div {
    margin-bottom: 4px;
}

.golf-contact a {
    color: #0066cc;
    text-decoration: none;
}

.golf-contact a:hover {
    text-decoration: underline;
}

.page-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* -----SKI CARD----- */
.ski-card {
    border: 2px solid #0099cc;
    padding: 12px;
    padding-top: 5px;
    margin: 12px 0;
    border-radius: 10px;
    background: #f0faff;
}

.ski-name {
    font-size: 16px;
    color: #006699;
    margin-bottom: 8px;
}

.ski-meta div,
.ski-contact div {
    margin-bottom: 4px;
}

.ski-contact a {
    color: #0066cc;
    text-decoration: none;
}

.ski-contact a:hover {
    text-decoration: underline;
}


/* Search Box */
.search-box {
    max-width: 500px;
    width: 100%;
    background: #fff;
    border: 2px solid #73AD21;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.search-box input {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.search-note {
    text-align: center;
    margin: 0;
    font-size: 13px;
    line-height: 1.3;
}

/* Search Results */
.search-result {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}
.search-exit-bar {
    margin: 20px 0;
    text-align: left;
}

.exit-search-button {
    display: inline-block;
    padding: 8px 14px;
    background: #eee;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    border: 1px solid #ccc;
}

.exit-search-button:hover {
    background: #ddd;
}
/* top blocks */
.top-two-blocks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.top-two-blocks .biz-search-container {
    flex: 1 1 300px;   /* grow, shrink, minimum 300px */
    max-width: 400px; /* never exceed 400px */
}
/* Make intro + map behave like biz-search blocks */
.top-two-blocks .intro-wrapper {
    flex: 1 1 300px;
    max-width: 600px;
    background: #f5f5f5;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #0099ff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.top-two-blocks .map-container {
    flex: 1 1 300px;
    max-width: 400px;
    background: #f5f5f5;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #0099ff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

/* Read More Toggle */
.read-more-toggle {
    color: #0066cc;
    cursor: pointer;
    text-decoration: underline;
    font-weight: 500;
}

.hidden {
    display: none;
}

.intro-wrapper p {
    margin-bottom: 1rem;
}

/**** dashboard *****/
.progress-page {
    max-width: 700px;
    margin: 0 auto;
    padding: 10px;
}

/* Mobile-first: 2 columns */
.stats-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

/* Desktop: 4 columns */
@media (min-width: 700px) {
    .stats-box {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat {
    background: #f5f5f5;
    padding: 8px;
    text-align: center;
    border-radius: 8px;
}

.stat strong {
    font-size: 2rem;
    display: block;
}

.community-list {
    margin: 20px 0;
}

.community-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.community-name {
    font-weight: 500;
}
