/* fotograf.net */ 

/* --------------------------------------------------
   MOBILE BASE SETTINGS
-------------------------------------------------- */

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  width: 100%;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  background: #f8f8f8;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* --------------------------------------------------
   CONTAINER & LAYOUT
-------------------------------------------------- */

.container,
.wrapper,
.content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Remove fixed widths */
[class*="col"],
[class*="column"],
[class*="box"] {
  width: 100% !important;
  max-width: 100% !important;
}

/* --------------------------------------------------
   HEADER & LOGO
-------------------------------------------------- */

header {
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header img.logo {
  max-width: 160px;
  height: auto;
}

/* --------------------------------------------------
   MOBILE MENU
-------------------------------------------------- */

.mobile-menu-icon {
  font-size: 30px;
  cursor: pointer;
  display: none;
  user-select: none;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #111;
  padding: 12px;
}

.mobile-menu a {
  color: #fff;
  padding: 12px 0;
  text-decoration: none;
  border-bottom: 1px solid #333;
}

.desktop-menu {
  display: flex;
  gap: 20px;
}

/* --------------------------------------------------
   GALLERY GRID
-------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.gallery img {
  border-radius: 4px;
}

/* --------------------------------------------------
   PHOTO DETAIL PAGE
-------------------------------------------------- */

.photo-detail {
  padding: 16px;
}

.photo-detail img {
  width: 100%;
  border-radius: 6px;
}

.photo-meta {
  margin-top: 12px;
  font-size: 14px;
  color: #555;
}

/* --------------------------------------------------
   BUTTONS
-------------------------------------------------- */

button,
.btn {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border-radius: 6px;
  border: none;
  background: #222;
  color: #fff;
  margin-top: 10px;
}

/* --------------------------------------------------
   FORMS
-------------------------------------------------- */

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */

footer {
  padding: 20px;
  text-align: center;
  font-size: 14px;
  color: #777;
}

/* --------------------------------------------------
   MEDIA QUERIES
-------------------------------------------------- */


@media (max-width: 768px) {
	
  .sidebar { display: none; }
  .content { width: 100%; }

  .desktop-menu {
    display: none;
  }

  .mobile-menu-icon {
    display: block;
  }

  header img.logo {
    max-width: 140px;
  }

  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }

  body {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  
  header img.logo {
    max-width: 120px;
  }
 
  body { font-size: 16px; }
  
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }

  button,
  .btn {
    font-size: 15px;
  }
}
