
/* style.css (Main Page) - Updated styling  */
/* ... (Your existing CSS from style.css - keep everything else) ... */

.video-card {
    position: relative; /*  For absolute positioning of the video frame */
    overflow: hidden;  /* Ensures the frame doesn't overflow */
}

.video-card:hover .video-frame {
    opacity: 1;   /* Show frame on Hover */
}

  .video-frame { /* Frame that appears when hovering over */
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height:100%;
       object-fit: cover;
       opacity: 0; /* Hidden by default */
       transition: opacity 0.3s ease;
       border-radius: 8px;
  }

/* Pagination Styles */
.pagination {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px; /* Added space below pagination */
}

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background-color: #f00060;
}


.next-page-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f00060;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.next-page-button:hover {
    background-color: #d80a59; /* Darker pink on hover */
}

/* Responsive Design */
@media (max-width: 768px) { /* Example: Adjust for smaller screens */
    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjust column width */
    }
}

/* Even More Responsive  */
@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: repeat(1, 1fr); /* One column on very small screens */
    }
    .pagination a {
        padding: 8px 12px;   /* Smaller pagination buttons */
        margin: 0 3px;
    }
     .next-page-button {
        padding: 8px 16px;  /* Smaller next button */
    }
}

/* Hide menu by default on mobile */
.mobile-hidden {
display: none;
}

/* Show menu when active */
.mobile-hidden.active {
display: block;
}

/* Style for the toggle button */
.menu-toggle {
display: block;
cursor: pointer;
font-size: 50px;
padding: 0px;
background-color:rgb(0, 0, 0);
color: white;
border: none;
outline: none;

position: absolute; /* Position it relative to the nearest positioned ancestor */
top: 11px; /* Moves it down (Y-axis) */
left: 351px; /* Moves it right (X-axis) */
}


/* Ensure the menu is visible on larger screens */
@media (min-width: 768px) {
.mobile-hidden {
  display: block; /* Show menu by default on larger screens */
}
.menu-toggle {
  display: none; /* Hide toggle button on large screens */
}
}



.search-bar {
display: flex;
justify-content: center; /* Centering the search bar */
margin: 10px 0;
}

.search-bar form {
display: flex;
align-items: center;
border-radius: 5px;
overflow: hidden; /* Ensures the button and input align properly */
width: 470px;
max-width: 800px; /* Adjust width as needed */
}

.search-bar input {
flex: 1;
padding: 9px;
border: none;
outline: none;
}

.search-bar button {
background: #f00060; /* Change to desired color */
color: white;
border: none;
padding: 10px 15px;
cursor: pointer;
}

.search-bar button i {
font-size: 16px;
}

.search-bar button:hover {
background: #d80a59; /* Darker shade on hover */
}


@media (max-width: 768px) {  /* Adjust max-width as needed */
.hero {
  display: none;
}
}
