body {
    background-color: rgb(26, 26, 26) !important;
    color: white !important;
        /* This sets the text color to white */
    font-family: 'Space Grotesk', sans-serif !important;
    /* font-weight: bold !important; */
}

.title{
    color: whitesmoke;
}

.btn-white {
    background-color: transparent !important;
    /* No background */
    color: whitesmoke !important;
    /* Match the navbar dark color */
    border: 1px solid transparent !important;
    /* Keep the border */
}

.btn-white:hover {
    background-color: lightgray !important;
    /* Optional hover effect */
    color: black !important;
    /* Change text color on hover for better visibility */
}

 .explore {
     font-family: 'Sora', sans-serif;
     font-weight: bold !important;
     /* Sora font */
     font-size: 10vw;
     /* Responsive font size with min/max */
     text-align: center;
     /* Center text */
     color: whitesmoke;
     /* Text color */
     flex: 1;

     padding-right: 70px;
     /* Allow the text to take up remaining space */
 }

 .mountain-image {
     width: 50%;
     /* Set width to 40% */
     height: auto;
     /* Maintain aspect ratio */
     object-fit: cover;
     /* Optional: Cover the space */
 }

 .pano {
    margin-top: 10vw;
    padding-bottom: 3vw;
 }

 .content-section {
     display: flex;
     /* Use flexbox for layout */
     align-items: center;
     /* Center items vertically */
     justify-content: space-between;
     /* Space between items */
     padding-top: 60px;
     padding-bottom: 40px;
     padding-right: 0px;
     /* Add some padding */
 }

  .mission {
      font-family: 'Sora', sans-serif;
      font-weight: bold !important;
      /* Sora font */
      font-size: 7vw;
      /* Responsive font size with min/max */
      text-align: left;
      /* Center text */
      color: whitesmoke;
      /* Text color */
      flex: 1;
      padding-top: 5vw;
      padding-bottom: 2vw;

      /* Allow the text to take up remaining space */
  }

  .mission-text{
        /* Sora font */
        font-size: 2vw;
        /* Responsive font size with min/max */
        text-align: center;
        /* Center text */
        color: whitesmoke;
        /* Text color */
        flex: 1;
        padding-left: 2vw;
        padding-right: 2vw;
        padding-top: 2vw;
  }

  /* No change needed for hover effect on description */
  .photo-container {
      position: relative;
      width: 100%;
      transition: transform 0.3s ease;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }

  .photo {
      width: 100%;
      height: auto;
  }

  #memberCarousel {
      width: 80%;
      /* Or another preferred percentage */
      margin: 0 auto;
  }

  .description {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(0, 0, 0, 0.7);
      color: white;
      padding: 10px;
      font-size: 0.9rem;
      text-align: center;
      opacity: 0;
      transition: opacity 0.3s ease;
  }

  .photo-container:hover .description {
      opacity: 1;
  }

  .members {
      font-family: 'Sora', sans-serif;
      font-weight: bold !important;
      /* Sora font */
      font-size: 7vw;
      /* Responsive font size with min/max */
      text-align: right;
      /* Center text */
      color: whitesmoke;
      /* Text color */
      flex: 1;
      padding-top: 20vw;
      padding-bottom: 2vw;

      /* Allow the text to take up remaining space */
  }

  /* Make the navbar taller */
  .navbar {
      height: 100px !important;
      /* Adjust the height as needed */
  }

  /* Responsive spacing for Our Members section */
  @media (max-width: 576px) {
      .members {
          padding-top: 100px !important;
      }
  }

  @media (min-width: 577px) and (max-width: 992px) {
      .members {
          padding-top: 150px !important;
      }
  }

  @media (min-width: 993px) and (max-width: 1400px) {
      .members {
          padding-top: 250px !important;
      }
  }

  @media (min-width: 1401px) {
      .members {
          padding-top: 400px !important;
      }
      .scattered-words {
          height: 600px !important;
      }
  }

  /* Fix spacing between scattered words and Our Story section */
  @media (min-width: 768px) {
      .scattered-words {
          height: 750px !important;
      }
  }
  
  @media (min-width: 992px) {
      .scattered-words {
          height: 900px !important;
      }
  }
  
  @media (min-width: 1200px) {
      .scattered-words {
          height: 1000px !important;
      }
  }
  
  @media (min-width: 1400px) {
      .scattered-words {
          height: 1100px !important;
      }
  }

  /* Increase font size for "Big Mountain Club" */
  .navbar-brand {
      font-size: 3.2vw !important;
      /* Responsive font size with min/max */
  }

  .planning {
    padding-top: 4vw;
    padding-left: 9vw;
    font-family: 'Sora', sans-serif;
    font-weight: bold !important;
    /* Sora font */
    font-size: 9vw;
    /* Responsive font size with min/max */
    text-align: left;
    /* Center text */
    color: whitesmoke;
    /* Text color */
    flex: 1;

  }

  .resources {
      padding-top: 4vw;
      padding-left: 40vw;
      padding-right: 2vw;
      font-family: 'Sora', sans-serif;
      font-weight: bold !important;
      /* Sora font */
      font-size: 9vw;
      /* Responsive font size with min/max */
      text-align: left;
      /* Center text */
      color: whitesmoke;
      /* Text color */
      flex: 1;

  }

  .checklist {
      padding: 3vw;
      border-radius: 10px;
      margin: 4vw;
  }

  .checklist ul {
      list-style: none;
      /* Remove default bullet points */
      padding-left: 0;
  }

  .checklist ul li {
      position: relative;
      margin-bottom: 3vw;
      font-size: 1.7vmax;
  }

  .checklist ul li input[type="checkbox"] {
      /* Hide default checkbox */
      position: absolute;
      opacity: 0;
  }

  .checklist ul li label {
      position: relative;
      padding-left: 3.4vw;
      cursor: pointer;
  }

  .checklist ul li label:before {
      content: "";
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 2.8vw;
      height: 2.8vw;
      background-color: #fff;
      border: 2px solid #000;
      border-radius: 4px;
  }

  .checklist ul li input[type="checkbox"]:checked+label:after {
      content: "✓";
      position: absolute;
      top: 50%;
      left: 5px;
      transform: translateY(-50%);
      font-size: 2.4vw;
      color: black;
      /* Black check mark */
  }

  .sub-list {
      margin-left: 4.3vw;
      /* Indent for sub-items */
  }

  .sub-list li {
      font-size: 1.3rem;
      margin-bottom: 3vw;
      margin-top: 3vw;
  }

  .steps {
    padding: 10vh;
    text-align: center;
  }

  .resource-list {
      list-style-type: none;
      padding-left: 0;
      margin-bottom: 20px;
  }

  .resource-list li {
      font-size: 18px;
      margin-bottom: 20px;
  }

  .resources-section {
      padding: 20px;
      margin-bottom: 20px;
      border-radius: 8px;
  }

  .video-container {
      margin-top: 10px;
      display: flex;
      justify-content: center;
  }

  .resources-section h3 {
    font-family: 'Sora', sans-serif;
    font-weight: bold !important;
    font-size: 4vw;
    margin-bottom: 3vw;
    margin-top: 6vw;
  }

  .resources-section a {
      text-decoration: none;
  }

  .resources-section a:hover {
      text-decoration: underline;
  }

  .resources-section ul {
      padding-left: 0;
  }

  iframe {
      max-width: 100%;
      border: none;
  }

  

  footer {
      background-color: #1c1c1c;
      /* Dark background */
      color: #f8f9fa;
      /* Light text */
      padding: 30px 0;
      margin-top: 100px;
  }

  footer a {
      color: #f8f9fa;
      /* Light link color */
      text-decoration: none;
  }

  footer a:hover {
      color: #32CD32;
      /* Green hover effect */
  }

  footer i {
      font-size: 24px;
      /* Instagram icon size */
  }

  .join{
    font-family: 'Sora', sans-serif;
    font-weight: bold !important;
  }

  .map {
    padding-top: 4vmax;
    padding-left: 10vmax;
    padding-right: 10vmax;
  }

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.scattered-words {
    position: relative;
    height: 500px;
    /* Increased height for better clearance */
    margin: 70px 0 50px 0;
    /* Adjusted margins */
    padding-left: 20vw !important;
    padding-right: 2vw !important;
}


