/* Layout to keep footer pinned */
html, body {
  height: 100%;
  margin: 0;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: Verdana, sans-serif;
  background: url("bg_1.jpg") no-repeat center center fixed;
  background-size: cover;
  color: white;
}
main {
  flex: 1;
  padding: 0 16px 24px;
}

/* Glass box style */
.glass-box {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 20px;
  margin: 20px auto;
  max-width: 800px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* Header */
.header { text-align: center; margin-top: 20px; }
.logo { width: 80px; height: 80px; border-radius: 50%; }

/* Tabs */
.tabs { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.tab-button {
  background: transparent;
  border: 1px solid rgba(0, 255, 0, 0.6);
  padding: 10px 20px;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-shadow: 1px 1px 2px black;
}
.tab-button.active {
  background: rgba(0, 255, 0, 0.3);
  box-shadow: 0 0 15px darkgreen;
}

/* Tab content visibility */
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Footer pinned */
footer {
  text-align: center;
  padding: 12px 0;
  font-size: 14px;
  color: lightgray;
  background: rgba(0,0,0,0.28);
  margin-top: auto;
}

/* Gear */
.gear { display:inline-block; animation: spin 4s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg);} }

/* Photography grid */
.photo-grid { display:grid; grid-template-columns:1fr; gap:20px; }
.photo { text-align:center; }
.photo img {
  width:100%;
  border-radius:10px;
  box-shadow:0 4px 12px rgba(0,0,0,0.6);
  margin-bottom:10px;
  cursor:pointer;
}
.photo h4 { margin:5px 0; font-size:16px; font-weight:bold; color:#fff; }
.photo p { font-size:14px; color:lightgray; }

/* Disclaimer (plain text) */
.disclaimer {
  font-size:12px;
  color:#ccc;
  margin-top:20px;
  text-align:center;
  font-style:normal;
  font-weight:normal;
}

/* Desktop grid */
@media (min-width:768px){ .photo-grid{ grid-template-columns:repeat(3,1fr);} }

/* Overlay */
.overlay {
  position:fixed; top:0; left:0; width:100%; height:100%;
  background:rgba(0,0,0,0.92);
  display:none; justify-content:center; align-items:center;
  z-index:9999;
}
.overlay-inner { display:flex; flex-direction:column; align-items:center; gap:12px; max-width:90%; max-height:90%; text-align:center; }
.overlay-img { max-width:90%; max-height:70vh; border-radius:10px; box-shadow:0 8px 40px rgba(0,0,0,0.6);}
.overlay-meta { color:#ddd; max-width:90%; }
.overlay-meta h4 { margin:0; color:#fff; font-size:18px; }
.overlay-meta p { margin:6px 0 0; color:#ccc; font-size:14px; }

/* Buttons */
.close-btn {
  position:absolute; top:28px; right:36px;
  font-size:40px; color:white; background:transparent;
  border:none; cursor:pointer; line-height:1;
}
.nav-btn {
  position:absolute; top:50%; font-size:60px;
  color:white; cursor:pointer; user-select:none;
  transform:translateY(-50%); background:transparent; border:none; padding:10px;
}
.nav-btn.left{ left:20px; }
.nav-btn.right{ right:20px; }
.nav-btn:hover{ color:#0f0; }

/* Responsive */
@media(max-width:560px){
  .nav-btn{ font-size:48px; left:10px; right:10px;}
  .overlay-img{ max-height:60vh; }
}

/* Left-align YouTube button */
.youtube-btn { margin-top:16px; text-align:left; }
.youtube-btn button { margin:0; }
