
/* Reset styling for clean rendering */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Feed wrapper */
.motofy-feed-wrapper {
  background: #000;
  color: #fff;
  font-family: sans-serif;
  overflow-x: hidden;
}

/* Sticky header */
/* Header fix și responsive */
.motofy-header-bar {
  position: sticky;
  top: 0;
  background: #111;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  z-index: 9999;
}

.motofy-header-bar img {
  max-height: 36px;
  height: auto;
  width: auto;
  display: block;
}

.motofy-header-logo {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}

.motofy-header-home {
  flex: 0 0 auto;
  margin-right: 10px;
}

.motofy-header-home img {
  height: 28px;
  width: auto;
  display: block;
}


/* Snap container for fullscreen scrolling */
#motofy-feed {
  display: flex;
  flex-direction: column;
  scroll-snap-type: y mandatory;
  height: 100vh;
  overflow-y: scroll;
}

/* Each post as a fullscreen section */
.motofy-snap-post {
  scroll-snap-align: start;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Post image styled responsively */
.motofy-image img {
  max-height: 90vh;
  max-width: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Overlay for buttons */
.motofy-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.motofy-like, .motofy-comment, .motofy-post {
  cursor: pointer;
  font-size: 20px;
  color: white;
  padding: 5px 10px;
}

/* Description text */
.motofy-description {
  padding: 10px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  font-size: 16px;
  color: #ccc;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .motofy-snap-post {
    padding-bottom: 80px;
  }

  .motofy-description {
    font-size: 14px;
  }
}