.scattered-word {
    position: absolute;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.3vw;
    color: whitesmoke !important;
    opacity: 0.95;
}

.scattered-word:nth-child(1) {
    animation: gentleFloat 4s ease-in-out infinite;
}

.scattered-word:nth-child(2) {
    animation: gentleFloat 4s ease-in-out infinite 0.5s;
}

.scattered-word:nth-child(3) {
    animation: gentleFloat 4s ease-in-out infinite 1s;
}

.scattered-word:nth-child(4) {
    animation: gentleFloat 4s ease-in-out infinite 1.5s;
}

.scattered-word:nth-child(5) {
    animation: gentleFloat 4s ease-in-out infinite 2s;
}

.scattered-word:nth-child(6) {
    animation: gentleFloat 4s ease-in-out infinite 2.5s;
}

.scattered-word:nth-child(7) {
    animation: gentleFloat 4s ease-in-out infinite 3s;
}

.scattered-word:nth-child(8) {
    animation: gentleFloat 4s ease-in-out infinite 3.5s;
}

.scattered-word:nth-child(9) {
    animation: gentleFloat 4s ease-in-out infinite 4s;
}

.scattered-word:nth-child(10) {
    animation: gentleFloat 4s ease-in-out infinite 4.5s;
}

.scattered-word:hover {
    transform: scale(1.2);
    opacity: 1;
    animation: none;
    /* Stops floating animation on hover for focus effect */
}

  /* Positions for each word */

  /* couloir */
  .scattered-word:nth-child(1) {
      top: 18vw;
      left: 18vw;
  }

 /* bikepacking */
  .scattered-word:nth-child(2) {
      top: 25vw;
      right: 20vw;
  }

  /* trail running */
  .scattered-word:nth-child(3) {
      top: 2vw;
      left: 9vw;
   
  }

  /* mountaineering */
  .scattered-word:nth-child(4) {
      top: 5vw;
      right: 8vw;
  }
  /* climbing */
  .scattered-word:nth-child(5) {
      top: 30vw;
      left: 27vw;

  }

  /* skiing */
  .scattered-word:nth-child(6) {
      top: 12vw;
      right: 44vw;
  } 

  .scattered-word:nth-child(7) {
      top: 47vw;
      right: 60vw;
  }

  .scattered-word:nth-child(8) {
      top: 42vw;
      right: 10vw;
  }

  .scattered-word:nth-child(9) {
      top: 62vw;
      right: 65vw;
  }

   /* bikepacking */
   .scattered-word:nth-child(10) {
       top: 55vw;
       right: 29vw;
   }

