@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
}

#content-text ul,
#content-text2 ul {
  list-style: disc inside;
  margin: 1em 0;
  padding-left: 1.2em;
}

#content-text p,
#content-text2 p,
#content-text3 p {
  margin: 1em 0;
  line-height: 1.5;
}



a {
    color: darkgreen; /* Change hyperlink color to dark green */
    background-color: lightgrey; /* Add light grey background color */
    /*padding: 5px; /* Optional: Add some padding for better appearance */
    /*text-decoration: none;*/ /* Optional: Remove underline from links */
    /*border-radius: 4px; /* Optional: Add rounded corners */
}

a:hover {
    background-color: darkgrey; /* Optional: Change background on hover */
}

.language-toggle {
    position: absolute; /* Position it relative to the nearest positioned ancestor */
    top: 10px; /* Adjust as needed */
    right: 10px; /* Adjust as needed */
    z-index: 1000; /* Ensure it appears above other elements */
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Arrange items in a column */
    align-items: flex-end; /* Align items to the right */
}

.language-toggle img {
    width: 35px; /* Set the desired width */
    height: auto; /* Maintain aspect ratio */
    margin: 5px 0; /* Add vertical space between the images */
    cursor: pointer; /* Change cursor to pointer on hover */
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 0; /* No gap between cells */
    width: 100%;
    height: 100vh; /* Full height of the viewport */
}

.grid-item {
    position: relative; /* Position relative for overlay */
    overflow: hidden; /* Ensures images fit within the grid item */
    /*text-decoration: none; /* Remove underline from links */

    cursor: pointer; /* Change cursor to pointer on hover */
}

.grid-item img {
    width: 100%;
    height: 100%; /* Fill the height of the grid item */
    object-fit: cover; /* Cover the grid item while maintaining aspect ratio */
    display: block; /* Remove bottom space */
    transition: filter 0.3s ease; /* Smooth transition for blur effect */
}

.grid-item img {
    filter: blur(2px); /* Blur effect always applied */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: white; /* Text color */
    opacity: 1; /* Always visible */
    transition: opacity 0.3s ease; /* Smooth transition for overlay */
    font-size: 1.5em; /* Increase font size - adjust as needed */
    /* text-decoration: underline; /* Add underline to text */
    text-align: center; /* Add this line */
}

.grid-item:hover img {
    filter: blur(0); /* Remove blur effect on hover */
}

.grid-item:hover .overlay {
    /* opacity: 0;  Hide overlay on hover */
    background-color: rgba(0, 0, 0, 0); /* transparent background on hoover*/
    text-shadow: 
    0 0 5px rgba(0, 0, 0, 0.8),
0 0 10px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 0, 0, 0.2);
font-size: 1.75em;
}

.hidden-on-small {
    display: block; /* Hide on small screens */
}


/* Image that text wraps around */
.wrap-image-left {
    float: left;                 /* or right; depending on your design */
    width: clamp(180px, 30%, 320px);  /* responsive width constraints */
    margin: 0 16px 8px 0;        /* gap between image and text */
    shape-outside: inset(0 round 8px);/* helps smoother wrap */
    border-radius: 8px;          /* nice rounded corners */
}

/* Image that text wraps around */
.wrap-image-right {
    float: right;                 /* or right; depending on your design */
    width: clamp(180px, 30%, 320px);  /* responsive width constraints */
    margin: 0 0 8px 16px;        /* gap between image and text */
    shape-outside: inset(0 round 8px);/* helps smoother wrap */
    border-radius: 8px;          /* nice rounded corners */
}



/* Styles for the multi-column layout */
.multi-col {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr)); /* 300px minimum width per column */
    gap: 20px; /* Space between columns */
    padding: 20px; /* Padding around the grid */
}




/* Clear float at the end of content block to avoid overlap */
.content::after {
    content: "";
    display: block;
    clear: both;
}


/* On large screens, create 2–3 columns */
/*
@media (min-width: 1200px) {
  .multi-col {
    column-count: 2;  
    column-gap: 28px;
  }
}
*/

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
        height: auto; /* Allow height to adjust based on content */
    }
    .column-section {
        flex-direction: column; /* Stack columns vertically */
    }

    .column {
        flex: none; /* Prevent columns from growing */
        width: 100%; /* Make each column take full width */
    }
    .hidden-on-small {
        display: block; /* Show on larger screens */
    }
    
    .wrap-image-left {
        float: none;
        display: block;
        margin: 0 auto 10px 10px;
        width: min(100%, 280px);
        shape-outside: none;
       }
    .wrap-image-right {
        float: none;
        display: block;
        margin: 0 auto 10px 10px;
        width: min(100%, 280px);
        shape-outside: none;
       }
           .grid-item:hover .overlay {
        /* opacity: 0;  Hide overlay on hover */
        background-color: rgba(0, 0, 0, 0);
        /* transparent background on hoover*/
        text-shadow:
            0 0 5px rgba(0, 0, 0, 0.8),
            0 0 10px rgba(0, 0, 0, 0.6),
            0 0 20px rgba(0, 0, 0, 0.4),
            0 0 30px rgba(0, 0, 0, 0.2);
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .grid-container {
         grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Change to smaller columns */
        height: auto; /* Allow height to adjust based on content */
    }
    .multi-col {
        grid-template-columns: repeat(1, 1fr); /* Ensuring single column on very small screens */
        padding: 20px; /* Reduce padding for a better fit */
    }

        .hidden-on-small {
        display: none; /* Show on larger screens */
    }
}

