/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Body - Dark Theme */
body {
  background-color: #121212;
  color: #E0E0E0;
  margin: 0; /* Removes unwanted border */

}
/* 🔹 Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #8B0000;
  height: 60px;
  padding: 0 40px;
  
  
}

/* 🔹 Header Container */
.container {
  width: 100%;
  margin: 0 auto; /* Centers the container in the navbar */
  display: flex;
  align-items: center;
  justify-content: space-between; /* Push logo left and links right */
  padding: 0 0px;  /* Add some space on left/right */
  box-sizing: border-box;
}


/* 🔹 Logo */
.logo {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  text-decoration: none;
}

/* 🔹 Menu (Desktop) */
.nav-links {
  display: flex;
  gap: 15px;
}

.nav-links a {
  text-decoration: none;
  color: #E0E0E0;
}

/* 🔹 Hamburger Menu */
.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: #FFD700;
  cursor: pointer;
}

/* 🔹 Sidebar Menu */
/* 🔹 Sidebar Styling */
#sidebar {
  position: fixed;
  top: 0;
  left: -250px; /* Hidden by default */
  width: 250px;
  height: 100%;
  background: #222;
  transition: left 0.3s ease-in-out;
  z-index: 1000;
}

/* 🔹 Active Class to Show Sidebar */
#sidebar.active {
  left: 0;
}

/* 🔹 Overlay to Dim Background */
#overlayside {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none; /* Hidden initially */
  z-index: 999;
}

/* 🔹 Show Overlay When Active */
#overlay.active {
  display: block;
}

/* 🔹 Menu Toggle Button */
.menu-toggle {
  cursor: pointer;
  font-size: 24px;
  background: none;
  border: none;
  color: white;
}


.sidebar a {
  display: block;
  padding: 15px;
  color: #efefef;
  text-decoration: none;
}

.sidebar a:hover {
  background-color: #444;
}

/* 🔹 Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  background: none;
  border: none;
  color: #FFD700;
  cursor: pointer;
}

/* 🔹 Sidebar Active */
.sidebar.active {
  left: 0;
}

/* 🔹 Overlay (Dark Background) */
.overlayside {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
}

.overlayside.active {
  visibility: visible;
  opacity: 1;
}

/* 🔹 Mobile View */
@media (max-width: 768px) {
  .menu-toggle {
      display: block;
  }

  .nav-links {
      display: none;
  }
}



/* Ad Banner */
.ad-banner {
  text-align: center;
  padding: 10px;
  background-color: #222;
  color: #E0E0E0;
  margin: 10px 0;
  width: 100%;
  height: 90px; /* Standard height */
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .ad-banner {
      height: 50px; /* Adjust height for mobile */
  }
}

/* Breadcrumb */
.breadcrumb {
  background-color: #1E1E1E;
  padding: 10px 20px;
  font-size: 14px;
  color: #E0E0E0;
  text-align: left; /* Ensures left alignment */
}

.breadcrumb a {
  color: #FFD700; /* Gold color for links */
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #FF4F4F; /* Light red for current location */
}


.profile-header {
  margin-bottom: 30px;
}

.profile-info-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.profile-pic img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #444;
}

.profile-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-details h1 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 6px;
}

.profile-details .meta {
  font-size: 15px;
  color: #bbb;
  margin-bottom: 12px;
}

.actions {
  display: flex;
  gap: 10px;
}
.profile-info-box {
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.03);
  margin-bottom: 30px;
}


.fb-button,
.like-button,
.comment-button {
  background-color: #222;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}

.fb-button {
  background-color: #4267B2;
}

.like-button {
  background-color: #ff4d6d; /* Soft red-pink */
  color: white;
  border: none;
  padding: 8px 14px;
  font-size: 16px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.like-button:hover {
  background-color: #e60042; /* Darker red for hover */
  transform: scale(1.05);
}

.like-button span {
  font-weight: bold;
}


.comment-button {
  background-color: #4caf50;
}

.fb-button:hover,
.comment-button:hover {
  background-color: #555;
}




@media (max-width: 480px) {
  body {
    padding: 0px;
    margin: 0;
  }}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
  padding: 20px;
  box-sizing: border-box;
}

.photo-box {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255,255,255,0.05);
  background-color: #1e1e1e;
}

.photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {


  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .fb-button,
  .like-button,
  .comment-button {
    width: 100%;
    text-align: center;
    padding: 10px 14px;
    font-size: 16px;
  }
}
.pagination {
  margin-top: 30px;
  text-align: center;
  margin-bottom: 20px;
}

.pagination a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  border: 1px solid #fff;
  padding: 5px 10px;
  border-radius: 4px;
}

.pagination span {
  margin: 0 10px;
  color: hsl(0, 0%, 67%);
}
.site-footer {
  background-color: #111;
  color: #bbb;
  text-align: center;
  padding: 20px 0;
  margin-top: 20px;
  font-size: 14px;
}


.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  margin: 0 10px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: white;
}

.footer-text {
  font-size: 12px;
  color: #888;
}
.sort-bar {
margin: 20px 0;
display: flex;
align-items: center;
gap: 10px;
color: #e0e0e0;
}

#sort-select {
padding: 6px 12px;
background-color: #1a1a1a;
color: #fff;
border: 1px solid #444;
border-radius: 6px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  padding: 10px;
}

.gallery-photo {
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  object-fit: cover;
}
.glightbox-clean .gclose {
  color: white;
  font-size: 24px;
  top: 10px;
  right: 10px;
}