/* Trip Log Styles */
.trip-log-header {
    text-align: center;
    padding: 4vw 0;
}

.trip-log-header h1 {
    font-family: 'Sora', sans-serif;
    font-weight: bold !important;
    font-size: 8vw;
    color: whitesmoke;
    margin-bottom: 1vw;
    text-align: center;
}

.trip-log-header .lead {
    font-size: 1.5rem;
    color: #ccc;
}

/* Trip Card Styles */
.trip-card {
    background: #2d2d2d;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    border: 2px solid transparent;
}

.trip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: #32CD32;
}

.trip-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.trip-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trip-card:hover .trip-image {
    transform: scale(1.1);
}

.trip-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.trip-content {
    padding: 20px;
}

.trip-title {
    color: whitesmoke;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.trip-members {
    color: #32CD32;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.trip-members i {
    margin-right: 5px;
}

.trip-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.stat {
    display: flex;
    align-items: center;
    color: #ccc;
    font-size: 0.9rem;
}

.stat i {
    margin-right: 5px;
    color: #32CD32;
}

.trip-description {
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Trip Detail Modal Styles */
.trip-detail-photo {
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.trip-detail-photo:hover {
    transform: scale(1.05);
}

.trip-details-sidebar {
    background: #2d2d2d;
    padding: 20px;
    border-radius: 10px;
}

.detail-item {
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0 !important;
}

.detail-item i {
    color: #32CD32;
    margin-right: 8px;
}

.trip-full-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ddd;
}

/* Add Trip Form Styles */
.add-trip-header h1 {
    font-family: 'Sora', sans-serif;
    font-weight: bold !important;
    font-size: 6vw;
    color: whitesmoke;
}

.add-trip-header .lead {
    color: #ccc;
    font-size: 1.3rem;
}

.trip-form {
    background: #2d2d2d;
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #444;
}

.form-section-title {
    color: #32CD32;
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #444;
}

.form-section-title i {
    margin-right: 10px;
}

.form-label {
    color: whitesmoke;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-control, .form-select {
    background-color: #1a1a1a !important;
    border: 2px solid #444 !important;
    color: whitesmoke !important;
    border-radius: 8px !important;
}

.form-control:focus, .form-select:focus {
    background-color: #1a1a1a !important;
    border-color: #32CD32 !important;
    box-shadow: 0 0 0 0.2rem rgba(50, 205, 50, 0.25) !important;
    color: whitesmoke !important;
}

.form-control::placeholder {
    color: #888 !important;
}

.form-text {
    color: #aaa !important;
}

/* Photo Upload Styles */
.photo-url-input {
    margin-bottom: 10px;
}

.photo-preview-container {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    border: 2px dashed #444;
    margin-top: 20px;
}

.photo-preview-item {
    position: relative;
}

.photo-preview-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border: 2px solid #444;
    transition: border-color 0.2s ease;
}

.photo-preview-item img:hover {
    border-color: #32CD32;
}

.photo-remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    opacity: 0;
}

.photo-preview-item:hover .photo-remove-btn {
    opacity: 1;
}

.photo-remove-btn:hover {
    background: rgba(220, 53, 69, 1);
    transform: scale(1.1);
}

/* Button Styles */
.btn-success {
    background-color: #32CD32 !important;
    border-color: #32CD32 !important;
    font-weight: 600;
}

.btn-success:hover {
    background-color: #28a428 !important;
    border-color: #28a428 !important;
}

.btn-outline-success {
    color: #32CD32 !important;
    border-color: #32CD32 !important;
}

.btn-outline-success:hover {
    background-color: #32CD32 !important;
    border-color: #32CD32 !important;
    color: white !important;
}

.btn-outline-danger {
    color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.btn-outline-danger:hover {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: white !important;
}

/* Responsive Trip Card Adjustments */
@media (max-width: 768px) {
    .trip-log-header h1 {
        font-size: 12vw;
    }
    
    .add-trip-header h1 {
        font-size: 10vw;
    }
    
    .trip-form {
        padding: 20px;
    }
    
    .trip-stats {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .trip-content {
        padding: 15px;
    }
    
    .trip-image-container {
        height: 200px;
    }
}

/* Password Protection Styles */
.password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.password-modal {
    background: #2d2d2d;
    border-radius: 15px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    border: 2px solid #32CD32;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.password-modal-content {
    text-align: center;
}

.password-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.password-modal h2 {
    color: #32CD32;
    margin: 0;
    font-family: 'Sora', sans-serif;
    font-weight: bold;
}

.password-close-btn {
    background: none;
    border: none;
    color: #ccc;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.password-close-btn:hover {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
}

.password-actions {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #444;
}

.password-modal p {
    color: whitesmoke;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.password-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.password-input-group input {
    flex: 1;
    background-color: #1a1a1a !important;
    border: 2px solid #444 !important;
    color: whitesmoke !important;
    border-radius: 8px !important;
    padding: 12px !important;
}

.password-input-group input:focus {
    border-color: #32CD32 !important;
    box-shadow: 0 0 0 0.2rem rgba(50, 205, 50, 0.25) !important;
}

.password-input-group button {
    padding: 12px 25px;
    font-weight: 600;
}

.password-error {
    color: #dc3545;
    margin-bottom: 10px;
    font-weight: 500;
}

.password-hint {
    color: #aaa;
    font-style: italic;
}

.password-overlay.hidden {
    display: none;
}

/* Shake animation for incorrect password */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Admin Toggle Styles */
.admin-toggle {
    display: none; /* Hidden by default */
    margin-bottom: 10px;
}

.admin-toggle.show {
    display: inline-block;
}

.admin-toggle-label {
    color: #ccc !important;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.admin-toggle-label:hover {
    color: #32CD32 !important;
}

.admin-toggle input[type="checkbox"] {
    margin-right: 5px;
    transform: scale(1.2);
}

.admin-toggle input[type="checkbox"]:checked + i {
    color: #32CD32;
}

/* Admin Action Buttons */
.admin-actions {
    position: absolute;
    top: 10px;
    left: 10px;
    display: none;
    gap: 5px;
}

.admin-actions.show {
    display: flex;
}

.admin-btn {
    padding: 5px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.admin-btn-edit {
    background-color: #ffc107;
    color: #000;
}

.admin-btn-edit:hover {
    background-color: #e0a800;
}

.admin-btn-delete {
    background-color: #dc3545;
    color: white;
}

.admin-btn-delete:hover {
    background-color: #c82333;
}

/* Admin Modal Buttons */
.admin-modal-actions {
    display: none;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #444;
}

.admin-modal-actions.show {
    display: flex;
    justify-content: center;
}