/* Force 1 column + 16:9 tiles on phones in portrait */
@media (max-width: 768px) and (orientation: portrait) {

  .grid-container {
    grid-template-columns: 1fr;   /* One column */
    height: auto;                 /* Let the layout grow naturally */
  }

  .grid-item {
    aspect-ratio: 16 / 9;         /* Maintain 16:9 height */
    height: auto;                 
  }

  .grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;            /* Fill tile without distortion */
  }
}

body.content-page {
  background: linear-gradient(to bottom, #555555 0%, #808080 100%);
  color: #ffffff;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}


.back-arrow {
    display: inline-block;
    margin: 20px; /* Space around the arrow */
    font-size: 1.5em; /* Size of the arrow */
    text-decoration: none; /* Remove underline */
    color: black; /* Color of the arrow */
    background-color: #d3d3d3; /* Light grey background for the top bar */
    padding: 10px; /* Padding around the arrow */
    border-radius: 5px; /* Rounded corners */
}

.content {
    padding: 20px; /* Padding for content */
}

.responsive-image {
    max-width: 100%; /* Ensures the image does not exceed the column width */
    height: auto; /* Maintains the aspect ratio */
}

.column-section {
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping */
    margin: 0; /* Optional: Add some margin around the section */
    break-inside: avoid;   /* avoid fragmentation */
}

.column {
    flex: 1; /* Each column takes equal space */
    min-width: 300px; /* Set a minimum width to prevent too narrow columns */
    padding: 0; /* Optional: Add some padding inside the columns */
    box-sizing: border-box; /* Ensures padding is included in width */
}

/* popup css */

.popup {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
}

.popup-content {
    background-color: #fefefe;
    margin: 2% auto; /* 2% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 600px; /* Increased maximum width */
    border-radius: 5px; /* Rounded corners */
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.reviews-container {
    display: flex; /* Use Flexbox for layout */
    flex-wrap: wrap; /* Allow items to wrap to the next line if necessary */
    justify-content: space-between; /* Space between items */
    gap: 20px; /* Optional: Space between reviews */
    margin-top: 20px; /* Space above the reviews container */
}

.review {
    background-color: #f0f0f0; /* Light grey background color */
    border: 1px solid #ccc; /* Optional: Border around each review */
    border-radius: 5px; /* Optional: Rounded corners */
    padding: 15px; /* Padding inside the review */
    flex: 1 1 calc(40% - 20px); /* Allow reviews to grow and shrink, with a base width of 30% */
    box-sizing: border-box; /* Include padding and border in the element's total width */
    color: #222222; /* Light grey text color */
}

.highlighted-review {
    border: 3px solid darkgreen;
    /*background-color: #e6ffe6; /* Slight green tint to stand out */
    padding: 15px;
    border-radius: 5px;
    flex: 1 1 calc(40% - 20px);
    box-sizing: border-box;
    color: #222222;
}

.review, .highlighted-review {
    display: flex; /* Add Flexbox to align image and text horizontally */
    flex-direction: row; /* Default: image on left, text on right */
    justify-content: space-between;
    align-items: flex-start;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    flex: 1 1 calc(40% - 20px);
    box-sizing: border-box;
    color: #222222;
}

.review-content {
    flex: 1; /* Take up remaining space */
    padding-right: 10px; /* Space between text and image */
}


.review-link {
    color: darkgreen;
    text-decoration: underline;
    font-weight: bold;
    background-color: transparent; /* override the light grey background */
}

.linkedin-share-button {
    background-color: #0077b5;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.linkedin-share-button:hover {
    background-color: #005582;
}

.thumbnail {
    width: 100px; /* Set thumbnail size */
    height: auto;
    margin-right: 10px;
    margin-left: 10px; /* Space between text and image */
    cursor: pointer;
}

/* styles for the image popup in the guestbook entry */
.image-modal-guestbook {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-image-guestbook {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}


/* end popup reviews */

/* player */
.wistia-player-container {
    max-width: 80%; /* Set a maximum width for the player */
    margin: 20px auto; /* Center the player with margin on top and bottom */
    padding: 10px; /* Optional: Add padding around the player */
    border: 1px solid #ccc; /* Optional: Add a border for better visibility */
    border-radius: 8px; /* Optional: Rounded corners */
    background-color: #f9f9f9; /* Optional: Light background color */
}

.small-letters {
    

    padding: 15px; /* Padding inside the review */
    flex: 1 1 calc(40% - 20px); /* Allow reviews to grow and shrink, with a base width of 30% */
    box-sizing: border-box; /* Include padding and border in the element's total width */
    color: #EEEEEE; /* Light grey text color */
    font-size: small;
    text-align: right;
}


/* gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
}
.gallery img {
    width: 200px;
    margin: 10px;
}
.carousel {
    position: relative;
    max-width: 600px;
    margin: auto;
    overflow: hidden;
}

.carousel img {
    width: 100%;
    display: none; /* Hide images by default */
}

.carousel img.active {
    display: block; /* Show the active image */
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 24px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
}
.prev {
    left: 10px;
}
.next {
    right: 10px;
}

.cookie-wall {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    display: none; /* Initially hidden */
}
.cookie-wall button {
    margin: 0 10px;
    padding: 10px 15px;
    color: #333;
    background-color: #fff;
    border: none;
    cursor: pointer;
}

/* Styles for the image modal */
.image-modal {
    display: none; /* Initially hidden */
    position: fixed; /* Fixed positioning */
    top: 0; /* Align to the top */
    left: 0; /* Align to the left */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    z-index: 1000; /* Ensure it is on top */
}

/* Styles for the close button */
.close-button {
    position: absolute; /* Absolute positioning */
    top: 20px; /* Distance from the top */
    right: 20px; /* Distance from the right */
    font-size: 30px; /* Font size for the close button */
    color: white; /* Button color */
    cursor: pointer; /* Pointer cursor on hover */
    z-index: 1001; /* Ensure it's above other content */
}

.modal-image {
    max-width: 90%; /* Responsive image size */
    max-height: 90%; /* Responsive image size */
}


/* Make the review card a positioning context */
.review,
.highlighted-review {
  position: relative;
}


/* Tunables for the permalink and spacing */
:root {
  --permalink-size: 18px;    /* matches your icon size */
  --permalink-offset: 10px;  /* right/bottom offset you set */
  --permalink-gap: 6px;      /* >= 5px minimum requested */
}


.review,
.highlighted-review {
  position: relative;
  padding-right: calc(var(--permalink-size) + var(--permalink-offset) + var(--permalink-gap));
  padding-bottom: calc(var(--permalink-size) + var(--permalink-offset) + var(--permalink-gap));
}


/* Permalink (chain) icon in the bottom-right corner */
.permalink {
 
    
  position: absolute;
  right: var(--permalink-offset);
  bottom: var(--permalink-offset);
  width: var(--permalink-size);
  height: var(--permalink-size);
  
  display: inline-block;
  opacity: 0.4;              /* subtle by default */
  transition: opacity 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  outline: none;
  /* Use an inline SVG as a background image (no extra file needed) */
  background-image: url("data:image/svg+xml;utf8,  <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>    <path d='M10 13a5 5 0 0 0 7.07 0l2.83-2.83a5 5 0 1 0-7.07-7.07L10.5 4'/>    <path d='M14 11a5 5 0 0 0-7.07 0L4.1 13.83a5 5 0 1 0 7.07 7.07L13.5 20'/>  </svg>");
  background-size: 18px 18px;
  background-repeat: no-repeat;
  background-position: center center;
  border-radius: 3px;         /* nicer focus outline shape */
    background-color: transparent !important; /* ensures no inherited light-grey background */
}

/* Reveal more strongly on hover/focus/parent hover */
.review:hover .permalink,
.highlighted-review:hover .permalink,
.permalink:focus {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Keyboard focus ring */
.permalink:focus-visible {
  box-shadow: 0 0 0 2px rgba(0, 128, 0, 0.45);
}

/* Utility to visually hide accessible text but keep it for screen readers */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,1px,1px);
  white-space: nowrap; border: 0;
}


/* === Guides grid === */
.guides {
  --card-bg: rgba(255,255,255,0.08);          /* reads well on your dark gradient bg */
  --card-border: rgba(255,255,255,0.15);
  --card-shadow: 0 6px 16px rgba(0,0,0,0.25);
  --gap: 16px;

  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--gap);
  margin-top: 10px;
}

/* Individual card */
.guide-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  color: #fff;                                 /* your page uses white text */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .guide-card { transition: none; }
}

.guide-card:hover,
.guide-card:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}

/* Avatar */
.guide-photo {
  width: 100%;
  aspect-ratio: 1 / 1;                         /* perfect square */
  object-fit: cover;                            /* crop centrally without distortion */
  border-radius: 50%;                           /* circle avatar */
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  border: 2px solid rgba(255,255,255,0.25);
}

/* Name */
.guide-name {
  margin-top: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  color: #ffffff;
}

/* Optional: compact variant when nested in your existing multi-col sections */
.column .guides {
  margin-top: 6px;
}

/* Optional: if you ever show long names, clamp lines to avoid stretching card height */
.guide-name {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

