/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *






.roboto-<uniquifier> {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}
 */
/* Set up the gallery grid layout */



/* General styles */
body {
  margin: 0;
  background-color: #333;
  font-family: "Roboto", sans-serif;
}

header {
  background-color: #333;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Logo */
.logo-image {
  max-height: 55px;
  max-width: 100%;
}




/* Global styles for the form container */
form {
  max-width: 500px;        /* Limit form width */
  margin: 0 auto;          /* Center the form */
  padding: 20px;           /* Add padding around the form */
  border-radius: 8px;      /* Rounded corners */
}

/* Style for each form field (input and label) */
.field {
  margin-bottom: 20px;      /* Space between fields */
}

.field label {
  display: block;           /* Make label take up the full width */
  margin-bottom: 5px;       /* Space between label and input */
  font-weight: bold;        /* Make label text bold */
  color: white;              
}

.field input {
  width: 100%;              /* Make input take full width of its container */
  padding: 10px;            /* Add padding inside the input */
  border: 3px solid #ccc;  /* Light border for the input */
  border-radius: 4px;      /* Rounded corners */
  font-size: 16px;          /* Readable font size */
  box-sizing: border-box;  /* Include padding and border in width calculation */
  transition: border-color 0.3s ease; /* Smooth transition for focus effect */
}

.field input:focus {
  border-color: #ff73be;    /* Change border color on focus */
  outline: none;            /* Remove default outline */
}

.field input::placeholder {
  color: #aaa;              /* Lighter color for placeholder text */
}

/* Style for the actions section (submit button) */
.actions {
  text-align: center;       /* Center the submit button */
}



.actions input:disabled {
  background-color: #ddd;    /* Light gray background when disabled */
  cursor: not-allowed;       /* Disable cursor when button is disabled */
}


  .actions input {
    padding: 10px 20px;
    background: #ff73be;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    transition: background 0.3s;
  }
  

  .actions input:hover {
  background-color: #fca4d3; /* Background change on hover */
  color: #333;
}

h2 {
  text-align: center;
  font-size: 50px;
  color: white;
}

a{
  color: white;
}

.alert{
  font-size: 40px;
  background-color: white;
  color: black;
  text-align: center;
  padding: 0px;
}






/* Tab Bar Styles */
.tab-bar {
  background-color: #333; /* Light background for the tab bar */
  border-top: 1px solid #ff73be; /* Light border at the top */
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow for the tab bar */

}

.tab-links {
  display: flex;
  justify-content: center; /* Center the tabs */
  list-style-type: none;
  margin: 0;
  padding: 0;

}

.tab-links li {
  margin: 0 20px; /* Space between tabs */
  position: relative; /* Needed for positioning the underline */
  display: inline-block; /* Ensure the tab width includes padding */

}

.tab-link {
  text-decoration: none;
  color: #333; /* Text color */
  font-weight: bold;
  padding: 10px 20px;
  display: block; /* Make the link take up the full tab area */
  border-radius: 4px;
  transition: background-color 0.3s;
  color: white;
}

.tab-link:hover {
  background-color: #f1f1f1; /* Background change on hover */
  color: #333;
}

.tab-link:active {
  background-color: #ddd; /* Active tab */
}

/* Underline effect for hovered tab */
.tab-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px; /* Thickness of the line */
  background-color: #ff73be; /* The line color */
  transition: width 0.3s ease-in-out; /* Smooth transition */
}

/* On hover, the line expands to full width of the tab */
.tab-link:hover::after {
  width: 100%; /* Expand the line to full width of the tab */
}

/* Optional: Underline for the active tab */
.tab-links li.active .tab-link::after {
  width: 100%; /* Make sure the line appears on the active tab */
}











<style>
  /* Gallery Container */
  .gallery-container {
    max-width: 95%; /* Increased from 1200px to take up most of the screen */
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
  }
  
  .gallery-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 28px; /* Larger title */
  }
  
  /* Filter Buttons */
  .gallery-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
  }
  
  .filter-btn {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 10px 25px; /* Larger buttons */
    margin: 0 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px; /* Larger text */
  }
  
  .filter-btn:hover,
  .filter-btn.active {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
  }
  
  /* Gallery Grid */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); /* Increased from 300px */
    grid-gap: 25px; /* Increased gap */
    margin-bottom: 30px;
  }
  
  /* Gallery Items */
  .gallery-item {
    border-radius: 8px; /* Slightly larger border radius */
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
    transition: transform 0.3s ease;
    background: #fff;
  }
  
  .gallery-item:hover {
    transform: translateY(-8px); /* More pronounced hover effect */
  }
  
  .gallery-item-inner {
    position: relative;
  }
  
  .gallery-item img,
  .gallery-item video {
    width: 100%;
    height: 300px; /* Increased from 220px */
    object-fit: cover;
    display: block;
  }
  
  /* Overlay */
  .item-overlay {
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    padding: 20px; /* Increased padding */
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }
  
  .gallery-item:hover .item-overlay {
    transform: translateY(0);
  }
  
  .item-overlay h3 {
    margin: 0 0 8px 0;
    font-size: 20px; /* Larger title */
  }
  
  .item-overlay p {
    margin: 0 0 15px 0;
    font-size: 16px; /* Larger text */
    opacity: 0.8;
  }
  
  /* View Post Button */
  .view-post-btn {
    display: inline-block;
    background: #0066cc;
    color: white;
    padding: 8px 15px; /* Larger button */
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px; /* Larger text */
    transition: background 0.3s ease;
  }
  
  .view-post-btn:hover {
    background: #0055aa;
  }
  
  /* No Media and Unsupported Media Placeholders */
  .no-media-placeholder,
  .unsupported-media {
    height: 300px; /* Increased from 220px */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f7f7f7;
    color: #666;
  }
  
  .media-icon {
    font-size: 48px; /* Larger icon */
    margin-bottom: 15px;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 1200px) {
    .gallery-grid {
      grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
  }
  
  @media (max-width: 768px) {
    .gallery-grid {
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .gallery-item img,
    .gallery-item video,
    .no-media-placeholder,
    .unsupported-media {
      height: 250px; /* Reduced height for smaller screens */
    }
  }
  
  @media (max-width: 480px) {
    .gallery-grid {
      grid-template-columns: 1fr;
    }
    
    .gallery-filter {
      flex-direction: column;
      align-items: center;
    }
    
    .filter-btn {
      margin: 5px 0;
      width: 180px; /* Wider buttons on mobile */
    }
  }
</style>




<!-- JavaScript for Filter Functionality -->
<script>
  document.addEventListener('DOMContentLoaded', function() {
    const filterButtons = document.querySelectorAll('.filter-btn');
    const galleryItems = document.querySelectorAll('.gallery-item');
    
    filterButtons.forEach(button => {
      button.addEventListener('click', function() {
        // Remove active class from all buttons
        filterButtons.forEach(btn => btn.classList.remove('active'));
        
        // Add active class to clicked button
        this.classList.add('active');
        
        // Get filter value
        const filterValue = this.getAttribute('data-filter');
        
        // Filter items
        galleryItems.forEach(item => {
          if (filterValue === 'all' || item.classList.contains(filterValue)) {
            item.style.display = 'block';
          } else {
            item.style.display = 'none';
          }
        });
      });
    });
  });
