/*
Theme Name: Satchit Voyage
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm-medium=wp-dash
Template: hello-elementor
Author: ikon marketing
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm-medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.2.1.1737399437
Updated: 2025-01-20 18:57:17
*/

/* =====================
   GLOBAL TYPOGRAPHY
===================== */
body {
  font-family: 'El Messiri', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'El Messiri', sans-serif !important;
}

/* =====================
   CLOCK STYLES
===================== */
#live-clock #time {
  font-size: 48px;
  color: #fff;
  font-weight: 600;
}
#live-clock #date {
  font-size: 24px;
  margin-top: 0.5em;
  color: #fff;
}
#live-clock #lkzone {
  font-size: 16px;
  margin-top: 0.5em;
  color: #fff;
}

/* =====================
   MAP CONTAINER
===================== */
#map-container {
  display: flex;
  flex-direction: row;         
  justify-content: center;
  align-items: flex-start;     /* Align map + buttons at the same top level */
  gap: 5rem;                   /* Space between map and buttons */
  flex-wrap: nowrap;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px 40px;
  box-sizing: border-box;
}

/* =====================
   MAP IMAGE
===================== */
#map-image {
  flex: 1;
  max-width: 850px;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;     /* Align with button tops */
  margin-top: 5rem;            /* Matches button column margin */
  
  /* Scale map 1.2x bigger */
  transform: scale(1.2);
  transform-origin: center top;
}

#map-image img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

/* =====================
   ACTIVITY BAR WRAPPER
===================== */
.activity-bar-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: nowrap;
  width: 100%;
  overflow-x: hidden;
  padding: 16px;
  box-sizing: border-box;
  z-index: 10;
}

/* =====================
   ACTIVITY BUTTON GROUPS
===================== */
#left-buttons,
#right-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;     
  flex-shrink: 0;
  margin-top: 5rem;  
}

/* =====================
   ACTIVITY BUTTON STYLE
===================== */
.activity-button {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;

  min-width: 200px;
  max-width: 220px;
  height: 120px;
  padding: 14px;
  flex-shrink: 0;
  text-align: left;
  white-space: normal;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* darker overlay for text readability */
  z-index: 0;
  border-radius: inherit;
}

.activity-button:hover::before {
  background: rgba(0, 0, 0, 0.55);
}

/* ✅ FIX: Text + link alignment */
.activity-button .activity-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  position: relative;
  z-index: 1;
}

/* Title text */
.activity-button span {
  display: block;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.9); /* strong contrast */
  line-height: 1.4;
}

/* "Read More" link */
.activity-button a {
  display: inline-block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  color: #ff4081;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9); /* ensures visibility */
}

.activity-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* =====================
   MAP PINS
===================== */
.pin {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: red;
  border-radius: 50%;
  cursor: pointer;
  transform: translate(-50%, -50%);
  display: none;
}
.pin span {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 12px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

/* =====================
   RESPONSIVE BREAKPOINTS
===================== */

/* Tablets (≤1024px) */
@media screen and (max-width: 1024px) {
  #map-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  /* ✅ Force one row scrollable wrapper */
  .activity-bar-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  .activity-bar-wrapper::-webkit-scrollbar {
    display: none;
  }

  /* ✅ Buttons inside wrapper behave like cards */
  .activity-bar-wrapper .activity-button {
    flex: 0 0 auto;
    min-width: 200px;
    height: 110px;
  }

  #map-image {
    margin-top: 2rem;
    transform: scale(1);  /* reset to avoid overflow */
    align-items: center;
  }

  #map-image img {
    max-height: 70vh;
  }
}

/* Mobiles (≤768px) */
@media screen and (max-width: 768px) {
  #map-container {
    flex-direction: column;
    gap: 1.5rem;
    padding: 10px;
  }

  .activity-bar-wrapper {
    flex-direction: row;
    gap: 1rem;
  }

  .activity-bar-wrapper .activity-button {
    min-width: 160px;
    height: 95px;
  }

  #map-image {
    margin-top: 1.5rem;
    transform: scale(1); /* reset for mobiles */
    align-items: center;
  }

  .activity-button a {
    font-size: 12px;
  }
}
