body { font-family: Arial, sans-serif; background: #f4f4f4; margin: 0; padding: 0; background: url('assets/bg1.jpg') repeat;}
h1 { text-align: center; }

.gallery { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; padding-left: 50px; }
.card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  width: 200px;
  height: 200px;
  text-align: center;
  position: relative;
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-text {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 16px;
  padding: 10px;
  text-align: center;
  font-weight: 500;
  backdrop-filter: blur(3px);
}

/* Lightbox Styles */
#lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#lightbox img {
    max-width: 90%;
    max-height: 80vh;
    margin-bottom: 20px;
    border-radius: 10px;
}

#lightbox-close {
    position: absolute;
    top: 20px; right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.share-buttons button {
    margin: 5px;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.share-buttons button:hover {
    background-color: #ddd;
}

.site-header {
    background-color: #252525;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    margin-bottom: 10px;
}

.header-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    height: 150px;
    width: auto;
}

.site-title {
    color: #FFFFFF;
    margin: 0;
    flex-grow: 1;
    text-align: center;
}

.nav-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.category-button {
    background-color: #252525;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-left: 15px;
}

.category-button:hover {
    background-color: #888888;
}

.ad-banner,
.ad-footer {
    width: 100%;
    background-color: #f9f9f9;
    text-align: center;
    padding: 20px 0;
    margin: 20px 0;
    border: 1px dashed #ccc;
    color: #888;
    font-style: italic;
}

.ad-square {
    width: 100%;
    max-width: 300px;
    height: 250px;
    margin: 20px auto;
    background-color: #f0f0f0;
    border: 1px dashed #bbb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-style: italic;
}